@modern-js/base-generator 3.3.10 → 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 +6 -6
package/dist/index.js
CHANGED
|
@@ -61748,15 +61748,6 @@ var AppAPI = class {
|
|
|
61748
61748
|
}
|
|
61749
61749
|
};
|
|
61750
61750
|
|
|
61751
|
-
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.3/node_modules/@swc/helpers/esm/_define_property.js
|
|
61752
|
-
function _define_property2(obj, key, value) {
|
|
61753
|
-
if (key in obj) {
|
|
61754
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
61755
|
-
} else
|
|
61756
|
-
obj[key] = value;
|
|
61757
|
-
return obj;
|
|
61758
|
-
}
|
|
61759
|
-
|
|
61760
61751
|
// ../../../cli/plugin-i18n/dist/esm-node/index.js
|
|
61761
61752
|
var import_lodash7 = require("@modern-js/utils/lodash");
|
|
61762
61753
|
|
|
@@ -61815,8 +61806,8 @@ var I18n2 = class {
|
|
|
61815
61806
|
};
|
|
61816
61807
|
}
|
|
61817
61808
|
constructor() {
|
|
61818
|
-
|
|
61819
|
-
|
|
61809
|
+
this.language = "en";
|
|
61810
|
+
this.languageMap = {};
|
|
61820
61811
|
}
|
|
61821
61812
|
};
|
|
61822
61813
|
|
|
@@ -61849,10 +61840,8 @@ var ZH_LOCALE2 = {
|
|
|
61849
61840
|
i18n: "启用「国际化(i18n)」功能",
|
|
61850
61841
|
test: "启用「单元测试 / 集成测试」功能",
|
|
61851
61842
|
e2e_test: "启用「E2E 测试」功能",
|
|
61852
|
-
storybook: "启用「Storybook」",
|
|
61853
61843
|
storybookV7: "启用「Storybook」V7",
|
|
61854
61844
|
runtime_api: "启用「Runtime API」",
|
|
61855
|
-
mwa_storybook: "启用「Visual Testing (Storybook)」模式",
|
|
61856
61845
|
ssg: "启用「SSG」功能",
|
|
61857
61846
|
polyfill: "启用「基于 UA 的 Polyfill」功能",
|
|
61858
61847
|
proxy: "启用「全局代理」",
|
|
@@ -61947,10 +61936,8 @@ var EN_LOCALE2 = {
|
|
|
61947
61936
|
i18n: "Enable Internationalization (i18n)",
|
|
61948
61937
|
test: "Enable Unit Test / Integration Test",
|
|
61949
61938
|
e2e_test: "Enable E2E Test",
|
|
61950
|
-
storybook: "Enable Storybook",
|
|
61951
61939
|
storybookV7: "Enable Storybook V7",
|
|
61952
61940
|
runtime_api: "Enable Runtime API",
|
|
61953
|
-
mwa_storybook: "Enable Visual Testing (Storybook)",
|
|
61954
61941
|
ssg: "Enable SSG",
|
|
61955
61942
|
polyfill: "Enable UA-based Polyfill Feature",
|
|
61956
61943
|
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
|
"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.
|
|
27
|
+
"@modern-js/utils": "2.48.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@modern-js/codesmith": "2.3.5",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"@types/node": "^14",
|
|
34
34
|
"jest": "^29",
|
|
35
35
|
"typescript": "^5",
|
|
36
|
-
"@modern-js/generator-
|
|
37
|
-
"@modern-js/generator-
|
|
38
|
-
"@scripts/
|
|
39
|
-
"@scripts/
|
|
36
|
+
"@modern-js/generator-utils": "3.3.12",
|
|
37
|
+
"@modern-js/generator-common": "3.3.12",
|
|
38
|
+
"@scripts/build": "2.48.1",
|
|
39
|
+
"@scripts/jest-config": "2.48.1"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": false,
|
|
42
42
|
"publishConfig": {
|