@salesforce/packaging 1.4.0 → 1.4.2
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.
|
@@ -225,7 +225,7 @@ export declare namespace PackagingSObjects {
|
|
|
225
225
|
EnableRss: boolean;
|
|
226
226
|
UpgradeType: Nullable<'delete-only' | 'deprecate-only' | 'mixed-mode'>;
|
|
227
227
|
ApexCompileType: Nullable<'all' | 'package'>;
|
|
228
|
-
SkipHandlers: string
|
|
228
|
+
SkipHandlers: Nullable<string>;
|
|
229
229
|
Status: 'ERROR' | 'IN_PROGRESS' | 'SUCCESS' | 'UNKNOWN';
|
|
230
230
|
Errors: Nullable<SubscriberPackageInstallErrors>;
|
|
231
231
|
};
|
|
@@ -332,7 +332,7 @@ class PackageVersionCreate {
|
|
|
332
332
|
// Next generate profiles and retrieve any profiles that were excluded because they had no matching nodes.
|
|
333
333
|
const excludedProfiles = this.options.profileApi.generateProfiles(packageVersProfileFolder, {
|
|
334
334
|
Package: typesArr,
|
|
335
|
-
}, [unpackagedMetadataPath]);
|
|
335
|
+
}, [hasUnpackagedMetadata ? unpackagedMetadataPath : null]);
|
|
336
336
|
if (excludedProfiles.length > 0) {
|
|
337
337
|
const profileIdx = typesArr.findIndex((e) => e.name[0] === 'Profile');
|
|
338
338
|
typesArr[profileIdx].members = typesArr[profileIdx].members.filter((e) => !excludedProfiles.includes(e));
|