UNPKG

create-esmx

Version:

A scaffold tool for creating Esmx projects

11 lines (10 loc) 458 B
/** * Package manager detection and command generation utilities */ export type PackageManager = 'npm' | 'yarn' | 'pnpm' | 'bun'; export type CommandType = 'install' | 'dev' | 'build' | 'start' | 'create' | 'build:type' | 'lint:type'; /** * Get a specific command for the detected package manager * Business logic only needs to specify what command to execute */ export declare function getCommand(commandType: CommandType, userAgent?: string): string;