@salesforce/plugin-packaging 1.10.4 → 1.10.6
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/lib/commands/force/package/beta/create.js +2 -3
- package/lib/commands/force/package/beta/create.js.map +1 -1
- package/lib/commands/force/package/beta/installed/list.js +1 -1
- package/lib/commands/force/package/beta/installed/list.js.map +1 -1
- package/lib/commands/force/package/beta/list.js +1 -1
- package/lib/commands/force/package/beta/list.js.map +1 -1
- package/lib/commands/force/package/beta/version/create.d.ts +1 -0
- package/lib/commands/force/package/beta/version/create.js +2 -1
- package/lib/commands/force/package/beta/version/create.js.map +1 -1
- package/lib/commands/force/package/beta/version/displayancestry.js +1 -5
- package/lib/commands/force/package/beta/version/displayancestry.js.map +1 -1
- package/lib/commands/force/package/beta/version/list.js +3 -5
- package/lib/commands/force/package/beta/version/list.js.map +1 -1
- package/messages/package1_version_create.md +0 -28
- package/messages/package1_version_display.md +0 -4
- package/messages/package1_version_list.md +0 -16
- package/messages/package_convert.md +0 -8
- package/messages/package_create.md +0 -9
- package/messages/package_displayancestry.md +0 -24
- package/messages/package_install.md +0 -44
- package/messages/package_install_report.md +0 -13
- package/messages/package_installed_list.md +0 -4
- package/messages/package_uninstall.md +0 -28
- package/messages/package_uninstall_report.md +0 -9
- package/messages/package_version_create.md +0 -90
- package/messages/package_version_create_report.md +0 -10
- package/messages/package_version_delete.md +0 -4
- package/messages/package_version_promote.md +4 -0
- package/messages/package_version_update.md +0 -4
- package/messages/packaging.md +0 -142
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
- package/messages/package2.md +0 -87
- package/messages/package2_create.md +0 -57
- package/messages/package2_list.md +0 -35
- package/messages/package2_update.md +0 -46
- package/messages/package2_version_create.md +0 -150
- package/messages/package2_version_create_get.md +0 -35
- package/messages/package2_version_create_list.md +0 -63
- package/messages/package2_version_get.md +0 -15
- package/messages/package2_version_list.md +0 -99
- package/messages/package2_version_update.md +0 -90
- package/messages/package_install_get.md +0 -33
- package/messages/package_install_request.md +0 -33
- package/messages/package_uninstall_get.md +0 -33
- package/messages/utils.md +0 -19
|
@@ -6,8 +6,6 @@ create a package version
|
|
|
6
6
|
|
|
7
7
|
Creates a package version in the Dev Hub org.
|
|
8
8
|
|
|
9
|
-
# help
|
|
10
|
-
|
|
11
9
|
The package version is based on the package contents in the specified directory.
|
|
12
10
|
|
|
13
11
|
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...".
|
|
@@ -51,14 +49,6 @@ path to a definition file similar to scratch org definition file that contains t
|
|
|
51
49
|
|
|
52
50
|
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
51
|
|
|
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
52
|
# branch
|
|
63
53
|
|
|
64
54
|
the package version’s branch
|
|
@@ -127,14 +117,6 @@ the instance where the package version will be created——for example, NA50
|
|
|
127
117
|
|
|
128
118
|
The instance where the package version will be created——for example, NA50.
|
|
129
119
|
|
|
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
120
|
# versionname
|
|
139
121
|
|
|
140
122
|
the name of the package version to be created
|
|
@@ -195,10 +177,6 @@ Overrides ancestry requirements.
|
|
|
195
177
|
|
|
196
178
|
Override ancestry requirements, which allows you to specify a package ancestor that isn’t the highest released package version.
|
|
197
179
|
|
|
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
180
|
# postInstallUrl
|
|
203
181
|
|
|
204
182
|
post-install URL
|
|
@@ -223,18 +201,6 @@ uninstall script name; managed packages only
|
|
|
223
201
|
|
|
224
202
|
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
203
|
|
|
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
204
|
# InProgress
|
|
239
205
|
|
|
240
206
|
Package version creation request status is '%s'. Run "sfdx force:package:version:create:report -i %s" to query for status.
|
|
@@ -245,58 +211,6 @@ Successfully created the package version [%s]. Subscriber Package Version Id: %s
|
|
|
245
211
|
Package Installation URL: %s%s
|
|
246
212
|
As an alternative, you can use the "sfdx force:package:install" command.
|
|
247
213
|
|
|
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
|
-
# errorCouldNotFindPackageUsingPath
|
|
289
|
-
|
|
290
|
-
Could not find a package in sfdx-project.json file using "path" %s. Add it to the packageDirectories section and add the alias to packageAliases with its 0Ho ID.
|
|
291
|
-
|
|
292
|
-
# errorEmptyPackageDirs
|
|
293
|
-
|
|
294
|
-
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.
|
|
295
|
-
|
|
296
|
-
# errorProfileUserLicensesInvalidValue
|
|
297
|
-
|
|
298
|
-
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.
|
|
299
|
-
|
|
300
214
|
# errorPathNotFound
|
|
301
215
|
|
|
302
216
|
The directory [%s] doesn’t exist in the current directory.
|
|
@@ -305,10 +219,6 @@ The directory [%s] doesn’t exist in the current directory.
|
|
|
305
219
|
|
|
306
220
|
Multiple errors occurred:
|
|
307
221
|
|
|
308
|
-
# malformedUrl
|
|
309
|
-
|
|
310
|
-
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
|
|
311
|
-
|
|
312
222
|
# requestInProgress
|
|
313
223
|
|
|
314
224
|
Version create.
|
|
@@ -18,13 +18,3 @@ package version creation request ID (starts with 08c)
|
|
|
18
18
|
# requestIdLong
|
|
19
19
|
|
|
20
20
|
The ID (starts with 08c) of the package version creation request you want to display.
|
|
21
|
-
|
|
22
|
-
# error
|
|
23
|
-
|
|
24
|
-
Error
|
|
25
|
-
|
|
26
|
-
# truncatedErrors
|
|
27
|
-
|
|
28
|
-
...
|
|
29
|
-
|
|
30
|
-
To see all errors, run: sfdx force:data:soql:query -t -q "SELECT Message FROM Package2VersionCreateRequestError WHERE ParentRequest.Id ='%s'"
|
|
@@ -43,3 +43,7 @@ You already promoted a package version with this major.minor.patch version numbe
|
|
|
43
43
|
Create a new package version with a different --versionumber, then promote the package version.
|
|
44
44
|
sfdx force:package:version:create -p <name> -n <versionnum> -k <key>
|
|
45
45
|
sfdx force:package:version:promote -p 05ixxx
|
|
46
|
+
|
|
47
|
+
# hasMetadataRemovedWarning
|
|
48
|
+
|
|
49
|
+
The package version you've created doesn't contain metadata components that were in the package version's ancestor.
|
|
@@ -63,7 +63,3 @@ The new installation key for the key-protected package. The default is null.
|
|
|
63
63
|
# success
|
|
64
64
|
|
|
65
65
|
Successfully updated the package version.
|
|
66
|
-
|
|
67
|
-
# previousReleased
|
|
68
|
-
|
|
69
|
-
To release the new package version, run "sfdx force:package:version:update -s <new package version ID>".
|
package/messages/packaging.md
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
# topicHelp
|
|
2
|
-
|
|
3
|
-
develop, install, and manage packages
|
|
4
|
-
|
|
5
|
-
# topicHelpLong
|
|
6
|
-
|
|
7
|
-
Use the package commands to develop, install, and manage packages.
|
|
8
|
-
|
|
9
1
|
# createdLastDaysDescription
|
|
10
2
|
|
|
11
3
|
created in the last specified number of days (starting at 00:00:00 of first day to now; 0 for today)
|
|
@@ -21,137 +13,3 @@ list items modified in the specified last number of days (starting at 00:00:00 o
|
|
|
21
13
|
# modifiedLastDaysLongDescription
|
|
22
14
|
|
|
23
15
|
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
|
-
# invalidIdOrAlias
|
|
26
|
-
|
|
27
|
-
The %s: %s isn't defined in the sfdx-project.json. Add it to the packageDirectories section and add the alias to packageAliases with its %s ID.
|
|
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
|
-
# packageNotEnabledAction
|
|
38
|
-
|
|
39
|
-
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
|
-
# packageInstanceNotEnabled
|
|
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
|
-
# packageSourceOrgNotEnabled
|
|
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
|
-
# errorInvalidBuildNumberForKeywords
|
|
66
|
-
|
|
67
|
-
The provided VersionNumber '%s' is invalid. Provide an integer value or use the keyword '%s' or '%s' for the build number.
|
|
68
|
-
|
|
69
|
-
# errorInvalidPatchNumber
|
|
70
|
-
|
|
71
|
-
The provided VersionNumber '%s' is not supported. Provide a patch number of 0.
|
|
72
|
-
|
|
73
|
-
# errorInvalidMajorMinorNumber
|
|
74
|
-
|
|
75
|
-
The provided VersionNumber '%s' is invalid. Provide an integer value for the %s number.
|
|
76
|
-
|
|
77
|
-
# errorInvalidAncestorVersionFormat
|
|
78
|
-
|
|
79
|
-
The ancestor versionNumber must be in the format major.minor.patch but the value found is [%s].
|
|
80
|
-
|
|
81
|
-
# errorNoMatchingMajorMinorForPatch
|
|
82
|
-
|
|
83
|
-
Can’t create patch version. The specified package ancestor [%s] either isn’t a promoted and released version, or can’t be found. Check the specified ancestor version, and then retry creating the patch version.
|
|
84
|
-
|
|
85
|
-
# errorNoMatchingAncestor
|
|
86
|
-
|
|
87
|
-
The ancestorId for ancestorVersion [%s] can't be found. Package ID [%s].
|
|
88
|
-
|
|
89
|
-
# errorAncestorNotReleased
|
|
90
|
-
|
|
91
|
-
The ancestor package version [%s] specified in the sfdx-project.json file hasn’t been promoted and released. Release the ancestor package version before specifying it as the ancestor in a new package or patch version.
|
|
92
|
-
|
|
93
|
-
# errorAncestorNotHighest
|
|
94
|
-
|
|
95
|
-
Can’t create package version. The ancestor version [%s] you specified isn’t the highest released package version. Set the ancestor version to %s, and try creating the package version again. You can also specify --skipancestorcheck to override the ancestry requirement.
|
|
96
|
-
|
|
97
|
-
# errorAncestorNoneNotAllowed
|
|
98
|
-
|
|
99
|
-
Can’t create package version because you didn’t specify a package ancestor. Set the ancestor version to %s, and try creating the package version. You can also specify --skipancestorcheck to override the ancestry requirement.
|
|
100
|
-
|
|
101
|
-
# errorAncestorIdVersionMismatch
|
|
102
|
-
|
|
103
|
-
Can’t create package version. The ancestorVersion listed in your sfdx-project.json file doesn’t map to this package. Ensure the ancestor ID is correct, or set the ID to ancestorID:HIGHEST to ensure the highest released package version is used as the ancestor. Then try creating the package version again.
|
|
104
|
-
|
|
105
|
-
# errorAncestorIdVersionHighestOrNoneMismatch
|
|
106
|
-
|
|
107
|
-
Can’t create package version. The ancestorId [%s] and ancestorVersion [%s] in your sfdx-project.json file don’t map to the same package version. Remove the incorrect entry, and try creating the package version again.
|
|
108
|
-
|
|
109
|
-
# errorpackageAncestorIdsKeyNotSupported
|
|
110
|
-
|
|
111
|
-
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.
|
|
112
|
-
|
|
113
|
-
# errorInvalidIdNoMatchingVersionId
|
|
114
|
-
|
|
115
|
-
The %s %s is invalid, as a corresponding %s was not found
|
|
116
|
-
|
|
117
|
-
# errorIdTypeMismatch
|
|
118
|
-
|
|
119
|
-
ID type mismatch: an ID of type %s is required, but an ID of type %s was specified: %s
|
|
120
|
-
|
|
121
|
-
# updatedSfProject
|
|
122
|
-
|
|
123
|
-
sfdx-project.json has been updated.
|
|
124
|
-
|
|
125
|
-
# errorSfProjectFileWrite
|
|
126
|
-
|
|
127
|
-
sfdx-project.json could not be updated with the following entry for this package:
|
|
128
|
-
%s
|
|
129
|
-
Reason: %s
|
|
130
|
-
|
|
131
|
-
# invalidPackageTypeAction
|
|
132
|
-
|
|
133
|
-
Specify Unlocked or Managed for package type.
|
|
134
|
-
|
|
135
|
-
# invalidPackageTypeMessage
|
|
136
|
-
|
|
137
|
-
Invalid package type
|
|
138
|
-
|
|
139
|
-
# idNotFoundAction
|
|
140
|
-
|
|
141
|
-
It`s possible that this package was created on a different Dev Hub. Authenticate to the Dev Hub org that owns the package, and reference that Dev Hub when running the command.
|
|
142
|
-
|
|
143
|
-
# malformedPackageVersionIdAction
|
|
144
|
-
|
|
145
|
-
Use "sfdx force:package:version:list" to verify the 05i package version ID.
|
|
146
|
-
|
|
147
|
-
# malformedPackageVersionIdMessage
|
|
148
|
-
|
|
149
|
-
We can’t find this package version ID for this Dev Hub.
|
|
150
|
-
|
|
151
|
-
# malformedPackageIdAction
|
|
152
|
-
|
|
153
|
-
Use "sfdx force:package:list" to verify the 0Ho package version ID.
|
|
154
|
-
|
|
155
|
-
# malformedPackageIdMessage
|
|
156
|
-
|
|
157
|
-
We can’t find this package ID for this Dev Hub.
|