@modern-js/repo-generator 0.0.0-nightly-20240303170643 → 0.0.0-nightly-20240305170715
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/dist/index.js +1 -12
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -83470,10 +83470,8 @@ var ZH_LOCALE2 = {
|
|
|
83470
83470
|
i18n: "启用「国际化(i18n)」功能",
|
|
83471
83471
|
test: "启用「单元测试 / 集成测试」功能",
|
|
83472
83472
|
e2e_test: "启用「E2E 测试」功能",
|
|
83473
|
-
storybook: "启用「Storybook」",
|
|
83474
83473
|
storybookV7: "启用「Storybook」V7",
|
|
83475
83474
|
runtime_api: "启用「Runtime API」",
|
|
83476
|
-
mwa_storybook: "启用「Visual Testing (Storybook)」模式",
|
|
83477
83475
|
ssg: "启用「SSG」功能",
|
|
83478
83476
|
polyfill: "启用「基于 UA 的 Polyfill」功能",
|
|
83479
83477
|
proxy: "启用「全局代理」",
|
|
@@ -83568,10 +83566,8 @@ var EN_LOCALE2 = {
|
|
|
83568
83566
|
i18n: "Enable Internationalization (i18n)",
|
|
83569
83567
|
test: "Enable Unit Test / Integration Test",
|
|
83570
83568
|
e2e_test: "Enable E2E Test",
|
|
83571
|
-
storybook: "Enable Storybook",
|
|
83572
83569
|
storybookV7: "Enable Storybook V7",
|
|
83573
83570
|
runtime_api: "Enable Runtime API",
|
|
83574
|
-
mwa_storybook: "Enable Visual Testing (Storybook)",
|
|
83575
83571
|
ssg: "Enable SSG",
|
|
83576
83572
|
polyfill: "Enable UA-based Polyfill Feature",
|
|
83577
83573
|
proxy: "Enable Global Proxy",
|
|
@@ -83961,7 +83957,6 @@ var ActionFunction;
|
|
|
83961
83957
|
ActionFunction2["I18n"] = "i18n";
|
|
83962
83958
|
ActionFunction2["Test"] = "test";
|
|
83963
83959
|
ActionFunction2["E2ETest"] = "e2e_test";
|
|
83964
|
-
ActionFunction2["Storybook"] = "storybook";
|
|
83965
83960
|
ActionFunction2["StorybookV7"] = "storybookV7";
|
|
83966
83961
|
ActionFunction2["RuntimeApi"] = "runtimeApi";
|
|
83967
83962
|
ActionFunction2["SSG"] = "ssg";
|
|
@@ -83995,7 +83990,6 @@ var ActionFunctionText = {
|
|
|
83995
83990
|
["i18n"]: () => i18n2.t(localeKeys2.action.function.i18n),
|
|
83996
83991
|
["test"]: () => i18n2.t(localeKeys2.action.function.test),
|
|
83997
83992
|
["e2e_test"]: () => i18n2.t(localeKeys2.action.function.e2e_test),
|
|
83998
|
-
["storybook"]: () => i18n2.t(localeKeys2.action.function.storybook),
|
|
83999
83993
|
["storybookV7"]: () => i18n2.t(localeKeys2.action.function.storybookV7),
|
|
84000
83994
|
["runtimeApi"]: () => i18n2.t(localeKeys2.action.function.runtime_api),
|
|
84001
83995
|
["ssg"]: () => i18n2.t(localeKeys2.action.function.ssg),
|
|
@@ -84023,7 +84017,6 @@ var MWAActionFunctions = [
|
|
|
84023
84017
|
ActionFunction.Test,
|
|
84024
84018
|
ActionFunction.Polyfill,
|
|
84025
84019
|
ActionFunction.Proxy,
|
|
84026
|
-
ActionFunction.Storybook,
|
|
84027
84020
|
ActionFunction.StorybookV7
|
|
84028
84021
|
];
|
|
84029
84022
|
var MWAActionElements = [
|
|
@@ -84081,7 +84074,7 @@ var getMWANewActionSchema = (extra = {}) => {
|
|
|
84081
84074
|
title: ActionTypeQuestionText[ActionType.Function](),
|
|
84082
84075
|
enum: funcs.map((func) => ({
|
|
84083
84076
|
value: func,
|
|
84084
|
-
label:
|
|
84077
|
+
label: ActionFunctionText[func]()
|
|
84085
84078
|
})),
|
|
84086
84079
|
"x-reactions": [
|
|
84087
84080
|
{
|
|
@@ -84122,7 +84115,6 @@ var getMWANewActionSchema = (extra = {}) => {
|
|
|
84122
84115
|
var MWAActionFunctionsDevDependencies = {
|
|
84123
84116
|
[ActionFunction.SSG]: "@modern-js/plugin-ssg",
|
|
84124
84117
|
[ActionFunction.Test]: "@modern-js/plugin-testing",
|
|
84125
|
-
[ActionFunction.Storybook]: "@modern-js/plugin-storybook",
|
|
84126
84118
|
[ActionFunction.StorybookV7]: "@modern-js/storybook",
|
|
84127
84119
|
[ActionFunction.Proxy]: "@modern-js/plugin-proxy",
|
|
84128
84120
|
[ActionFunction.TailwindCSS]: "tailwindcss",
|
|
@@ -84154,7 +84146,6 @@ var MWANewActionGenerators = {
|
|
|
84154
84146
|
[ActionFunction.BFF]: "@modern-js/bff-generator",
|
|
84155
84147
|
[ActionFunction.MicroFrontend]: "@modern-js/dependence-generator",
|
|
84156
84148
|
[ActionFunction.Test]: "@modern-js/test-generator",
|
|
84157
|
-
[ActionFunction.Storybook]: "@modern-js/dependence-generator",
|
|
84158
84149
|
[ActionFunction.StorybookV7]: "@modern-js/storybook-next-generator",
|
|
84159
84150
|
[ActionFunction.SSG]: "@modern-js/ssg-generator",
|
|
84160
84151
|
[ActionFunction.Polyfill]: "@modern-js/dependence-generator",
|
|
@@ -84174,7 +84165,6 @@ var MWANewActionPluginName = {
|
|
|
84174
84165
|
[ActionFunction.BFF]: "bffPlugin",
|
|
84175
84166
|
[ActionFunction.MicroFrontend]: "garfishPlugin",
|
|
84176
84167
|
[ActionFunction.Test]: "testingPlugin",
|
|
84177
|
-
[ActionFunction.Storybook]: "storybookPlugin",
|
|
84178
84168
|
[ActionFunction.SSG]: "ssgPlugin",
|
|
84179
84169
|
[ActionFunction.Polyfill]: "polyfillPlugin",
|
|
84180
84170
|
[ActionFunction.Proxy]: "proxyPlugin",
|
|
@@ -84193,7 +84183,6 @@ var MWANewActionPluginDependence = {
|
|
|
84193
84183
|
[ActionFunction.BFF]: "@modern-js/plugin-bff",
|
|
84194
84184
|
[ActionFunction.MicroFrontend]: "@modern-js/plugin-garfish",
|
|
84195
84185
|
[ActionFunction.Test]: "@modern-js/plugin-testing",
|
|
84196
|
-
[ActionFunction.Storybook]: "@modern-js/plugin-storybook",
|
|
84197
84186
|
[ActionFunction.SSG]: "@modern-js/plugin-ssg",
|
|
84198
84187
|
[ActionFunction.Polyfill]: "@modern-js/plugin-polyfill",
|
|
84199
84188
|
[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": "0.0.0-nightly-
|
|
18
|
+
"version": "0.0.0-nightly-20240305170715",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
21
|
"files": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"/dist/index.js"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@modern-js/utils": "0.0.0-nightly-
|
|
26
|
+
"@modern-js/utils": "0.0.0-nightly-20240305170715"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@modern-js/codesmith": "2.3.5",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"@types/node": "^14",
|
|
33
33
|
"jest": "^29",
|
|
34
34
|
"typescript": "^5",
|
|
35
|
-
"@modern-js/base-generator": "0.0.0-nightly-
|
|
36
|
-
"@modern-js/generator-common": "0.0.0-nightly-
|
|
37
|
-
"@modern-js/generator-plugin": "0.0.0-nightly-
|
|
38
|
-
"@modern-js/
|
|
39
|
-
"@modern-js/generator
|
|
40
|
-
"@modern-js/monorepo-generator": "0.0.0-nightly-
|
|
41
|
-
"@modern-js/mwa-generator": "0.0.0-nightly-
|
|
42
|
-
"@scripts/jest-config": "0.0.0-nightly-
|
|
43
|
-
"@scripts/build": "0.0.0-nightly-
|
|
35
|
+
"@modern-js/base-generator": "0.0.0-nightly-20240305170715",
|
|
36
|
+
"@modern-js/generator-common": "0.0.0-nightly-20240305170715",
|
|
37
|
+
"@modern-js/generator-plugin": "0.0.0-nightly-20240305170715",
|
|
38
|
+
"@modern-js/generator-utils": "0.0.0-nightly-20240305170715",
|
|
39
|
+
"@modern-js/module-generator": "0.0.0-nightly-20240305170715",
|
|
40
|
+
"@modern-js/monorepo-generator": "0.0.0-nightly-20240305170715",
|
|
41
|
+
"@modern-js/mwa-generator": "0.0.0-nightly-20240305170715",
|
|
42
|
+
"@scripts/jest-config": "0.0.0-nightly-20240305170715",
|
|
43
|
+
"@scripts/build": "0.0.0-nightly-20240305170715"
|
|
44
44
|
},
|
|
45
45
|
"sideEffects": false,
|
|
46
46
|
"publishConfig": {
|