From 043a704913ae5fb92db89a4f87511e8c53487029 Mon Sep 17 00:00:00 2001 From: Shane McLaughlin Date: Fri, 9 Jun 2023 12:41:56 -0500 Subject: [PATCH] feat: remove beta aliases (#356) * chore: dep bumps * feat: remove beta aliases --- command-snapshot.json | 46 ++++++------- package.json | 6 +- src/commands/package/convert.ts | 2 +- src/commands/package/create.ts | 2 +- src/commands/package/delete.ts | 2 +- src/commands/package/install.ts | 2 +- src/commands/package/install/report.ts | 2 +- src/commands/package/installed/list.ts | 2 +- src/commands/package/list.ts | 2 +- src/commands/package/uninstall.ts | 2 +- src/commands/package/uninstall/report.ts | 2 +- src/commands/package/update.ts | 2 +- src/commands/package/version/create.ts | 2 +- src/commands/package/version/create/list.ts | 2 +- src/commands/package/version/create/report.ts | 2 +- src/commands/package/version/delete.ts | 2 +- .../package/version/displayancestry.ts | 5 +- src/commands/package/version/list.ts | 2 +- src/commands/package/version/promote.ts | 2 +- src/commands/package/version/report.ts | 2 +- src/commands/package/version/update.ts | 2 +- src/commands/package1/version/create.ts | 2 +- src/commands/package1/version/create/get.ts | 2 +- src/commands/package1/version/display.ts | 2 +- src/commands/package1/version/list.ts | 2 +- yarn.lock | 64 +++++++++---------- 26 files changed, 81 insertions(+), 84 deletions(-) diff --git a/command-snapshot.json b/command-snapshot.json index 624da1fe..b88a16c2 100644 --- a/command-snapshot.json +++ b/command-snapshot.json @@ -17,7 +17,7 @@ "version", "wait" ], - "alias": ["force:package1:beta:version:create", "force:package1:version:create"], + "alias": ["force:package1:version:create"], "flagChars": ["d", "i", "k", "m", "n", "o", "p", "r", "v", "w"], "flagAliases": [ "apiversion", @@ -34,7 +34,7 @@ "command": "package1:version:create:get", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "json", "loglevel", "request-id", "target-org"], - "alias": ["force:package1:beta:version:create:get", "force:package1:version:create:get"], + "alias": ["force:package1:version:create:get"], "flagChars": ["i", "o"], "flagAliases": ["apiversion", "requestid", "targetusername", "u"] }, @@ -42,7 +42,7 @@ "command": "package1:version:display", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "json", "loglevel", "package-version-id", "target-org"], - "alias": ["force:package1:beta:version:display", "force:package1:version:display"], + "alias": ["force:package1:version:display"], "flagChars": ["i", "o"], "flagAliases": ["apiversion", "packageversionid", "targetusername", "u"] }, @@ -50,7 +50,7 @@ "command": "package1:version:list", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "json", "loglevel", "package-id", "target-org"], - "alias": ["force:package1:beta:version:list", "force:package1:version:list"], + "alias": ["force:package1:version:list"], "flagChars": ["i", "o"], "flagAliases": ["apiversion", "packageid", "targetusername", "u"] }, @@ -70,7 +70,7 @@ "target-dev-hub", "wait" ], - "alias": ["force:package:beta:convert", "force:package:convert"], + "alias": ["force:package:convert"], "flagChars": ["f", "k", "m", "p", "s", "v", "w", "x"], "flagAliases": [ "apiversion", @@ -98,7 +98,7 @@ "path", "target-dev-hub" ], - "alias": ["force:package:beta:create", "force:package:create"], + "alias": ["force:package:create"], "flagChars": ["d", "e", "n", "o", "r", "t", "v"], "flagAliases": [ "apiversion", @@ -114,7 +114,7 @@ "command": "package:delete", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "json", "loglevel", "no-prompt", "package", "target-dev-hub", "undelete"], - "alias": ["force:package:beta:delete", "force:package:delete"], + "alias": ["force:package:delete"], "flagChars": ["n", "p", "v"], "flagAliases": ["apiversion", "noprompt", "target-hub-org", "targetdevhubusername"] }, @@ -136,7 +136,7 @@ "upgrade-type", "wait" ], - "alias": ["force:package:beta:install", "force:package:install"], + "alias": ["force:package:install"], "flagChars": ["a", "b", "k", "l", "o", "p", "r", "s", "t", "w"], "flagAliases": [ "apexcompile", @@ -154,7 +154,7 @@ "command": "package:install:report", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "json", "loglevel", "request-id", "target-org"], - "alias": ["force:package:beta:install:report", "force:package:install:report"], + "alias": ["force:package:install:report"], "flagChars": ["i", "o"], "flagAliases": ["apiversion", "requestid", "targetusername", "u"] }, @@ -162,7 +162,7 @@ "command": "package:installed:list", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "json", "loglevel", "target-org"], - "alias": ["force:package:beta:installed:list", "force:package:installed:list"], + "alias": ["force:package:installed:list"], "flagChars": ["o"], "flagAliases": ["apiversion", "targetusername", "u"] }, @@ -170,7 +170,7 @@ "command": "package:list", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "json", "loglevel", "target-dev-hub", "verbose"], - "alias": ["force:package:beta:list", "force:package:list"], + "alias": ["force:package:list"], "flagChars": ["v"], "flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"] }, @@ -178,7 +178,7 @@ "command": "package:uninstall", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "json", "loglevel", "package", "target-org", "wait"], - "alias": ["force:package:beta:uninstall", "force:package:uninstall"], + "alias": ["force:package:uninstall"], "flagChars": ["o", "p", "w"], "flagAliases": ["apiversion", "targetusername", "u"] }, @@ -186,7 +186,7 @@ "command": "package:uninstall:report", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "json", "loglevel", "request-id", "target-org"], - "alias": ["force:package:beta:uninstall:report", "force:package:uninstall:report"], + "alias": ["force:package:uninstall:report"], "flagChars": ["i", "o"], "flagAliases": ["apiversion", "requestid", "targetusername", "u"] }, @@ -204,7 +204,7 @@ "package", "target-dev-hub" ], - "alias": ["force:package:beta:update", "force:package:update"], + "alias": ["force:package:update"], "flagChars": ["d", "n", "o", "p", "v"], "flagAliases": ["apiversion", "errornotificationusername", "target-hub-org", "targetdevhubusername"] }, @@ -240,7 +240,7 @@ "version-number", "wait" ], - "alias": ["force:package:beta:version:create", "force:package:version:create"], + "alias": ["force:package:version:create"], "flagChars": ["a", "b", "c", "d", "e", "f", "j", "k", "n", "p", "r", "s", "t", "v", "w", "x"], "flagAliases": [ "apiversion", @@ -267,7 +267,7 @@ "command": "package:version:create:list", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "created-last-days", "json", "loglevel", "status", "target-dev-hub"], - "alias": ["force:package:beta:version:create:list", "force:package:version:create:list"], + "alias": ["force:package:version:create:list"], "flagChars": ["c", "s", "v"], "flagAliases": ["apiversion", "createdlastdays", "target-hub-org", "targetdevhubusername"] }, @@ -275,7 +275,7 @@ "command": "package:version:create:report", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "json", "loglevel", "package-create-request-id", "target-dev-hub"], - "alias": ["force:package:beta:version:create:report", "force:package:version:create:report"], + "alias": ["force:package:version:create:report"], "flagChars": ["i", "v"], "flagAliases": ["apiversion", "packagecreaterequestid", "target-hub-org", "targetdevhubusername"] }, @@ -283,7 +283,7 @@ "command": "package:version:delete", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "json", "loglevel", "no-prompt", "package", "target-dev-hub", "undelete"], - "alias": ["force:package:beta:version:delete", "force:package:version:delete"], + "alias": ["force:package:version:delete"], "flagChars": ["n", "p", "v"], "flagAliases": ["apiversion", "noprompt", "target-hub-org", "targetdevhubusername"] }, @@ -291,7 +291,7 @@ "command": "package:version:displayancestry", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "dot-code", "json", "loglevel", "package", "target-dev-hub", "verbose"], - "alias": ["force:package:beta:version:displayancestry", "force:package:version:displayancestry"], + "alias": ["force:package:version:displayancestry"], "flagChars": ["p", "v"], "flagAliases": ["apiversion", "dotcode", "target-hub-org", "targetdevhubusername"] }, @@ -311,7 +311,7 @@ "target-dev-hub", "verbose" ], - "alias": ["force:package:beta:version:list", "force:package:version:list"], + "alias": ["force:package:version:list"], "flagChars": ["c", "m", "o", "p", "r", "v"], "flagAliases": [ "apiversion", @@ -326,7 +326,7 @@ "command": "package:version:promote", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "json", "loglevel", "no-prompt", "package", "target-dev-hub"], - "alias": ["force:package:beta:version:promote", "force:package:version:promote"], + "alias": ["force:package:version:promote"], "flagChars": ["n", "p", "v"], "flagAliases": ["apiversion", "noprompt", "target-hub-org", "targetdevhubusername"] }, @@ -334,7 +334,7 @@ "command": "package:version:report", "plugin": "@salesforce/plugin-packaging", "flags": ["api-version", "json", "loglevel", "package", "target-dev-hub", "verbose"], - "alias": ["force:package:beta:version:report", "force:package:version:report"], + "alias": ["force:package:version:report"], "flagChars": ["p", "v"], "flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"] }, @@ -361,7 +361,7 @@ "version-description", "version-name" ], - "alias": ["force:package:beta:version:update", "force:package:version:update"], + "alias": ["force:package:version:update"], "flagChars": ["a", "b", "e", "k", "p", "t", "v"], "flagAliases": [ "apiversion", diff --git a/package.json b/package.json index e608c89e..7bd6eacf 100644 --- a/package.json +++ b/package.json @@ -7,17 +7,17 @@ "bugs": "https://github.com/forcedotcom/cli/issues", "dependencies": { "@oclif/core": "^2.8.2", - "@salesforce/core": "^4.0.1", + "@salesforce/core": "^4.2.1", "@salesforce/kit": "^3.0.2", "@salesforce/packaging": "^2.1.2", - "@salesforce/sf-plugins-core": "^3.0.2", + "@salesforce/sf-plugins-core": "^3.0.4", "chalk": "^4.1.2", "tslib": "^2" }, "devDependencies": { "@oclif/plugin-command-snapshot": "^4.0.2", "@oclif/plugin-version": "^1.3.3", - "@salesforce/cli-plugins-testkit": "^4.0.1", + "@salesforce/cli-plugins-testkit": "^4.1.1", "@salesforce/dev-config": "^4.0.1", "@salesforce/dev-scripts": "^5.4.2", "@salesforce/plugin-auth": "^2.8.0", diff --git a/src/commands/package/convert.ts b/src/commands/package/convert.ts index 60cb54f1..ecbb4e12 100644 --- a/src/commands/package/convert.ts +++ b/src/commands/package/convert.ts @@ -27,7 +27,7 @@ export class PackageConvert extends SfCommand public static readonly description = messages.getMessage('description'); public static readonly examples = messages.getMessages('examples'); public static readonly deprecateAliases = true; - public static readonly aliases = ['force:package:beta:convert', 'force:package:convert']; + public static readonly aliases = ['force:package:convert']; public static readonly hidden = true; public static readonly flags = { loglevel, diff --git a/src/commands/package/create.ts b/src/commands/package/create.ts index a604e70a..e29a625b 100644 --- a/src/commands/package/create.ts +++ b/src/commands/package/create.ts @@ -19,7 +19,7 @@ export class PackageCreateCommand extends SfCommand { public static readonly description = messages.getMessage('description'); public static readonly examples = messages.getMessages('examples'); public static readonly deprecateAliases = true; - public static readonly aliases = ['force:package:beta:create', 'force:package:create']; + public static readonly aliases = ['force:package:create']; public static readonly requiresProject = true; public static readonly flags = { loglevel, diff --git a/src/commands/package/delete.ts b/src/commands/package/delete.ts index 0c8c0031..629d99f1 100644 --- a/src/commands/package/delete.ts +++ b/src/commands/package/delete.ts @@ -18,7 +18,7 @@ export class PackageDeleteCommand extends SfCommand { public static readonly description = messages.getMessage('description'); public static readonly examples = messages.getMessages('examples'); public static readonly deprecateAliases = true; - public static readonly aliases = ['force:package:beta:delete', 'force:package:delete']; + public static readonly aliases = ['force:package:delete']; public static readonly requiresProject = true; public static readonly flags = { loglevel, diff --git a/src/commands/package/install.ts b/src/commands/package/install.ts index 0a295ea6..4395c583 100644 --- a/src/commands/package/install.ts +++ b/src/commands/package/install.ts @@ -38,7 +38,7 @@ export class Install extends SfCommand { public static readonly description = messages.getMessage('description'); public static readonly examples = messages.getMessages('examples'); public static readonly deprecateAliases = true; - public static readonly aliases = ['force:package:beta:install', 'force:package:install']; + public static readonly aliases = ['force:package:install']; public static readonly flags = { loglevel, 'target-org': requiredOrgFlagWithDeprecations, diff --git a/src/commands/package/install/report.ts b/src/commands/package/install/report.ts index 6ff49679..8ba70a28 100644 --- a/src/commands/package/install/report.ts +++ b/src/commands/package/install/report.ts @@ -25,7 +25,7 @@ export class Report extends SfCommand { public static readonly summary = messages.getMessage('summary'); public static readonly examples = messages.getMessages('examples'); public static readonly deprecateAliases = true; - public static readonly aliases = ['force:package:beta:install:report', 'force:package:install:report']; + public static readonly aliases = ['force:package:install:report']; public static org: Org; public static readonly flags = { diff --git a/src/commands/package/installed/list.ts b/src/commands/package/installed/list.ts index 7e42ef26..419493f7 100644 --- a/src/commands/package/installed/list.ts +++ b/src/commands/package/installed/list.ts @@ -34,7 +34,7 @@ export class PackageInstalledListCommand extends SfCommand { public static readonly examples = messages.getMessages('examples'); public static readonly requiresProject = true; public static readonly deprecateAliases = true; - public static readonly aliases = ['force:package:beta:list', 'force:package:list']; + public static readonly aliases = ['force:package:list']; public static readonly flags = { loglevel, 'target-dev-hub': requiredHubFlag, diff --git a/src/commands/package/uninstall.ts b/src/commands/package/uninstall.ts index f92e9507..a220c29b 100644 --- a/src/commands/package/uninstall.ts +++ b/src/commands/package/uninstall.ts @@ -26,7 +26,7 @@ export class PackageUninstallCommand extends SfCommand { public static readonly description = messages.getMessage('description'); public static readonly examples = messages.getMessages('examples'); public static readonly deprecateAliases = true; - public static readonly aliases = ['force:package:beta:uninstall', 'force:package:uninstall']; + public static readonly aliases = ['force:package:uninstall']; public static readonly flags = { loglevel, 'target-org': requiredOrgFlagWithDeprecations, diff --git a/src/commands/package/uninstall/report.ts b/src/commands/package/uninstall/report.ts index f5a0f797..07709704 100644 --- a/src/commands/package/uninstall/report.ts +++ b/src/commands/package/uninstall/report.ts @@ -22,7 +22,7 @@ export class PackageUninstallReportCommand extends SfCommand { public static readonly description = messages.getMessage('description'); public static readonly examples = messages.getMessages('examples'); public static readonly deprecateAliases = true; - public static readonly aliases = ['force:package:beta:update', 'force:package:update']; + public static readonly aliases = ['force:package:update']; public static readonly requiresProject = true; public static readonly flags = { loglevel, diff --git a/src/commands/package/version/create.ts b/src/commands/package/version/create.ts index 7032ba9b..54225f9f 100644 --- a/src/commands/package/version/create.ts +++ b/src/commands/package/version/create.ts @@ -31,7 +31,7 @@ export class PackageVersionCreateCommand extends SfCommand { public static readonly description = messages.getMessage('description'); public static readonly examples = messages.getMessages('examples'); public static readonly deprecateAliases = true; - public static readonly aliases = ['force:package:beta:version:delete', 'force:package:version:delete']; + public static readonly aliases = ['force:package:version:delete']; public static readonly requiresProject = true; public static readonly flags = { loglevel, diff --git a/src/commands/package/version/displayancestry.ts b/src/commands/package/version/displayancestry.ts index 3834c412..a46e6783 100644 --- a/src/commands/package/version/displayancestry.ts +++ b/src/commands/package/version/displayancestry.ts @@ -20,10 +20,7 @@ export class PackageVersionDisplayAncestryCommand extends SfCommand { public static readonly summary = messages.getMessage('summary'); public static readonly description = messages.getMessage('description'); public static readonly deprecateAliases = true; - public static readonly aliases = ['force:package:beta:version:promote', 'force:package:version:promote']; + public static readonly aliases = ['force:package:version:promote']; public static readonly examples = messages.getMessages('examples'); public static readonly requiresProject = true; public static readonly flags = { diff --git a/src/commands/package/version/report.ts b/src/commands/package/version/report.ts index e390fe76..8d1e0cc8 100644 --- a/src/commands/package/version/report.ts +++ b/src/commands/package/version/report.ts @@ -39,7 +39,7 @@ export class PackageVersionReportCommand extends SfCommand { public static readonly description = messages.getMessage('description'); public static readonly examples = messages.getMessages('examples'); public static readonly deprecateAliases = true; - public static readonly aliases = ['force:package:beta:version:update', 'force:package:version:update']; + public static readonly aliases = ['force:package:version:update']; public static readonly requiresProject = true; public static readonly flags = { loglevel, diff --git a/src/commands/package1/version/create.ts b/src/commands/package1/version/create.ts index d2f9052c..aa62a5b3 100644 --- a/src/commands/package1/version/create.ts +++ b/src/commands/package1/version/create.ts @@ -27,7 +27,7 @@ export class Package1VersionCreateCommand extends SfCommand