Skip to content

Commit

Permalink
feat: remove beta aliases (#356)
Browse files Browse the repository at this point in the history
* chore: dep bumps

* feat: remove beta aliases
  • Loading branch information
mshanemc authored Jun 9, 2023
1 parent 6d0e591 commit 043a704
Show file tree
Hide file tree
Showing 26 changed files with 81 additions and 84 deletions.
46 changes: 23 additions & 23 deletions command-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -34,23 +34,23 @@
"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"]
},
{
"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"]
},
{
"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"]
},
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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"]
},
Expand All @@ -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",
Expand All @@ -154,39 +154,39 @@
"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"]
},
{
"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"]
},
{
"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"]
},
{
"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"]
},
{
"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"]
},
Expand All @@ -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"]
},
Expand Down Expand Up @@ -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",
Expand All @@ -267,31 +267,31 @@
"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"]
},
{
"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"]
},
{
"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"]
},
{
"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"]
},
Expand All @@ -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",
Expand All @@ -326,15 +326,15 @@
"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"]
},
{
"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"]
},
Expand All @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class PackageConvert extends SfCommand<PackageVersionCreateRequestResult>
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,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class PackageCreateCommand extends SfCommand<PackageCreate> {
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,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class PackageDeleteCommand extends SfCommand<PackageSaveResult> {
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,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class Install extends SfCommand<PackageInstallRequest> {
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,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/install/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class Report extends SfCommand<PackageInstallRequest> {
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 = {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/installed/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class PackageInstalledListCommand extends SfCommand<PackageInstalledComma
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:installed:list', 'force:package:installed:list'];
public static readonly aliases = ['force:package:installed:list'];
public static readonly requiresProject = true;

public static readonly flags = {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class PackageListCommand extends SfCommand<PackageListCommandResult> {
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,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/uninstall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class PackageUninstallCommand extends SfCommand<UninstallResult> {
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,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/uninstall/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class PackageUninstallReportCommand extends SfCommand<PackagingSObjects.S
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:uninstall:report', 'force:package:uninstall:report'];
public static readonly aliases = ['force:package:uninstall:report'];
public static readonly flags = {
loglevel,
'target-org': requiredOrgFlagWithDeprecations,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class PackageUpdateCommand extends SfCommand<PackageSaveResult> {
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,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/version/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class PackageVersionCreateCommand extends SfCommand<PackageVersionCommand
public static readonly examples = messages.getMessages('examples');
public static readonly requiresProject = true;
public static readonly deprecateAliases = true;
public static readonly aliases = ['force:package:beta:version:create', 'force:package:version:create'];
public static readonly aliases = ['force:package:version:create'];
public static readonly flags = {
loglevel,
'target-dev-hub': requiredHubFlag,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/version/create/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class PackageVersionCreateListCommand extends SfCommand<CreateListCommand
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:create:list', 'force:package:version:create:list'];
public static readonly aliases = ['force:package:version:create:list'];
public static readonly flags = {
loglevel,
'target-dev-hub': requiredHubFlag,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/version/create/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class PackageVersionCreateReportCommand extends SfCommand<ReportCommandRe
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:create:report', 'force:package:version:create:report'];
public static readonly aliases = ['force:package:version:create:report'];
public static readonly flags = {
loglevel,
'target-dev-hub': requiredHubFlag,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/version/delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class PackageVersionDeleteCommand extends SfCommand<PackageSaveResult> {
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,
Expand Down
5 changes: 1 addition & 4 deletions src/commands/package/version/displayancestry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ export class PackageVersionDisplayAncestryCommand extends SfCommand<DisplayAnces
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:version:displayancestry',
'force:package:version:displayancestry',
];
public static readonly aliases = ['force:package:version:displayancestry'];
public static readonly requiresProject = true;

public static readonly flags = {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/version/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class PackageVersionListCommand extends SfCommand<PackageVersionListComma
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:list', 'force:package:version:list'];
public static readonly aliases = ['force:package:version:list'];
public static readonly flags = {
loglevel,
'target-dev-hub': requiredHubFlag,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/version/promote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class PackageVersionPromoteCommand extends SfCommand<PackageSaveResult> {
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 = {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/version/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class PackageVersionReportCommand extends SfCommand<PackageVersionReportR
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:report', 'force:package:version:report'];
public static readonly aliases = ['force:package:version:report'];
public static readonly requiresProject = true;
public static readonly flags = {
loglevel,
Expand Down
Loading

0 comments on commit 043a704

Please sign in to comment.