@modern-js/upgrade 2.60.4 → 2.60.5-alpha.0
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 +5 -1
- package/package.json +4 -5
package/dist/index.js
CHANGED
|
@@ -46564,7 +46564,11 @@ var localeKeys = i18n.init("en", { zh: ZH_LOCALE, en: EN_LOCALE });
|
|
|
46564
46564
|
function defineCommand(program2) {
|
|
46565
46565
|
const locale = getLocaleLanguage();
|
|
46566
46566
|
i18n.changeLanguage({ locale });
|
|
46567
|
-
program2.alias("upgrade").description(i18n.t(localeKeys.command.describe)).usage("npx @modern-js/upgrade [options]").option("-c --config <config>", i18n.t(localeKeys.command.config)).option(
|
|
46567
|
+
program2.alias("upgrade").description(i18n.t(localeKeys.command.describe)).usage("npx @modern-js/upgrade [options]").option("-c --config <config>", i18n.t(localeKeys.command.config)).option(
|
|
46568
|
+
"--dist-tag <distTag>",
|
|
46569
|
+
i18n.t(localeKeys.command.distTag),
|
|
46570
|
+
void 0
|
|
46571
|
+
).option(
|
|
46568
46572
|
"--registry <registry>",
|
|
46569
46573
|
i18n.t(localeKeys.command.registry),
|
|
46570
46574
|
void 0
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.60.
|
|
18
|
+
"version": "2.60.5-alpha.0",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./dist/index.d.ts",
|
|
21
21
|
"main": "./dist/index.js",
|
|
@@ -46,15 +46,14 @@
|
|
|
46
46
|
"ts-node": "^10.9.1",
|
|
47
47
|
"typescript": "^5",
|
|
48
48
|
"@modern-js/plugin-i18n": "2.60.4",
|
|
49
|
-
"@scripts/jest-config": "2.60.4",
|
|
50
49
|
"@scripts/build": "2.60.4",
|
|
51
|
-
"@modern-js/upgrade-generator": "3.7.0"
|
|
50
|
+
"@modern-js/upgrade-generator": "3.7.0",
|
|
51
|
+
"@scripts/jest-config": "2.60.4"
|
|
52
52
|
},
|
|
53
53
|
"sideEffects": false,
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"registry": "https://registry.npmjs.org/",
|
|
56
|
-
"access": "public"
|
|
57
|
-
"provenance": true
|
|
56
|
+
"access": "public"
|
|
58
57
|
},
|
|
59
58
|
"scripts": {
|
|
60
59
|
"new": "modern-lib new",
|