@modern-js/router-v5-generator 3.3.11 → 3.3.12
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 +2 -15
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -61752,15 +61752,6 @@ var AppAPI = class {
|
|
|
61752
61752
|
var import_path6 = __toESM(require("path"));
|
|
61753
61753
|
var import_utils16 = require("@modern-js/utils");
|
|
61754
61754
|
|
|
61755
|
-
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.3/node_modules/@swc/helpers/esm/_define_property.js
|
|
61756
|
-
function _define_property2(obj, key, value) {
|
|
61757
|
-
if (key in obj) {
|
|
61758
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
61759
|
-
} else
|
|
61760
|
-
obj[key] = value;
|
|
61761
|
-
return obj;
|
|
61762
|
-
}
|
|
61763
|
-
|
|
61764
61755
|
// ../../../cli/plugin-i18n/dist/esm-node/index.js
|
|
61765
61756
|
var import_lodash7 = require("@modern-js/utils/lodash");
|
|
61766
61757
|
|
|
@@ -61819,8 +61810,8 @@ var I18n2 = class {
|
|
|
61819
61810
|
};
|
|
61820
61811
|
}
|
|
61821
61812
|
constructor() {
|
|
61822
|
-
|
|
61823
|
-
|
|
61813
|
+
this.language = "en";
|
|
61814
|
+
this.languageMap = {};
|
|
61824
61815
|
}
|
|
61825
61816
|
};
|
|
61826
61817
|
|
|
@@ -61853,10 +61844,8 @@ var ZH_LOCALE2 = {
|
|
|
61853
61844
|
i18n: "启用「国际化(i18n)」功能",
|
|
61854
61845
|
test: "启用「单元测试 / 集成测试」功能",
|
|
61855
61846
|
e2e_test: "启用「E2E 测试」功能",
|
|
61856
|
-
storybook: "启用「Storybook」",
|
|
61857
61847
|
storybookV7: "启用「Storybook」V7",
|
|
61858
61848
|
runtime_api: "启用「Runtime API」",
|
|
61859
|
-
mwa_storybook: "启用「Visual Testing (Storybook)」模式",
|
|
61860
61849
|
ssg: "启用「SSG」功能",
|
|
61861
61850
|
polyfill: "启用「基于 UA 的 Polyfill」功能",
|
|
61862
61851
|
proxy: "启用「全局代理」",
|
|
@@ -61951,10 +61940,8 @@ var EN_LOCALE2 = {
|
|
|
61951
61940
|
i18n: "Enable Internationalization (i18n)",
|
|
61952
61941
|
test: "Enable Unit Test / Integration Test",
|
|
61953
61942
|
e2e_test: "Enable E2E Test",
|
|
61954
|
-
storybook: "Enable Storybook",
|
|
61955
61943
|
storybookV7: "Enable Storybook V7",
|
|
61956
61944
|
runtime_api: "Enable Runtime API",
|
|
61957
|
-
mwa_storybook: "Enable Visual Testing (Storybook)",
|
|
61958
61945
|
ssg: "Enable SSG",
|
|
61959
61946
|
polyfill: "Enable UA-based Polyfill Feature",
|
|
61960
61947
|
proxy: "Enable Global Proxy",
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "3.3.
|
|
18
|
+
"version": "3.3.12",
|
|
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": "2.48.
|
|
26
|
+
"@modern-js/utils": "2.48.1"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@modern-js/codesmith": "2.3.5",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@types/node": "^14",
|
|
33
33
|
"jest": "^29",
|
|
34
34
|
"typescript": "^5",
|
|
35
|
-
"@modern-js/dependence-generator": "3.3.
|
|
36
|
-
"@modern-js/generator-utils": "3.3.
|
|
37
|
-
"@
|
|
38
|
-
"@modern-js/
|
|
39
|
-
"@scripts/
|
|
40
|
-
"@
|
|
35
|
+
"@modern-js/dependence-generator": "3.3.12",
|
|
36
|
+
"@modern-js/generator-utils": "3.3.12",
|
|
37
|
+
"@scripts/build": "2.48.1",
|
|
38
|
+
"@modern-js/generator-common": "3.3.12",
|
|
39
|
+
"@scripts/jest-config": "2.48.1",
|
|
40
|
+
"@modern-js/plugin-i18n": "2.48.1"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|
|
43
43
|
"publishConfig": {
|