@tsed/cli
Version:
CLI to bootstrap your Ts.ED project
21 lines (20 loc) • 704 B
TypeScript
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;
};
}