@ds-sfdc/sfparty 1.3.13 → 1.3.15

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ds-sfdc/sfparty",
3
- "version": "1.3.13",
3
+ "version": "1.3.15",
4
4
  "description": "Salesforce metadata XML splitter for CI/CD",
5
5
  "type": "module",
6
6
  "repository": {
package/src/index.js CHANGED
@@ -268,9 +268,8 @@ yargs(hideBin(process.argv))
268
268
  ['$0 combine --type=permset --all'],
269
269
  ['$0 combine --type=permset --name="Permission Set Name"'],
270
270
  ])
271
- .parse()
272
271
  .help(false)
273
- .version(false)
272
+ .version(false).argv.parse
274
273
 
275
274
  if (!checkYargs)
276
275
  checkVersion({
@@ -377,7 +377,12 @@ export class Combine {
377
377
  ) {
378
378
  that.#desPkg.addMember(
379
379
  that.metadataDefinition.package[
380
- path.dirname(fileObj.fullName).split('/').pop()
380
+ that.#fileName.shortName +
381
+ '.' +
382
+ path
383
+ .dirname(fileObj.fullName)
384
+ .split('/')
385
+ .pop()
381
386
  ],
382
387
  fileObj.shortName.replace(`.${global.format}`, ''),
383
388
  )
@@ -456,7 +461,9 @@ export class Combine {
456
461
  ) {
457
462
  that.#addPkg.addMember(
458
463
  that.metadataDefinition.package[
459
- path.dirname(fileObj.fullName).split('/').pop()
464
+ that.#fileName.shortName +
465
+ '.' +
466
+ path.dirname(fileObj.fullName).split('/').pop()
460
467
  ],
461
468
  fileObj.shortName.replace(`.${global.format}`, ''),
462
469
  )