Cell API
    Preparing search index...

    Interface DeployContext

    What a deployer gets: the built output and where to report progress.

    interface DeployContext {
        env: ProcessEnv;
        manifest: OutputManifest;
        options: Record<string, unknown>;
        outDir: string;
        root: string;
        info(message: string): void;
        relay(chunk: string, stream: "stdout" | "stderr"): void;
        warn(message: string): void;
    }
    Index
    env: ProcessEnv
    manifest: OutputManifest
    options: Record<string, unknown>

    The options of the preset the output was built with (its field of cell.config.ts); {} when absent.

    outDir: string

    Absolute output directory.

    root: string
    • Relays output of a child process (a platform CLI): stderr stays stderr, stdout goes to stderr with --json.

      Parameters

      • chunk: string
      • stream: "stdout" | "stderr"

      Returns void