@tsed/cli 6.0.0 → 6.0.1
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/commands/init/InitCmd.js +1 -1
- package/lib/esm/constants/index.js +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/types/constants/index.d.ts +1 -1
- package/package.json +13 -11
- package/templates/generate/factory.hbs +8 -32
- package/templates/generate/server.hbs +3 -7
- package/templates/generate/value.hbs +2 -31
- package/templates/init/src/index.ts.hbs +29 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { CliExeca, CliFs, CliLoadFile, cliPackageJson, CliPlugins, CliService, Command, Configuration, createSubTasks, createTasksRunner,
|
|
2
|
+
import { CliExeca, CliFs, CliLoadFile, cliPackageJson, CliPlugins, CliService, Command, Configuration, createSubTasks, createTasksRunner, inject, PackageManager, PackageManagersModule, ProjectPackageJson, RootRendererService } from "@tsed/cli-core";
|
|
3
3
|
import { kebabCase, pascalCase } from "change-case";
|
|
4
4
|
import { basename, join } from "path";
|
|
5
5
|
import { DEFAULT_TSED_TAGS } from "../../constants/index.js";
|
|
@@ -5,7 +5,7 @@ const { path, packageJson } = readPackageUpSync({
|
|
|
5
5
|
});
|
|
6
6
|
export const PKG = packageJson;
|
|
7
7
|
export const MINIMAL_TSED_VERSION = "8";
|
|
8
|
-
export const DEFAULT_TSED_TAGS = "
|
|
8
|
+
export const DEFAULT_TSED_TAGS = "rc";
|
|
9
9
|
export const IGNORE_VERSIONS = ["6.0.0"];
|
|
10
10
|
export const IGNORE_TAGS = false; // /alpha|beta/
|
|
11
11
|
export const TEMPLATE_DIR = join(dirname(path), "templates");
|