@salesforce/packaging 4.19.0 → 4.20.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.
|
@@ -200,6 +200,7 @@ export type PackageVersionCreateRequest = {
|
|
|
200
200
|
CalculateCodeCoverage: boolean;
|
|
201
201
|
SkipValidation: boolean;
|
|
202
202
|
AsyncValidation?: boolean;
|
|
203
|
+
IsDevUsePkgZipRequested?: boolean;
|
|
203
204
|
CalcTransitiveDependencies?: boolean;
|
|
204
205
|
};
|
|
205
206
|
export type PackageVersionListOptions = {
|
|
@@ -314,6 +315,7 @@ export type PackageVersionCreateOptions = {
|
|
|
314
315
|
skipancestorcheck: boolean;
|
|
315
316
|
skipvalidation: boolean;
|
|
316
317
|
asyncvalidation: boolean;
|
|
318
|
+
generatepkgzip?: boolean;
|
|
317
319
|
sourceorg: string;
|
|
318
320
|
tag: string;
|
|
319
321
|
uninstallscript: string;
|
|
@@ -250,6 +250,7 @@ class PackageVersionCreate {
|
|
|
250
250
|
CalculateCodeCoverage: this.options.codecoverage ?? false,
|
|
251
251
|
SkipValidation: this.options.skipvalidation ?? false,
|
|
252
252
|
AsyncValidation: this.options.asyncvalidation ?? false,
|
|
253
|
+
IsDevUsePkgZipRequested: this.options.generatepkgzip ?? false,
|
|
253
254
|
Language: this.options.language, // note: the createRequest's Language corresponds to the AllPackageVersion's language
|
|
254
255
|
CalcTransitiveDependencies: this.packageObject.calculateTransitiveDependencies ?? false,
|
|
255
256
|
};
|
package/messages/package.md
CHANGED
|
@@ -40,7 +40,7 @@ Can't retrieve package metadata. To use this feature, you must first assign your
|
|
|
40
40
|
|
|
41
41
|
# downloadDeveloperPackageZipHasNoData
|
|
42
42
|
|
|
43
|
-
Can't retrieve package metadata.
|
|
43
|
+
Can't retrieve package metadata. Package metadata is only generated for converted 2GP package versions and versions created with the --generate-pkg-zip flag. To resolve, create a new package version and retry. For native 2GP packages, include the --generate-pkg-zip flag when creating the version. For 1GP packages, first convert them to 2GP.
|
|
44
44
|
|
|
45
45
|
# packagingNotEnabledOnOrg
|
|
46
46
|
|