@edgible-team/sdk
    Preparing search index...

    Interface SyncCodeOptions

    Which source trees VirtualMachine.syncCode rsyncs into the guest's /opt/edgible, and whether to install + build there afterwards.

    interface SyncCodeOptions {
        agent?: boolean;
        backend?: boolean;
        buildInGuest?: boolean;
        cli?: boolean;
        installDeps?: boolean;
        integrationTests?: boolean;
    }
    Index

    Properties

    agent?: boolean

    rsync agent-v2/. Default true.

    backend?: boolean

    rsync backend/. Default false — forced on by buildInGuest (the CLI prebuild needs ../backend).

    buildInGuest?: boolean

    Run npm install/build for cli + agent (+ integration_tests deps) in the guest. Default false.

    cli?: boolean

    rsync cli/. Default true.

    installDeps?: boolean

    When false, skip npm install and only run npm run build (for pre-built images that already carry node_modules). Default true.

    integrationTests?: boolean

    rsync integration_tests/. Default true.