@salesforce/plugin-packaging 1.12.2 → 1.12.4
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/README.md +0 -2
- package/lib/commands/package/convert.d.ts +23 -0
- package/lib/commands/package/convert.js +128 -0
- package/lib/commands/package/convert.js.map +1 -0
- package/lib/commands/package/create.d.ts +26 -0
- package/lib/commands/package/create.js +92 -0
- package/lib/commands/package/create.js.map +1 -0
- package/lib/commands/package/delete.d.ts +20 -0
- package/lib/commands/package/delete.js +65 -0
- package/lib/commands/package/delete.js.map +1 -0
- package/lib/commands/package/install/report.d.ts +19 -0
- package/lib/commands/package/install/report.js +65 -0
- package/lib/commands/package/install/report.js.map +1 -0
- package/lib/commands/package/install.d.ts +31 -0
- package/lib/commands/{force/package → package}/install.js +72 -76
- package/lib/commands/package/install.js.map +1 -0
- package/lib/commands/package/installed/list.d.ts +24 -0
- package/lib/commands/{force/package → package}/installed/list.js +19 -14
- package/lib/commands/package/installed/list.js.map +1 -0
- package/lib/commands/package/list.d.ts +26 -0
- package/lib/commands/{force/package → package}/list.js +23 -21
- package/lib/commands/package/list.js.map +1 -0
- package/lib/commands/package/uninstall/report.d.ts +15 -0
- package/lib/commands/package/uninstall/report.js +46 -0
- package/lib/commands/package/uninstall/report.js.map +1 -0
- package/lib/commands/package/uninstall.d.ts +19 -0
- package/lib/commands/package/uninstall.js +60 -0
- package/lib/commands/package/uninstall.js.map +1 -0
- package/lib/commands/package/update.d.ts +20 -0
- package/lib/commands/package/update.js +67 -0
- package/lib/commands/package/update.js.map +1 -0
- package/lib/commands/package/version/create/list.d.ts +18 -0
- package/lib/commands/{force/package → package}/version/create/list.js +28 -20
- package/lib/commands/package/version/create/list.js.map +1 -0
- package/lib/commands/package/version/create/report.d.ts +19 -0
- package/lib/commands/{force/package → package}/version/create/report.js +28 -24
- package/lib/commands/package/version/create/report.js.map +1 -0
- package/lib/commands/package/version/create.d.ts +40 -0
- package/lib/commands/package/version/create.js +220 -0
- package/lib/commands/package/version/create.js.map +1 -0
- package/lib/commands/package/version/delete.d.ts +21 -0
- package/lib/commands/package/version/delete.js +71 -0
- package/lib/commands/package/version/delete.js.map +1 -0
- package/lib/commands/package/version/displayancestry.d.ts +19 -0
- package/lib/commands/package/version/displayancestry.js +74 -0
- package/lib/commands/package/version/displayancestry.js.map +1 -0
- package/lib/commands/package/version/list.d.ts +40 -0
- package/lib/commands/{force/package → package}/version/list.js +56 -57
- package/lib/commands/package/version/list.js.map +1 -0
- package/lib/commands/package/version/promote.d.ts +18 -0
- package/lib/commands/{force/package → package}/version/promote.js +28 -25
- package/lib/commands/package/version/promote.js.map +1 -0
- package/lib/commands/package/version/report.d.ts +29 -0
- package/lib/commands/{force/package → package}/version/report.js +34 -32
- package/lib/commands/package/version/report.js.map +1 -0
- package/lib/commands/package/version/update.d.ts +22 -0
- package/lib/commands/package/version/update.js +77 -0
- package/lib/commands/package/version/update.js.map +1 -0
- package/lib/commands/package1/version/create/get.d.ts +15 -0
- package/lib/commands/{force/package1 → package1}/version/create/get.js +22 -14
- package/lib/commands/package1/version/create/get.js.map +1 -0
- package/lib/commands/package1/version/create.d.ts +28 -0
- package/lib/commands/package1/version/create.js +130 -0
- package/lib/commands/package1/version/create.js.map +1 -0
- package/lib/commands/package1/version/display.d.ts +16 -0
- package/lib/commands/{force/package1 → package1}/version/display.js +20 -18
- package/lib/commands/package1/version/display.js.map +1 -0
- package/lib/commands/package1/version/list.d.ts +16 -0
- package/lib/commands/{force/package1 → package1}/version/list.js +21 -20
- package/lib/commands/package1/version/list.js.map +1 -0
- package/messages/package1_version_create.md +33 -44
- package/messages/package1_version_create_get.md +11 -10
- package/messages/package1_version_display.md +10 -8
- package/messages/package1_version_list.md +14 -8
- package/messages/package_convert.md +31 -31
- package/messages/package_create.md +31 -40
- package/messages/package_delete.md +15 -20
- package/messages/package_displayancestry.md +25 -19
- package/messages/package_install.md +43 -52
- package/messages/package_install_report.md +9 -8
- package/messages/package_installed_list.md +9 -4
- package/messages/package_list.md +16 -13
- package/messages/package_uninstall.md +17 -15
- package/messages/package_uninstall_report.md +11 -10
- package/messages/package_update.md +13 -18
- package/messages/package_version_create.md +81 -127
- package/messages/package_version_create_list.md +26 -14
- package/messages/package_version_create_report.md +13 -10
- package/messages/package_version_delete.md +17 -17
- package/messages/package_version_list.md +29 -32
- package/messages/package_version_promote.md +22 -16
- package/messages/package_version_report.md +13 -14
- package/messages/package_version_update.md +23 -37
- package/messages/packaging.md +4 -12
- package/oclif.manifest.json +2455 -1
- package/package.json +61 -76
- package/schemas/package-convert.json +73 -0
- package/schemas/package-create.json +16 -0
- package/schemas/package-delete.json +72 -0
- package/schemas/package-install-report.json +169 -0
- package/schemas/package-install.json +169 -0
- package/schemas/package-installed-list.json +40 -0
- package/schemas/package-list.json +55 -0
- package/schemas/package-uninstall-report.json +51 -0
- package/schemas/package-uninstall.json +54 -0
- package/schemas/package-update.json +72 -0
- package/schemas/package-version-create-list.json +79 -0
- package/schemas/package-version-create-report.json +79 -0
- package/schemas/package-version-create.json +60 -0
- package/schemas/package-version-delete.json +72 -0
- package/schemas/package-version-displayancestry.json +61 -0
- package/schemas/package-version-list.json +146 -0
- package/schemas/package-version-promote.json +72 -0
- package/schemas/package-version-report.json +232 -0
- package/schemas/package-version-update.json +72 -0
- package/schemas/package1-version-create-get.json +91 -0
- package/schemas/package1-version-create.json +94 -0
- package/schemas/package1-version-display.json +37 -0
- package/schemas/package1-version-list.json +37 -0
- package/lib/commands/force/package/convert.d.ts +0 -11
- package/lib/commands/force/package/convert.js +0 -106
- package/lib/commands/force/package/convert.js.map +0 -1
- package/lib/commands/force/package/create.d.ts +0 -13
- package/lib/commands/force/package/create.js +0 -82
- package/lib/commands/force/package/create.js.map +0 -1
- package/lib/commands/force/package/delete.d.ts +0 -12
- package/lib/commands/force/package/delete.js +0 -63
- package/lib/commands/force/package/delete.js.map +0 -1
- package/lib/commands/force/package/install/report.d.ts +0 -12
- package/lib/commands/force/package/install/report.js +0 -39
- package/lib/commands/force/package/install/report.js.map +0 -1
- package/lib/commands/force/package/install.d.ts +0 -20
- package/lib/commands/force/package/install.js.map +0 -1
- package/lib/commands/force/package/installed/list.d.ts +0 -18
- package/lib/commands/force/package/installed/list.js.map +0 -1
- package/lib/commands/force/package/list.d.ts +0 -19
- package/lib/commands/force/package/list.js.map +0 -1
- package/lib/commands/force/package/uninstall/report.d.ts +0 -10
- package/lib/commands/force/package/uninstall/report.js +0 -44
- package/lib/commands/force/package/uninstall/report.js.map +0 -1
- package/lib/commands/force/package/uninstall.d.ts +0 -12
- package/lib/commands/force/package/uninstall.js +0 -55
- package/lib/commands/force/package/uninstall.js.map +0 -1
- package/lib/commands/force/package/update.d.ts +0 -11
- package/lib/commands/force/package/update.js +0 -63
- package/lib/commands/force/package/update.js.map +0 -1
- package/lib/commands/force/package/version/create/list.d.ts +0 -10
- package/lib/commands/force/package/version/create/list.js.map +0 -1
- package/lib/commands/force/package/version/create/report.d.ts +0 -11
- package/lib/commands/force/package/version/create/report.js.map +0 -1
- package/lib/commands/force/package/version/create.d.ts +0 -12
- package/lib/commands/force/package/version/create.js +0 -203
- package/lib/commands/force/package/version/create.js.map +0 -1
- package/lib/commands/force/package/version/delete.d.ts +0 -13
- package/lib/commands/force/package/version/delete.js +0 -66
- package/lib/commands/force/package/version/delete.js.map +0 -1
- package/lib/commands/force/package/version/displayancestry.d.ts +0 -13
- package/lib/commands/force/package/version/displayancestry.js +0 -70
- package/lib/commands/force/package/version/displayancestry.js.map +0 -1
- package/lib/commands/force/package/version/list.d.ts +0 -27
- package/lib/commands/force/package/version/list.js.map +0 -1
- package/lib/commands/force/package/version/promote.d.ts +0 -11
- package/lib/commands/force/package/version/promote.js.map +0 -1
- package/lib/commands/force/package/version/report.d.ts +0 -22
- package/lib/commands/force/package/version/report.js.map +0 -1
- package/lib/commands/force/package/version/update.d.ts +0 -11
- package/lib/commands/force/package/version/update.js +0 -73
- package/lib/commands/force/package/version/update.js.map +0 -1
- package/lib/commands/force/package1/version/create/get.d.ts +0 -10
- package/lib/commands/force/package1/version/create/get.js.map +0 -1
- package/lib/commands/force/package1/version/create.d.ts +0 -13
- package/lib/commands/force/package1/version/create.js +0 -115
- package/lib/commands/force/package1/version/create.js.map +0 -1
- package/lib/commands/force/package1/version/display.d.ts +0 -9
- package/lib/commands/force/package1/version/display.js.map +0 -1
- package/lib/commands/force/package1/version/list.d.ts +0 -9
- package/lib/commands/force/package1/version/list.js.map +0 -1
|
@@ -1,215 +1,175 @@
|
|
|
1
|
-
#
|
|
1
|
+
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Create a package version in the Dev Hub org.
|
|
4
4
|
|
|
5
|
-
#
|
|
6
|
-
|
|
7
|
-
Creates a package version in the Dev Hub org.
|
|
5
|
+
# description
|
|
8
6
|
|
|
9
7
|
The package version is based on the package contents in the specified directory.
|
|
10
8
|
|
|
11
|
-
To retrieve details about a package version create request, including status and package version ID (04t), run "
|
|
12
|
-
|
|
13
|
-
We recommend that you specify the --installationkey parameter to protect the contents of your package and to prevent unauthorized installation of your package.
|
|
9
|
+
To retrieve details about a package version create request, including status and package version ID (04t), run "<%= config.bin %> package version create report -i 08c...".
|
|
14
10
|
|
|
15
|
-
|
|
11
|
+
We recommend that you specify the --installation-key parameter to protect the contents of your package and to prevent unauthorized installation of your package.
|
|
16
12
|
|
|
17
|
-
To
|
|
13
|
+
To list package version creation requests in the org, run "<%= config.bin %> package version create list".
|
|
14
|
+
To promote a package version to released, you must use the --code-coverage parameter. The package must also meet the code coverage requirements. This requirement applies to both managed and unlocked packages.
|
|
18
15
|
|
|
19
|
-
We don’t calculate code coverage for org-dependent unlocked packages, or for package versions that specify --
|
|
16
|
+
We don’t calculate code coverage for org-dependent unlocked packages, or for package versions that specify --skip-validation.
|
|
20
17
|
|
|
21
18
|
# examples
|
|
22
19
|
|
|
23
|
-
|
|
24
|
-
$ sfdx force:package:version:create -p "Your Package Alias" -k password123
|
|
25
|
-
$ sfdx force:package:version:create -p 0Ho... -k password123
|
|
26
|
-
$ sfdx force:package:version:create -d common -k password123 --skipvalidation
|
|
27
|
-
|
|
28
|
-
# package
|
|
20
|
+
- Create a package version from the contents of the "common" directory and give it an installation key of "password123"; uses your default Dev Hub org:
|
|
29
21
|
|
|
30
|
-
|
|
22
|
+
<%= config.bin %> <%= command.id %> --path common --installation-key password123
|
|
31
23
|
|
|
32
|
-
|
|
24
|
+
- Create a package version from a package with the specified alias; uses the Dev Hub org with username devhub@example.com:
|
|
33
25
|
|
|
34
|
-
|
|
26
|
+
<%= config.bin %> <%= command.id %> --package "Your Package Alias" --installation-key password123 --target-hub-org devhub@example.com
|
|
35
27
|
|
|
36
|
-
|
|
28
|
+
- Create a package version from a package with the specified ID:
|
|
37
29
|
|
|
38
|
-
|
|
30
|
+
<%= config.bin %> <%= command.id %> --package 0Ho... --installation-key password123
|
|
39
31
|
|
|
40
|
-
|
|
32
|
+
- Create a package version and skip the validation step:
|
|
41
33
|
|
|
42
|
-
|
|
34
|
+
<%= config.bin %> <%= command.id %> --path common --installation-key password123 --skip-validation
|
|
43
35
|
|
|
44
|
-
#
|
|
36
|
+
# flags.package.summary
|
|
45
37
|
|
|
46
|
-
|
|
38
|
+
ID (starts with 0Ho) or alias of the package to create a version of.
|
|
47
39
|
|
|
48
|
-
#
|
|
40
|
+
# flags.path.summary
|
|
49
41
|
|
|
50
|
-
|
|
42
|
+
Path to the directory that contains the contents of the package.
|
|
51
43
|
|
|
52
|
-
#
|
|
44
|
+
# flags.definition-file.summary
|
|
53
45
|
|
|
54
|
-
the package version
|
|
46
|
+
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.
|
|
55
47
|
|
|
56
|
-
#
|
|
48
|
+
# flags.branch.summary
|
|
57
49
|
|
|
58
50
|
Name of the branch in your source control system that the package version is based on.
|
|
59
51
|
|
|
60
|
-
# tag
|
|
61
|
-
|
|
62
|
-
the package version’s tag
|
|
63
|
-
|
|
64
|
-
# longTag
|
|
65
|
-
|
|
66
|
-
The package version’s tag.
|
|
52
|
+
# flags.tag.summary
|
|
67
53
|
|
|
68
|
-
|
|
54
|
+
Package version’s tag.
|
|
69
55
|
|
|
70
|
-
installation
|
|
56
|
+
# flags.installation-key.summary
|
|
71
57
|
|
|
72
|
-
|
|
58
|
+
Installation key for key-protected package. (either --installation-key or --installation-key-bypass is required)
|
|
73
59
|
|
|
74
|
-
|
|
60
|
+
# flags.installation-key-bypass.summary
|
|
75
61
|
|
|
76
|
-
|
|
62
|
+
Bypass the installation key requirement. (either --installation-key or --installation-key-bypass is required)
|
|
77
63
|
|
|
78
|
-
|
|
64
|
+
# flags.installation-key-bypass.description
|
|
79
65
|
|
|
80
|
-
|
|
66
|
+
If you bypass this requirement, anyone can install your package.
|
|
81
67
|
|
|
82
|
-
|
|
68
|
+
# flags.preserve.summary
|
|
83
69
|
|
|
84
|
-
|
|
70
|
+
Preserve temp files that would otherwise be deleted.
|
|
85
71
|
|
|
86
|
-
|
|
72
|
+
# flags.validate-schema.summary
|
|
87
73
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
Specifies that the temp files are preserved that would otherwise be deleted
|
|
91
|
-
|
|
92
|
-
# validateschema
|
|
93
|
-
|
|
94
|
-
sfdx-project.json is validated against JSON schema
|
|
95
|
-
|
|
96
|
-
# longValidateschema
|
|
97
|
-
|
|
98
|
-
Specifies that the sfdx-project.json file should be validated against JSON schema.
|
|
74
|
+
Validate the sfdx-project.json file against the JSON schema.
|
|
99
75
|
|
|
100
76
|
# tempFileLocation
|
|
101
77
|
|
|
102
78
|
The temp files are located at: %s.
|
|
103
79
|
|
|
104
|
-
# wait
|
|
105
|
-
|
|
106
|
-
minutes to wait for the package version to be created
|
|
80
|
+
# flags.wait.summary
|
|
107
81
|
|
|
108
|
-
|
|
82
|
+
Number of minutes to wait for the package version to be created.
|
|
109
83
|
|
|
110
|
-
|
|
84
|
+
# flags.build-instance.summary
|
|
111
85
|
|
|
112
|
-
|
|
86
|
+
Instance where the package version will be created, such as NA50.
|
|
113
87
|
|
|
114
|
-
|
|
88
|
+
# flags.version-name.summary
|
|
115
89
|
|
|
116
|
-
|
|
90
|
+
Name of the package version to be created; overrides the sfdx-project.json value.
|
|
117
91
|
|
|
118
|
-
|
|
92
|
+
# flags.version-number.summary
|
|
119
93
|
|
|
120
|
-
|
|
94
|
+
Version number of the package version to be created; overrides the sfdx-project.json value.
|
|
121
95
|
|
|
122
|
-
|
|
96
|
+
# flags.version-description.summary
|
|
123
97
|
|
|
124
|
-
|
|
98
|
+
Description of the package version to be created; overrides the sfdx-project.json value.
|
|
125
99
|
|
|
126
|
-
|
|
100
|
+
# flags.code-coverage.summary
|
|
127
101
|
|
|
128
|
-
|
|
102
|
+
Calculate and store the code coverage percentage by running the packaged Apex tests included in this package version.
|
|
129
103
|
|
|
130
|
-
|
|
104
|
+
# flags.code-coverage.description
|
|
131
105
|
|
|
132
|
-
|
|
106
|
+
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 --skip-validation.
|
|
133
107
|
|
|
134
|
-
|
|
108
|
+
# flags.releasenotes-url.summary
|
|
135
109
|
|
|
136
|
-
|
|
110
|
+
Release notes URL.
|
|
137
111
|
|
|
138
|
-
|
|
112
|
+
# flags.releasenotes-url.description
|
|
139
113
|
|
|
140
|
-
|
|
114
|
+
This link is displayed in the package installation UI to provide release notes for this package version to subscribers.
|
|
141
115
|
|
|
142
|
-
|
|
116
|
+
# flags.skip-validation.summary
|
|
143
117
|
|
|
144
|
-
|
|
118
|
+
Skip validation during package version creation; you can’t promote unvalidated package versions.
|
|
145
119
|
|
|
146
|
-
|
|
120
|
+
# flags.skip-validation.description
|
|
147
121
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
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.
|
|
151
|
-
|
|
152
|
-
# releaseNotesUrl
|
|
153
|
-
|
|
154
|
-
release notes URL
|
|
155
|
-
|
|
156
|
-
# releaseNotesUrlLong
|
|
157
|
-
|
|
158
|
-
The release notes URL. This link is displayed in the package installation UI to provide release notes for this package version to subscribers.
|
|
159
|
-
|
|
160
|
-
# skipValidation
|
|
161
|
-
|
|
162
|
-
skip validation during package version creation; you can’t promote unvalidated package versions
|
|
122
|
+
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.
|
|
163
123
|
|
|
164
|
-
#
|
|
124
|
+
# skip-validation-warning
|
|
165
125
|
|
|
166
|
-
|
|
126
|
+
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 --skip-validation parameter.
|
|
167
127
|
|
|
168
|
-
#
|
|
128
|
+
# flags.skip-ancestor-check.summary
|
|
169
129
|
|
|
170
|
-
|
|
130
|
+
Overrides ancestry requirements, which allows you to specify a package ancestor that isn’t the highest released package version.
|
|
171
131
|
|
|
172
|
-
#
|
|
132
|
+
# flags.post-install-url.summary
|
|
173
133
|
|
|
174
|
-
|
|
134
|
+
Post-install instructions URL.
|
|
175
135
|
|
|
176
|
-
#
|
|
136
|
+
# flags.post-install-url.description
|
|
177
137
|
|
|
178
|
-
|
|
138
|
+
The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.
|
|
179
139
|
|
|
180
|
-
#
|
|
140
|
+
# flags.post-install-script.summary
|
|
181
141
|
|
|
182
|
-
post-install
|
|
142
|
+
Name of the post-install script; applies to managed packages only.
|
|
183
143
|
|
|
184
|
-
#
|
|
144
|
+
# flags.post-install-script.description
|
|
185
145
|
|
|
186
|
-
The post-install
|
|
146
|
+
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.
|
|
187
147
|
|
|
188
|
-
#
|
|
148
|
+
# flags.uninstall-script.summary
|
|
189
149
|
|
|
190
|
-
|
|
150
|
+
Uninstall script name; applies to managed packages only.
|
|
191
151
|
|
|
192
|
-
#
|
|
152
|
+
# flags.uninstall-script.description
|
|
193
153
|
|
|
194
|
-
|
|
154
|
+
The uninstall script is an Apex class within this package that is run in the installing org after uninstallations of this package.
|
|
195
155
|
|
|
196
|
-
#
|
|
156
|
+
# flags.language.summary
|
|
197
157
|
|
|
198
|
-
|
|
158
|
+
Language for the package.
|
|
199
159
|
|
|
200
|
-
#
|
|
160
|
+
# flags.language.description
|
|
201
161
|
|
|
202
|
-
|
|
162
|
+
Specify the language using a language code listed under "Supported Languages" in Salesforce Help. If no language is specified, the language defaults to the language of the Dev Hub user who created the package.
|
|
203
163
|
|
|
204
164
|
# InProgress
|
|
205
165
|
|
|
206
|
-
Package version creation request status is '%s'. Run "
|
|
166
|
+
Package version creation request status is '%s'. Run "%s package:version:create:report -i %s" to query for status.
|
|
207
167
|
|
|
208
168
|
# Success
|
|
209
169
|
|
|
210
170
|
Successfully created the package version [%s]. Subscriber Package Version Id: %s
|
|
211
171
|
Package Installation URL: %s%s
|
|
212
|
-
As an alternative, you can use the "
|
|
172
|
+
As an alternative, you can use the "%s package:install" command.
|
|
213
173
|
|
|
214
174
|
# errorPathNotFound
|
|
215
175
|
|
|
@@ -231,12 +191,6 @@ Version create.
|
|
|
231
191
|
|
|
232
192
|
Create version status: %s
|
|
233
193
|
|
|
234
|
-
#
|
|
235
|
-
|
|
236
|
-
The language for the package.
|
|
237
|
-
|
|
238
|
-
# languageLong
|
|
239
|
-
|
|
240
|
-
The language for the package. Specify the language using a language code listed under "Supported Languages" in Salesforce Help.
|
|
194
|
+
# unknownError
|
|
241
195
|
|
|
242
|
-
|
|
196
|
+
An unknown error occurred.
|
|
@@ -1,28 +1,40 @@
|
|
|
1
|
-
#
|
|
1
|
+
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
List package version creation requests.
|
|
4
|
+
|
|
5
|
+
# description
|
|
4
6
|
|
|
5
7
|
Shows the details of each request to create a package version in the Dev Hub org.
|
|
6
8
|
|
|
7
9
|
All filter parameters are applied using the AND logical operator (not OR).
|
|
8
10
|
|
|
9
|
-
To get information about a specific request, run "
|
|
11
|
+
To get information about a specific request, run "<%= config.bin %> package version create report" and supply the request ID.
|
|
10
12
|
|
|
11
|
-
#
|
|
13
|
+
# flags.status.summary
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
Status of the version creation request, used to filter the list.
|
|
14
16
|
|
|
15
|
-
#
|
|
17
|
+
# examples
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
- List all package version creation requests in your default Dev Hub org:
|
|
18
20
|
|
|
19
|
-
|
|
21
|
+
<%= config.bin %> <%= command.id %>
|
|
22
|
+
|
|
23
|
+
- List package version creation requests from the last 3 days in the Dev Hub org with username devhub@example.com:
|
|
24
|
+
|
|
25
|
+
<%= config.bin %> <%= command.id %> --created-last-days 3 --target-hub-org
|
|
26
|
+
|
|
27
|
+
- List package version creation requests with status Error:
|
|
28
|
+
|
|
29
|
+
<%= config.bin %> <%= command.id %> --status Error
|
|
30
|
+
|
|
31
|
+
- List package version creation requests with status InProgress:
|
|
32
|
+
|
|
33
|
+
<%= config.bin %> <%= command.id %> --status InProgress
|
|
34
|
+
|
|
35
|
+
- List package version creation requests with status Success that were created today:
|
|
20
36
|
|
|
21
|
-
|
|
22
|
-
$ sfdx force:package:version:create:list --createdlastdays 3
|
|
23
|
-
$ sfdx force:package:version:create:list --status Error
|
|
24
|
-
$ sfdx force:package:version:create:list -s InProgress
|
|
25
|
-
$ sfdx force:package:version:create:list -c 3 -s Success
|
|
37
|
+
<%= config.bin %> <%= command.id %> --created-last-days 0 --status Success
|
|
26
38
|
|
|
27
39
|
# id
|
|
28
40
|
|
|
@@ -32,7 +44,7 @@ ID
|
|
|
32
44
|
|
|
33
45
|
Status
|
|
34
46
|
|
|
35
|
-
#
|
|
47
|
+
# package-id
|
|
36
48
|
|
|
37
49
|
Package Id
|
|
38
50
|
|
|
@@ -1,26 +1,29 @@
|
|
|
1
|
-
#
|
|
1
|
+
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Retrieve details about a package version creation request.
|
|
4
|
+
|
|
5
|
+
# description
|
|
4
6
|
|
|
5
7
|
Specify the request ID for which you want to view details. If applicable, the command displays errors related to the request.
|
|
6
8
|
|
|
7
|
-
To show all requests in the org, run "
|
|
9
|
+
To show all requests in the org, run "<%= config.bin %> package version create list".
|
|
8
10
|
|
|
9
11
|
# examples
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
- Retrieve details about the package version creation request with the specified ID; uses your default Dev Hub org:
|
|
14
|
+
|
|
15
|
+
<%= config.bin %> <%= command.id %> --package-create-request-id 08c...
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
- Retrieve details about the specified package version creation request in the Dev Hub org with username devhub@example.com:
|
|
15
18
|
|
|
16
|
-
|
|
19
|
+
<%= config.bin %> <%= command.id %> --package-create-request-id 08c... --target-hub-org devhub@example.com
|
|
17
20
|
|
|
18
|
-
#
|
|
21
|
+
# flags.package-create-request-id.summary
|
|
19
22
|
|
|
20
|
-
|
|
23
|
+
ID (starts with 08c) of the package version creation request you want to display.
|
|
21
24
|
|
|
22
25
|
# truncatedErrors
|
|
23
26
|
|
|
24
27
|
...
|
|
25
28
|
|
|
26
|
-
To see all errors, run:
|
|
29
|
+
To see all errors, run: %s data:soql:query -t -q "SELECT Message FROM Package2VersionCreateRequestError WHERE ParentRequest.Id='%s'" -o %s
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
#
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Delete a package version.
|
|
4
|
+
|
|
5
|
+
# description
|
|
2
6
|
|
|
3
|
-
delete a package version
|
|
4
7
|
Specify the ID or alias of the package version you want to delete.
|
|
5
8
|
|
|
6
9
|
# examples
|
|
7
10
|
|
|
8
|
-
|
|
9
|
-
$ sfdx force:package:version:delete -p 04t...
|
|
10
|
-
|
|
11
|
-
# package
|
|
11
|
+
- Delete a package version with the specified alias using your default Dev Hub org:
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
<%= config.bin %> <%= command.id %> --package "Your Package Alias"
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
- Delete a package version with the specified ID using the Dev Hub org with username "devhub@example.com":
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
<%= config.bin %> <%= command.id %> --package 04t... --target-org devhub@example.com
|
|
18
18
|
|
|
19
|
-
#
|
|
19
|
+
# flags.package.summary
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
ID (starts with 04t) or alias of the package version to delete.
|
|
22
22
|
|
|
23
|
-
#
|
|
23
|
+
# flags.undelete.summary
|
|
24
24
|
|
|
25
25
|
Undelete a deleted package version.
|
|
26
26
|
|
|
27
|
-
#
|
|
27
|
+
# flags.no-prompt.summary
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
Don’t prompt before deleting the package version.
|
|
30
30
|
|
|
31
|
-
#
|
|
31
|
+
# prompt-delete
|
|
32
32
|
|
|
33
33
|
Deleted package versions can’t be recovered.
|
|
34
34
|
|
|
35
35
|
Do you want to continue? (y/n)
|
|
36
36
|
|
|
37
|
-
#
|
|
37
|
+
# prompt-undelete
|
|
38
38
|
|
|
39
39
|
This will undelete the package version, which may result in unintended consequences for customers. Proceed with caution.
|
|
40
40
|
|
|
41
41
|
Do you want to continue? (y/n)
|
|
42
42
|
|
|
43
|
-
#
|
|
43
|
+
# prompt-delete-deny
|
|
44
44
|
|
|
45
45
|
The request to delete this package version has been canceled.
|
|
46
46
|
|
|
@@ -1,61 +1,58 @@
|
|
|
1
|
-
#
|
|
1
|
+
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
List all package versions in the Dev Hub org.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
# description
|
|
6
6
|
|
|
7
|
-
Use --concise or --verbose to display limited or additional details, respectively.
|
|
7
|
+
The command displays details of each package version in the org. Use --concise or --verbose to display limited or additional details, respectively.
|
|
8
8
|
|
|
9
9
|
All filter parameters are applied using the AND logical operator (not OR).
|
|
10
10
|
|
|
11
|
-
#
|
|
11
|
+
# flags.concise.summary
|
|
12
|
+
|
|
13
|
+
Display limited package version details.
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
# flags.packages.summary
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
Comma-delimited list of packages (aliases or 0Ho IDs) to list.
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
# flags.released.summary
|
|
18
20
|
|
|
19
|
-
|
|
21
|
+
Display released versions only (IsReleased=true).
|
|
20
22
|
|
|
21
|
-
|
|
23
|
+
# flags.order-by.summary
|
|
22
24
|
|
|
23
|
-
|
|
25
|
+
Package version fields used to order the list.
|
|
24
26
|
|
|
25
|
-
|
|
27
|
+
# flags.verbose.summary
|
|
26
28
|
|
|
27
|
-
|
|
29
|
+
Display extended package version details.
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
# examples
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
- List package versions in your default Dev Hub org that were created in the last 3 days; show only the released versions and order the list using the PatchVersion field. Display extended details about each package version:
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
<%= config.bin %> <%= command.id %> --verbose --created-last-days 3 --released --order-by PatchVersion
|
|
34
36
|
|
|
35
|
-
|
|
37
|
+
- List the released package versions for the two specified packages that were modified today; use the Dev Hub org with username devhub@example.com:
|
|
36
38
|
|
|
37
|
-
|
|
39
|
+
<%= config.bin %> <%= command.id %> --packages 0Ho000000000000,0Ho000000000001 --released --modified-last-days 0 --target-hub-org devhub@example.com
|
|
38
40
|
|
|
39
|
-
|
|
41
|
+
- List all released package versions in your default Dev Hub org:
|
|
40
42
|
|
|
41
|
-
|
|
43
|
+
<%= config.bin %> <%= command.id %> --released
|
|
42
44
|
|
|
43
|
-
|
|
45
|
+
- List package versions that were modified today in your default Dev Hub org; show limited details about each one:
|
|
44
46
|
|
|
45
|
-
|
|
47
|
+
<%= config.bin %> <%= command.id %> --concise --modified-last-days 0
|
|
46
48
|
|
|
47
|
-
|
|
49
|
+
- List released package versions that were created in the last 3 days in your default Dev Hub org; show limited details:
|
|
48
50
|
|
|
49
|
-
|
|
51
|
+
<%= config.bin %> <%= command.id %> --concise --created-last-days 3 --released
|
|
50
52
|
|
|
51
|
-
|
|
53
|
+
- List released package versions that were modified today for the two packages with specified aliases in your default Dev Hub org:
|
|
52
54
|
|
|
53
|
-
|
|
54
|
-
$ sfdx force:package:version:list --packages 0Ho000000000000,0Ho000000000001 --released --modifiedlastdays 0
|
|
55
|
-
$ sfdx force:package:version:list --released
|
|
56
|
-
$ sfdx force:package:version:list --concise --modifiedlastdays 0
|
|
57
|
-
$ sfdx force:package:version:list --concise -c 3 -r
|
|
58
|
-
$ sfdx force:package:version:list --packages exp-mgr,exp-mgr-util --released --modifiedlastdays 0
|
|
55
|
+
<%= config.bin %> <%= command.id %> --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
|
|
59
56
|
|
|
60
57
|
# name
|
|
61
58
|
|
|
@@ -85,7 +82,7 @@ Subscriber Package Version Id
|
|
|
85
82
|
|
|
86
83
|
Converted From Version Id
|
|
87
84
|
|
|
88
|
-
#
|
|
85
|
+
# package-id
|
|
89
86
|
|
|
90
87
|
Package Id
|
|
91
88
|
|
|
@@ -1,34 +1,40 @@
|
|
|
1
|
-
#
|
|
1
|
+
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Promote a package version to released.
|
|
4
|
+
|
|
5
|
+
# description
|
|
4
6
|
|
|
5
7
|
Supply the ID or alias of the package version you want to promote. Promotes the package version to released status.
|
|
6
8
|
|
|
7
9
|
# examples
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
- Promote the package version with the specified ID to released; uses your default Dev Hub org:
|
|
12
|
+
|
|
13
|
+
<%= config.bin %> <%= command.id %> --package 04t...
|
|
14
|
+
|
|
15
|
+
- Promote the package version with the specified alias to released; uses the Dev Hub org with username devhub@example.com:
|
|
16
|
+
|
|
17
|
+
<%= config.bin %> <%= command.id %> --package awesome_package_alias --target-hub-org devhub@example.com
|
|
12
18
|
|
|
13
|
-
|
|
19
|
+
- Promote the package version with an alias that has spaces to released:
|
|
14
20
|
|
|
15
|
-
|
|
21
|
+
<%= config.bin %> <%= command.id %> --package "Awesome Package Alias"
|
|
16
22
|
|
|
17
|
-
#
|
|
23
|
+
# flags.package.summary
|
|
18
24
|
|
|
19
|
-
|
|
25
|
+
ID (starts with 04t) or alias of the package version to promote.
|
|
20
26
|
|
|
21
27
|
# packageVersionPromoteConfirm
|
|
22
28
|
|
|
23
29
|
Are you sure you want to release package version %s? You can't undo this action. Release package (y/n)?
|
|
24
30
|
|
|
25
|
-
#
|
|
31
|
+
# promote-deny
|
|
26
32
|
|
|
27
|
-
|
|
33
|
+
Promote operation denied
|
|
28
34
|
|
|
29
|
-
#
|
|
35
|
+
# flags.no-prompt.summary
|
|
30
36
|
|
|
31
|
-
|
|
37
|
+
Don't prompt to confirm setting the package version as released.
|
|
32
38
|
|
|
33
39
|
# humanSuccess
|
|
34
40
|
|
|
@@ -40,9 +46,9 @@ You already promoted a package version with this major.minor.patch version numbe
|
|
|
40
46
|
|
|
41
47
|
# previouslyReleasedAction
|
|
42
48
|
|
|
43
|
-
Create a new package version with a different --
|
|
44
|
-
|
|
45
|
-
|
|
49
|
+
Create a new package version with a different --version-umber, then promote the package version.
|
|
50
|
+
%s package:version:create -p <name> -n <versionnum> -k <key>
|
|
51
|
+
%s package:version:promote -p 05ixxx
|
|
46
52
|
|
|
47
53
|
# hasMetadataRemovedWarning
|
|
48
54
|
|