@modern-js/ssg-generator 3.3.11 → 3.3.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +2 -15
- package/package.json +8 -8
package/dist/index.js
CHANGED
@@ -61751,15 +61751,6 @@ var AppAPI = class {
|
|
61751
61751
|
var import_path6 = __toESM(require("path"));
|
61752
61752
|
var import_utils16 = require("@modern-js/utils");
|
61753
61753
|
|
61754
|
-
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.3/node_modules/@swc/helpers/esm/_define_property.js
|
61755
|
-
function _define_property2(obj, key, value) {
|
61756
|
-
if (key in obj) {
|
61757
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
61758
|
-
} else
|
61759
|
-
obj[key] = value;
|
61760
|
-
return obj;
|
61761
|
-
}
|
61762
|
-
|
61763
61754
|
// ../../../cli/plugin-i18n/dist/esm-node/index.js
|
61764
61755
|
var import_lodash7 = require("@modern-js/utils/lodash");
|
61765
61756
|
|
@@ -61818,8 +61809,8 @@ var I18n2 = class {
|
|
61818
61809
|
};
|
61819
61810
|
}
|
61820
61811
|
constructor() {
|
61821
|
-
|
61822
|
-
|
61812
|
+
this.language = "en";
|
61813
|
+
this.languageMap = {};
|
61823
61814
|
}
|
61824
61815
|
};
|
61825
61816
|
|
@@ -61852,10 +61843,8 @@ var ZH_LOCALE2 = {
|
|
61852
61843
|
i18n: "启用「国际化(i18n)」功能",
|
61853
61844
|
test: "启用「单元测试 / 集成测试」功能",
|
61854
61845
|
e2e_test: "启用「E2E 测试」功能",
|
61855
|
-
storybook: "启用「Storybook」",
|
61856
61846
|
storybookV7: "启用「Storybook」V7",
|
61857
61847
|
runtime_api: "启用「Runtime API」",
|
61858
|
-
mwa_storybook: "启用「Visual Testing (Storybook)」模式",
|
61859
61848
|
ssg: "启用「SSG」功能",
|
61860
61849
|
polyfill: "启用「基于 UA 的 Polyfill」功能",
|
61861
61850
|
proxy: "启用「全局代理」",
|
@@ -61950,10 +61939,8 @@ var EN_LOCALE2 = {
|
|
61950
61939
|
i18n: "Enable Internationalization (i18n)",
|
61951
61940
|
test: "Enable Unit Test / Integration Test",
|
61952
61941
|
e2e_test: "Enable E2E Test",
|
61953
|
-
storybook: "Enable Storybook",
|
61954
61942
|
storybookV7: "Enable Storybook V7",
|
61955
61943
|
runtime_api: "Enable Runtime API",
|
61956
|
-
mwa_storybook: "Enable Visual Testing (Storybook)",
|
61957
61944
|
ssg: "Enable SSG",
|
61958
61945
|
polyfill: "Enable UA-based Polyfill Feature",
|
61959
61946
|
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.13",
|
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.2"
|
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-
|
37
|
-
"@modern-js/generator-
|
38
|
-
"@
|
39
|
-
"@
|
40
|
-
"@scripts/jest-config": "2.48.
|
35
|
+
"@modern-js/dependence-generator": "3.3.13",
|
36
|
+
"@modern-js/generator-utils": "3.3.13",
|
37
|
+
"@modern-js/generator-common": "3.3.13",
|
38
|
+
"@scripts/build": "2.48.2",
|
39
|
+
"@modern-js/plugin-i18n": "2.48.2",
|
40
|
+
"@scripts/jest-config": "2.48.2"
|
41
41
|
},
|
42
42
|
"sideEffects": false,
|
43
43
|
"publishConfig": {
|