@modern-js/upgrade 2.60.4-next.1 → 2.60.4-next.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +5 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -45462,7 +45462,11 @@ var localeKeys = i18n.init("en", { zh: ZH_LOCALE, en: EN_LOCALE });
|
|
45462
45462
|
function defineCommand(program) {
|
45463
45463
|
const locale = getLocaleLanguage();
|
45464
45464
|
i18n.changeLanguage({ locale });
|
45465
|
-
program.alias("upgrade").description(i18n.t(localeKeys.command.describe)).usage("npx @modern-js/upgrade [options]").option("-c --config <config>", i18n.t(localeKeys.command.config)).option("--dist-tag <distTag>", i18n.t(localeKeys.command.distTag), "").option(
|
45465
|
+
program.alias("upgrade").description(i18n.t(localeKeys.command.describe)).usage("npx @modern-js/upgrade [options]").option("-c --config <config>", i18n.t(localeKeys.command.config)).option("--dist-tag <distTag>", i18n.t(localeKeys.command.distTag), "").option(
|
45466
|
+
"--registry <registry>",
|
45467
|
+
i18n.t(localeKeys.command.registry),
|
45468
|
+
void 0
|
45469
|
+
).option("-d,--debug", i18n.t(localeKeys.command.debug), false).option("--cwd <cwd>", i18n.t(localeKeys.command.cwd), "").option("--no-need-install", i18n.t(localeKeys.command.noNeedInstall)).action((params) => __async(this, null, function* () {
|
45466
45470
|
const { upgradeAction: upgradeAction2 } = yield Promise.resolve().then(() => (init_upgrade(), upgrade_exports));
|
45467
45471
|
return upgradeAction2(params);
|
45468
45472
|
}));
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "2.60.4-next.
|
18
|
+
"version": "2.60.4-next.2",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"types": "./dist/index.d.ts",
|
21
21
|
"main": "./dist/index.js",
|
@@ -43,9 +43,9 @@
|
|
43
43
|
"jest": "^29",
|
44
44
|
"ts-node": "^10.9.1",
|
45
45
|
"typescript": "^5",
|
46
|
-
"@modern-js/plugin-i18n": "2.60.3",
|
47
|
-
"@scripts/build": "2.60.3",
|
48
46
|
"@modern-js/utils": "2.60.3",
|
47
|
+
"@scripts/build": "2.60.3",
|
48
|
+
"@modern-js/plugin-i18n": "2.60.3",
|
49
49
|
"@modern-js/upgrade-generator": "3.6.3",
|
50
50
|
"@scripts/jest-config": "2.60.3"
|
51
51
|
},
|