@modern-js/repo-generator 0.0.0-next-20221216022956 → 0.0.0-next-20221216031601
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 +13 -6
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -136847,7 +136847,8 @@ var ZH_LOCALE = {
|
|
|
136847
136847
|
mwa_storybook: "启用「Visual Testing (Storybook)」模式",
|
|
136848
136848
|
ssg: "启用「SSG」功能",
|
|
136849
136849
|
polyfill: "启用「基于 UA 的 Polyfill」功能",
|
|
136850
|
-
proxy: "启用「全局代理」"
|
|
136850
|
+
proxy: "启用「全局代理」",
|
|
136851
|
+
swc: "启用「SWC 编译」"
|
|
136851
136852
|
},
|
|
136852
136853
|
element: {
|
|
136853
136854
|
self: "创建工程元素",
|
|
@@ -136935,7 +136936,8 @@ var EN_LOCALE = {
|
|
|
136935
136936
|
mwa_storybook: "Enable Visual Testing (Storybook)",
|
|
136936
136937
|
ssg: "Enable SSG",
|
|
136937
136938
|
polyfill: "Enable UA-based Polyfill Feature",
|
|
136938
|
-
proxy: "Enable Global Proxy"
|
|
136939
|
+
proxy: "Enable Global Proxy",
|
|
136940
|
+
swc: "Enable SWC Compile"
|
|
136939
136941
|
},
|
|
136940
136942
|
element: {
|
|
136941
136943
|
self: "Create project element",
|
|
@@ -137286,6 +137288,7 @@ var ActionFunction = /* @__PURE__ */ ((ActionFunction2) => {
|
|
|
137286
137288
|
ActionFunction2["SSG"] = "ssg";
|
|
137287
137289
|
ActionFunction2["Polyfill"] = "polyfill";
|
|
137288
137290
|
ActionFunction2["Proxy"] = "proxy";
|
|
137291
|
+
ActionFunction2["SWC"] = "swc";
|
|
137289
137292
|
return ActionFunction2;
|
|
137290
137293
|
})(ActionFunction || {});
|
|
137291
137294
|
var ActionRefactor = /* @__PURE__ */ ((ActionRefactor2) => {
|
|
@@ -137313,7 +137316,8 @@ var ActionFunctionText = {
|
|
|
137313
137316
|
["runtimeApi"]: () => i18n.t(localeKeys.action.function.runtime_api),
|
|
137314
137317
|
["ssg"]: () => i18n.t(localeKeys.action.function.ssg),
|
|
137315
137318
|
["polyfill"]: () => i18n.t(localeKeys.action.function.polyfill),
|
|
137316
|
-
["proxy"]: () => i18n.t(localeKeys.action.function.proxy)
|
|
137319
|
+
["proxy"]: () => i18n.t(localeKeys.action.function.proxy),
|
|
137320
|
+
["swc"]: () => i18n.t(localeKeys.action.function.swc)
|
|
137317
137321
|
};
|
|
137318
137322
|
var ActionRefactorText = {
|
|
137319
137323
|
["react_router_5"]: () => i18n.t(localeKeys.action.refactor.react_router_5)
|
|
@@ -137331,7 +137335,8 @@ var MWAActionFunctions = [
|
|
|
137331
137335
|
ActionFunction.Test,
|
|
137332
137336
|
ActionFunction.Storybook,
|
|
137333
137337
|
ActionFunction.Polyfill,
|
|
137334
|
-
ActionFunction.Proxy
|
|
137338
|
+
ActionFunction.Proxy,
|
|
137339
|
+
ActionFunction.SWC
|
|
137335
137340
|
];
|
|
137336
137341
|
var MWAActionElements = [ActionElement.Entry, ActionElement.Server];
|
|
137337
137342
|
var MWAActionReactors = [ActionRefactor.ReactRouter5];
|
|
@@ -137423,7 +137428,8 @@ var MWAActionFunctionsDevDependencies = {
|
|
|
137423
137428
|
[ActionFunction.E2ETest]: "@modern-js/plugin-e2e",
|
|
137424
137429
|
[ActionFunction.Storybook]: "@modern-js/plugin-storybook",
|
|
137425
137430
|
[ActionFunction.Proxy]: "@modern-js/plugin-proxy",
|
|
137426
|
-
[ActionFunction.TailwindCSS]: "tailwindcss"
|
|
137431
|
+
[ActionFunction.TailwindCSS]: "tailwindcss",
|
|
137432
|
+
[ActionFunction.SWC]: "@modern-js/plugin-swc"
|
|
137427
137433
|
};
|
|
137428
137434
|
var MWAActionFunctionsDependencies = {
|
|
137429
137435
|
[ActionFunction.BFF]: "@modern-js/plugin-bff",
|
|
@@ -137458,7 +137464,8 @@ var MWANewActionGenerators = {
|
|
|
137458
137464
|
[ActionFunction.Storybook]: "@modern-js/dependence-generator",
|
|
137459
137465
|
[ActionFunction.SSG]: "@modern-js/ssg-generator",
|
|
137460
137466
|
[ActionFunction.Polyfill]: "@modern-js/dependence-generator",
|
|
137461
|
-
[ActionFunction.Proxy]: "@modern-js/dependence-generator"
|
|
137467
|
+
[ActionFunction.Proxy]: "@modern-js/dependence-generator",
|
|
137468
|
+
[ActionFunction.SWC]: "@modern-js/dependence-generator"
|
|
137462
137469
|
},
|
|
137463
137470
|
[ActionType.Refactor]: {
|
|
137464
137471
|
[ActionRefactor.ReactRouter5]: "@modern-js/router-legacy-generator"
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.0.0-next-
|
|
14
|
+
"version": "0.0.0-next-20221216031601",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"main": "./dist/index.js",
|
|
17
17
|
"files": [
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"@types/node": "^14",
|
|
27
27
|
"jest": "^27",
|
|
28
28
|
"typescript": "^4",
|
|
29
|
-
"@modern-js/base-generator": "0.0.0-next-
|
|
30
|
-
"@modern-js/generator-common": "0.0.0-next-
|
|
31
|
-
"@modern-js/generator-plugin": "0.0.0-next-
|
|
32
|
-
"@modern-js/
|
|
33
|
-
"@modern-js/
|
|
34
|
-
"@modern-js/generator
|
|
35
|
-
"@modern-js/
|
|
36
|
-
"@modern-js/utils": "0.0.0-next-
|
|
37
|
-
"@scripts/build": "0.0.0-next-
|
|
38
|
-
"@scripts/jest-config": "0.0.0-next-
|
|
29
|
+
"@modern-js/base-generator": "0.0.0-next-20221216031601",
|
|
30
|
+
"@modern-js/generator-common": "0.0.0-next-20221216031601",
|
|
31
|
+
"@modern-js/generator-plugin": "0.0.0-next-20221216031601",
|
|
32
|
+
"@modern-js/generator-utils": "0.0.0-next-20221216031601",
|
|
33
|
+
"@modern-js/module-generator": "0.0.0-next-20221216031601",
|
|
34
|
+
"@modern-js/monorepo-generator": "0.0.0-next-20221216031601",
|
|
35
|
+
"@modern-js/mwa-generator": "0.0.0-next-20221216031601",
|
|
36
|
+
"@modern-js/utils": "0.0.0-next-20221216031601",
|
|
37
|
+
"@scripts/build": "0.0.0-next-20221216031601",
|
|
38
|
+
"@scripts/jest-config": "0.0.0-next-20221216031601"
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false,
|
|
41
41
|
"publishConfig": {
|