Member Junction
    Preparing search index...

    Phase B — Downloads and extracts a MemberJunction release.

    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, download ZIP, and extract.

      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 DOWNLOAD_FAILED if the ZIP download fails.

      With code EXTRACT_FAILED if ZIP extraction fails.

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