@tsed/cli 6.0.0-alpha.6 → 6.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/Cli.js.map +1 -1
- package/lib/esm/commands/add/AddCmd.js.map +1 -1
- package/lib/esm/commands/generate/GenerateCmd.js.map +1 -1
- package/lib/esm/commands/init/InitCmd.js.map +1 -1
- package/lib/esm/commands/init/config/FeaturesPrompt.js +1 -1
- package/lib/esm/commands/init/config/FeaturesPrompt.js.map +1 -1
- package/lib/esm/commands/init/interfaces/InitOptions.js +5 -1
- package/lib/esm/commands/init/interfaces/InitOptions.js.map +1 -1
- package/lib/esm/commands/init/interfaces/InitPromptAnswers.js +2 -1
- package/lib/esm/commands/init/interfaces/InitPromptAnswers.js.map +1 -1
- package/lib/esm/commands/init/mappers/mapUniqFeatures.js +1 -0
- package/lib/esm/commands/init/mappers/mapUniqFeatures.js.map +1 -1
- package/lib/esm/commands/run/RunCmd.js.map +1 -1
- package/lib/esm/commands/update/UpdateCmd.js.map +1 -1
- package/lib/esm/interfaces/ArchitectureConvention.js +1 -1
- package/lib/esm/interfaces/ArchitectureConvention.js.map +1 -1
- package/lib/esm/interfaces/PlatformType.js +1 -1
- package/lib/esm/interfaces/PlatformType.js.map +1 -1
- package/lib/esm/interfaces/ProjectConvention.js +1 -1
- package/lib/esm/interfaces/ProjectConvention.js.map +1 -1
- package/lib/esm/pipes/ClassNamePipe.js.map +1 -1
- package/lib/esm/pipes/OutputFilePathPipe.js.map +1 -1
- package/lib/esm/pipes/RoutePipe.js.map +1 -1
- package/lib/esm/platforms/InitPlatformsModule.js.map +1 -1
- package/lib/esm/platforms/supports/InitExpressPlatform.js.map +1 -1
- package/lib/esm/platforms/supports/InitKoaPlatform.js.map +1 -1
- package/lib/esm/runtimes/RuntimesModule.js +1 -0
- package/lib/esm/runtimes/RuntimesModule.js.map +1 -1
- package/lib/esm/runtimes/supports/BabelRuntime.js.map +1 -1
- package/lib/esm/runtimes/supports/BaseRuntime.js.map +1 -1
- package/lib/esm/runtimes/supports/BunRuntime.js.map +1 -1
- package/lib/esm/runtimes/supports/NodeRuntime.js.map +1 -1
- package/lib/esm/runtimes/supports/WebpackRuntime.js.map +1 -1
- package/lib/esm/services/ProvidersInfoService.js +1 -1
- package/lib/esm/services/ProvidersInfoService.js.map +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/types/commands/add/AddCmd.d.ts +1 -1
- package/lib/types/commands/generate/GenerateCmd.d.ts +2 -1
- package/lib/types/commands/init/InitCmd.d.ts +3 -3
- package/lib/types/commands/init/config/FeaturesPrompt.d.ts +1 -1
- package/lib/types/commands/init/interfaces/InitCmdContext.d.ts +2 -2
- package/lib/types/commands/init/mappers/mapToContext.d.ts +1 -1
- package/lib/types/commands/init/mappers/mapUniqFeatures.d.ts +2 -2
- package/lib/types/commands/init/prompts/getFeaturesPrompt.d.ts +1 -1
- package/lib/types/commands/run/RunCmd.d.ts +1 -1
- package/lib/types/commands/update/UpdateCmd.d.ts +1 -1
- package/lib/types/platforms/InitPlatformsModule.d.ts +1 -1
- package/lib/types/platforms/supports/InitExpressPlatform.d.ts +1 -1
- package/lib/types/platforms/supports/InitKoaPlatform.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CliDefaultOptions, CliPlugins, CommandProvider, PackageManagersModule, ProjectPackageJson, QuestionOptions, Task } from "@tsed/cli-core";
|
|
1
|
+
import { type CliDefaultOptions, CliPlugins, type CommandProvider, PackageManagersModule, ProjectPackageJson, type QuestionOptions, type Task } from "@tsed/cli-core";
|
|
2
2
|
export interface AddCmdOptions extends CliDefaultOptions {
|
|
3
3
|
name: string;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CliDefaultOptions, CommandProvider, ProjectPackageJson, SrcRendererService } from "@tsed/cli-core";
|
|
1
|
+
import { type CliDefaultOptions, type CommandProvider, ProjectPackageJson, SrcRendererService } from "@tsed/cli-core";
|
|
2
2
|
import { ProjectConvention } from "../../interfaces/ProjectConvention.js";
|
|
3
3
|
import { ClassNamePipe } from "../../pipes/ClassNamePipe.js";
|
|
4
4
|
import { OutputFilePathPipe } from "../../pipes/OutputFilePathPipe.js";
|
|
@@ -93,6 +93,7 @@ export declare class GenerateCmd implements CommandProvider {
|
|
|
93
93
|
$exec(ctx: GenerateCmdContext): ({
|
|
94
94
|
title: string;
|
|
95
95
|
task: () => Promise<void>;
|
|
96
|
+
skip?: undefined;
|
|
96
97
|
} | {
|
|
97
98
|
title: string;
|
|
98
99
|
skip(): boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CliExeca, CliFs, CliLoadFile, CliPackageJson, CliPlugins, CliService, CommandProvider, Configuration, PackageManagersModule, ProjectPackageJson, QuestionOptions, RootRendererService, Task } from "@tsed/cli-core";
|
|
1
|
+
import { CliExeca, CliFs, CliLoadFile, CliPackageJson, CliPlugins, CliService, type CommandProvider, Configuration, PackageManagersModule, ProjectPackageJson, type QuestionOptions, RootRendererService, type Task } from "@tsed/cli-core";
|
|
2
2
|
import { OutputFilePathPipe } from "../../pipes/OutputFilePathPipe.js";
|
|
3
3
|
import { InitPlatformsModule } from "../../platforms/InitPlatformsModule.js";
|
|
4
4
|
import { RuntimesModule } from "../../runtimes/RuntimesModule.js";
|
|
5
|
-
import { InitCmdContext } from "./interfaces/InitCmdContext.js";
|
|
6
|
-
import { InitOptions } from "./interfaces/InitOptions.js";
|
|
5
|
+
import type { InitCmdContext } from "./interfaces/InitCmdContext.js";
|
|
6
|
+
import type { InitOptions } from "./interfaces/InitOptions.js";
|
|
7
7
|
export declare class InitCmd implements CommandProvider {
|
|
8
8
|
protected configuration: Configuration;
|
|
9
9
|
protected cliPlugins: CliPlugins;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CliDefaultOptions } from "@tsed/cli-core";
|
|
2
|
-
import { InitOptions } from "./InitOptions.js";
|
|
1
|
+
import type { CliDefaultOptions } from "@tsed/cli-core";
|
|
2
|
+
import type { InitOptions } from "./InitOptions.js";
|
|
3
3
|
export interface InitCmdContext extends InitOptions, CliDefaultOptions, Record<string, any> {
|
|
4
4
|
root: string;
|
|
5
5
|
srcDir: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InitCmdContext } from "../interfaces/InitCmdContext.js";
|
|
1
|
+
import type { InitCmdContext } from "../interfaces/InitCmdContext.js";
|
|
2
2
|
export declare function mapToContext(options: any): InitCmdContext;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { InitOptions } from "../interfaces/InitOptions.js";
|
|
2
|
-
import { InitPromptAnswers } from "../interfaces/InitPromptAnswers.js";
|
|
1
|
+
import type { InitOptions } from "../interfaces/InitOptions.js";
|
|
2
|
+
import type { InitPromptAnswers } from "../interfaces/InitPromptAnswers.js";
|
|
3
3
|
export declare function mapUniqFeatures(answers: InitPromptAnswers & any): InitOptions;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InitOptions } from "../interfaces/InitOptions.js";
|
|
1
|
+
import type { InitOptions } from "../interfaces/InitOptions.js";
|
|
2
2
|
export declare function getFeaturesPrompt(runtimes: string[], availablePackageManagers: string[], options: Partial<InitOptions>): any[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CliFs, CliRunScript, CommandProvider, ProjectPackageJson, Tasks } from "@tsed/cli-core";
|
|
1
|
+
import { CliFs, CliRunScript, type CommandProvider, ProjectPackageJson, type Tasks } from "@tsed/cli-core";
|
|
2
2
|
export interface RunCmdContext {
|
|
3
3
|
production: boolean;
|
|
4
4
|
command: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CliDefaultOptions, CliPackageJson, CommandProvider, NpmRegistryClient, PackageManagersModule, ProjectPackageJson, QuestionOptions, Task } from "@tsed/cli-core";
|
|
1
|
+
import { type CliDefaultOptions, CliPackageJson, type CommandProvider, NpmRegistryClient, PackageManagersModule, ProjectPackageJson, type QuestionOptions, type Task } from "@tsed/cli-core";
|
|
2
2
|
export interface UpdateCmdContext extends CliDefaultOptions {
|
|
3
3
|
version: string;
|
|
4
4
|
[key: string]: any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/cli",
|
|
3
3
|
"description": "CLI to bootstrap your Ts.ED project",
|
|
4
|
-
"version": "6.0.0-alpha.
|
|
4
|
+
"version": "6.0.0-alpha.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/esm/index.js",
|
|
7
7
|
"source": "./src/index.ts",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@swc-node/register": ">=1.10.9",
|
|
66
66
|
"@swc/core": ">=1.7.26",
|
|
67
67
|
"@swc/helpers": ">=0.5.13",
|
|
68
|
-
"@tsed/cli-core": "6.0.0-alpha.
|
|
68
|
+
"@tsed/cli-core": "6.0.0-alpha.7",
|
|
69
69
|
"@tsed/core": ">=7.14.2",
|
|
70
70
|
"@tsed/di": ">=7.14.2",
|
|
71
71
|
"@tsed/logger": ">=6.2.1",
|
|
@@ -81,10 +81,10 @@
|
|
|
81
81
|
"tslib": "2.3.1"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@tsed/typescript": "6.0.0-alpha.
|
|
84
|
+
"@tsed/typescript": "6.0.0-alpha.7",
|
|
85
85
|
"@types/change-case": "^2.3.1",
|
|
86
86
|
"cross-env": "7.0.3",
|
|
87
|
-
"typescript": "
|
|
87
|
+
"typescript": "5.6.2",
|
|
88
88
|
"vitest": "2.1.1"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|