@modern-js/upgrade-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 +7 -7
package/dist/index.js
CHANGED
|
@@ -63417,15 +63417,6 @@ var JsonAPI = class {
|
|
|
63417
63417
|
var import_path5 = __toESM(require("path"));
|
|
63418
63418
|
var import_utils17 = require("@modern-js/utils");
|
|
63419
63419
|
|
|
63420
|
-
// ../../../../node_modules/.pnpm/@swc+helpers@0.5.3/node_modules/@swc/helpers/esm/_define_property.js
|
|
63421
|
-
function _define_property2(obj, key, value) {
|
|
63422
|
-
if (key in obj) {
|
|
63423
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
63424
|
-
} else
|
|
63425
|
-
obj[key] = value;
|
|
63426
|
-
return obj;
|
|
63427
|
-
}
|
|
63428
|
-
|
|
63429
63420
|
// ../../../cli/plugin-i18n/dist/esm-node/index.js
|
|
63430
63421
|
var import_lodash7 = require("@modern-js/utils/lodash");
|
|
63431
63422
|
|
|
@@ -63484,8 +63475,8 @@ var I18n2 = class {
|
|
|
63484
63475
|
};
|
|
63485
63476
|
}
|
|
63486
63477
|
constructor() {
|
|
63487
|
-
|
|
63488
|
-
|
|
63478
|
+
this.language = "en";
|
|
63479
|
+
this.languageMap = {};
|
|
63489
63480
|
}
|
|
63490
63481
|
};
|
|
63491
63482
|
|
|
@@ -63518,10 +63509,8 @@ var ZH_LOCALE2 = {
|
|
|
63518
63509
|
i18n: "启用「国际化(i18n)」功能",
|
|
63519
63510
|
test: "启用「单元测试 / 集成测试」功能",
|
|
63520
63511
|
e2e_test: "启用「E2E 测试」功能",
|
|
63521
|
-
storybook: "启用「Storybook」",
|
|
63522
63512
|
storybookV7: "启用「Storybook」V7",
|
|
63523
63513
|
runtime_api: "启用「Runtime API」",
|
|
63524
|
-
mwa_storybook: "启用「Visual Testing (Storybook)」模式",
|
|
63525
63514
|
ssg: "启用「SSG」功能",
|
|
63526
63515
|
polyfill: "启用「基于 UA 的 Polyfill」功能",
|
|
63527
63516
|
proxy: "启用「全局代理」",
|
|
@@ -63616,10 +63605,8 @@ var EN_LOCALE2 = {
|
|
|
63616
63605
|
i18n: "Enable Internationalization (i18n)",
|
|
63617
63606
|
test: "Enable Unit Test / Integration Test",
|
|
63618
63607
|
e2e_test: "Enable E2E Test",
|
|
63619
|
-
storybook: "Enable Storybook",
|
|
63620
63608
|
storybookV7: "Enable Storybook V7",
|
|
63621
63609
|
runtime_api: "Enable Runtime API",
|
|
63622
|
-
mwa_storybook: "Enable Visual Testing (Storybook)",
|
|
63623
63610
|
ssg: "Enable SSG",
|
|
63624
63611
|
polyfill: "Enable UA-based Polyfill Feature",
|
|
63625
63612
|
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": [
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
"@modern-js/codesmith": "2.3.5",
|
|
27
27
|
"@modern-js/codesmith-api-app": "2.3.5",
|
|
28
28
|
"@modern-js/codesmith-api-json": "2.3.5",
|
|
29
|
-
"@modern-js/
|
|
30
|
-
"@modern-js/
|
|
31
|
-
"@modern-js/
|
|
32
|
-
"@modern-js/
|
|
29
|
+
"@modern-js/utils": "2.48.1",
|
|
30
|
+
"@modern-js/generator-common": "3.3.12",
|
|
31
|
+
"@modern-js/plugin-i18n": "2.48.1",
|
|
32
|
+
"@modern-js/generator-utils": "3.3.12"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/jest": "^29",
|
|
36
36
|
"@types/node": "^14",
|
|
37
37
|
"jest": "^29",
|
|
38
38
|
"typescript": "^5",
|
|
39
|
-
"@scripts/build": "2.48.
|
|
40
|
-
"@scripts/jest-config": "2.48.
|
|
39
|
+
"@scripts/build": "2.48.1",
|
|
40
|
+
"@scripts/jest-config": "2.48.1"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|
|
43
43
|
"publishConfig": {
|