pnpm-catalog-updates 1.1.4 → 1.1.5
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 +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/cli/commandRegistrar.ts +3 -3
package/dist/index.js
CHANGED
|
@@ -8733,7 +8733,7 @@ var VersionChecker = class _VersionChecker {
|
|
|
8733
8733
|
}
|
|
8734
8734
|
/**
|
|
8735
8735
|
* Display update notification (no auto-update for security reasons)
|
|
8736
|
-
* Users must explicitly run `pcu
|
|
8736
|
+
* Users must explicitly run `pcu upgrade` to update
|
|
8737
8737
|
*/
|
|
8738
8738
|
static displayUpdateNotification(versionResult) {
|
|
8739
8739
|
if (!versionResult.shouldPrompt) {
|
|
@@ -8746,7 +8746,7 @@ var VersionChecker = class _VersionChecker {
|
|
|
8746
8746
|
`Current version: ${versionResult.currentVersion} \u2192 Latest: ${versionResult.latestVersion}`
|
|
8747
8747
|
)
|
|
8748
8748
|
);
|
|
8749
|
-
logger.info(chalk10.gray("Run `pcu
|
|
8749
|
+
logger.info(chalk10.gray("Run `pcu upgrade` to update to the latest version."));
|
|
8750
8750
|
logger.info(chalk10.gray("Or update manually: npm install -g pcu@latest"));
|
|
8751
8751
|
logger.info("");
|
|
8752
8752
|
}
|
|
@@ -24159,11 +24159,11 @@ ${t("cli.help.tipLabel")} ${t("cli.help.tipContent", { locale: I18n.getLocale()
|
|
|
24159
24159
|
}
|
|
24160
24160
|
)
|
|
24161
24161
|
);
|
|
24162
|
-
program.command("
|
|
24162
|
+
program.command("upgrade").description(t("cli.description.selfUpdate")).action(
|
|
24163
24163
|
createCommandAction(
|
|
24164
24164
|
serviceFactory,
|
|
24165
24165
|
{
|
|
24166
|
-
name: "
|
|
24166
|
+
name: "upgrade",
|
|
24167
24167
|
needsServices: false
|
|
24168
24168
|
},
|
|
24169
24169
|
async ({ globalOptions }) => {
|