@ds-sfdc/sfparty 1.4.2 → 1.4.3
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/package.json
CHANGED
package/src/meta/CustomLabels.js
CHANGED
package/src/meta/Profiles.js
CHANGED
package/src/meta/Workflows.js
CHANGED
package/src/party/combine.js
CHANGED
|
@@ -6,7 +6,6 @@ import cliSpinners from 'cli-spinners'
|
|
|
6
6
|
import fs from 'fs'
|
|
7
7
|
import * as xml2js from 'xml2js'
|
|
8
8
|
import * as fileUtils from '../lib/fileUtils.js'
|
|
9
|
-
import * as packageUtil from '../lib/packageUtil.js'
|
|
10
9
|
|
|
11
10
|
const spinner = cliSpinners['dots']
|
|
12
11
|
const processed = {
|
|
@@ -156,7 +155,7 @@ export class Combine {
|
|
|
156
155
|
) {
|
|
157
156
|
if (!that.#delta || that.#addedFiles.length > 0) {
|
|
158
157
|
that.addPkg.addMember(
|
|
159
|
-
that
|
|
158
|
+
that.metadataDefinition.type,
|
|
160
159
|
that.#fileName.shortName,
|
|
161
160
|
)
|
|
162
161
|
}
|
|
@@ -164,7 +163,7 @@ export class Combine {
|
|
|
164
163
|
// only include the workflow node if main part file is delete
|
|
165
164
|
if (that.#delta && that.#mainDeleted) {
|
|
166
165
|
that.desPkg.addMember(
|
|
167
|
-
that
|
|
166
|
+
that.metadataDefinition.type,
|
|
168
167
|
that.#fileName.shortName,
|
|
169
168
|
)
|
|
170
169
|
}
|
|
@@ -195,7 +194,10 @@ export class Combine {
|
|
|
195
194
|
!that.metadataDefinition.packageTypeIsDirectory &&
|
|
196
195
|
global.git.enabled
|
|
197
196
|
) {
|
|
198
|
-
that.desPkg.addMember(
|
|
197
|
+
that.desPkg.addMember(
|
|
198
|
+
that.metadataDefinition.type,
|
|
199
|
+
that.#fileName.shortName,
|
|
200
|
+
)
|
|
199
201
|
}
|
|
200
202
|
deleteFile(that, that.#fileName.fullName)
|
|
201
203
|
return 'deleted'
|
|
@@ -443,7 +445,7 @@ export class Combine {
|
|
|
443
445
|
that.metadataDefinition.packageTypeIsDirectory
|
|
444
446
|
) {
|
|
445
447
|
that.desPkg.addMember(
|
|
446
|
-
that
|
|
448
|
+
that.metadataDefinition.type,
|
|
447
449
|
fileObj.shortName.replace(`.${global.format}`, ''),
|
|
448
450
|
)
|
|
449
451
|
}
|
|
@@ -524,7 +526,7 @@ export class Combine {
|
|
|
524
526
|
)
|
|
525
527
|
} else if (that.metadataDefinition.packageTypeIsDirectory) {
|
|
526
528
|
that.addPkg.addMember(
|
|
527
|
-
that
|
|
529
|
+
that.metadataDefinition.type,
|
|
528
530
|
fileObj.shortName.replace(`.${global.format}`, ''),
|
|
529
531
|
)
|
|
530
532
|
}
|