@salesforce/plugin-packaging 0.0.1 → 1.2.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 +31 -1
- package/README.md +732 -14
- 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 +12 -0
- package/lib/commands/force/package/beta/version/create.js +136 -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 +301 -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 +68 -15
- package/lib/commands/force/package/placeholder.d.ts +0 -6
- package/lib/commands/force/package/placeholder.js +0 -18
- package/lib/commands/force/package/placeholder.js.map +0 -1
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# package1CliDescription
|
|
2
|
+
|
|
3
|
+
develop first-generation managed and unmanaged packages
|
|
4
|
+
|
|
5
|
+
# package1CliDescriptionLong
|
|
6
|
+
|
|
7
|
+
Use the package1 commands to create and view first-generation package versions in your Dev Hub org.
|
|
8
|
+
|
|
9
|
+
# cliDescription
|
|
10
|
+
|
|
11
|
+
create a first-generation package version in the release org
|
|
12
|
+
|
|
13
|
+
# cliDescriptionLong
|
|
14
|
+
|
|
15
|
+
Creates a first-generation package version in the release org.
|
|
16
|
+
|
|
17
|
+
# cliHelp
|
|
18
|
+
|
|
19
|
+
The package version is based on the contents of the specified metadata package. Omit -m if you want to create an unmanaged package version.
|
|
20
|
+
|
|
21
|
+
# id
|
|
22
|
+
|
|
23
|
+
ID of the metadata package (starts with 033) of which you’re creating a new version
|
|
24
|
+
|
|
25
|
+
# idLong
|
|
26
|
+
|
|
27
|
+
ID of the metadata package (starts with 033) of which you’re creating a new version.
|
|
28
|
+
|
|
29
|
+
# name
|
|
30
|
+
|
|
31
|
+
package version name
|
|
32
|
+
|
|
33
|
+
# nameLong
|
|
34
|
+
|
|
35
|
+
Package version name.
|
|
36
|
+
|
|
37
|
+
# description
|
|
38
|
+
|
|
39
|
+
package version description
|
|
40
|
+
|
|
41
|
+
# descriptionLong
|
|
42
|
+
|
|
43
|
+
Package version description.
|
|
44
|
+
|
|
45
|
+
# version
|
|
46
|
+
|
|
47
|
+
package version in major.minor format, for example, 3.2
|
|
48
|
+
|
|
49
|
+
# versionLong
|
|
50
|
+
|
|
51
|
+
Package version in major.minor format, for example, 3.2.
|
|
52
|
+
|
|
53
|
+
# releaseNotes
|
|
54
|
+
|
|
55
|
+
release notes URL
|
|
56
|
+
|
|
57
|
+
# releaseNotesLong
|
|
58
|
+
|
|
59
|
+
The release notes URL. This link is displayed in the package installation UI to provide release notes for this package version to subscribers.
|
|
60
|
+
|
|
61
|
+
# postInstall
|
|
62
|
+
|
|
63
|
+
post install URL
|
|
64
|
+
|
|
65
|
+
# postInstallLong
|
|
66
|
+
|
|
67
|
+
The post-install instructions URL. The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.
|
|
68
|
+
|
|
69
|
+
# managedReleased
|
|
70
|
+
|
|
71
|
+
create a managed package version
|
|
72
|
+
|
|
73
|
+
# managedReleasedLong
|
|
74
|
+
|
|
75
|
+
Creates a managed package version. To create a beta version, don’t include this parameter.
|
|
76
|
+
|
|
77
|
+
# installationKey
|
|
78
|
+
|
|
79
|
+
installation key for key-protected package (default: null)
|
|
80
|
+
|
|
81
|
+
# installationKeyLong
|
|
82
|
+
|
|
83
|
+
Installation key for creating the key-protected package. The default is null.
|
|
84
|
+
|
|
85
|
+
# wait
|
|
86
|
+
|
|
87
|
+
minutes to wait for the package version to be created (default: 2 minutes)
|
|
88
|
+
|
|
89
|
+
# waitLong
|
|
90
|
+
|
|
91
|
+
Minutes to wait for the package version to be created. The default is 2 minutes.
|
|
92
|
+
|
|
93
|
+
# notANumber
|
|
94
|
+
|
|
95
|
+
Field %s must contain only a numeric value: %s.
|
|
96
|
+
|
|
97
|
+
# invalidVersion
|
|
98
|
+
|
|
99
|
+
Version supplied, %s, is not formatted correctly. Enter in major.minor format, for example, 3.2.
|
|
100
|
+
|
|
101
|
+
# timeout
|
|
102
|
+
|
|
103
|
+
Stopped waiting for package upload to finish. Wait time exceeded. waitTimeInMinutes = %s.
|
|
104
|
+
|
|
105
|
+
# uploadFailure
|
|
106
|
+
|
|
107
|
+
Package upload failed. ${os.EOL}%s
|
|
108
|
+
|
|
109
|
+
# uploadFailureDefault
|
|
110
|
+
|
|
111
|
+
Package version creation failed with unknown error
|
|
112
|
+
|
|
113
|
+
# package1VersionCreateHumanSuccess
|
|
114
|
+
|
|
115
|
+
Successfully created package version: %s for package %s.
|
|
116
|
+
|
|
117
|
+
# package1VersionCreateCommandInvalidVersion
|
|
118
|
+
|
|
119
|
+
Version supplied, %s, is not formatted correctly. Enter in major.minor format, for example, 3.2.
|
|
120
|
+
|
|
121
|
+
# SUCCESS
|
|
122
|
+
|
|
123
|
+
Successfully uploaded package [%s]
|
|
124
|
+
|
|
125
|
+
# QUEUED
|
|
126
|
+
|
|
127
|
+
PackageUploadRequest has been enqueued. You can query the status using
|
|
128
|
+
sfdx force:package1:beta:version:create:get -i %s -u %s
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
retrieve the status of a package version creation request
|
|
4
|
+
|
|
5
|
+
# examples
|
|
6
|
+
|
|
7
|
+
Examples:
|
|
8
|
+
$ sfdx force:package1:version:create:get -i 0HD...
|
|
9
|
+
$ sfdx force:package1:version:create:get -i 0HD... -u devhub@example.com
|
|
10
|
+
|
|
11
|
+
# requestId
|
|
12
|
+
|
|
13
|
+
PackageUploadRequest ID
|
|
14
|
+
|
|
15
|
+
# requestIdLong
|
|
16
|
+
|
|
17
|
+
The ID of the PackageUploadRequest.
|
|
18
|
+
|
|
19
|
+
# IN_PROGRESS
|
|
20
|
+
|
|
21
|
+
PackageUploadRequest is still InProgress. You can query the status using
|
|
22
|
+
sfdx force:package1:version:create:get -i %s -u %s
|
|
23
|
+
|
|
24
|
+
# SUCCESS
|
|
25
|
+
|
|
26
|
+
Successfully uploaded package [%s]
|
|
27
|
+
|
|
28
|
+
# QUEUED
|
|
29
|
+
|
|
30
|
+
PackageUploadRequest has been enqueued. You can query the status using
|
|
31
|
+
sfdx force:package1:version:create:get -i %s -u %s
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# description
|
|
2
|
+
|
|
3
|
+
display details about a first-generation package version
|
|
4
|
+
|
|
5
|
+
# help
|
|
6
|
+
|
|
7
|
+
Display detailed information about an individual package version, including metadata package ID, name, the release state, and build number.
|
|
8
|
+
|
|
9
|
+
# packageId
|
|
10
|
+
|
|
11
|
+
metadata package version ID (starts with 04t)
|
|
12
|
+
|
|
13
|
+
# packageIdLong
|
|
14
|
+
|
|
15
|
+
ID (starts with 04t) of the metadata package version whose details you want to display.
|
|
16
|
+
|
|
17
|
+
# packageIdInvalid
|
|
18
|
+
|
|
19
|
+
Verify that you entered a valid package version ID (starts with 04t) and try again.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# longDescription
|
|
2
|
+
|
|
3
|
+
Lists the versions for the specified package or all first-generation packages in the org.
|
|
4
|
+
|
|
5
|
+
# cliDescription
|
|
6
|
+
|
|
7
|
+
list package versions for the specified first-generation package or for the org
|
|
8
|
+
|
|
9
|
+
# cliHelp
|
|
10
|
+
|
|
11
|
+
If a metadata package ID is specified, lists all versions of the specified package. Otherwise, lists all package versions for the org. For each package version, the list includes the package version ID, metadata package ID, name, version number, and release state.
|
|
12
|
+
|
|
13
|
+
# packageId
|
|
14
|
+
|
|
15
|
+
metadata package ID (starts with 033)
|
|
16
|
+
|
|
17
|
+
# packageIdLong
|
|
18
|
+
|
|
19
|
+
Metadata package ID (starts with 033) whose package versions you want to list. If not specified, shows all versions for all packages (managed and unmanaged) in the org.
|
|
20
|
+
|
|
21
|
+
# humanSuccess
|
|
22
|
+
|
|
23
|
+
Successfully created the package version list.
|
|
24
|
+
|
|
25
|
+
# action
|
|
26
|
+
|
|
27
|
+
Verify that you entered a valid package ID and that you are authorized in the org. Then try again.
|
|
28
|
+
|
|
29
|
+
# packageIdInvalid
|
|
30
|
+
|
|
31
|
+
Verify that you entered a valid package version ID (starts with 033) and try again.
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# topicHelp
|
|
2
|
+
|
|
3
|
+
develop second-generation packages
|
|
4
|
+
|
|
5
|
+
# topicHelpLong
|
|
6
|
+
|
|
7
|
+
Use the package2 commands to create, install, and manage second-generation packages.
|
|
8
|
+
|
|
9
|
+
# createdLastDaysDescription
|
|
10
|
+
|
|
11
|
+
created in the last specified number of days (starting at 00:00:00 of first day to now; 0 for today)
|
|
12
|
+
|
|
13
|
+
# createdLastDaysLongDescription
|
|
14
|
+
|
|
15
|
+
Filters the list based on the specified maximum number of days since the request was created (starting at 00:00:00 of first day to now; 0 for today).
|
|
16
|
+
|
|
17
|
+
# modifiedLastDaysDescription
|
|
18
|
+
|
|
19
|
+
list items modified in the specified last number of days (starting at 00:00:00 of first day to now; 0 for today)
|
|
20
|
+
|
|
21
|
+
# modifiedLastDaysLongDescription
|
|
22
|
+
|
|
23
|
+
Lists the items modified in the specified last number of days, starting at 00:00:00 of first day to now. Use 0 for today.
|
|
24
|
+
|
|
25
|
+
# invalidId
|
|
26
|
+
|
|
27
|
+
Invalid %s: %s. Provide a valid ID that starts with %s.
|
|
28
|
+
|
|
29
|
+
# invalidDaysNumber
|
|
30
|
+
|
|
31
|
+
Provide a valid positive number for %s.
|
|
32
|
+
|
|
33
|
+
# invalidStatus
|
|
34
|
+
|
|
35
|
+
Invalid status '%s'. Please provide one of these statuses: %s
|
|
36
|
+
|
|
37
|
+
# package2NotEnabledAction
|
|
38
|
+
|
|
39
|
+
Second-generation packaging is not enabled on this org. Verify that you are authenticated to the desired org and try again. Otherwise, contact Salesforce Customer Support for more information.
|
|
40
|
+
|
|
41
|
+
# package2InstanceNotEnabled
|
|
42
|
+
|
|
43
|
+
Your org does not have permission to specify a build instance for your package version. Verify that you are authenticated to the desired org and try again. Otherwise, contact Salesforce Customer Support for more information.
|
|
44
|
+
|
|
45
|
+
# package2SourceOrgNotEnabled
|
|
46
|
+
|
|
47
|
+
Your Dev Hub does not have permission to specify a source org for your build org. Verify that you are authenticated to the correct Dev Hub and try again. Otherwise, contact Salesforce Customer Support for assistance.
|
|
48
|
+
|
|
49
|
+
# installStatus
|
|
50
|
+
|
|
51
|
+
Waiting for the package install request to complete. Status = %s
|
|
52
|
+
|
|
53
|
+
# errorMissingVersionNumber
|
|
54
|
+
|
|
55
|
+
The VersionNumber property must be specified.
|
|
56
|
+
|
|
57
|
+
# errorInvalidVersionNumber
|
|
58
|
+
|
|
59
|
+
VersionNumber must be in the format major.minor.patch.build but the value found is [%s].
|
|
60
|
+
|
|
61
|
+
# errorInvalidBuildNumber
|
|
62
|
+
|
|
63
|
+
The provided VersionNumber '%s' is invalid. Provide an integer value or use the keyword '%s' for the build number.
|
|
64
|
+
|
|
65
|
+
# errorInvalidPatchNumber
|
|
66
|
+
|
|
67
|
+
The provided VersionNumber '%s' is not supported. Provide a patch number of 0.
|
|
68
|
+
|
|
69
|
+
# errorInvalidMajorMinorNumber
|
|
70
|
+
|
|
71
|
+
The provided VersionNumber '%s' is invalid. Provide an integer value for the %s number.
|
|
72
|
+
|
|
73
|
+
# errorInvalidAncestorVersionFormat
|
|
74
|
+
|
|
75
|
+
The ancestor versionNumber must be in the format major.minor but the value found is [%s].
|
|
76
|
+
|
|
77
|
+
# errorNoMatchingAncestor
|
|
78
|
+
|
|
79
|
+
The ancestorId for ancestorVersion [%s] can't be found. Package 2 ID [%s].
|
|
80
|
+
|
|
81
|
+
# errorAncestorIdVersionMismatch
|
|
82
|
+
|
|
83
|
+
The ancestorVersion in sfdx-project.json is not the version expected for the ancestorId you supplied. ancestorVersion [%s]. ancestorID [%s].
|
|
84
|
+
|
|
85
|
+
# errorpackage2AncestorIdsKeyNotSupported
|
|
86
|
+
|
|
87
|
+
The package2AncestorIds key is no longer supported in a scratch org definition. Ancestors defined in sfdx-project.json will be included in the scratch org.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
create a second-generation package
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Creates a second-generation package.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
First, use this command to create a second-generation package. Then create a package version.
|
|
12
|
+
|
|
13
|
+
Your --name value must be unique within your namespace.
|
|
14
|
+
|
|
15
|
+
Examples:
|
|
16
|
+
$ sfdx force:package2:create -n PackageName -d 'My New Package' -o Unlocked
|
|
17
|
+
|
|
18
|
+
Run 'sfdx force:package2:list' to list all second-generation packages in the Dev Hub org.
|
|
19
|
+
|
|
20
|
+
# name
|
|
21
|
+
|
|
22
|
+
package name
|
|
23
|
+
|
|
24
|
+
# nameLong
|
|
25
|
+
|
|
26
|
+
Name of the second-generation package to create.
|
|
27
|
+
|
|
28
|
+
# description
|
|
29
|
+
|
|
30
|
+
package description
|
|
31
|
+
|
|
32
|
+
# descriptionLong
|
|
33
|
+
|
|
34
|
+
Description of the second-generation package.
|
|
35
|
+
|
|
36
|
+
# noNamespace
|
|
37
|
+
|
|
38
|
+
creates the package with no namespace; available only for developer-controlled packages.
|
|
39
|
+
|
|
40
|
+
# noNamespaceLong
|
|
41
|
+
|
|
42
|
+
Creates the package with no namespace. Available only for developer-controlled packages. Useful when migrating an existing org to packages, but new metadata should use a namespaced package.
|
|
43
|
+
|
|
44
|
+
# containerOptions
|
|
45
|
+
|
|
46
|
+
[*Managed | Unlocked] container options for the package2 (Managed=DeveloperManagedSubscriberManaged, Unlocked=DeveloperControlledSubscriberEditable)
|
|
47
|
+
|
|
48
|
+
# containerOptionsLong
|
|
49
|
+
|
|
50
|
+
Container options for the package2.
|
|
51
|
+
Managed is default. Other options include Unlocked. (Managed=DeveloperManagedSubscriberManaged, Unlocked=DeveloperControlledSubscriberEditable).
|
|
52
|
+
These options determine the upgrade and editability rules.
|
|
53
|
+
|
|
54
|
+
# humanSuccess
|
|
55
|
+
|
|
56
|
+
Successfully created a second-generation package (package2).
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
list all second-generation packages in the Dev Hub org
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Lists all second-generation 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
|
+
# namespace
|
|
14
|
+
|
|
15
|
+
Namespace Prefix
|
|
16
|
+
|
|
17
|
+
# name
|
|
18
|
+
|
|
19
|
+
Name
|
|
20
|
+
|
|
21
|
+
# id
|
|
22
|
+
|
|
23
|
+
Id
|
|
24
|
+
|
|
25
|
+
# package2Id
|
|
26
|
+
|
|
27
|
+
Subscriber Package2 Id
|
|
28
|
+
|
|
29
|
+
# description
|
|
30
|
+
|
|
31
|
+
Description
|
|
32
|
+
|
|
33
|
+
# containerOptions
|
|
34
|
+
|
|
35
|
+
Options
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
update a second-generation package
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Updates a second-generation package.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
Specify a new value for each option you want to update.
|
|
12
|
+
|
|
13
|
+
Examples:
|
|
14
|
+
$ sfdx force:package2:update --package2id 0Ho... --name 'AAnalytics'
|
|
15
|
+
$ sfdx force:package2:update -i 0Ho... -d 'Advanced Analytics'
|
|
16
|
+
|
|
17
|
+
Run 'sfdx force:package2:list' to list all second-generation packages in the Dev Hub org.
|
|
18
|
+
|
|
19
|
+
# id
|
|
20
|
+
|
|
21
|
+
id of the package (starts with 0Ho)
|
|
22
|
+
|
|
23
|
+
# idLong
|
|
24
|
+
|
|
25
|
+
ID of package (starts with 0Ho).
|
|
26
|
+
|
|
27
|
+
# name
|
|
28
|
+
|
|
29
|
+
package name
|
|
30
|
+
|
|
31
|
+
# nameLong
|
|
32
|
+
|
|
33
|
+
Name of the package to update.
|
|
34
|
+
|
|
35
|
+
# description
|
|
36
|
+
|
|
37
|
+
package description
|
|
38
|
+
|
|
39
|
+
# descriptionLong
|
|
40
|
+
|
|
41
|
+
Description of the package.
|
|
42
|
+
|
|
43
|
+
# humanSuccess
|
|
44
|
+
|
|
45
|
+
Successfully updated the package. ID: %s.
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
create a second-generation package version
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Creates a second-generation package (package2) 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 package2 version ID (05i), run "sfdx force:package2:version:create:get -i 08c...".
|
|
14
|
+
|
|
15
|
+
To list package version creation requests in the org, run "sfdx force:package2:version:create:list".
|
|
16
|
+
|
|
17
|
+
Examples:
|
|
18
|
+
$ sfdx force:package2:version:create -d common
|
|
19
|
+
$ sfdx force:package2:version:create -i 0Ho... -d common
|
|
20
|
+
|
|
21
|
+
# package2Id
|
|
22
|
+
|
|
23
|
+
ID of the parent package (starts with 0Ho)
|
|
24
|
+
|
|
25
|
+
# longPackage2Id
|
|
26
|
+
|
|
27
|
+
ID of parent package (starts with 0Ho).
|
|
28
|
+
|
|
29
|
+
# dir
|
|
30
|
+
|
|
31
|
+
path to directory that contains the contents of the package version
|
|
32
|
+
|
|
33
|
+
# longDir
|
|
34
|
+
|
|
35
|
+
The path to the directory that contains the contents of the package version.
|
|
36
|
+
|
|
37
|
+
# branch
|
|
38
|
+
|
|
39
|
+
the package version’s branch
|
|
40
|
+
|
|
41
|
+
# longBranch
|
|
42
|
+
|
|
43
|
+
The package version’s branch.
|
|
44
|
+
|
|
45
|
+
# tag
|
|
46
|
+
|
|
47
|
+
the package version’s tag
|
|
48
|
+
|
|
49
|
+
# longTag
|
|
50
|
+
|
|
51
|
+
The package version’s tag.
|
|
52
|
+
|
|
53
|
+
# key
|
|
54
|
+
|
|
55
|
+
installation key for key-protected package (default: null)
|
|
56
|
+
|
|
57
|
+
# longKey
|
|
58
|
+
|
|
59
|
+
Installation key for creating the key-protected package. The default is null.
|
|
60
|
+
|
|
61
|
+
# preserve
|
|
62
|
+
|
|
63
|
+
temp files are preserved that would otherwise be deleted
|
|
64
|
+
|
|
65
|
+
# longPreserve
|
|
66
|
+
|
|
67
|
+
Specifies that the temp files are preserved that would otherwise be deleted
|
|
68
|
+
|
|
69
|
+
# validateschema
|
|
70
|
+
|
|
71
|
+
sfdx-project.json is validated against JSON schema
|
|
72
|
+
|
|
73
|
+
# longValidateschema
|
|
74
|
+
|
|
75
|
+
Specifies that the sfdx-project.json file should be validated against JSON schema
|
|
76
|
+
|
|
77
|
+
# tempFileLocation
|
|
78
|
+
|
|
79
|
+
The temp files are located at: %s.
|
|
80
|
+
|
|
81
|
+
# wait
|
|
82
|
+
|
|
83
|
+
minutes to wait for the package version to be created
|
|
84
|
+
|
|
85
|
+
# longWait
|
|
86
|
+
|
|
87
|
+
The number of minutes to wait for the package version to be created.
|
|
88
|
+
|
|
89
|
+
# instance
|
|
90
|
+
|
|
91
|
+
the instance where the package version will be created——for example, NA50
|
|
92
|
+
|
|
93
|
+
# longInstance
|
|
94
|
+
|
|
95
|
+
The instance where the package version will be created——for example, NA50.
|
|
96
|
+
|
|
97
|
+
# sourceorg
|
|
98
|
+
|
|
99
|
+
the source org ID used to copy the org shape for the build org
|
|
100
|
+
|
|
101
|
+
# longSourceorg
|
|
102
|
+
|
|
103
|
+
The source org ID used to copy the org shape for the build org.
|
|
104
|
+
|
|
105
|
+
# InProgress
|
|
106
|
+
|
|
107
|
+
Package2 version creation request is InProgress. Run "sfdx force:package2:version:create:get -i %s" to query for status.
|
|
108
|
+
|
|
109
|
+
# Queued
|
|
110
|
+
|
|
111
|
+
Package2 version creation request is Queued. Run "sfdx force:package2:version:create:get -i %s" to query for status.
|
|
112
|
+
|
|
113
|
+
# Success
|
|
114
|
+
|
|
115
|
+
Successfully created the package2 version [%s]. Package2 Version Id: %s. Subscriber Package2 Version Id: %s.
|
|
116
|
+
Package Installation URL: %s%s
|
|
117
|
+
As an alternative, you can use the "sfdx force:package:install" command.
|
|
118
|
+
|
|
119
|
+
# errorMissingFlags
|
|
120
|
+
|
|
121
|
+
Include either a %s value or a %s value. The value must match one of the packageDirectories specified in sfdx-project.json.
|
|
122
|
+
|
|
123
|
+
# errorNoMatchingPackageDirectory
|
|
124
|
+
|
|
125
|
+
The %s value [%s], doesn’t match the %s value in any packageDirectories specified in sfdx-project.json.
|
|
126
|
+
|
|
127
|
+
# errorDirectoryIdMismatch
|
|
128
|
+
|
|
129
|
+
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 id values in one of the packageDirectories.
|
|
130
|
+
|
|
131
|
+
# errorDependencyPair
|
|
132
|
+
|
|
133
|
+
Dependency must specify either a subscriberPackageVersionId or both packageId and versionNumber: %s.
|
|
134
|
+
|
|
135
|
+
# errorNoIdInHub
|
|
136
|
+
|
|
137
|
+
No package2 ID was found in Dev Hub for package2 ID: %s.
|
|
138
|
+
|
|
139
|
+
# errorEmptyPackageDirs
|
|
140
|
+
|
|
141
|
+
sfdx-project.json must contain a packageDirectories entry for a package. It has no entries, currently.
|
|
142
|
+
|
|
143
|
+
# unknownError
|
|
144
|
+
|
|
145
|
+
Package2 version creation failed with unknown error.
|
|
146
|
+
|
|
147
|
+
# undefinedStatus
|
|
148
|
+
|
|
149
|
+
Package2 version creation returned with status: %s.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
retrieve a package version creation request
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Retrieves a second-generation package version creation request in the Dev Hub org.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
Specify the request ID for which you want to view details. If applicable, the command displays errors related to the request.
|
|
12
|
+
|
|
13
|
+
Examples:
|
|
14
|
+
$ sfdx force:package2:version:create:get --package2createrequestid 08c...
|
|
15
|
+
|
|
16
|
+
To show all requests in the org, run "sfdx force:package2:version:create:list".
|
|
17
|
+
|
|
18
|
+
# requestId
|
|
19
|
+
|
|
20
|
+
package2 version creation request ID (starts with 08c)
|
|
21
|
+
|
|
22
|
+
# requestIdLong
|
|
23
|
+
|
|
24
|
+
The ID of the package2 version creation request you want to display.
|
|
25
|
+
|
|
26
|
+
# error
|
|
27
|
+
|
|
28
|
+
Error
|
|
29
|
+
|
|
30
|
+
# truncatedErrors
|
|
31
|
+
|
|
32
|
+
...
|
|
33
|
+
|
|
34
|
+
To see all errors, run: sfdx force:data:soql:query -t -q "SELECT Message FROM Package2VersionCreateRequestError WHERE ParentRequest.Id ='%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 (package2) 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 package2 version that's run 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:package2:version:create:get" and supply the request ID.
|
|
24
|
+
|
|
25
|
+
Examples:
|
|
26
|
+
$ sfdx force:package2:version:create:list
|
|
27
|
+
$ sfdx force:package2:version:create:list --createdlastdays 3
|
|
28
|
+
$ sfdx force:package2:version:create:list --status Error
|
|
29
|
+
$ sfdx force:package2:version:create:list -s InProgress
|
|
30
|
+
$ sfdx force:package2:version:create:list -c 3 -s Success
|
|
31
|
+
|
|
32
|
+
# id
|
|
33
|
+
|
|
34
|
+
ID
|
|
35
|
+
|
|
36
|
+
# status
|
|
37
|
+
|
|
38
|
+
Status
|
|
39
|
+
|
|
40
|
+
# package2Id
|
|
41
|
+
|
|
42
|
+
Package2 Id
|
|
43
|
+
|
|
44
|
+
# package2VersionId
|
|
45
|
+
|
|
46
|
+
Package2 Version Id
|
|
47
|
+
|
|
48
|
+
# subscriberPackageVersionId
|
|
49
|
+
|
|
50
|
+
Subscriber Package2 Version Id
|
|
51
|
+
|
|
52
|
+
# branch
|
|
53
|
+
|
|
54
|
+
Branch
|
|
55
|
+
|
|
56
|
+
# tag
|
|
57
|
+
|
|
58
|
+
Tag
|
|
59
|
+
|
|
60
|
+
# installUrl
|
|
61
|
+
|
|
62
|
+
Installation URL
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
retrieve a package version in the Dev Hub org
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Retrieves a package version in the Dev Hub org.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
Examples:
|
|
12
|
+
$ sfdx force:package2:version:get --package2versionid 05i...
|
|
13
|
+
|
|
14
|
+
To update package version values, run "sfdx force:package2:version:update".
|