UNPKG

@tsed/cli

Version:
21 lines (20 loc) 704 B
import { PackageManagersModule, ProjectPackageJson } from "@tsed/cli-core"; import { BaseRuntime } from "./supports/BaseRuntime.js"; export interface RuntimeInitOptions extends Record<string, unknown> { runtime?: string; } export declare class RuntimesModule { protected runtimes: BaseRuntime[]; protected projectPackageJson: ProjectPackageJson; protected packagesManager: PackageManagersModule; constructor(runtimes: BaseRuntime[]); init(ctx: RuntimeInitOptions): void; list(): string[]; get(name?: string): BaseRuntime; scripts(ctx: RuntimeInitOptions): { build: string; barrels: string; start: string; "start:prod": string; }; }