@salesforce/packaging 4.19.0 → 4.20.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.
@@ -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
  };
@@ -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. We're unable to retrieve metadata for the package version you specified. Retrieving package metadata is available to converted 2GP package versions only. If the package you specified is a converted 2GP package, try creating a new package version, and then retry retrieving the package metadata for the new package version. If your package is a 1GP, start by converting the package to 2GP, and then retry retrieving metadata from the converted 2GP package version.
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/packaging",
3
- "version": "4.19.0",
3
+ "version": "4.20.1",
4
4
  "description": "Packaging library for the Salesforce packaging platform",
5
5
  "main": "lib/exported",
6
6
  "types": "lib/exported.d.ts",
@@ -49,7 +49,7 @@
49
49
  "@salesforce/source-deploy-retrieve": "^12.31.9",
50
50
  "@salesforce/ts-types": "^2.0.12",
51
51
  "@salesforce/types": "^1.6.0",
52
- "fast-xml-parser": "^4.5.0",
52
+ "fast-xml-parser": "^5.3.4",
53
53
  "globby": "^11",
54
54
  "graphology": "^0.26.0",
55
55
  "graphology-traversal": "^0.3.1",