@modern-js/create 2.51.0 → 2.53.0

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -7
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -66293,7 +66293,7 @@ var CodeSmith = class {
66293
66293
  };
66294
66294
 
66295
66295
  // package.json
66296
- var version = "2.51.0";
66296
+ var version = "2.53.0";
66297
66297
 
66298
66298
  // ../../cli/plugin-i18n/dist/esm-node/index.js
66299
66299
  var import_lodash2 = __toESM(require_lodash3());
@@ -66364,7 +66364,6 @@ var ZH_LOCALE = {
66364
66364
  description: "创建 Modern.js 工程方案",
66365
66365
  mwa: "一键创建 Web 应用(使用默认配置)",
66366
66366
  module: "一键创建 Module 应用(使用默认配置)",
66367
- monorepo: "一键常见 Monorepo 应用(使用默认配置)",
66368
66367
  config: "创建项目默认配置(JSON 字符串)",
66369
66368
  generator: "使用自定义生成器",
66370
66369
  packages: "创建项目指定特定依赖版本信息",
@@ -66440,7 +66439,6 @@ function getDefaultConfig(projectDir = import_path9.default.basename(process.cwd
66440
66439
  const {
66441
66440
  mwa,
66442
66441
  module: module2,
66443
- monorepo,
66444
66442
  config,
66445
66443
  packages,
66446
66444
  registry,
@@ -66471,9 +66469,6 @@ function getDefaultConfig(projectDir = import_path9.default.basename(process.cwd
66471
66469
  initialConfig.packageName = projectDir;
66472
66470
  }
66473
66471
  }
66474
- if (monorepo) {
66475
- initialConfig.defaultSolution = "monorepo";
66476
- }
66477
66472
  if (registry) {
66478
66473
  initialConfig.registry = registry;
66479
66474
  }
@@ -66589,7 +66584,7 @@ function src_default() {
66589
66584
  i18n.changeLanguage({ locale: getLocaleLanguage() });
66590
66585
  const program2 = new import_commander.Command();
66591
66586
  program2.command("clean-cache").description(i18n.t(localeKeys.command.cleanCache)).action(cleanCacheAction);
66592
- program2.usage("[projectDir]").description(i18n.t(localeKeys.command.description)).argument("[projectDir]").option("--version", i18n.t(localeKeys.command.version)).option("--lang <lang>", i18n.t(localeKeys.command.lang)).option("-c, --config <config>", i18n.t(localeKeys.command.config), "{}").option("-d,--debug", i18n.t(localeKeys.command.debug), false).option("--mwa", i18n.t(localeKeys.command.mwa), false).option("--module", i18n.t(localeKeys.command.module), false).option("--monorepo", i18n.t(localeKeys.command.monorepo), false).option("--generator <generator>", i18n.t(localeKeys.command.generator)).option(
66587
+ program2.usage("[projectDir]").description(i18n.t(localeKeys.command.description)).argument("[projectDir]").option("--version", i18n.t(localeKeys.command.version)).option("--lang <lang>", i18n.t(localeKeys.command.lang)).option("-c, --config <config>", i18n.t(localeKeys.command.config), "{}").option("-d,--debug", i18n.t(localeKeys.command.debug), false).option("--mwa", i18n.t(localeKeys.command.mwa), false).option("--module", i18n.t(localeKeys.command.module), false).option("--generator <generator>", i18n.t(localeKeys.command.generator)).option(
66593
66588
  "-p, --plugin <plugin>",
66594
66589
  i18n.t(localeKeys.command.plugin),
66595
66590
  (val, memo) => {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.51.0",
18
+ "version": "2.53.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/index.js",
@@ -43,12 +43,12 @@
43
43
  "jest": "^29",
44
44
  "ts-node": "^10.9.1",
45
45
  "typescript": "^5",
46
- "@modern-js/generator-plugin-plugin": "3.3.24",
47
- "@modern-js/repo-generator": "3.3.24",
48
- "@modern-js/plugin-i18n": "2.51.0",
49
- "@scripts/build": "2.51.0",
50
- "@scripts/jest-config": "2.51.0",
51
- "@modern-js/utils": "2.51.0"
46
+ "@modern-js/generator-plugin-plugin": "3.4.0",
47
+ "@modern-js/repo-generator": "3.4.0",
48
+ "@modern-js/plugin-i18n": "2.53.0",
49
+ "@modern-js/utils": "2.53.0",
50
+ "@scripts/build": "2.53.0",
51
+ "@scripts/jest-config": "2.53.0"
52
52
  },
53
53
  "publishConfig": {
54
54
  "registry": "https://registry.npmjs.org/",