Member Junction
    Preparing search index...

    Phase B — Fetches a MemberJunction release into the target directory.

    const scaffold = new ScaffoldPhase();
    const result = await scaffold.Run({
    Tag: 'v5.1.0',
    Dir: '/path/to/install',
    Yes: false,
    Emitter: emitter,
    });
    console.log(`Installed ${result.Version.Tag} to ${result.ExtractedDir}`);
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Execute the scaffold phase: resolve version, then fetch it into the target directory.

      Parameters

      • context: ScaffoldContext

        Scaffold input with tag, directory, mode, and emitter.

      Returns Promise<ScaffoldResult>

      The selected version and extraction path.

      With code TAG_NOT_FOUND if the specified tag doesn't exist.

      With code NO_RELEASES if no releases are found on GitHub.

      With code FETCH_FAILED / ASSEMBLE_FAILED if the distribution fetch or assembly fails.

      With code CLONE_FAILED if the monorepo git clone or copy fails.

      With code USER_CANCELLED if the user declines the non-empty directory prompt.