@salesforce/plugin-packaging 1.2.1 → 1.5.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/CHANGELOG.md +10 -1
- package/README.md +217 -31
- package/lib/commands/force/package/beta/convert.d.ts +1 -5
- package/lib/commands/force/package/beta/convert.js +2 -3
- package/lib/commands/force/package/beta/convert.js.map +1 -1
- package/lib/commands/force/package/beta/create.d.ts +1 -4
- package/lib/commands/force/package/beta/create.js +2 -3
- package/lib/commands/force/package/beta/create.js.map +1 -1
- package/lib/commands/force/package/beta/delete.d.ts +1 -4
- package/lib/commands/force/package/beta/delete.js +2 -3
- package/lib/commands/force/package/beta/delete.js.map +1 -1
- package/lib/commands/force/package/beta/install/report.d.ts +1 -3
- package/lib/commands/force/package/beta/install/report.js +2 -2
- package/lib/commands/force/package/beta/install/report.js.map +1 -1
- package/lib/commands/force/package/beta/install.d.ts +1 -3
- package/lib/commands/force/package/beta/install.js +3 -3
- package/lib/commands/force/package/beta/install.js.map +1 -1
- package/lib/commands/force/package/beta/installed/list.d.ts +1 -1
- package/lib/commands/force/package/beta/installed/list.js +1 -1
- package/lib/commands/force/package/beta/installed/list.js.map +1 -1
- package/lib/commands/force/package/beta/list.d.ts +1 -4
- package/lib/commands/force/package/beta/list.js +2 -3
- package/lib/commands/force/package/beta/list.js.map +1 -1
- package/lib/commands/force/package/beta/uninstall/report.d.ts +1 -3
- package/lib/commands/force/package/beta/uninstall/report.js +2 -2
- package/lib/commands/force/package/beta/uninstall/report.js.map +1 -1
- package/lib/commands/force/package/beta/uninstall.d.ts +2 -2
- package/lib/commands/force/package/beta/uninstall.js +31 -6
- package/lib/commands/force/package/beta/uninstall.js.map +1 -1
- package/lib/commands/force/package/beta/update.d.ts +1 -4
- package/lib/commands/force/package/beta/update.js +2 -3
- package/lib/commands/force/package/beta/update.js.map +1 -1
- package/lib/commands/force/package/beta/version/create/list.d.ts +1 -5
- package/lib/commands/force/package/beta/version/create/list.js +2 -3
- package/lib/commands/force/package/beta/version/create/list.js.map +1 -1
- package/lib/commands/force/package/beta/version/create/report.d.ts +1 -3
- package/lib/commands/force/package/beta/version/create/report.js +3 -3
- package/lib/commands/force/package/beta/version/create/report.js.map +1 -1
- package/lib/commands/force/package/beta/version/create.d.ts +0 -2
- package/lib/commands/force/package/beta/version/create.js +2 -9
- package/lib/commands/force/package/beta/version/create.js.map +1 -1
- package/lib/commands/force/package/beta/version/delete.d.ts +1 -4
- package/lib/commands/force/package/beta/version/delete.js +2 -3
- package/lib/commands/force/package/beta/version/delete.js.map +1 -1
- package/lib/commands/force/package/beta/version/displayancestry.d.ts +1 -4
- package/lib/commands/force/package/beta/version/displayancestry.js +2 -3
- package/lib/commands/force/package/beta/version/displayancestry.js.map +1 -1
- package/lib/commands/force/package/beta/version/list.d.ts +1 -5
- package/lib/commands/force/package/beta/version/list.js +2 -3
- package/lib/commands/force/package/beta/version/list.js.map +1 -1
- package/lib/commands/force/package/beta/version/promote.d.ts +3 -5
- package/lib/commands/force/package/beta/version/promote.js +34 -5
- package/lib/commands/force/package/beta/version/promote.js.map +1 -1
- package/lib/commands/force/package/beta/version/report.d.ts +1 -4
- package/lib/commands/force/package/beta/version/report.js +2 -3
- package/lib/commands/force/package/beta/version/report.js.map +1 -1
- package/lib/commands/force/package/beta/version/update.d.ts +1 -4
- package/lib/commands/force/package/beta/version/update.js +2 -3
- package/lib/commands/force/package/beta/version/update.js.map +1 -1
- package/lib/commands/force/package1/beta/version/create/get.js +1 -4
- package/lib/commands/force/package1/beta/version/create/get.js.map +1 -1
- package/lib/commands/force/package1/beta/version/create.d.ts +0 -2
- package/lib/commands/force/package1/beta/version/create.js +0 -2
- package/lib/commands/force/package1/beta/version/create.js.map +1 -1
- package/lib/commands/force/package1/beta/version/display.d.ts +0 -1
- package/lib/commands/force/package1/beta/version/display.js +0 -1
- package/lib/commands/force/package1/beta/version/display.js.map +1 -1
- package/lib/commands/force/package1/beta/version/list.d.ts +0 -2
- package/lib/commands/force/package1/beta/version/list.js +0 -2
- package/lib/commands/force/package1/beta/version/list.js.map +1 -1
- package/messages/package1_version_create.md +0 -7
- package/messages/package1_version_create_get.md +5 -1
- package/messages/package2_create.md +2 -1
- package/messages/package2_update.md +2 -1
- package/messages/package2_version_create.md +2 -1
- package/messages/package2_version_create_get.md +2 -1
- package/messages/package2_version_create_list.md +2 -1
- package/messages/package2_version_get.md +1 -2
- package/messages/package2_version_list.md +2 -1
- package/messages/package2_version_update.md +2 -1
- package/messages/package_convert.md +2 -7
- package/messages/package_create.md +2 -7
- package/messages/package_delete.md +2 -5
- package/messages/package_displayancestry.md +1 -6
- package/messages/package_install.md +2 -7
- package/messages/package_install_get.md +1 -2
- package/messages/package_install_report.md +1 -6
- package/messages/package_install_request.md +1 -2
- package/messages/package_installed_list.md +0 -4
- package/messages/package_list.md +2 -7
- package/messages/package_uninstall.md +2 -11
- package/messages/package_uninstall_get.md +1 -2
- package/messages/package_uninstall_report.md +1 -6
- package/messages/package_update.md +2 -7
- package/messages/package_version_create_list.md +5 -10
- package/messages/package_version_create_report.md +2 -7
- package/messages/package_version_delete.md +2 -8
- package/messages/package_version_list.md +6 -11
- package/messages/package_version_promote.md +3 -8
- package/messages/package_version_report.md +1 -6
- package/messages/package_version_update.md +2 -7
- package/oclif.manifest.json +1 -1
- package/package.json +6 -5
- package/messages/default.md +0 -1127
- package/messages/messages.json +0 -22
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
creates a second-generation package version from a first-generation package
|
|
4
4
|
|
|
5
|
-
# cliLongDescription
|
|
6
|
-
|
|
7
|
-
Creates a second-generation package in the Dev Hub from a first-generation package in the Dev Hub org.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
The package convert creates a new package in the Dev Hub if one does not already exist for the specified first-generation package.
|
|
12
6
|
|
|
13
7
|
It then creates a new package version in the Dev Hub with contents based on the specified first-generation package.
|
|
@@ -20,7 +14,8 @@ We recommend specifying the --installationkey to protect the contents of your pa
|
|
|
20
14
|
|
|
21
15
|
To list package version creation requests in the org, run "sfdx force:package:version:create:list".
|
|
22
16
|
|
|
23
|
-
|
|
17
|
+
# examples
|
|
18
|
+
|
|
24
19
|
$ sfdx force:package:convert --package 033xx0000004Gmn -k password123
|
|
25
20
|
|
|
26
21
|
# package
|
|
@@ -2,19 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
create a package
|
|
4
4
|
|
|
5
|
-
# cliLongDescription
|
|
6
|
-
|
|
7
|
-
Creates a package.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
First, use this command to create a package. Then create a package version.
|
|
12
6
|
|
|
13
7
|
If you don’t have a namespace defined in your sfdx-project.json file, use --nonamespace.
|
|
14
8
|
|
|
15
9
|
Your --name value must be unique within your namespace.
|
|
16
10
|
|
|
17
|
-
|
|
11
|
+
# examples
|
|
12
|
+
|
|
18
13
|
$ sfdx force:package:create -n YourPackageName -t Unlocked -r force-app
|
|
19
14
|
$ sfdx force:package:create -n YourPackageName -d "Your Package Descripton" -t Unlocked -r force-app
|
|
20
15
|
|
|
@@ -2,15 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
delete a package
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Specify the ID or alias of the package you want to delete.
|
|
6
6
|
|
|
7
7
|
Delete unlocked and second-generation managed packages. Before you delete a package, first delete all associated package versions.
|
|
8
8
|
|
|
9
|
-
#
|
|
10
|
-
|
|
11
|
-
Specify the ID or alias of the package you want to delete.
|
|
9
|
+
# examples
|
|
12
10
|
|
|
13
|
-
Examples:
|
|
14
11
|
$ sfdx force:package:delete -p "Your Package Alias"
|
|
15
12
|
$ sfdx force:package:delete -p 0Ho...
|
|
16
13
|
|
|
@@ -2,13 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
display the ancestry tree for a 2GP managed package version
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# examples
|
|
6
6
|
|
|
7
|
-
Displays the ancestry tree for a 2GP managed package version.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
|
-
Examples:
|
|
12
7
|
$ sfdx force:package:version:displayancestry -p package_version_alias
|
|
13
8
|
$ sfdx force:package:version:displayancestry -p package_version_alias --dotcode
|
|
14
9
|
$ sfdx force:package:version:displayancestry -p OHo...
|
|
@@ -2,17 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
install a package in the target org
|
|
4
4
|
|
|
5
|
-
# cliDescriptionLong
|
|
6
|
-
|
|
7
|
-
Installs a package in the target org.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
Supply the ID of the package version to install. The package installs in your default target org unless you supply the username for a different target org.
|
|
12
6
|
|
|
13
7
|
For package upgrades, to specify options for component deprecation or deletion of removed components, include an --upgradetype value. To delete components that can be safely deleted and deprecate the others, specify --upgradetype Mixed (the default). To deprecate all removed components, specify --upgradetype DeprecateOnly. To delete all removed components, except for custom objects and custom fields, that don't have dependencies, specify --upgradetype Delete. (Note: This option can result in the loss of data that is associated with the deleted components.) The default is Mixed.
|
|
14
8
|
|
|
15
|
-
|
|
9
|
+
# examples
|
|
10
|
+
|
|
16
11
|
$ sfdx force:package:beta:install --package 04t... -u me@example.com
|
|
17
12
|
$ sfdx force:package:beta:install --package awesome_package_alias
|
|
18
13
|
$ sfdx force:package:beta:install --package "Awesome Package Alias"
|
|
@@ -6,9 +6,8 @@ retrieve the status of a package installation request
|
|
|
6
6
|
|
|
7
7
|
Retrieves the status of a package installation request.
|
|
8
8
|
|
|
9
|
-
#
|
|
9
|
+
# examples
|
|
10
10
|
|
|
11
|
-
Examples:
|
|
12
11
|
$ sfdx force:package:install:get -i 0Hf...
|
|
13
12
|
$ sfdx force:package:install:get -i 0Hf... -u me@example.com
|
|
14
13
|
|
|
@@ -2,13 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
retrieve the status of a package installation request
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# examples
|
|
6
6
|
|
|
7
|
-
Retrieves the status of a package installation request.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
|
-
Examples:
|
|
12
7
|
$ sfdx force:package:install:report -i 0Hf...
|
|
13
8
|
$ sfdx force:package:install:report -i 0Hf... -u me@example.com
|
|
14
9
|
|
package/messages/package_list.md
CHANGED
|
@@ -2,15 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
list all packages in the Dev Hub org
|
|
4
4
|
|
|
5
|
-
# cliLongDescription
|
|
6
|
-
|
|
7
|
-
Lists all packages in the Dev Hub org.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
You can view the namespace, IDs, and other details for each package.
|
|
12
6
|
|
|
13
|
-
|
|
7
|
+
# examples
|
|
8
|
+
|
|
14
9
|
$ sfdx force:package:list -v devhub@example.com
|
|
15
10
|
$ sfdx force:package:list -v devhub@example.com --verbose
|
|
16
11
|
|
|
@@ -2,15 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
uninstall a second-generation package from the target org
|
|
4
4
|
|
|
5
|
-
# cliDescriptionLong
|
|
6
|
-
|
|
7
|
-
Uninstalls a second-generation package from the target org. To uninstall a first-generation package, use the Salesforce user interface.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
Specify the package ID for a second-generation package.
|
|
12
6
|
|
|
13
|
-
|
|
7
|
+
# examples
|
|
8
|
+
|
|
14
9
|
$ sfdx force:package:beta:uninstall -p 04t... -u me@example.com
|
|
15
10
|
$ sfdx force:package:beta:uninstall -p undesirable_package_alias
|
|
16
11
|
$ sfdx force:package:beta:uninstall -p "Undesirable Package Alias"
|
|
@@ -59,10 +54,6 @@ The ID (starts with 04t) or alias of the package version to uninstall.
|
|
|
59
54
|
|
|
60
55
|
Include either a %s value or a %s value.
|
|
61
56
|
|
|
62
|
-
# invalidIdOrPackage
|
|
63
|
-
|
|
64
|
-
Invalid alias or ID: %s. Either your alias is invalid or undefined, or the ID provided is invalid (must start with 04t).
|
|
65
|
-
|
|
66
57
|
# InProgress
|
|
67
58
|
|
|
68
59
|
PackageUninstallRequest is currently InProgress.
|
|
@@ -6,9 +6,8 @@ retrieve the status of a package uninstall request
|
|
|
6
6
|
|
|
7
7
|
Retrieves the status of a package uninstall request.
|
|
8
8
|
|
|
9
|
-
#
|
|
9
|
+
# examples
|
|
10
10
|
|
|
11
|
-
Examples:
|
|
12
11
|
$ sfdx force:package:uninstall:get -i 06y...
|
|
13
12
|
$ sfdx force:package:uninstall:get -i 06y... -u me@example.com
|
|
14
13
|
|
|
@@ -2,13 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
retrieve status of package uninstall request
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# examples
|
|
6
6
|
|
|
7
|
-
Retrieves the status of a package uninstall request.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
|
-
Examples:
|
|
12
7
|
$ sfdx force:package:uninstall:report -i 06y...
|
|
13
8
|
$ sfdx force:package:uninstall:report -i 06y... -u me@example.com
|
|
14
9
|
|
|
@@ -2,15 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
update package details
|
|
4
4
|
|
|
5
|
-
# cliLongDescription
|
|
6
|
-
|
|
7
|
-
Updates details about a package. Does not create a package version.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
Specify a new value for each option you want to update.
|
|
12
6
|
|
|
13
|
-
|
|
7
|
+
# examples
|
|
8
|
+
|
|
14
9
|
$ sfdx force:package:update -p "Your Package Alias" -n "New Package Name"
|
|
15
10
|
$ sfdx force:package:update -p 0Ho... -d "New Package Description"
|
|
16
11
|
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
list package version creation requests
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Shows the details of each request to create a package version in the Dev Hub org.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
All filter parameters are applied using the AND logical operator (not OR).
|
|
8
|
+
|
|
9
|
+
To get information about a specific request, run "sfdx force:package:version:create:report" and supply the request ID.
|
|
8
10
|
|
|
9
11
|
# statusDescription
|
|
10
12
|
|
|
@@ -14,15 +16,8 @@ filter the list by version creation request status
|
|
|
14
16
|
|
|
15
17
|
Filters the list based on the status of version creation requests.
|
|
16
18
|
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
Shows the details of each request to create a package version in the Dev Hub org.
|
|
20
|
-
|
|
21
|
-
All filter parameters are applied using the AND logical operator (not OR).
|
|
22
|
-
|
|
23
|
-
To get information about a specific request, run "sfdx force:package:version:create:report" and supply the request ID.
|
|
19
|
+
# examples
|
|
24
20
|
|
|
25
|
-
Examples:
|
|
26
21
|
$ sfdx force:package:version:create:list
|
|
27
22
|
$ sfdx force:package:version:create:list --createdlastdays 3
|
|
28
23
|
$ sfdx force:package:version:create:list --status Error
|
|
@@ -2,15 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
retrieve details about a package version creation request
|
|
4
4
|
|
|
5
|
-
# cliLongDescription
|
|
6
|
-
|
|
7
|
-
Retrieves details about a package version creation request in the Dev Hub org.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
Specify the request ID for which you want to view details. If applicable, the command displays errors related to the request.
|
|
12
6
|
|
|
13
|
-
|
|
7
|
+
# examples
|
|
8
|
+
|
|
14
9
|
$ sfdx force:package:version:create:report -i 08c...
|
|
15
10
|
$ sfdx force:package:version:create:report -i 08c... -v devhub@example.com
|
|
16
11
|
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
# cliDescription
|
|
2
2
|
|
|
3
3
|
delete a package version
|
|
4
|
-
|
|
5
|
-
# cliLongDescription
|
|
6
|
-
|
|
7
|
-
Delete unlocked and second-generation managed package versions.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
4
|
Specify the ID or alias of the package version you want to delete.
|
|
12
5
|
|
|
13
|
-
|
|
6
|
+
# examples
|
|
7
|
+
|
|
14
8
|
$ sfdx force:package:version:delete -p "Your Package Alias"
|
|
15
9
|
$ sfdx force:package:version:delete -p 04t...
|
|
16
10
|
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# cliDescription
|
|
2
2
|
|
|
3
|
-
list all package versions in the Dev Hub org
|
|
3
|
+
list all package versions in the Dev Hub org.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Displays details of each package version in the org.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Use --concise or --verbose to display limited or additional details, respectively.
|
|
8
|
+
|
|
9
|
+
All filter parameters are applied using the AND logical operator (not OR).
|
|
8
10
|
|
|
9
11
|
# conciseDescription
|
|
10
12
|
|
|
@@ -46,15 +48,8 @@ display extended package version details
|
|
|
46
48
|
|
|
47
49
|
Displays extended package version details.
|
|
48
50
|
|
|
49
|
-
#
|
|
50
|
-
|
|
51
|
-
Displays details of each package version in the org.
|
|
52
|
-
|
|
53
|
-
Use --concise or --verbose to display limited or additional details, respectively.
|
|
54
|
-
|
|
55
|
-
All filter parameters are applied using the AND logical operator (not OR).
|
|
51
|
+
# examples
|
|
56
52
|
|
|
57
|
-
Examples:
|
|
58
53
|
$ sfdx force:package:version:list --verbose --createdlastdays 3 --released --orderby PatchVersion
|
|
59
54
|
$ sfdx force:package:version:list --packages 0Ho000000000000,0Ho000000000001 --released --modifiedlastdays 0
|
|
60
55
|
$ sfdx force:package:version:list --released
|
|
@@ -2,15 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
promote a package version to released
|
|
4
4
|
|
|
5
|
-
# cliDescriptionLong
|
|
6
|
-
|
|
7
|
-
Promotes a package version to released status.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
Supply the ID or alias of the package version you want to promote. Promotes the package version to released status.
|
|
12
6
|
|
|
13
|
-
|
|
7
|
+
# examples
|
|
8
|
+
|
|
14
9
|
$ sfdx force:package:version:promote -p 04t...
|
|
15
10
|
$ sfdx force:package:version:promote -p awesome_package_alias
|
|
16
11
|
$ sfdx force:package:version:promote -p "Awesome Package Alias"
|
|
@@ -23,7 +18,7 @@ ID (starts with 04t) or alias of the package version to promote
|
|
|
23
18
|
|
|
24
19
|
The ID (starts with 04t) or alias of the package version to promote.
|
|
25
20
|
|
|
26
|
-
#
|
|
21
|
+
# packageVersionPromoteConfirm
|
|
27
22
|
|
|
28
23
|
Are you sure you want to release package version %s? You can't undo this action. Release package (y/n)?
|
|
29
24
|
|
|
@@ -2,13 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
retrieve details about a package version in the Dev Hub org
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# examples
|
|
6
6
|
|
|
7
|
-
Retrieves details about a package version in the Dev Hub org.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
|
-
Examples:
|
|
12
7
|
$ sfdx force:package:version:report -p 04t...
|
|
13
8
|
$ sfdx force:package:version:report -p "Your Package Alias"
|
|
14
9
|
|
|
@@ -2,15 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
update a package version
|
|
4
4
|
|
|
5
|
-
# cliLongDescription
|
|
6
|
-
|
|
7
|
-
Updates a second-generation package version in the Dev Hub org.
|
|
8
|
-
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
5
|
Specify a new value for each option you want to update.
|
|
12
6
|
|
|
13
|
-
|
|
7
|
+
# examples
|
|
8
|
+
|
|
14
9
|
$ sfdx force:package:version:update -p "Your Package Alias" -k password123
|
|
15
10
|
$ sfdx force:package:version:update -p 04t... -b main -t 'Release 1.0.7'
|
|
16
11
|
$ sfdx force:package:version:update -p 04t... -e "New Package Version Description"
|