@ds-sfdc/sfparty 1.4.9 → 1.4.10
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 +1 -1
- package/src/party/combine.js +15 -0
package/package.json
CHANGED
package/src/party/combine.js
CHANGED
|
@@ -22,6 +22,7 @@ export class Combine {
|
|
|
22
22
|
#fileName = {
|
|
23
23
|
fullName: undefined,
|
|
24
24
|
shortName: undefined,
|
|
25
|
+
profileName: undefined,
|
|
25
26
|
}
|
|
26
27
|
#errorMessage = ''
|
|
27
28
|
#frameIndex = 0
|
|
@@ -469,6 +470,20 @@ export class Combine {
|
|
|
469
470
|
return true
|
|
470
471
|
}
|
|
471
472
|
let result = fileUtils.readFile(fileObj.fullName)
|
|
473
|
+
if (
|
|
474
|
+
fileObj.fullName ==
|
|
475
|
+
path.join(
|
|
476
|
+
that.sourceDir,
|
|
477
|
+
that.metaDir,
|
|
478
|
+
`main.${global.format}`,
|
|
479
|
+
) &&
|
|
480
|
+
that.#type == 'profile'
|
|
481
|
+
) {
|
|
482
|
+
that.#fileName.profileName = path.join(
|
|
483
|
+
that.targetDir,
|
|
484
|
+
result.main.fullName + `.${that.#type}-meta.xml`,
|
|
485
|
+
)
|
|
486
|
+
}
|
|
472
487
|
|
|
473
488
|
// if split by object we need to add object back to values
|
|
474
489
|
if (
|