sfdx-git-delta 6.41.2 → 6.42.0
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/README.md +35 -2
- package/lib/adapter/GitAdapter.d.ts +1 -0
- package/lib/adapter/GitAdapter.js +71 -27
- package/lib/adapter/GitAdapter.js.map +1 -1
- package/lib/commands/sgd/source/delta.d.ts +2 -0
- package/lib/commands/sgd/source/delta.js +31 -1
- package/lib/commands/sgd/source/delta.js.map +1 -1
- package/lib/constant/cliConstants.d.ts +2 -0
- package/lib/constant/cliConstants.js +4 -0
- package/lib/constant/cliConstants.js.map +1 -1
- package/lib/constant/gitConstants.d.ts +1 -0
- package/lib/constant/gitConstants.js +4 -0
- package/lib/constant/gitConstants.js.map +1 -1
- package/lib/main.js +14 -4
- package/lib/main.js.map +1 -1
- package/lib/post-processor/changesManifestProcessor.d.ts +15 -0
- package/lib/post-processor/changesManifestProcessor.js +50 -0
- package/lib/post-processor/changesManifestProcessor.js.map +1 -0
- package/lib/post-processor/flowTranslationProcessor.d.ts +1 -0
- package/lib/post-processor/flowTranslationProcessor.js +12 -4
- package/lib/post-processor/flowTranslationProcessor.js.map +1 -1
- package/lib/post-processor/packageGenerator.d.ts +0 -2
- package/lib/post-processor/packageGenerator.js +7 -27
- package/lib/post-processor/packageGenerator.js.map +1 -1
- package/lib/post-processor/postProcessorManager.js +6 -1
- package/lib/post-processor/postProcessorManager.js.map +1 -1
- package/lib/service/botHandler.js +1 -0
- package/lib/service/botHandler.js.map +1 -1
- package/lib/service/inFileHandler.d.ts +2 -2
- package/lib/service/inFileHandler.js +7 -5
- package/lib/service/inFileHandler.js.map +1 -1
- package/lib/service/reportingFolderHandler.d.ts +5 -2
- package/lib/service/reportingFolderHandler.js +1 -2
- package/lib/service/reportingFolderHandler.js.map +1 -1
- package/lib/service/sharedFolderHandler.d.ts +5 -2
- package/lib/service/sharedFolderHandler.js +1 -2
- package/lib/service/sharedFolderHandler.js.map +1 -1
- package/lib/service/standardHandler.d.ts +8 -2
- package/lib/service/standardHandler.js +21 -3
- package/lib/service/standardHandler.js.map +1 -1
- package/lib/types/config.d.ts +1 -0
- package/lib/types/handlerResult.d.ts +8 -0
- package/lib/types/handlerResult.js +7 -0
- package/lib/types/handlerResult.js.map +1 -1
- package/lib/types/work.d.ts +2 -5
- package/lib/utils/changeSet.d.ts +48 -0
- package/lib/utils/changeSet.js +173 -0
- package/lib/utils/changeSet.js.map +1 -0
- package/lib/utils/configValidator.d.ts +1 -0
- package/lib/utils/configValidator.js +39 -1
- package/lib/utils/configValidator.js.map +1 -1
- package/lib/utils/metadataDiff.d.ts +1 -0
- package/lib/utils/metadataDiff.js +22 -8
- package/lib/utils/metadataDiff.js.map +1 -1
- package/lib/utils/renameResolver.d.ts +19 -0
- package/lib/utils/renameResolver.js +52 -0
- package/lib/utils/renameResolver.js.map +1 -0
- package/lib/utils/repoGitDiff.d.ts +7 -0
- package/lib/utils/repoGitDiff.js +34 -4
- package/lib/utils/repoGitDiff.js.map +1 -1
- package/messages/delta.md +12 -0
- package/npm-shrinkwrap.json +333 -342
- package/oclif.manifest.json +9 -1
- package/package.json +8 -8
- package/lib/utils/manifestAggregator.d.ts +0 -3
- package/lib/utils/manifestAggregator.js +0 -22
- package/lib/utils/manifestAggregator.js.map +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -146,6 +146,14 @@
|
|
|
146
146
|
"multiple": false,
|
|
147
147
|
"type": "option"
|
|
148
148
|
},
|
|
149
|
+
"changes-manifest": {
|
|
150
|
+
"char": "c",
|
|
151
|
+
"name": "changes-manifest",
|
|
152
|
+
"summary": "path to a JSON file grouping changed components by kind (add, modify, delete, rename); setting this flag also enables git rename detection",
|
|
153
|
+
"hasDynamicHelp": false,
|
|
154
|
+
"multiple": false,
|
|
155
|
+
"type": "option"
|
|
156
|
+
},
|
|
149
157
|
"ignore-whitespace": {
|
|
150
158
|
"char": "W",
|
|
151
159
|
"name": "ignore-whitespace",
|
|
@@ -191,5 +199,5 @@
|
|
|
191
199
|
]
|
|
192
200
|
}
|
|
193
201
|
},
|
|
194
|
-
"version": "6.
|
|
202
|
+
"version": "6.42.0"
|
|
195
203
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sfdx-git-delta",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.42.0",
|
|
4
4
|
"description": "Generate the sfdx content in source format and destructive change from two git commits",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"salesforce",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@oclif/core": "^4.10.5",
|
|
53
53
|
"@salesforce/core": "^8.28.3",
|
|
54
54
|
"@salesforce/sf-plugins-core": "^12.2.6",
|
|
55
|
-
"@salesforce/source-deploy-retrieve": "^12.
|
|
55
|
+
"@salesforce/source-deploy-retrieve": "^12.34.0",
|
|
56
56
|
"async": "^3.2.6",
|
|
57
57
|
"fast-equals": "^6.0.0",
|
|
58
58
|
"fast-xml-builder": "^1.1.5",
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"basic-ftp": "^5.3.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@biomejs/biome": "2.4.
|
|
70
|
+
"@biomejs/biome": "2.4.12",
|
|
71
71
|
"@commitlint/cli": "^20.5.0",
|
|
72
72
|
"@commitlint/config-conventional": "^20.5.0",
|
|
73
73
|
"@ls-lint/ls-lint": "^2.3.1",
|
|
74
74
|
"@oclif/plugin-help": "^6.2.44",
|
|
75
|
-
"@salesforce/cli-plugins-testkit": "^5.3.
|
|
75
|
+
"@salesforce/cli-plugins-testkit": "^5.3.53",
|
|
76
76
|
"@salesforce/dev-config": "^4.3.3",
|
|
77
77
|
"@stryker-mutator/core": "^9.6.1",
|
|
78
78
|
"@stryker-mutator/vitest-runner": "^9.6.1",
|
|
@@ -81,17 +81,17 @@
|
|
|
81
81
|
"@types/lodash": "^4.17.24",
|
|
82
82
|
"@types/lodash-es": "^4.17.12",
|
|
83
83
|
"@types/node": "^25.6.0",
|
|
84
|
-
"@vitest/coverage-v8": "^4.1.
|
|
84
|
+
"@vitest/coverage-v8": "^4.1.5",
|
|
85
85
|
"husky": "^9.1.7",
|
|
86
|
-
"knip": "^6.
|
|
86
|
+
"knip": "^6.6.1",
|
|
87
87
|
"lint-staged": "^16.4.0",
|
|
88
88
|
"lodash": "^4.18.1",
|
|
89
89
|
"oclif": "^4.23.0",
|
|
90
90
|
"shx": "^0.4.0",
|
|
91
91
|
"ts-node": "^10.9.2",
|
|
92
|
-
"typescript": "^6.0.
|
|
92
|
+
"typescript": "^6.0.3",
|
|
93
93
|
"validate-branch-name": "^1.3.2",
|
|
94
|
-
"vitest": "^4.1.
|
|
94
|
+
"vitest": "^4.1.5",
|
|
95
95
|
"wireit": "^0.14.12"
|
|
96
96
|
},
|
|
97
97
|
"scripts": {
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
import { ManifestTarget } from '../types/handlerResult.js';
|
|
3
|
-
const addToManifest = (store, type, member) => {
|
|
4
|
-
if (!store.has(type)) {
|
|
5
|
-
store.set(type, new Set());
|
|
6
|
-
}
|
|
7
|
-
store.get(type).add(member);
|
|
8
|
-
};
|
|
9
|
-
export const aggregateManifests = (result) => {
|
|
10
|
-
const manifests = {
|
|
11
|
-
package: new Map(),
|
|
12
|
-
destructiveChanges: new Map(),
|
|
13
|
-
};
|
|
14
|
-
for (const element of result.manifests) {
|
|
15
|
-
const store = element.target === ManifestTarget.Package
|
|
16
|
-
? manifests.package
|
|
17
|
-
: manifests.destructiveChanges;
|
|
18
|
-
addToManifest(store, element.type, element.member);
|
|
19
|
-
}
|
|
20
|
-
return manifests;
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=manifestAggregator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"manifestAggregator.js","sourceRoot":"","sources":["../../src/utils/manifestAggregator.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAG1D,MAAM,aAAa,GAAG,CAAC,KAAe,EAAE,IAAY,EAAE,MAAc,EAAE,EAAE;IACtE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QACrB,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,GAAG,EAAE,CAAC,CAAA;IAC5B,CAAC;IACD,KAAK,CAAC,GAAG,CAAC,IAAI,CAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;AAC9B,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,MAAqB,EAAa,EAAE;IACrE,MAAM,SAAS,GAAc;QAC3B,OAAO,EAAE,IAAI,GAAG,EAAE;QAClB,kBAAkB,EAAE,IAAI,GAAG,EAAE;KAC9B,CAAA;IAED,KAAK,MAAM,OAAO,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;QACvC,MAAM,KAAK,GACT,OAAO,CAAC,MAAM,KAAK,cAAc,CAAC,OAAO;YACvC,CAAC,CAAC,SAAS,CAAC,OAAO;YACnB,CAAC,CAAC,SAAS,CAAC,kBAAkB,CAAA;QAElC,aAAa,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAA;IACpD,CAAC;IAED,OAAO,SAAS,CAAA;AAClB,CAAC,CAAA"}
|