@modern-js/dependence-generator 3.3.11 → 3.3.13
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 +7 -7
package/dist/index.js
CHANGED
|
@@ -63413,15 +63413,6 @@ var JsonAPI = class {
|
|
|
63413
63413
|
}
|
|
63414
63414
|
};
|
|
63415
63415
|
|
|
63416
|
-
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.3/node_modules/@swc/helpers/esm/_define_property.js
|
|
63417
|
-
function _define_property2(obj, key, value) {
|
|
63418
|
-
if (key in obj) {
|
|
63419
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
63420
|
-
} else
|
|
63421
|
-
obj[key] = value;
|
|
63422
|
-
return obj;
|
|
63423
|
-
}
|
|
63424
|
-
|
|
63425
63416
|
// ../../../cli/plugin-i18n/dist/esm-node/index.js
|
|
63426
63417
|
var import_lodash7 = require("@modern-js/utils/lodash");
|
|
63427
63418
|
|
|
@@ -63480,8 +63471,8 @@ var I18n2 = class {
|
|
|
63480
63471
|
};
|
|
63481
63472
|
}
|
|
63482
63473
|
constructor() {
|
|
63483
|
-
|
|
63484
|
-
|
|
63474
|
+
this.language = "en";
|
|
63475
|
+
this.languageMap = {};
|
|
63485
63476
|
}
|
|
63486
63477
|
};
|
|
63487
63478
|
|
|
@@ -63514,10 +63505,8 @@ var ZH_LOCALE2 = {
|
|
|
63514
63505
|
i18n: "启用「国际化(i18n)」功能",
|
|
63515
63506
|
test: "启用「单元测试 / 集成测试」功能",
|
|
63516
63507
|
e2e_test: "启用「E2E 测试」功能",
|
|
63517
|
-
storybook: "启用「Storybook」",
|
|
63518
63508
|
storybookV7: "启用「Storybook」V7",
|
|
63519
63509
|
runtime_api: "启用「Runtime API」",
|
|
63520
|
-
mwa_storybook: "启用「Visual Testing (Storybook)」模式",
|
|
63521
63510
|
ssg: "启用「SSG」功能",
|
|
63522
63511
|
polyfill: "启用「基于 UA 的 Polyfill」功能",
|
|
63523
63512
|
proxy: "启用「全局代理」",
|
|
@@ -63612,10 +63601,8 @@ var EN_LOCALE2 = {
|
|
|
63612
63601
|
i18n: "Enable Internationalization (i18n)",
|
|
63613
63602
|
test: "Enable Unit Test / Integration Test",
|
|
63614
63603
|
e2e_test: "Enable E2E Test",
|
|
63615
|
-
storybook: "Enable Storybook",
|
|
63616
63604
|
storybookV7: "Enable Storybook V7",
|
|
63617
63605
|
runtime_api: "Enable Runtime API",
|
|
63618
|
-
mwa_storybook: "Enable Visual Testing (Storybook)",
|
|
63619
63606
|
ssg: "Enable SSG",
|
|
63620
63607
|
polyfill: "Enable UA-based Polyfill Feature",
|
|
63621
63608
|
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",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"@types/node": "^14",
|
|
34
34
|
"jest": "^29",
|
|
35
35
|
"typescript": "^5",
|
|
36
|
-
"@modern-js/generator-common": "3.3.
|
|
37
|
-
"@modern-js/
|
|
38
|
-
"@
|
|
39
|
-
"@scripts/build": "2.48.
|
|
40
|
-
"@
|
|
36
|
+
"@modern-js/generator-common": "3.3.13",
|
|
37
|
+
"@modern-js/plugin-i18n": "2.48.2",
|
|
38
|
+
"@scripts/jest-config": "2.48.2",
|
|
39
|
+
"@scripts/build": "2.48.2",
|
|
40
|
+
"@modern-js/generator-utils": "3.3.13"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|
|
43
43
|
"publishConfig": {
|