@salesforce/plugin-packaging 1.0.0 → 1.2.1
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 +32 -1
- package/README.md +749 -9
- package/lib/commands/force/package/beta/convert.d.ts +13 -0
- package/lib/commands/force/package/beta/convert.js +61 -0
- package/lib/commands/force/package/beta/convert.js.map +1 -0
- package/lib/commands/force/package/beta/create.d.ts +15 -0
- package/lib/commands/force/package/beta/create.js +87 -0
- package/lib/commands/force/package/beta/create.js.map +1 -0
- package/lib/commands/force/package/beta/delete.d.ts +14 -0
- package/lib/commands/force/package/beta/delete.js +61 -0
- package/lib/commands/force/package/beta/delete.js.map +1 -0
- package/lib/commands/force/package/beta/install/report.d.ts +15 -0
- package/lib/commands/force/package/beta/install/report.js +66 -0
- package/lib/commands/force/package/beta/install/report.js.map +1 -0
- package/lib/commands/force/package/beta/install.d.ts +22 -0
- package/lib/commands/force/package/beta/install.js +228 -0
- package/lib/commands/force/package/beta/install.js.map +1 -0
- package/lib/commands/force/package/beta/installed/list.d.ts +17 -0
- package/lib/commands/force/package/beta/installed/list.js +46 -0
- package/lib/commands/force/package/beta/installed/list.js.map +1 -0
- package/lib/commands/force/package/beta/list.d.ts +21 -0
- package/lib/commands/force/package/beta/list.js +90 -0
- package/lib/commands/force/package/beta/list.js.map +1 -0
- package/lib/commands/force/package/beta/uninstall/report.d.ts +10 -0
- package/lib/commands/force/package/beta/uninstall/report.js +33 -0
- package/lib/commands/force/package/beta/uninstall/report.js.map +1 -0
- package/lib/commands/force/package/beta/uninstall.d.ts +12 -0
- package/lib/commands/force/package/beta/uninstall.js +52 -0
- package/lib/commands/force/package/beta/uninstall.js.map +1 -0
- package/lib/commands/force/package/beta/update.d.ts +12 -0
- package/lib/commands/force/package/beta/update.js +51 -0
- package/lib/commands/force/package/beta/update.js.map +1 -0
- package/lib/commands/force/package/beta/version/create/list.d.ts +12 -0
- package/lib/commands/force/package/beta/version/create/list.js +40 -0
- package/lib/commands/force/package/beta/version/create/list.js.map +1 -0
- package/lib/commands/force/package/beta/version/create/report.d.ts +12 -0
- package/lib/commands/force/package/beta/version/create/report.js +87 -0
- package/lib/commands/force/package/beta/version/create/report.js.map +1 -0
- package/lib/commands/force/package/beta/version/create.d.ts +11 -0
- package/lib/commands/force/package/beta/version/create.js +200 -0
- package/lib/commands/force/package/beta/version/create.js.map +1 -0
- package/lib/commands/force/package/beta/version/delete.d.ts +15 -0
- package/lib/commands/force/package/beta/version/delete.js +64 -0
- package/lib/commands/force/package/beta/version/delete.js.map +1 -0
- package/lib/commands/force/package/beta/version/displayancestry.d.ts +13 -0
- package/lib/commands/force/package/beta/version/displayancestry.js +46 -0
- package/lib/commands/force/package/beta/version/displayancestry.js.map +1 -0
- package/lib/commands/force/package/beta/version/list.d.ts +12 -0
- package/lib/commands/force/package/beta/version/list.js +62 -0
- package/lib/commands/force/package/beta/version/list.js.map +1 -0
- package/lib/commands/force/package/beta/version/promote.d.ts +12 -0
- package/lib/commands/force/package/beta/version/promote.js +40 -0
- package/lib/commands/force/package/beta/version/promote.js.map +1 -0
- package/lib/commands/force/package/beta/version/report.d.ts +24 -0
- package/lib/commands/force/package/beta/version/report.js +209 -0
- package/lib/commands/force/package/beta/version/report.js.map +1 -0
- package/lib/commands/force/package/beta/version/update.d.ts +12 -0
- package/lib/commands/force/package/beta/version/update.js +60 -0
- package/lib/commands/force/package/beta/version/update.js.map +1 -0
- package/lib/commands/force/package1/beta/version/create/get.d.ts +9 -0
- package/lib/commands/force/package1/beta/version/create/get.js +48 -0
- package/lib/commands/force/package1/beta/version/create/get.js.map +1 -0
- package/lib/commands/force/package1/beta/version/create.d.ts +14 -0
- package/lib/commands/force/package1/beta/version/create.js +116 -0
- package/lib/commands/force/package1/beta/version/create.js.map +1 -0
- package/lib/commands/force/package1/beta/version/display.d.ts +9 -0
- package/lib/commands/force/package1/beta/version/display.js +55 -0
- package/lib/commands/force/package1/beta/version/display.js.map +1 -0
- package/lib/commands/force/package1/beta/version/list.d.ts +10 -0
- package/lib/commands/force/package1/beta/version/list.js +54 -0
- package/lib/commands/force/package1/beta/version/list.js.map +1 -0
- package/messages/default.md +1127 -0
- package/messages/package1_version_create.md +128 -0
- package/messages/package1_version_create_get.md +31 -0
- package/messages/package1_version_display.md +19 -0
- package/messages/package1_version_list.md +31 -0
- package/messages/package2.md +87 -0
- package/messages/package2_create.md +56 -0
- package/messages/package2_list.md +35 -0
- package/messages/package2_update.md +45 -0
- package/messages/package2_version_create.md +149 -0
- package/messages/package2_version_create_get.md +34 -0
- package/messages/package2_version_create_list.md +62 -0
- package/messages/package2_version_get.md +14 -0
- package/messages/package2_version_list.md +98 -0
- package/messages/package2_version_update.md +89 -0
- package/messages/package_convert.md +72 -0
- package/messages/package_create.md +90 -0
- package/messages/package_delete.md +63 -0
- package/messages/package_displayancestry.md +64 -0
- package/messages/package_install.md +178 -0
- package/messages/package_install_get.md +34 -0
- package/messages/package_install_report.md +34 -0
- package/messages/package_install_request.md +34 -0
- package/messages/package_installed_list.md +16 -0
- package/messages/package_list.md +67 -0
- package/messages/package_uninstall.md +73 -0
- package/messages/package_uninstall_get.md +34 -0
- package/messages/package_uninstall_report.md +34 -0
- package/messages/package_update.md +45 -0
- package/messages/package_version_create.md +306 -0
- package/messages/package_version_create_list.md +62 -0
- package/messages/package_version_create_report.md +35 -0
- package/messages/package_version_delete.md +63 -0
- package/messages/package_version_list.md +135 -0
- package/messages/package_version_promote.md +50 -0
- package/messages/package_version_report.md +51 -0
- package/messages/package_version_update.md +74 -0
- package/messages/packaging.md +157 -0
- package/oclif.manifest.json +1 -1
- package/package.json +98 -15
- package/lib/commands/force/package/placeholder.d.ts +0 -5
- package/lib/commands/force/package/placeholder.js +0 -17
- package/lib/commands/force/package/placeholder.js.map +0 -1
- package/messages/org.json +0 -12
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
retrieve the status of a package installation request
|
|
4
|
+
|
|
5
|
+
# cliDescriptionLong
|
|
6
|
+
|
|
7
|
+
Retrieves the status of a package installation request.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
Examples:
|
|
12
|
+
$ sfdx force:package:install:report -i 0Hf...
|
|
13
|
+
$ sfdx force:package:install:report -i 0Hf... -u me@example.com
|
|
14
|
+
|
|
15
|
+
# requestId
|
|
16
|
+
|
|
17
|
+
ID of the package install request you want to check
|
|
18
|
+
|
|
19
|
+
# requestIdLong
|
|
20
|
+
|
|
21
|
+
The ID of the package install request you want to check.
|
|
22
|
+
|
|
23
|
+
# IN_PROGRESS
|
|
24
|
+
|
|
25
|
+
PackageInstallRequest is currently InProgress. You can continue to query the status using
|
|
26
|
+
sfdx force:package:install:report -i %s -u %s
|
|
27
|
+
|
|
28
|
+
# UNKNOWN
|
|
29
|
+
|
|
30
|
+
TODO: fix me
|
|
31
|
+
|
|
32
|
+
# SUCCESS
|
|
33
|
+
|
|
34
|
+
Successfully installed package [%s]
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
(deprecated) retrieve the status of a package install request
|
|
4
|
+
|
|
5
|
+
# cliDescriptionLong
|
|
6
|
+
|
|
7
|
+
Retrieves the status of a package installion request.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
Examples:
|
|
12
|
+
$ sfdx force:package:install:get -i 0Hf...
|
|
13
|
+
$ sfdx force:package:install:get -i 0Hf... -u me@example.com
|
|
14
|
+
|
|
15
|
+
# requestId
|
|
16
|
+
|
|
17
|
+
Package Installation Request ID
|
|
18
|
+
|
|
19
|
+
# requestIdLong
|
|
20
|
+
|
|
21
|
+
ID of the package install request.
|
|
22
|
+
|
|
23
|
+
# IN_PROGRESS
|
|
24
|
+
|
|
25
|
+
The package installation request is still In Progress or Unknown. You can query the status using
|
|
26
|
+
$ sfdx force:package:install:get -i %s -u %s
|
|
27
|
+
|
|
28
|
+
# UNKNOWN
|
|
29
|
+
|
|
30
|
+
TODO: fix me
|
|
31
|
+
|
|
32
|
+
# SUCCESS
|
|
33
|
+
|
|
34
|
+
Successfully installed package [%s].
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
list the org’s installed packages
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Lists all packages installed in the target org.
|
|
8
|
+
|
|
9
|
+
# examples
|
|
10
|
+
|
|
11
|
+
$ sfdx force:package:installed:list
|
|
12
|
+
$ sfdx force:package:installed:list -u me@example.com
|
|
13
|
+
|
|
14
|
+
# username
|
|
15
|
+
|
|
16
|
+
a username or alias for the target org
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
list all packages in the Dev Hub org
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Lists all packages in the Dev Hub org.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
You can view the namespace, IDs, and other details for each package.
|
|
12
|
+
|
|
13
|
+
Examples:
|
|
14
|
+
$ sfdx force:package:list -v devhub@example.com
|
|
15
|
+
$ sfdx force:package:list -v devhub@example.com --verbose
|
|
16
|
+
|
|
17
|
+
# namespace
|
|
18
|
+
|
|
19
|
+
Namespace Prefix
|
|
20
|
+
|
|
21
|
+
# name
|
|
22
|
+
|
|
23
|
+
Name
|
|
24
|
+
|
|
25
|
+
# id
|
|
26
|
+
|
|
27
|
+
Id
|
|
28
|
+
|
|
29
|
+
# packageId
|
|
30
|
+
|
|
31
|
+
Subscriber Package Id
|
|
32
|
+
|
|
33
|
+
# alias
|
|
34
|
+
|
|
35
|
+
Alias
|
|
36
|
+
|
|
37
|
+
# description
|
|
38
|
+
|
|
39
|
+
Description
|
|
40
|
+
|
|
41
|
+
# packageType
|
|
42
|
+
|
|
43
|
+
Type
|
|
44
|
+
|
|
45
|
+
# verboseDescription
|
|
46
|
+
|
|
47
|
+
display extended package detail
|
|
48
|
+
|
|
49
|
+
# verboseLongDescription
|
|
50
|
+
|
|
51
|
+
Displays extended package details.
|
|
52
|
+
|
|
53
|
+
# convertedFromPackageId
|
|
54
|
+
|
|
55
|
+
Converted From Package Id
|
|
56
|
+
|
|
57
|
+
# isOrgDependent
|
|
58
|
+
|
|
59
|
+
Org-Dependent Unlocked Package
|
|
60
|
+
|
|
61
|
+
# errorNotificationUsername
|
|
62
|
+
|
|
63
|
+
Error Notification Username
|
|
64
|
+
|
|
65
|
+
# createdBy
|
|
66
|
+
|
|
67
|
+
Created By
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
uninstall a second-generation package from the target org
|
|
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
|
+
Specify the package ID for a second-generation package.
|
|
12
|
+
|
|
13
|
+
Examples:
|
|
14
|
+
$ sfdx force:package:beta:uninstall -p 04t... -u me@example.com
|
|
15
|
+
$ sfdx force:package:beta:uninstall -p undesirable_package_alias
|
|
16
|
+
$ sfdx force:package:beta:uninstall -p "Undesirable Package Alias"
|
|
17
|
+
|
|
18
|
+
To list the org’s installed packages, run "sfdx force:package:beta:installed:list".
|
|
19
|
+
|
|
20
|
+
To uninstall a first-generation package, from Setup, enter Installed Packages in the Quick Find box, then select Installed Packages.
|
|
21
|
+
|
|
22
|
+
# id
|
|
23
|
+
|
|
24
|
+
ID of the package to uninstall (starts with 04t)
|
|
25
|
+
|
|
26
|
+
# idLong
|
|
27
|
+
|
|
28
|
+
The ID of the second-generation package to uninstall (starts with 04t).
|
|
29
|
+
|
|
30
|
+
# wait
|
|
31
|
+
|
|
32
|
+
number of minutes to wait for uninstall status
|
|
33
|
+
|
|
34
|
+
# waitLong
|
|
35
|
+
|
|
36
|
+
Maximum number of minutes to wait for uninstall status. The default is 0.
|
|
37
|
+
|
|
38
|
+
# defaultErrorMessage
|
|
39
|
+
|
|
40
|
+
Can't uninstall the package %s during uninstall request %s.
|
|
41
|
+
|
|
42
|
+
# humanSuccess
|
|
43
|
+
|
|
44
|
+
Successfully uninstalled package ID %s.
|
|
45
|
+
|
|
46
|
+
# action
|
|
47
|
+
|
|
48
|
+
Verify installed package ID and resolve errors, then try again.
|
|
49
|
+
|
|
50
|
+
# package
|
|
51
|
+
|
|
52
|
+
ID (starts with 04t) or alias of the package version to uninstall
|
|
53
|
+
|
|
54
|
+
# packageLong
|
|
55
|
+
|
|
56
|
+
The ID (starts with 04t) or alias of the package version to uninstall.
|
|
57
|
+
|
|
58
|
+
# errorRequiredFlags
|
|
59
|
+
|
|
60
|
+
Include either a %s value or a %s value.
|
|
61
|
+
|
|
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
|
+
# InProgress
|
|
67
|
+
|
|
68
|
+
PackageUninstallRequest is currently InProgress.
|
|
69
|
+
You can continue to query the status using sfdx force:package:beta:uninstall:report -i %s -u %s
|
|
70
|
+
|
|
71
|
+
# Success
|
|
72
|
+
|
|
73
|
+
Successfully uninstalled package [%s]
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
retrieve the status of a package uninstall request
|
|
4
|
+
|
|
5
|
+
# cliDescriptionLong
|
|
6
|
+
|
|
7
|
+
Retrieves the status of a package uninstall request.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
Examples:
|
|
12
|
+
$ sfdx force:package:uninstall:get -i 06y...
|
|
13
|
+
$ sfdx force:package:uninstall:get -i 06y... -u me@example.com
|
|
14
|
+
|
|
15
|
+
# requestId
|
|
16
|
+
|
|
17
|
+
ID of the package uninstall request you want to check
|
|
18
|
+
|
|
19
|
+
# requestIdLong
|
|
20
|
+
|
|
21
|
+
The ID of the package uninstall request you want to check.
|
|
22
|
+
|
|
23
|
+
# InProgress
|
|
24
|
+
|
|
25
|
+
PackageUninstallRequest is currently InProgress. You can continue to query the status using
|
|
26
|
+
sfdx force:package:uninstall:get -i %s -u %s
|
|
27
|
+
|
|
28
|
+
# Unknown
|
|
29
|
+
|
|
30
|
+
TODO: fix me
|
|
31
|
+
|
|
32
|
+
# Success
|
|
33
|
+
|
|
34
|
+
Successfully uninstalled package [%s]
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
retrieve status of package uninstall request
|
|
4
|
+
|
|
5
|
+
# cliDescriptionLong
|
|
6
|
+
|
|
7
|
+
Retrieves the status of a package uninstall request.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
Examples:
|
|
12
|
+
$ sfdx force:package:uninstall:report -i 06y...
|
|
13
|
+
$ sfdx force:package:uninstall:report -i 06y... -u me@example.com
|
|
14
|
+
|
|
15
|
+
# requestId
|
|
16
|
+
|
|
17
|
+
ID of the package uninstall request you want to check
|
|
18
|
+
|
|
19
|
+
# requestIdLong
|
|
20
|
+
|
|
21
|
+
The ID of the package uninstall request you want to check.
|
|
22
|
+
|
|
23
|
+
# InProgress
|
|
24
|
+
|
|
25
|
+
PackageUninstallRequest is currently InProgress. You can continue to query the status using
|
|
26
|
+
sfdx force:package:uninstall:report -i %s -u %s
|
|
27
|
+
|
|
28
|
+
# Unknown
|
|
29
|
+
|
|
30
|
+
TODO: fix me
|
|
31
|
+
|
|
32
|
+
# Success
|
|
33
|
+
|
|
34
|
+
Successfully uninstalled package [%s]
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
update package details
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Updates details about a package. Does not create a package version.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
Specify a new value for each option you want to update.
|
|
12
|
+
|
|
13
|
+
Examples:
|
|
14
|
+
$ sfdx force:package:update -p "Your Package Alias" -n "New Package Name"
|
|
15
|
+
$ sfdx force:package:update -p 0Ho... -d "New Package Description"
|
|
16
|
+
|
|
17
|
+
Run "sfdx force:package:list" to list all packages in the Dev Hub org.
|
|
18
|
+
|
|
19
|
+
# package
|
|
20
|
+
|
|
21
|
+
ID (starts with 0Ho) or alias of the package to update
|
|
22
|
+
|
|
23
|
+
# packageLong
|
|
24
|
+
|
|
25
|
+
The ID (starts with 0Ho) or alias of the package to update.
|
|
26
|
+
|
|
27
|
+
# name
|
|
28
|
+
|
|
29
|
+
new package name
|
|
30
|
+
|
|
31
|
+
# nameLong
|
|
32
|
+
|
|
33
|
+
New name of the package.
|
|
34
|
+
|
|
35
|
+
# description
|
|
36
|
+
|
|
37
|
+
new package description
|
|
38
|
+
|
|
39
|
+
# descriptionLong
|
|
40
|
+
|
|
41
|
+
New description of the package.
|
|
42
|
+
|
|
43
|
+
# humanSuccess
|
|
44
|
+
|
|
45
|
+
Successfully updated the package.
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
create a package version
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Creates a package version in the Dev Hub org.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
The package version is based on the package contents in the specified directory.
|
|
12
|
+
|
|
13
|
+
To retrieve details about a package version create request, including status and package version ID (04t), run "sfdx force:package:version:create:report -i 08c...".
|
|
14
|
+
|
|
15
|
+
We recommend that you specify the --installationkey parameter to protect the contents of your package and to prevent unauthorized installation of your package.
|
|
16
|
+
|
|
17
|
+
To list package version creation requests in the org, run "sfdx force:package:version:create:list".
|
|
18
|
+
|
|
19
|
+
To promote a package version to released, you must use the --codecoverage parameter. The package must also meet the code coverage requirements. This requirement applies to both managed and unlocked packages.
|
|
20
|
+
|
|
21
|
+
We don’t calculate code coverage for org-dependent unlocked packages, or for package versions that specify --skipvalidation.
|
|
22
|
+
|
|
23
|
+
# examples
|
|
24
|
+
|
|
25
|
+
$ sfdx force:package:version:create -d common -k password123
|
|
26
|
+
$ sfdx force:package:version:create -p "Your Package Alias" -k password123
|
|
27
|
+
$ sfdx force:package:version:create -p 0Ho... -k password123
|
|
28
|
+
$ sfdx force:package:version:create -d common -k password123 --skipvalidation
|
|
29
|
+
|
|
30
|
+
# package
|
|
31
|
+
|
|
32
|
+
ID (starts with 0Ho) or alias of the package to create a version of
|
|
33
|
+
|
|
34
|
+
# longPackage
|
|
35
|
+
|
|
36
|
+
The ID (starts with 0Ho) or alias of the package to create a version of.
|
|
37
|
+
|
|
38
|
+
# path
|
|
39
|
+
|
|
40
|
+
path to directory that contains the contents of the package
|
|
41
|
+
|
|
42
|
+
# longPath
|
|
43
|
+
|
|
44
|
+
The path to the directory that contains the contents of the package.
|
|
45
|
+
|
|
46
|
+
# definitionfile
|
|
47
|
+
|
|
48
|
+
path to a definition file similar to scratch org definition file that contains the list of features and org preferences that the metadata of the package version depends on
|
|
49
|
+
|
|
50
|
+
# longDefinitionfile
|
|
51
|
+
|
|
52
|
+
The path to a definition file similar to scratch org definition file that contains the list of features and org preferences that the metadata of the package version depends on.
|
|
53
|
+
|
|
54
|
+
# dir
|
|
55
|
+
|
|
56
|
+
path to directory that contains the contents of the package version
|
|
57
|
+
|
|
58
|
+
# longDir
|
|
59
|
+
|
|
60
|
+
The path to the directory that contains the contents of the package version.
|
|
61
|
+
|
|
62
|
+
# branch
|
|
63
|
+
|
|
64
|
+
the package version’s branch
|
|
65
|
+
|
|
66
|
+
# longBranch
|
|
67
|
+
|
|
68
|
+
Name of the branch in your source control system that the package version is based on.
|
|
69
|
+
|
|
70
|
+
# tag
|
|
71
|
+
|
|
72
|
+
the package version’s tag
|
|
73
|
+
|
|
74
|
+
# longTag
|
|
75
|
+
|
|
76
|
+
The package version’s tag.
|
|
77
|
+
|
|
78
|
+
# key
|
|
79
|
+
|
|
80
|
+
installation key for key-protected package (either --installationkey or --installationkeybypass is required)
|
|
81
|
+
|
|
82
|
+
# longKey
|
|
83
|
+
|
|
84
|
+
Installation key for creating the key-protected package. Either an --installationkey value or the --installationkeybypass flag is required.
|
|
85
|
+
|
|
86
|
+
# keyBypass
|
|
87
|
+
|
|
88
|
+
bypass the installation key requirement (either --installationkey or --installationkeybypass is required)
|
|
89
|
+
|
|
90
|
+
# longKeyBypass
|
|
91
|
+
|
|
92
|
+
Bypasses the installation key requirement. If you bypass this requirement, anyone can install your package. Either an --installationkey value or the --installationkeybypass flag is required.
|
|
93
|
+
|
|
94
|
+
# preserve
|
|
95
|
+
|
|
96
|
+
temp files are preserved that would otherwise be deleted
|
|
97
|
+
|
|
98
|
+
# longPreserve
|
|
99
|
+
|
|
100
|
+
Specifies that the temp files are preserved that would otherwise be deleted
|
|
101
|
+
|
|
102
|
+
# validateschema
|
|
103
|
+
|
|
104
|
+
sfdx-project.json is validated against JSON schema
|
|
105
|
+
|
|
106
|
+
# longValidateschema
|
|
107
|
+
|
|
108
|
+
Specifies that the sfdx-project.json file should be validated against JSON schema.
|
|
109
|
+
|
|
110
|
+
# tempFileLocation
|
|
111
|
+
|
|
112
|
+
The temp files are located at: %s.
|
|
113
|
+
|
|
114
|
+
# wait
|
|
115
|
+
|
|
116
|
+
minutes to wait for the package version to be created
|
|
117
|
+
|
|
118
|
+
# longWait
|
|
119
|
+
|
|
120
|
+
The number of minutes to wait for the package version to be created.
|
|
121
|
+
|
|
122
|
+
# instance
|
|
123
|
+
|
|
124
|
+
the instance where the package version will be created——for example, NA50
|
|
125
|
+
|
|
126
|
+
# longInstance
|
|
127
|
+
|
|
128
|
+
The instance where the package version will be created——for example, NA50.
|
|
129
|
+
|
|
130
|
+
# sourceorg
|
|
131
|
+
|
|
132
|
+
the source org ID used to copy the org shape for the build org
|
|
133
|
+
|
|
134
|
+
# longSourceorg
|
|
135
|
+
|
|
136
|
+
The source org ID used to copy the org shape for the build org.
|
|
137
|
+
|
|
138
|
+
# versionname
|
|
139
|
+
|
|
140
|
+
the name of the package version to be created
|
|
141
|
+
|
|
142
|
+
# longVersionname
|
|
143
|
+
|
|
144
|
+
The name of the package version to be created. Overrides the sfdx-project.json value.
|
|
145
|
+
|
|
146
|
+
# versionnumber
|
|
147
|
+
|
|
148
|
+
the version number of the package version to be created
|
|
149
|
+
|
|
150
|
+
# longVersionnumber
|
|
151
|
+
|
|
152
|
+
The version number of the package version to be created. Overrides the sfdx-project.json value.
|
|
153
|
+
|
|
154
|
+
# versiondescription
|
|
155
|
+
|
|
156
|
+
the description of the package version to be created
|
|
157
|
+
|
|
158
|
+
# longVersiondescription
|
|
159
|
+
|
|
160
|
+
The description of the package version to be created. Overrides the sfdx-project.json value.
|
|
161
|
+
|
|
162
|
+
# codeCoverage
|
|
163
|
+
|
|
164
|
+
calculate the code coverage by running the packaged Apex tests
|
|
165
|
+
|
|
166
|
+
# longCodeCoverage
|
|
167
|
+
|
|
168
|
+
Calculate and store the code coverage percentage by running the Apex tests included in this package version. Before you can promote and release a managed or unlocked package version, the Apex code must meet a minimum 75% code coverage requirement. We don’t calculate code coverage for org-dependent unlocked packages or for package versions that specify --skipvalidation.
|
|
169
|
+
|
|
170
|
+
# releaseNotesUrl
|
|
171
|
+
|
|
172
|
+
release notes URL
|
|
173
|
+
|
|
174
|
+
# releaseNotesUrlLong
|
|
175
|
+
|
|
176
|
+
The release notes URL. This link is displayed in the package installation UI to provide release notes for this package version to subscribers.
|
|
177
|
+
|
|
178
|
+
# skipValidation
|
|
179
|
+
|
|
180
|
+
skip validation during package version creation; you can’t promote unvalidated package versions
|
|
181
|
+
|
|
182
|
+
# skipValidationLong
|
|
183
|
+
|
|
184
|
+
Skips validation of dependencies, package ancestors, and metadata during package version creation. Skipping validation reduces the time it takes to create a new package version, but you can promote only validated package versions. Skipping validation can suppress important errors that can surface at a later stage. You can specify skip validation or code coverage, but not both. Code coverage is calculated during validation.
|
|
185
|
+
|
|
186
|
+
# skipValidationWarning
|
|
187
|
+
|
|
188
|
+
Skipping validation suppresses errors that usually surface during package version creation. Instead, these errors surface at a later stage, such as installation or post-installation. If you encounter errors that are difficult to debug, retry package version creation without the skipvalidation parameter.
|
|
189
|
+
|
|
190
|
+
# skipAncestorCheck
|
|
191
|
+
|
|
192
|
+
Overrides ancestry requirements.
|
|
193
|
+
|
|
194
|
+
# skipAncestorCheckLong
|
|
195
|
+
|
|
196
|
+
Override ancestry requirements, which allows you to specify a package ancestor that isn’t the highest released package version.
|
|
197
|
+
|
|
198
|
+
# hasMetadataRemovedWarning
|
|
199
|
+
|
|
200
|
+
The package version you've created doesn't contain metadata components that were in the package version's ancestor.
|
|
201
|
+
|
|
202
|
+
# postInstallUrl
|
|
203
|
+
|
|
204
|
+
post-install URL
|
|
205
|
+
|
|
206
|
+
# postInstallUrlLong
|
|
207
|
+
|
|
208
|
+
The post-install instructions URL. The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.
|
|
209
|
+
|
|
210
|
+
# postInstallScript
|
|
211
|
+
|
|
212
|
+
post-install script name; managed packages only
|
|
213
|
+
|
|
214
|
+
# postInstallScriptLong
|
|
215
|
+
|
|
216
|
+
Applies to managed packages only. The post-install script name. The post-install script is an Apex class within this package that is run in the installing org after installations or upgrades of this package version.
|
|
217
|
+
|
|
218
|
+
# uninstallScript
|
|
219
|
+
|
|
220
|
+
uninstall script name; managed packages only
|
|
221
|
+
|
|
222
|
+
# uninstallScriptLong
|
|
223
|
+
|
|
224
|
+
Applies to managed packages only. The uninstall script name. The uninstall script is an Apex class within this package that is run in the installing org after uninstallations of this package.
|
|
225
|
+
|
|
226
|
+
# defaultVersionName
|
|
227
|
+
|
|
228
|
+
versionName is blank in sfdx-project.json, so it will be set to this default value based on the versionNumber: %s
|
|
229
|
+
|
|
230
|
+
# buildNumberResolvedForLatest
|
|
231
|
+
|
|
232
|
+
Dependency on package %s was resolved to version number %s, branch %s, %s.
|
|
233
|
+
|
|
234
|
+
# buildNumberResolvedForReleased
|
|
235
|
+
|
|
236
|
+
Dependency on package %s was resolved to the released version number %s, %s.
|
|
237
|
+
|
|
238
|
+
# InProgress
|
|
239
|
+
|
|
240
|
+
Package version creation request status is '%s'. Run "sfdx force:package:version:create:report -i %s" to query for status.
|
|
241
|
+
|
|
242
|
+
# Success
|
|
243
|
+
|
|
244
|
+
Successfully created the package version [%s]. Subscriber Package Version Id: %s
|
|
245
|
+
Package Installation URL: %s%s
|
|
246
|
+
As an alternative, you can use the "sfdx force:package:install" command.
|
|
247
|
+
|
|
248
|
+
# errorMissingFlags
|
|
249
|
+
|
|
250
|
+
Include either a %s value or a %s value. The value must match one of the packageDirectories specified in sfdx-project.json.
|
|
251
|
+
|
|
252
|
+
# errorCannotSupplyCodeCoverageAndSkipValidation
|
|
253
|
+
|
|
254
|
+
We couldn’t create this package version because both %s and %s parameters were specified. Code coverage can’t be calculated when validation is skipped. Specify either %s or %s and try again.
|
|
255
|
+
|
|
256
|
+
# errorMissingFlagsInstallationKey
|
|
257
|
+
|
|
258
|
+
A required parameter is missing. Include either an %s value or %s.
|
|
259
|
+
|
|
260
|
+
# errorNoMatchingPackageDirectory
|
|
261
|
+
|
|
262
|
+
The %s value [%s], doesn’t match the %s value in any packageDirectories specified in sfdx-project.json.
|
|
263
|
+
|
|
264
|
+
# errorDirectoryIdMismatch
|
|
265
|
+
|
|
266
|
+
The %s value, [%s], and %s value, [%s], were both found in sfdx-project.json but don’t match. If you supply both values, they must match the path and package values in one of the packageDirectories.
|
|
267
|
+
|
|
268
|
+
# errorDependencyPair
|
|
269
|
+
|
|
270
|
+
Dependency must specify either a subscriberPackageVersionId or both packageId and versionNumber: %s.
|
|
271
|
+
|
|
272
|
+
# errorNoIdInHub
|
|
273
|
+
|
|
274
|
+
No package ID was found in Dev Hub for package ID: %s.
|
|
275
|
+
|
|
276
|
+
# errorPackageAndPackageIdCollision
|
|
277
|
+
|
|
278
|
+
You can’t have both "package" and "packageId" (deprecated) defined as dependencies in sfdx-project.json.
|
|
279
|
+
|
|
280
|
+
# errorPackageAndIdCollision
|
|
281
|
+
|
|
282
|
+
You can’t have both "package" and "id" (deprecated) defined in your sfdx-project.json file.
|
|
283
|
+
|
|
284
|
+
# errorMissingPackage
|
|
285
|
+
|
|
286
|
+
The package %s isn’t defined in the sfdx-project.json file. Add it to the packageDirectories section and add the alias to packageAliases with its 0Ho ID.
|
|
287
|
+
|
|
288
|
+
# errorEmptyPackageDirs
|
|
289
|
+
|
|
290
|
+
sfdx-project.json must contain a packageDirectories entry for a package. You can run the force:package:create command to auto-populate such an entry.
|
|
291
|
+
|
|
292
|
+
# errorProfileUserLicensesInvalidValue
|
|
293
|
+
|
|
294
|
+
Can’t create package version. Check your sfdx-project.json file and set includeProfileUserLicenses to either true or false. Then try package version creation again.
|
|
295
|
+
|
|
296
|
+
# unknownError
|
|
297
|
+
|
|
298
|
+
Package version creation failed with unknown error.
|
|
299
|
+
|
|
300
|
+
# malformedUrl
|
|
301
|
+
|
|
302
|
+
The %s value "%s" from the command line or sfdx-project.json is not in the correct format for a URL. It must be a valid URL in the format "http://salesforce.com". More information: https://nodejs.org/api/url.html#url_url_strings_and_url_objects
|
|
303
|
+
|
|
304
|
+
# requestInProgress
|
|
305
|
+
|
|
306
|
+
Request in progress. Sleeping %s seconds. Will wait a total of %s more seconds before timing out. Current Status=%s.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
list package version creation requests
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Lists all requests to create second-generation package versions in the Dev Hub org.
|
|
8
|
+
|
|
9
|
+
# statusDescription
|
|
10
|
+
|
|
11
|
+
filter the list by version creation request status
|
|
12
|
+
|
|
13
|
+
# statusLongDescription
|
|
14
|
+
|
|
15
|
+
Filters the list based on the status of version creation requests.
|
|
16
|
+
|
|
17
|
+
# help
|
|
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.
|
|
24
|
+
|
|
25
|
+
Examples:
|
|
26
|
+
$ sfdx force:package:version:create:list
|
|
27
|
+
$ sfdx force:package:version:create:list --createdlastdays 3
|
|
28
|
+
$ sfdx force:package:version:create:list --status Error
|
|
29
|
+
$ sfdx force:package:version:create:list -s InProgress
|
|
30
|
+
$ sfdx force:package:version:create:list -c 3 -s Success
|
|
31
|
+
|
|
32
|
+
# id
|
|
33
|
+
|
|
34
|
+
ID
|
|
35
|
+
|
|
36
|
+
# status
|
|
37
|
+
|
|
38
|
+
Status
|
|
39
|
+
|
|
40
|
+
# packageId
|
|
41
|
+
|
|
42
|
+
Package Id
|
|
43
|
+
|
|
44
|
+
# packageVersionId
|
|
45
|
+
|
|
46
|
+
Package Version Id
|
|
47
|
+
|
|
48
|
+
# subscriberPackageVersionId
|
|
49
|
+
|
|
50
|
+
Subscriber Package Version Id
|
|
51
|
+
|
|
52
|
+
# branch
|
|
53
|
+
|
|
54
|
+
Branch
|
|
55
|
+
|
|
56
|
+
# tag
|
|
57
|
+
|
|
58
|
+
Tag
|
|
59
|
+
|
|
60
|
+
# installUrl
|
|
61
|
+
|
|
62
|
+
Installation URL
|