Member Junction
    Preparing search index...

    Inputs for createDistributionBundle. Provide exactly one of SourceDir or Ref.

    interface CreateBundleOptions {
        IncludeClaudePack?: boolean;
        IncludeMigrations?: boolean;
        MigrationPlatform?: DbPlatform;
        Out: string;
        Ref?: string;
        RepoUrl?: string;
        SourceDir?: string;
    }
    Index

    Properties

    IncludeClaudePack?: boolean

    Include the pre-built Claude Code pack (CLAUDE.md + .claude/ tree) in the bundle. Default (undefined / true): include if present at the source. Pass false to exclude (--no-claude-pack on mj bundle). Honors Goal #1 of the pack design — air-gapped installs get the Claude experience without a second over-the-wire step.

    IncludeMigrations?: boolean

    Include the migration tree(s) so an air-gapped mj migrate can run offline.

    MigrationPlatform?: DbPlatform

    Narrow the bundled migrations to one platform's tree when IncludeMigrations is set. Omitted = both migrations/ (SQL Server) and migrations-pg/ (PostgreSQL), so the bundle works against either database offline.

    Out: string

    Absolute path to write the output zip.

    Ref?: string

    Branch/tag to fetch and bundle (e.g. 'main', 'v5.38.0'). Ignored when SourceDir is set.

    RepoUrl?: string

    Clone URL when bundling from a ref (defaults to the canonical MJ repo).

    SourceDir?: string

    Local working-tree directory to bundle instead of fetching from a ref.