@modern-js/bff-generator 3.3.24 → 3.4.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 +4 -26
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -52732,7 +52732,6 @@ var ZH_LOCALE = {
52732
52732
  self: "请选择你想创建的工程类型",
52733
52733
  mwa: "Web 应用",
52734
52734
  module: "Npm 模块",
52735
- monorepo: "Monorepo",
52736
52735
  custom: "自定义",
52737
52736
  default: "默认"
52738
52737
  },
@@ -52753,8 +52752,6 @@ var ZH_LOCALE = {
52753
52752
  bff: "启用「BFF」功能",
52754
52753
  micro_frontend: "启用「微前端」模式",
52755
52754
  i18n: "启用「国际化(i18n)」功能",
52756
- test: "启用「单元测试 / 集成测试」功能",
52757
- e2e_test: "启用「E2E 测试」功能",
52758
52755
  storybookV7: "启用「Storybook」V7",
52759
52756
  runtime_api: "启用「Runtime API」",
52760
52757
  ssg: "启用「SSG」功能",
@@ -52827,7 +52824,6 @@ var EN_LOCALE = {
52827
52824
  self: "Please select the type of project you want to create:",
52828
52825
  mwa: "Web App",
52829
52826
  module: "Npm Module",
52830
- monorepo: "Monorepo",
52831
52827
  custom: "Custom Solution",
52832
52828
  default: "Default"
52833
52829
  },
@@ -52837,8 +52833,7 @@ var EN_LOCALE = {
52837
52833
  sub_solution: {
52838
52834
  self: "Please select the type of project you want to create:",
52839
52835
  mwa: "Web App",
52840
- module: "Npm Module",
52841
- monorepo: "Monorepo"
52836
+ module: "Npm Module"
52842
52837
  },
52843
52838
  action: {
52844
52839
  self: "Please select the operation you want:",
@@ -52849,8 +52844,6 @@ var EN_LOCALE = {
52849
52844
  bff: "Enable BFF",
52850
52845
  micro_frontend: "Enable Micro Frontend",
52851
52846
  i18n: "Enable Internationalization (i18n)",
52852
- test: "Enable Unit Test / Integration Test",
52853
- e2e_test: "Enable E2E Test",
52854
52847
  storybookV7: "Enable Storybook V7",
52855
52848
  runtime_api: "Enable Runtime API",
52856
52849
  ssg: "Enable SSG",
@@ -52929,17 +52922,10 @@ var Solution;
52929
52922
  (function(Solution2) {
52930
52923
  Solution2["MWA"] = "mwa";
52931
52924
  Solution2["Module"] = "module";
52932
- Solution2["Monorepo"] = "monorepo";
52933
52925
  })(Solution || (Solution = {}));
52934
- var SubSolution;
52935
- (function(SubSolution2) {
52936
- SubSolution2["MWA"] = "mwa";
52937
- SubSolution2["Module"] = "module";
52938
- })(SubSolution || (SubSolution = {}));
52939
52926
  var SolutionToolsMap = {
52940
52927
  ["mwa"]: "@modern-js/app-tools",
52941
- ["module"]: "@modern-js/module-tools",
52942
- ["monorepo"]: "@modern-js/monorepo-tools"
52928
+ ["module"]: "@modern-js/module-tools"
52943
52929
  };
52944
52930
 
52945
52931
  // ../../generator-common/dist/esm-node/common/language.js
@@ -53026,8 +53012,6 @@ var ActionFunction;
53026
53012
  ActionFunction2["BFF"] = "bff";
53027
53013
  ActionFunction2["MicroFrontend"] = "micro_frontend";
53028
53014
  ActionFunction2["I18n"] = "i18n";
53029
- ActionFunction2["Test"] = "test";
53030
- ActionFunction2["E2ETest"] = "e2e_test";
53031
53015
  ActionFunction2["StorybookV7"] = "storybookV7";
53032
53016
  ActionFunction2["RuntimeApi"] = "runtimeApi";
53033
53017
  ActionFunction2["SSG"] = "ssg";
@@ -53053,7 +53037,6 @@ var MWAActionFunctions = [
53053
53037
  ActionFunction.SSG,
53054
53038
  ActionFunction.SWC,
53055
53039
  ActionFunction.MicroFrontend,
53056
- ActionFunction.Test,
53057
53040
  ActionFunction.Polyfill,
53058
53041
  ActionFunction.Proxy,
53059
53042
  ActionFunction.StorybookV7
@@ -53072,7 +53055,6 @@ var MWAActionTypesMap = {
53072
53055
  };
53073
53056
  var MWAActionFunctionsDevDependencies = {
53074
53057
  [ActionFunction.SSG]: "@modern-js/plugin-ssg",
53075
- [ActionFunction.Test]: "@modern-js/plugin-testing",
53076
53058
  [ActionFunction.StorybookV7]: "@modern-js/storybook",
53077
53059
  [ActionFunction.Proxy]: "@modern-js/plugin-proxy",
53078
53060
  [ActionFunction.TailwindCSS]: "tailwindcss",
@@ -53085,8 +53067,7 @@ var MWAActionFunctionsDependencies = {
53085
53067
  [ActionFunction.Polyfill]: "@modern-js/plugin-polyfill"
53086
53068
  };
53087
53069
  var MWAActionFunctionsAppendTypeContent = {
53088
- [ActionFunction.MicroFrontend]: `/// <reference types='@modern-js/plugin-garfish/types' />`,
53089
- [ActionFunction.Test]: `/// <reference types='@modern-js/plugin-testing/types' />`
53070
+ [ActionFunction.MicroFrontend]: `/// <reference types='@modern-js/plugin-garfish/types' />`
53090
53071
  };
53091
53072
  var MWAActionRefactorDependencies = {
53092
53073
  [ActionRefactor.ReactRouter5]: "@modern-js/plugin-router-v5"
@@ -53103,7 +53084,6 @@ var MWANewActionGenerators = {
53103
53084
  [ActionFunction.TailwindCSS]: "@modern-js/tailwindcss-generator",
53104
53085
  [ActionFunction.BFF]: "@modern-js/bff-generator",
53105
53086
  [ActionFunction.MicroFrontend]: "@modern-js/dependence-generator",
53106
- [ActionFunction.Test]: "@modern-js/test-generator",
53107
53087
  [ActionFunction.StorybookV7]: "@modern-js/storybook-next-generator",
53108
53088
  [ActionFunction.SSG]: "@modern-js/ssg-generator",
53109
53089
  [ActionFunction.Polyfill]: "@modern-js/dependence-generator",
@@ -53122,14 +53102,13 @@ var MWANewActionPluginName = {
53122
53102
  [ActionFunction.TailwindCSS]: "tailwindcssPlugin",
53123
53103
  [ActionFunction.BFF]: "bffPlugin",
53124
53104
  [ActionFunction.MicroFrontend]: "garfishPlugin",
53125
- [ActionFunction.Test]: "testingPlugin",
53126
53105
  [ActionFunction.SSG]: "ssgPlugin",
53127
53106
  [ActionFunction.Polyfill]: "polyfillPlugin",
53128
53107
  [ActionFunction.Proxy]: "proxyPlugin",
53129
53108
  [ActionFunction.SWC]: "swcPlugin"
53130
53109
  },
53131
53110
  [ActionType.Refactor]: {
53132
- [ActionRefactor.ReactRouter5]: "reactRouter5Plugin"
53111
+ [ActionRefactor.ReactRouter5]: "routerPlugin"
53133
53112
  }
53134
53113
  };
53135
53114
  var MWANewActionPluginDependence = {
@@ -53140,7 +53119,6 @@ var MWANewActionPluginDependence = {
53140
53119
  [ActionFunction.TailwindCSS]: "@modern-js/plugin-tailwindcss",
53141
53120
  [ActionFunction.BFF]: "@modern-js/plugin-bff",
53142
53121
  [ActionFunction.MicroFrontend]: "@modern-js/plugin-garfish",
53143
- [ActionFunction.Test]: "@modern-js/plugin-testing",
53144
53122
  [ActionFunction.SSG]: "@modern-js/plugin-ssg",
53145
53123
  [ActionFunction.Polyfill]: "@modern-js/plugin-polyfill",
53146
53124
  [ActionFunction.Proxy]: "@modern-js/plugin-proxy",
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.3.24",
18
+ "version": "3.4.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./src/index.ts",
21
21
  "main": "./dist/index.js",
@@ -24,7 +24,7 @@
24
24
  "/dist/index.js"
25
25
  ],
26
26
  "dependencies": {
27
- "@modern-js/utils": "2.51.0"
27
+ "@modern-js/utils": "2.53.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@modern-js/codesmith": "2.3.5",
@@ -34,11 +34,11 @@
34
34
  "@types/node": "^14",
35
35
  "jest": "^29",
36
36
  "typescript": "^5",
37
- "@modern-js/generator-common": "3.3.24",
38
- "@modern-js/plugin-i18n": "2.51.0",
39
- "@modern-js/generator-utils": "3.3.24",
40
- "@scripts/jest-config": "2.51.0",
41
- "@scripts/build": "2.51.0"
37
+ "@modern-js/generator-utils": "3.4.0",
38
+ "@modern-js/generator-common": "3.4.0",
39
+ "@modern-js/plugin-i18n": "2.53.0",
40
+ "@scripts/jest-config": "2.53.0",
41
+ "@scripts/build": "2.53.0"
42
42
  },
43
43
  "sideEffects": false,
44
44
  "publishConfig": {