@ds-sfdc/sfparty 1.2.4 → 1.2.5
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/deploy/destructiveChanges/destructiveChanges.xml +4 -0
- package/deploy/destructiveChanges/package.xml +4 -0
- package/deploy/package/package.xml +4 -0
- package/examples/manifest/package.xml +1151 -0
- package/force-app-party/main/default/labels/CustomLabels/labels/Description.yaml +1 -1
- package/manifest/package.xml +1151 -0
- package/package.json +1 -1
- package/sfdx-project.json +1 -1
- package/src/lib/fileUtils.js +1 -1
- package/src/lib/gitUtils.js +0 -3
- package/src/party/combine.js +0 -1
- package/src/party/split.js +8 -5
package/package.json
CHANGED
package/sfdx-project.json
CHANGED
package/src/lib/fileUtils.js
CHANGED
package/src/lib/gitUtils.js
CHANGED
|
@@ -49,9 +49,6 @@ export function diff(dir, gitRef) {
|
|
|
49
49
|
gitData.forEach((gitRow, index) => {
|
|
50
50
|
if (gitRow.indexOf('\t') !== -1 &&(index < count || lastIndex + 1 == gitString)) {
|
|
51
51
|
const file = gitRow.split('\t')
|
|
52
|
-
if (file.slice(-1)[0] == 'uthorizationFormConsent.yaml') {
|
|
53
|
-
let test = true
|
|
54
|
-
}
|
|
55
52
|
if (file.slice(-1) !== '') {
|
|
56
53
|
files.push({
|
|
57
54
|
type: status[(file[0] === file.slice(-1)) ? 'A' : Array.from(file[0])[0]],
|
package/src/party/combine.js
CHANGED
package/src/party/split.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
3
|
import path from 'path'
|
|
4
|
-
import fs from 'fs'
|
|
5
|
-
import os from 'os'
|
|
6
4
|
import { readFile } from 'fs'
|
|
7
5
|
import { Parser } from 'xml2js'
|
|
8
6
|
import logUpdate from 'log-update'
|
|
@@ -62,8 +60,14 @@ export class Split {
|
|
|
62
60
|
throw 'The file path cannot be empty'
|
|
63
61
|
}
|
|
64
62
|
this._metaFilePath = value
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
let fileName = fileUtils.fileInfo(value).filename
|
|
64
|
+
|
|
65
|
+
// Use actual file name if found so it matches case sensitivity
|
|
66
|
+
let foundFile = fileUtils.getFiles(path.dirname(value), fileName)
|
|
67
|
+
if (foundFile.length > 0) fileName = path.basename(foundFile[0])
|
|
68
|
+
|
|
69
|
+
this.#fileName.shortName = fileName.replace(`.${this.#type}-meta.xml`, '')
|
|
70
|
+
this.#fileName.fullName = fileName
|
|
67
71
|
}
|
|
68
72
|
|
|
69
73
|
split() {
|
|
@@ -305,7 +309,6 @@ function keySort(that, key, json) {
|
|
|
305
309
|
return accumulator
|
|
306
310
|
}, {})
|
|
307
311
|
} catch (error) {
|
|
308
|
-
let test = key
|
|
309
312
|
throw error
|
|
310
313
|
}
|
|
311
314
|
}, json)
|