@modern-js/repo-generator 0.0.0-next-1693281968009 → 0.0.0-next-1693318900361

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 -32
  2. package/package.json +11 -12
package/dist/index.js CHANGED
@@ -143122,7 +143122,6 @@ var ZH_LOCALE2 = {
143122
143122
  self: "请选择你想创建的工程类型",
143123
143123
  mwa: "Web 应用",
143124
143124
  module: "Npm 模块",
143125
- doc: "文档站",
143126
143125
  monorepo: "Monorepo",
143127
143126
  custom: "自定义",
143128
143127
  default: "默认"
@@ -143148,7 +143147,6 @@ var ZH_LOCALE2 = {
143148
143147
  i18n: "启用「国际化(i18n)」功能",
143149
143148
  test: "启用「单元测试 / 集成测试」功能",
143150
143149
  e2e_test: "启用「E2E 测试」功能",
143151
- doc: "启用「文档站」功能",
143152
143150
  storybook: "启用「Storybook」",
143153
143151
  runtime_api: "启用「Runtime API」",
143154
143152
  mwa_storybook: "启用「Visual Testing (Storybook)」模式",
@@ -143222,7 +143220,6 @@ var EN_LOCALE2 = {
143222
143220
  self: "Please select the type of project you want to create:",
143223
143221
  mwa: "Web App",
143224
143222
  module: "Npm Module",
143225
- doc: "Doc Site",
143226
143223
  monorepo: "Monorepo",
143227
143224
  custom: "Custom Solution",
143228
143225
  default: "Default"
@@ -143249,7 +143246,6 @@ var EN_LOCALE2 = {
143249
143246
  i18n: "Enable Internationalization (i18n)",
143250
143247
  test: "Enable Unit Test / Integration Test",
143251
143248
  e2e_test: "Enable E2E Test",
143252
- doc: "Enable Document Station",
143253
143249
  storybook: "Enable Storybook",
143254
143250
  runtime_api: "Enable Runtime API",
143255
143251
  mwa_storybook: "Enable Visual Testing (Storybook)",
@@ -143340,7 +143336,6 @@ var Solution;
143340
143336
  (function(Solution22) {
143341
143337
  Solution22["MWA"] = "mwa";
143342
143338
  Solution22["Module"] = "module";
143343
- Solution22["Doc"] = "doc";
143344
143339
  Solution22["Monorepo"] = "monorepo";
143345
143340
  })(Solution || (Solution = {}));
143346
143341
  var SubSolution;
@@ -143353,7 +143348,6 @@ var SubSolution;
143353
143348
  var SolutionText = {
143354
143349
  [Solution.MWA]: () => i18n2.t(localeKeys2.solution.mwa),
143355
143350
  [Solution.Module]: () => i18n2.t(localeKeys2.solution.module),
143356
- [Solution.Doc]: () => i18n2.t(localeKeys2.solution.doc),
143357
143351
  [Solution.Monorepo]: () => i18n2.t(localeKeys2.solution.monorepo)
143358
143352
  };
143359
143353
  var SubSolutionText = {
@@ -143365,7 +143359,6 @@ var SubSolutionText = {
143365
143359
  var SolutionToolsMap = {
143366
143360
  [Solution.MWA]: "@modern-js/app-tools",
143367
143361
  [Solution.Module]: "@modern-js/module-tools",
143368
- [Solution.Doc]: "@modern-js/doc-tools",
143369
143362
  [Solution.Monorepo]: "@modern-js/monorepo-tools"
143370
143363
  };
143371
143364
  function getSolutionNameFromSubSolution(solution) {
@@ -143444,7 +143437,6 @@ var BaseGenerator = "@modern-js/base-generator";
143444
143437
  var SolutionGenerator = {
143445
143438
  [Solution.MWA]: "@modern-js/mwa-generator",
143446
143439
  [Solution.Module]: "@modern-js/module-generator",
143447
- [Solution.Doc]: "@modern-js/doc-generator",
143448
143440
  [Solution.Monorepo]: "@modern-js/monorepo-generator"
143449
143441
  };
143450
143442
  var SubSolutionGenerator = {
@@ -143514,7 +143506,7 @@ var getPackageManagerSchema = (extra = {}) => {
143514
143506
 
143515
143507
  // ../../generator-common/dist/esm-node/common/packageName.js
143516
143508
  var getPackageNameSchema = (extra = {}) => {
143517
- var _extra, _extra1, _extra2, _extra3;
143509
+ var _extra, _extra1, _extra2;
143518
143510
  return {
143519
143511
  type: "string",
143520
143512
  title: ((_extra = extra) === null || _extra === void 0 ? void 0 : _extra.isMonorepoSubProject) ? i18n2.t(localeKeys2.packageName.sub_name) : i18n2.t(localeKeys2.packageName.self),
@@ -143523,7 +143515,7 @@ var getPackageNameSchema = (extra = {}) => {
143523
143515
  dependencies: [],
143524
143516
  fulfill: {
143525
143517
  state: {
143526
- visible: Boolean((_extra1 = extra) === null || _extra1 === void 0 ? void 0 : _extra1.isMonorepoSubProject) || !((_extra2 = extra) === null || _extra2 === void 0 ? void 0 : _extra2.isMwa) && !((_extra3 = extra) === null || _extra3 === void 0 ? void 0 : _extra3.isDoc)
143518
+ visible: Boolean((_extra1 = extra) === null || _extra1 === void 0 ? void 0 : _extra1.isMonorepoSubProject) || !((_extra2 = extra) === null || _extra2 === void 0 ? void 0 : _extra2.isMwa)
143527
143519
  }
143528
143520
  }
143529
143521
  }
@@ -143582,24 +143574,6 @@ var BaseDefaultConfig = {
143582
143574
  packageManager: PackageManager.Pnpm
143583
143575
  };
143584
143576
 
143585
- // ../../generator-common/dist/esm-node/doc/project.js
143586
- var getDocSchemaProperties = (extra) => {
143587
- return {
143588
- packageName: getPackageNameSchema(extra),
143589
- packagePath: getPackagePathSchema(extra),
143590
- packageManager: getPackageManagerSchema(extra)
143591
- };
143592
- };
143593
- var getDocSchema = (extra = {}) => {
143594
- return {
143595
- type: "object",
143596
- properties: getDocSchemaProperties(extra)
143597
- };
143598
- };
143599
- var DocDefaultConfig = {
143600
- packageManager: PackageManager.Pnpm
143601
- };
143602
-
143603
143577
  // ../../generator-common/dist/esm-node/module/project.js
143604
143578
  var getModuleSchemaProperties = (extra) => {
143605
143579
  return {
@@ -143702,7 +143676,6 @@ var ActionFunction;
143702
143676
  ActionFunction2["I18n"] = "i18n";
143703
143677
  ActionFunction2["Test"] = "test";
143704
143678
  ActionFunction2["E2ETest"] = "e2e_test";
143705
- ActionFunction2["Doc"] = "doc";
143706
143679
  ActionFunction2["Storybook"] = "storybook";
143707
143680
  ActionFunction2["RuntimeApi"] = "runtimeApi";
143708
143681
  ActionFunction2["SSG"] = "ssg";
@@ -143736,7 +143709,6 @@ var ActionFunctionText = {
143736
143709
  [ActionFunction.I18n]: () => i18n2.t(localeKeys2.action.function.i18n),
143737
143710
  [ActionFunction.Test]: () => i18n2.t(localeKeys2.action.function.test),
143738
143711
  [ActionFunction.E2ETest]: () => i18n2.t(localeKeys2.action.function.e2e_test),
143739
- [ActionFunction.Doc]: () => i18n2.t(localeKeys2.action.function.doc),
143740
143712
  [ActionFunction.Storybook]: () => i18n2.t(localeKeys2.action.function.storybook),
143741
143713
  [ActionFunction.RuntimeApi]: () => i18n2.t(localeKeys2.action.function.runtime_api),
143742
143714
  [ActionFunction.SSG]: () => i18n2.t(localeKeys2.action.function.ssg),
@@ -144078,13 +144050,11 @@ var MonorepoNewActionConfig = {
144078
144050
  var SolutionDefaultConfig = {
144079
144051
  [Solution.MWA]: MWADefaultConfig,
144080
144052
  [Solution.Module]: ModuleDefaultConfig,
144081
- [Solution.Doc]: DocDefaultConfig,
144082
144053
  [Solution.Monorepo]: MonorepoDefaultConfig
144083
144054
  };
144084
144055
  var SolutionSchemas = {
144085
144056
  [Solution.MWA]: getMWASchema,
144086
144057
  [Solution.Module]: getModuleSchema,
144087
- [Solution.Doc]: getDocSchema,
144088
144058
  [Solution.Monorepo]: getMonorepoSchema,
144089
144059
  custom: getBaseSchema
144090
144060
  };
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-1693281968009",
18
+ "version": "0.0.0-next-1693318900361",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -29,17 +29,16 @@
29
29
  "@types/node": "^14",
30
30
  "jest": "^29",
31
31
  "typescript": "^5",
32
- "@modern-js/generator-common": "0.0.0-next-1693281968009",
33
- "@modern-js/base-generator": "0.0.0-next-1693281968009",
34
- "@modern-js/generator-plugin": "0.0.0-next-1693281968009",
35
- "@modern-js/monorepo-generator": "0.0.0-next-1693281968009",
36
- "@modern-js/generator-utils": "0.0.0-next-1693281968009",
37
- "@modern-js/module-generator": "0.0.0-next-1693281968009",
38
- "@modern-js/doc-generator": "0.0.0-next-1693281968009",
39
- "@modern-js/mwa-generator": "0.0.0-next-1693281968009",
40
- "@scripts/jest-config": "0.0.0-next-1693281968009",
41
- "@modern-js/utils": "0.0.0-next-1693281968009",
42
- "@scripts/build": "0.0.0-next-1693281968009"
32
+ "@modern-js/base-generator": "0.0.0-next-1693318900361",
33
+ "@modern-js/generator-common": "0.0.0-next-1693318900361",
34
+ "@modern-js/generator-plugin": "0.0.0-next-1693318900361",
35
+ "@modern-js/generator-utils": "0.0.0-next-1693318900361",
36
+ "@modern-js/module-generator": "0.0.0-next-1693318900361",
37
+ "@modern-js/monorepo-generator": "0.0.0-next-1693318900361",
38
+ "@modern-js/mwa-generator": "0.0.0-next-1693318900361",
39
+ "@scripts/build": "0.0.0-next-1693318900361",
40
+ "@scripts/jest-config": "0.0.0-next-1693318900361",
41
+ "@modern-js/utils": "0.0.0-next-1693318900361"
43
42
  },
44
43
  "sideEffects": false,
45
44
  "publishConfig": {