@jayree/sfdx-plugin-manifest 2.2.5 → 2.2.8
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +32 -0
- package/README.md +13 -12
- package/lib/commands/jayree/manifest/generate.js +5 -68
- package/lib/commands/jayree/manifest/generate.js.map +1 -1
- package/lib/commands/jayree/manifest/git/diff.js +4 -5
- package/lib/commands/jayree/manifest/git/diff.js.map +1 -1
- package/lib/utils/gitdiff.d.ts +1 -0
- package/lib/utils/gitdiff.js +39 -34
- package/lib/utils/gitdiff.js.map +1 -1
- package/messages/gitdiff.js +3 -6
- package/oclif.manifest.json +1 -1
- package/package.json +50 -36
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,35 @@
|
|
1
|
+
## [2.2.8](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.2.7...v2.2.8) (2022-08-02)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* **deps:** bump @oclif/core from 1.12.1 to 1.13.0 ([6764a85](https://github.com/jayree/sfdx-plugin-manifest/commit/6764a850fbd199e34e2093397000f45f0e7d1ea4))
|
7
|
+
* **deps:** bump @salesforce/kit from 1.5.44 to 1.5.45 ([9420779](https://github.com/jayree/sfdx-plugin-manifest/commit/9420779e93f1ec65b92c3a8729de109ee953cea8))
|
8
|
+
|
9
|
+
## [2.2.7](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.2.6...v2.2.7) (2022-07-26)
|
10
|
+
|
11
|
+
|
12
|
+
### Bug Fixes
|
13
|
+
|
14
|
+
* **deps:** bump @oclif/core from 1.9.3 to 1.12.1 ([d319ac7](https://github.com/jayree/sfdx-plugin-manifest/commit/d319ac7a14695d5ab0fc843f5c1ade2089f95378))
|
15
|
+
* **deps:** bump @salesforce/kit from 1.5.42 to 1.5.44 ([1cb9ce7](https://github.com/jayree/sfdx-plugin-manifest/commit/1cb9ce7755690ab62ac5983ab548d36c4a148d27))
|
16
|
+
* **deps:** bump @salesforce/source-deploy-retrieve from 6.0.4 to 6.2.6 ([b1bc5b6](https://github.com/jayree/sfdx-plugin-manifest/commit/b1bc5b6db5457329336b35cef197ca3f660043a9))
|
17
|
+
* **deps:** bump fast-xml-parser from 4.0.8 to 4.0.9 ([e067348](https://github.com/jayree/sfdx-plugin-manifest/commit/e067348a74b54425a5c76a8a578865b6e8901e5d))
|
18
|
+
* **deps:** bump isomorphic-git from 1.18.3 to 1.19.0 ([cdd7253](https://github.com/jayree/sfdx-plugin-manifest/commit/cdd725337544cd1b7697a30927410658a8c777d4))
|
19
|
+
* **deps:** bump isomorphic-git from 1.19.0 to 1.19.1 ([6b7a8aa](https://github.com/jayree/sfdx-plugin-manifest/commit/6b7a8aaf68d3bcfe3173b5bdcd23490a3d3b3dec))
|
20
|
+
* **deps:** bump listr2 from 4.0.5 to 5.0.1 ([72b2adb](https://github.com/jayree/sfdx-plugin-manifest/commit/72b2adb71a01ce4e13d74dfed2faf01a417bc1c9))
|
21
|
+
* **deps:** bump marked from 4.0.17 to 4.0.18 ([70efd50](https://github.com/jayree/sfdx-plugin-manifest/commit/70efd506113d58a8df877c5860ace146eb5e8bc2))
|
22
|
+
|
23
|
+
## [2.2.6](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.2.5...v2.2.6) (2022-06-19)
|
24
|
+
|
25
|
+
|
26
|
+
### Bug Fixes
|
27
|
+
|
28
|
+
* **deps:** bump @oclif/core from 1.9.0 to 1.9.3 ([fa49218](https://github.com/jayree/sfdx-plugin-manifest/commit/fa4921879fde4fb9578450cea42c19f7f9af48aa))
|
29
|
+
* **deps:** bump @salesforce/source-deploy-retrieve from 6.0.2 to 6.0.4 ([ac70433](https://github.com/jayree/sfdx-plugin-manifest/commit/ac704338ad193d5aec30fdc363baff7068825f83))
|
30
|
+
* **deps:** bump isomorphic-git from 1.17.3 to 1.18.3 ([dbd63dc](https://github.com/jayree/sfdx-plugin-manifest/commit/dbd63dc8e07954e1073f5df4b57e70a5cc297ba7))
|
31
|
+
* **deps:** bump marked from 4.0.16 to 4.0.17 ([8db1462](https://github.com/jayree/sfdx-plugin-manifest/commit/8db1462b1426b36d711c5eb7c0bed81aa87794eb))
|
32
|
+
|
1
33
|
## [2.2.5](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.2.4...v2.2.5) (2022-06-04)
|
2
34
|
|
3
35
|
|
package/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# @jayree/sfdx-plugin-manifest
|
2
2
|
|
3
|
-
|
3
|
+
A Salesforce CLI plugin containing commands for creating manifest files from Salesforce orgs or git commits of sfdx projects.
|
4
4
|
|
5
5
|
[![sfdx](https://img.shields.io/badge/cli-sfdx-brightgreen.svg)](https://developer.salesforce.com/tools/sfdxcli)
|
6
6
|
[![Version](https://img.shields.io/npm/v/@jayree/sfdx-plugin-manifest.svg)](https://npmjs.org/package/@jayree/sfdx-plugin-manifest)
|
@@ -9,22 +9,29 @@ jayree sfdx manifest commands
|
|
9
9
|
[![License](https://img.shields.io/npm/l/@jayree/sfdx-plugin-manifest.svg)](https://github.com/jayree-plugins/sfdx-plugin-manifest/blob/main/package.json)
|
10
10
|
|
11
11
|
<!-- toc -->
|
12
|
-
|
12
|
+
* [Usage](#usage)
|
13
|
+
* [Commands](#commands)
|
13
14
|
<!-- tocstop -->
|
14
15
|
<!-- install -->
|
16
|
+
|
17
|
+
## Usage
|
18
|
+
|
15
19
|
<!-- usage -->
|
16
20
|
```sh-session
|
17
21
|
$ sfdx plugins:install @jayree/sfdx-plugin-manifest
|
18
22
|
$ sfdx jayree:[COMMAND]
|
19
23
|
running command...
|
20
24
|
$ sfdx plugins
|
21
|
-
@jayree/sfdx-plugin-manifest 2.2.
|
25
|
+
@jayree/sfdx-plugin-manifest 2.2.8
|
22
26
|
$ sfdx help jayree:[COMMAND]
|
23
27
|
USAGE
|
24
28
|
$ sfdx jayree:COMMAND
|
25
29
|
...
|
26
30
|
```
|
27
31
|
<!-- usagestop -->
|
32
|
+
|
33
|
+
## Commands
|
34
|
+
|
28
35
|
<!-- commands -->
|
29
36
|
* [`sfdx jayree:manifest:cleanup`](#sfdx-jayreemanifestcleanup)
|
30
37
|
* [`sfdx jayree:manifest:generate`](#sfdx-jayreemanifestgenerate)
|
@@ -58,7 +65,7 @@ EXAMPLES
|
|
58
65
|
$ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml
|
59
66
|
```
|
60
67
|
|
61
|
-
_See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.
|
68
|
+
_See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.8/src/commands/jayree/manifest/cleanup.ts)_
|
62
69
|
|
63
70
|
### `sfdx jayree:manifest:generate`
|
64
71
|
|
@@ -102,7 +109,7 @@ EXAMPLES
|
|
102
109
|
<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
|
103
110
|
```
|
104
111
|
|
105
|
-
_See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.
|
112
|
+
_See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.8/src/commands/jayree/manifest/generate.ts)_
|
106
113
|
|
107
114
|
### `sfdx jayree:manifest:git:diff`
|
108
115
|
|
@@ -143,24 +150,18 @@ EXAMPLES
|
|
143
150
|
|
144
151
|
uses the changes between two arbitrary <commit>
|
145
152
|
|
146
|
-
|
147
|
-
|
148
153
|
$ sfdx jayree:manifest:git:diff <commit>...<commit>
|
149
154
|
|
150
155
|
uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both <commit>.
|
151
156
|
|
152
|
-
|
153
|
-
|
154
157
|
$ sfdx jayree:manifest:git:diff branchA..branchB
|
155
158
|
|
156
159
|
uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1)
|
157
160
|
|
158
|
-
|
159
|
-
|
160
161
|
$ sfdx jayree:manifest:git:diff branchA...branchB
|
161
162
|
|
162
163
|
uses the diff of what is unique in branchB (REF2)
|
163
164
|
```
|
164
165
|
|
165
|
-
_See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.
|
166
|
+
_See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.8/src/commands/jayree/manifest/git/diff.ts)_
|
166
167
|
<!-- commandsstop -->
|
@@ -12,73 +12,13 @@ const core_1 = require("@salesforce/core");
|
|
12
12
|
const source_deploy_retrieve_1 = require("@salesforce/source-deploy-retrieve");
|
13
13
|
const utils_1 = require("@salesforce/source-deploy-retrieve/lib/src/utils");
|
14
14
|
const fs = require("fs-extra");
|
15
|
-
const source_deploy_retrieve_2 = require("@salesforce/source-deploy-retrieve");
|
16
|
-
const utils_2 = require("@salesforce/source-deploy-retrieve/lib/src/utils");
|
17
15
|
const jayreeSfdxCommand_1 = require("../../../jayreeSfdxCommand");
|
18
|
-
source_deploy_retrieve_2.ConnectionResolver.prototype.resolve = async function (componentFilter = (component) => !!component) {
|
19
|
-
var _a;
|
20
|
-
const Aggregator = [];
|
21
|
-
const childrenPromises = [];
|
22
|
-
const componentTypes = new Set();
|
23
|
-
const componentPromises = [];
|
24
|
-
for (const type of Object.values(source_deploy_retrieve_2.registry.types)) {
|
25
|
-
// eslint-disable-next-line
|
26
|
-
componentPromises.push(this.listMembers({ type: type.name }));
|
27
|
-
}
|
28
|
-
for await (const componentResult of componentPromises) {
|
29
|
-
for (const component of componentResult) {
|
30
|
-
let componentType;
|
31
|
-
if (typeof component.type === 'string' && component.type.length) {
|
32
|
-
// eslint-disable-next-line
|
33
|
-
componentType = this.registry.getTypeByName(component.type);
|
34
|
-
}
|
35
|
-
else {
|
36
|
-
// eslint-disable-next-line
|
37
|
-
componentType = this.registry.getTypeBySuffix((0, utils_2.extName)(component.fileName));
|
38
|
-
component.type = componentType.name;
|
39
|
-
}
|
40
|
-
Aggregator.push(component);
|
41
|
-
componentTypes.add(componentType);
|
42
|
-
const folderContentType = componentType.folderContentType;
|
43
|
-
if (folderContentType) {
|
44
|
-
childrenPromises.push(
|
45
|
-
// eslint-disable-next-line
|
46
|
-
this.listMembers({
|
47
|
-
// eslint-disable-next-line
|
48
|
-
type: this.registry.getTypeByName(folderContentType).name,
|
49
|
-
folder: component.fullName,
|
50
|
-
}));
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|
54
|
-
for (const componentType of componentTypes) {
|
55
|
-
const childTypes = (_a = componentType.children) === null || _a === void 0 ? void 0 : _a.types;
|
56
|
-
if (childTypes) {
|
57
|
-
Object.values(childTypes).map((childType) => {
|
58
|
-
// eslint-disable-next-line
|
59
|
-
childrenPromises.push(this.listMembers({ type: childType.name }));
|
60
|
-
});
|
61
|
-
}
|
62
|
-
}
|
63
|
-
for await (const childrenResult of childrenPromises) {
|
64
|
-
Aggregator.push(...childrenResult);
|
65
|
-
}
|
66
|
-
return {
|
67
|
-
components: Aggregator.filter(componentFilter).map((component) => {
|
68
|
-
// eslint-disable-next-line
|
69
|
-
return { fullName: component.fullName, type: this.registry.getTypeByName(component.type) };
|
70
|
-
}),
|
71
|
-
// eslint-disable-next-line
|
72
|
-
apiVersion: this.connection.getApiVersion(),
|
73
|
-
};
|
74
|
-
};
|
75
16
|
const registryAccess = new source_deploy_retrieve_1.RegistryAccess();
|
76
17
|
core_1.Messages.importMessagesDirectory(__dirname);
|
77
18
|
const messages = core_1.Messages.loadMessages('@jayree/sfdx-plugin-manifest', 'manifestgenerate');
|
78
19
|
class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
|
79
20
|
// eslint-disable-next-line complexity
|
80
21
|
async run() {
|
81
|
-
var _a, _b, _c, _d;
|
82
22
|
await this.org.refreshAuth();
|
83
23
|
const file = this.getFlag('file');
|
84
24
|
this.ux.startSpinner(`Generating ${file || 'package.xml'}`);
|
@@ -98,12 +38,9 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
|
|
98
38
|
componentFilter,
|
99
39
|
});
|
100
40
|
if (this.getFlag('includeflowversions')) {
|
101
|
-
const
|
102
|
-
|
103
|
-
|
104
|
-
for (const component of flowResult.filter(componentFilter)) {
|
105
|
-
componentSet.add({ fullName: component.fullName, type: registryAccess.getTypeByName(component.type) });
|
106
|
-
}
|
41
|
+
const flowResult = await this.listMembers({ type: 'Flow' }, '43.0');
|
42
|
+
for (const component of flowResult.filter(componentFilter)) {
|
43
|
+
componentSet.add({ fullName: component.fullName, type: registryAccess.getTypeByName(component.type) });
|
107
44
|
}
|
108
45
|
}
|
109
46
|
const quickFilter = this.getFlag('quickfilter');
|
@@ -134,8 +71,8 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
|
|
134
71
|
.toString()})`));
|
135
72
|
const flowDefinitionRecods = flowDefinitionQuery.records;
|
136
73
|
for (const record of flowDefinitionRecods) {
|
137
|
-
if (
|
138
|
-
this.ux.log(`DeveloperName: ${record.DeveloperName}, ActiveVersion: ${
|
74
|
+
if (record.LatestVersion?.VersionNumber !== record.ActiveVersion?.VersionNumber) {
|
75
|
+
this.ux.log(`DeveloperName: ${record.DeveloperName}, ActiveVersion: ${record.ActiveVersion?.VersionNumber}, LatestVersion: ${record.LatestVersion?.VersionNumber}`);
|
139
76
|
}
|
140
77
|
}
|
141
78
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../src/commands/jayree/manifest/generate.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AAEzD,2CAAwD;AACxD,+EAAyG;AACzG,4EAAoF;AACpF,+BAA+B;AAC/B
|
1
|
+
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../src/commands/jayree/manifest/generate.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AAEzD,2CAAwD;AACxD,+EAAyG;AACzG,4EAAoF;AACpF,+BAA+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CAAC,gBAAgB,CAAC;KAC9B,CAAC;CACH,CAAC;AAEe,mCAAgB,GAAG,IAAI,CAAC;AACxB,yCAAsB,GAAG,KAAK,CAAC;AAC/B,kCAAe,GAAG,KAAK,CAAC"}
|
@@ -37,7 +37,6 @@ const unexpectedArgument = async (input) => {
|
|
37
37
|
};
|
38
38
|
class GitDiff extends jayreeSfdxCommand_1.JayreeSfdxCommand {
|
39
39
|
async run() {
|
40
|
-
var _a, _b;
|
41
40
|
this.destructiveChangesOnly = this.getFlag('destructivechangesonly');
|
42
41
|
this.outputDir = this.getFlag('outputdir');
|
43
42
|
this.projectRoot = this.project.getPath();
|
@@ -106,7 +105,7 @@ class GitDiff extends jayreeSfdxCommand_1.JayreeSfdxCommand {
|
|
106
105
|
},
|
107
106
|
{
|
108
107
|
// title: 'Error output',
|
109
|
-
skip: () => !
|
108
|
+
skip: () => !this.outputErrors?.length,
|
110
109
|
task: (ctx, task) => {
|
111
110
|
(0, gitdiff_1.debug)({ errors: this.outputErrors });
|
112
111
|
const moreErrors = this.outputErrors.splice(5);
|
@@ -119,7 +118,7 @@ class GitDiff extends jayreeSfdxCommand_1.JayreeSfdxCommand {
|
|
119
118
|
},
|
120
119
|
{
|
121
120
|
title: 'Generate manifests',
|
122
|
-
skip: () => !
|
121
|
+
skip: () => !this.componentSet?.size,
|
123
122
|
task: (ctx, task) => task.newListr([
|
124
123
|
{
|
125
124
|
title: (0, path_1.relative)(this.projectRoot, this.manifest),
|
@@ -148,8 +147,8 @@ class GitDiff extends jayreeSfdxCommand_1.JayreeSfdxCommand {
|
|
148
147
|
try {
|
149
148
|
await tasks.run();
|
150
149
|
return {
|
151
|
-
destructiveChanges:
|
152
|
-
manifest:
|
150
|
+
destructiveChanges: this.componentSet?.getObject(source_deploy_retrieve_1.DestructiveChangesType.POST),
|
151
|
+
manifest: this.componentSet?.getObject(),
|
153
152
|
};
|
154
153
|
}
|
155
154
|
catch (e) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"diff.js","sourceRoot":"","sources":["../../../../../src/commands/jayree/manifest/git/diff.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,+BAA+C;AAE/C,iDAAyD;AACzD,2CAA4C;AAE5C,+BAA+B;AAC/B,mCAAuC;AACvC,uCAAuC;AACvC,+EAK4C;AAC5C,qEAAkE;AAClE,uDASmC;AAEnC,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,SAAS,CAAC,CAAC;AAElF,MAAM,MAAM,GAAG,IAAI,eAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC;AAE/C,2DAA2D;AAC3D,6DAA6D;AAC7D,MAAM,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC;AAErC,OAAO,CAAC,WAAW,GAAG,CAAC,OAAe,EAAQ,EAAE;IAC9C,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,GAAG,EAAE;QAC9B,OAAO,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,4DAA4D;AAC5D,MAAM,kBAAkB,GAAG,KAAK,EAAE,KAAa,EAAmB,EAAE;IAClE,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;QACvB,MAAM,IAAI,KAAK,CAAC,wBAAwB,KAAK;4BACrB,CAAC,CAAC;KAC3B;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF,MAAqB,OAAQ,SAAQ,qCAAiB;IAsD7C,KAAK,CAAC,GAAG
|
1
|
+
{"version":3,"file":"diff.js","sourceRoot":"","sources":["../../../../../src/commands/jayree/manifest/git/diff.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,+BAA+C;AAE/C,iDAAyD;AACzD,2CAA4C;AAE5C,+BAA+B;AAC/B,mCA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AK;KACf,CAAC;CACH,CAAC;AAEe,wBAAgB,GAAG,KAAK,CAAC;AACzB,8BAAsB,GAAG,KAAK,CAAC;AAC/B,uBAAe,GAAG,IAAI,CAAC"}
|
package/lib/utils/gitdiff.d.ts
CHANGED
@@ -35,6 +35,7 @@ export declare function ensureOSPath(path: string): string;
|
|
35
35
|
export declare function ensureGitPath(path: string): string;
|
36
36
|
export declare function createVirtualTreeContainer(ref: string, dir: string, modifiedFiles: string[]): Promise<VirtualTreeContainer>;
|
37
37
|
export declare function analyzeFile(path: string, ref1VirtualTreeContainer: VirtualTreeContainer, ref2VirtualTreeContainer: VirtualTreeContainer | FSTreeContainer): Promise<{
|
38
|
+
path: string;
|
38
39
|
status: number;
|
39
40
|
toManifest?: SourceComponent[];
|
40
41
|
toDestructiveChanges?: SourceComponent[];
|
package/lib/utils/gitdiff.js
CHANGED
@@ -45,19 +45,21 @@ See more help with --help`);
|
|
45
45
|
let path = refOrig.substring(firstIndex);
|
46
46
|
let ref = refOrig.substring(0, firstIndex);
|
47
47
|
while (path.length && ref !== undefined) {
|
48
|
-
if (path.
|
48
|
+
if (path.startsWith('^')) {
|
49
49
|
path = path.substring(1);
|
50
50
|
let next = Number(path.substring(0, 1));
|
51
51
|
path = next ? path.substring(1) : path;
|
52
52
|
next = next ? next : 1;
|
53
|
+
// eslint-disable-next-line no-await-in-loop
|
53
54
|
ref = (await getCommitLog(ref)).parents[next - 1];
|
54
55
|
}
|
55
|
-
else if (path.
|
56
|
+
else if (path.startsWith('~')) {
|
56
57
|
path = path.substring(1);
|
57
58
|
let next = Number(path.substring(0, 1));
|
58
59
|
path = next ? path.substring(1) : path;
|
59
60
|
next = next ? next : 1;
|
60
61
|
for (let index = 0; index <= next - 1; index++) {
|
62
|
+
// eslint-disable-next-line no-await-in-loop
|
61
63
|
ref = (await getCommitLog(ref)).parents[0];
|
62
64
|
}
|
63
65
|
}
|
@@ -123,15 +125,14 @@ function ensureGitPath(path) {
|
|
123
125
|
}
|
124
126
|
exports.ensureGitPath = ensureGitPath;
|
125
127
|
async function createVirtualTreeContainer(ref, dir, modifiedFiles) {
|
126
|
-
var _a, _b, _c, _d;
|
127
128
|
const paths = (await isomorphic_git_1.default.listFiles({ fs, dir, ref })).map((p) => ensureOSPath(p));
|
128
129
|
const oid = await isomorphic_git_1.default.resolveRef({ fs, dir, ref });
|
129
130
|
const virtualDirectoryByFullPath = new Map();
|
130
|
-
for (const filename of paths) {
|
131
|
+
for await (const filename of paths) {
|
131
132
|
let dirPath = (0, path_1.dirname)(filename);
|
132
133
|
virtualDirectoryByFullPath.set(dirPath, {
|
133
134
|
dirPath,
|
134
|
-
children: Array.from(new Set(
|
135
|
+
children: Array.from(new Set(virtualDirectoryByFullPath.get(dirPath)?.children ?? []).add({
|
135
136
|
name: (0, path_1.basename)(filename),
|
136
137
|
data: (0, utils_1.parseMetadataXml)(filename) && modifiedFiles.includes(filename)
|
137
138
|
? Buffer.from((await isomorphic_git_1.default.readBlob({ fs, dir, oid, filepath: ensureGitPath(filename) })).blob)
|
@@ -143,7 +144,7 @@ async function createVirtualTreeContainer(ref, dir, modifiedFiles) {
|
|
143
144
|
dirPath = splits.slice(0, i + 1).join(path_1.sep);
|
144
145
|
virtualDirectoryByFullPath.set(dirPath, {
|
145
146
|
dirPath,
|
146
|
-
children: Array.from(new Set(
|
147
|
+
children: Array.from(new Set(virtualDirectoryByFullPath.get(dirPath)?.children ?? []).add(splits[i + 1])),
|
147
148
|
});
|
148
149
|
}
|
149
150
|
}
|
@@ -152,17 +153,17 @@ async function createVirtualTreeContainer(ref, dir, modifiedFiles) {
|
|
152
153
|
exports.createVirtualTreeContainer = createVirtualTreeContainer;
|
153
154
|
async function analyzeFile(path, ref1VirtualTreeContainer, ref2VirtualTreeContainer) {
|
154
155
|
if (!(0, utils_1.parseMetadataXml)(path)) {
|
155
|
-
return { status: 0 };
|
156
|
+
return { path, status: 0 };
|
156
157
|
}
|
157
158
|
const ref2resolver = new source_deploy_retrieve_1.MetadataResolver(registryAccess, ref2VirtualTreeContainer);
|
158
159
|
const [ref2Component] = ref2resolver.getComponentsFromPath(path); // git path only conaints files
|
159
160
|
const ref1resolver = new source_deploy_retrieve_1.MetadataResolver(registryAccess, ref1VirtualTreeContainer);
|
160
161
|
const [ref1Component] = ref1resolver.getComponentsFromPath(path); // git path only conaints files
|
161
162
|
if (equal(await ref1Component.parseXml(), await ref2Component.parseXml())) {
|
162
|
-
return { status: -1 };
|
163
|
+
return { path, status: -1 };
|
163
164
|
}
|
164
165
|
if (ref1Component.type.strictDirectoryName === true || !ref1Component.type.children) {
|
165
|
-
return { status: 0 };
|
166
|
+
return { path, status: 0 };
|
166
167
|
}
|
167
168
|
const ref2ChildUniqueIdArray = ref2Component.getChildren().map((childComponent) => {
|
168
169
|
return getUniqueIdentifier(childComponent);
|
@@ -180,7 +181,7 @@ async function analyzeFile(path, ref1VirtualTreeContainer, ref2VirtualTreeContai
|
|
180
181
|
.getChildren()
|
181
182
|
.filter((childComponent) => ref2ChildUniqueIdArray.includes(getUniqueIdentifier(childComponent))); // modified?
|
182
183
|
(0, exports.debug)({ childComponentsNotInRef2, childComponentsNotInRef1, childComponentsInRef1AndRef2 });
|
183
|
-
for (const childComponentRef1 of childComponentsInRef1AndRef2) {
|
184
|
+
for await (const childComponentRef1 of childComponentsInRef1AndRef2) {
|
184
185
|
const [childComponentRef2] = ref2Component
|
185
186
|
.getChildren()
|
186
187
|
.filter((childComponent) => getUniqueIdentifier(childComponentRef1) === getUniqueIdentifier(childComponent));
|
@@ -190,6 +191,7 @@ async function analyzeFile(path, ref1VirtualTreeContainer, ref2VirtualTreeContai
|
|
190
191
|
}
|
191
192
|
(0, exports.debug)({ childComponentsNotInRef1 });
|
192
193
|
return {
|
194
|
+
path,
|
193
195
|
status: childComponentsNotInRef2.length + childComponentsNotInRef1.length,
|
194
196
|
toManifest: childComponentsNotInRef1,
|
195
197
|
toDestructiveChanges: childComponentsNotInRef2,
|
@@ -206,11 +208,11 @@ async function getFileStateChanges(commitHash1, commitHash2, dir) {
|
|
206
208
|
dir,
|
207
209
|
trees: [isomorphic_git_1.default.TREE({ ref: commitHash1 }), commitHash2 ? isomorphic_git_1.default.TREE({ ref: commitHash2 }) : isomorphic_git_1.default.STAGE()],
|
208
210
|
async map(filepath, [A, B]) {
|
209
|
-
if (filepath === '.' || (await
|
211
|
+
if (filepath === '.' || (await A?.type()) === 'tree' || (await B?.type()) === 'tree') {
|
210
212
|
return;
|
211
213
|
}
|
212
|
-
const Aoid = await
|
213
|
-
const Boid = await
|
214
|
+
const Aoid = await A?.oid();
|
215
|
+
const Boid = await B?.oid();
|
214
216
|
let type = 'EQ';
|
215
217
|
if (Aoid !== Boid) {
|
216
218
|
type = 'M';
|
@@ -280,6 +282,7 @@ async function getGitResults(gitLines, ref1VirtualTreeContainer, ref2VirtualTree
|
|
280
282
|
}
|
281
283
|
return result;
|
282
284
|
};
|
285
|
+
const analyzedFilesPromises = [];
|
283
286
|
for (const [, { status, path }] of gitLines.entries()) {
|
284
287
|
if (status === 'D') {
|
285
288
|
for (const c of getComponentsFromPath(ref1Resolver, path)) {
|
@@ -312,30 +315,32 @@ async function getGitResults(gitLines, ref1VirtualTreeContainer, ref2VirtualTree
|
|
312
315
|
}
|
313
316
|
}
|
314
317
|
else {
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
318
|
+
analyzedFilesPromises.push(analyzeFile(path, ref1VirtualTreeContainer, ref2VirtualTreeContainer));
|
319
|
+
}
|
320
|
+
}
|
321
|
+
for await (const check of analyzedFilesPromises) {
|
322
|
+
if (check.status === 0) {
|
323
|
+
if (!destructiveChangesOnly) {
|
324
|
+
for (const c of getComponentsFromPath(ref2Resolver, check.path)) {
|
325
|
+
results.manifest.add(c);
|
326
|
+
results.output.counts.added++;
|
322
327
|
}
|
323
328
|
}
|
324
|
-
|
325
|
-
|
326
|
-
|
329
|
+
}
|
330
|
+
else if (check.status === -1) {
|
331
|
+
results.output.unchanged.push(check.path);
|
332
|
+
results.output.counts.unchanged++;
|
333
|
+
}
|
334
|
+
else {
|
335
|
+
if (check.toDestructiveChanges.length > 0 || (check.toManifest.length > 0 && !destructiveChangesOnly)) {
|
336
|
+
results.output.counts.modified++;
|
337
|
+
}
|
338
|
+
for (const c of check.toDestructiveChanges) {
|
339
|
+
results.manifest.add(c, source_deploy_retrieve_1.DestructiveChangesType.POST);
|
327
340
|
}
|
328
|
-
|
329
|
-
|
330
|
-
results.
|
331
|
-
}
|
332
|
-
for (const c of check.toDestructiveChanges) {
|
333
|
-
results.manifest.add(c, source_deploy_retrieve_1.DestructiveChangesType.POST);
|
334
|
-
}
|
335
|
-
if (!destructiveChangesOnly) {
|
336
|
-
for (const c of check.toManifest) {
|
337
|
-
results.manifest.add(c);
|
338
|
-
}
|
341
|
+
if (!destructiveChangesOnly) {
|
342
|
+
for (const c of check.toManifest) {
|
343
|
+
results.manifest.add(c);
|
339
344
|
}
|
340
345
|
}
|
341
346
|
}
|
package/lib/utils/gitdiff.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"gitdiff.js","sourceRoot":"","sources":["../../src/utils/gitdiff.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,+BAA2D;AAC3D,6BAA6B;AAC7B,+BAA+B;AAC/B,yCAA0C;AAC1C,+EAU4C;AAC5C,4EAAoF;AACpF,iCAAuC;AACvC,mDAAiC;AAEpB,QAAA,KAAK,GAAG,IAAA,aAAK,EAAC,0BAA0B,CAAC,CAAC;AAEvD,MAAM,cAAc,GAAG,IAAI,uCAAc,EAAE,CAAC;AAoB5C,KAAK,UAAU,UAAU,CAAC,OAAe,EAAE,GAAW;IACpD,IAAI,OAAO,KAAK,EAAE,EAAE;QAClB,OAAO,EAAE,CAAC;KACX;IAED,MAAM,YAAY,GAAG,KAAK,EAAE,GAAW,EAA+C,EAAE;QACtF,IAAI;YACF,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,wBAAG,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|
9
9
|
$ sfdx jayree:manifest:git:diff <commit>..<commit>
|
10
|
-
uses the changes between two arbitrary <commit
|
11
|
-
`,
|
10
|
+
uses the changes between two arbitrary <commit>`,
|
12
11
|
`$ sfdx jayree:manifest:git:diff <commit>...<commit>
|
13
|
-
uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both <commit
|
14
|
-
`,
|
12
|
+
uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both <commit>.`,
|
15
13
|
`$ sfdx jayree:manifest:git:diff branchA..branchB
|
16
|
-
uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1)
|
17
|
-
`,
|
14
|
+
uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1)`,
|
18
15
|
`$ sfdx jayree:manifest:git:diff branchA...branchB
|
19
16
|
uses the diff of what is unique in branchB (REF2)`,
|
20
17
|
],
|
package/oclif.manifest.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":"2.2.
|
1
|
+
{"version":"2.2.8","commands":{"jayree:manifest:cleanup":{"id":"jayree:manifest:cleanup","description":"removes those tags from a manifest file that are present in a second manifest file\nUse this command to remove components or metadata types from a manifes file.\nIf the 'cleanup' manifest file (--file) doesn't exist, a template file is created, which can then be modified.","strict":true,"usage":"<%= command.id %> [-x <filepath>] [-f <filepath>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@jayree/sfdx-plugin-manifest","pluginAlias":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"manifest":{"name":"manifest","type":"option","char":"x","description":"path to the manifest file","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"path to the second 'cleanup' manifest file","multiple":false}},"args":[],"flagsConfig":{"manifest":{"kind":"filepath","char":"x","description":"path to the manifest file","input":[],"multiple":false,"type":"option"},"file":{"kind":"filepath","char":"f","description":"path to the second 'cleanup' manifest file","input":[],"multiple":false,"type":"option"}},"requiresUsername":false,"supportsDevhubUsername":false,"requiresProject":true},"jayree:manifest:generate":{"id":"jayree:manifest:generate","description":"generate a complete manifest file form the specified org\nUse this command to generate a manifest file based on an existing org.","strict":true,"usage":"<%= command.id %> [-q <array>] [-c] [-w] [--includeflowversions] [-f <string>] [-x | -a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@jayree/sfdx-plugin-manifest","pluginAlias":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:manifest:generate --targetusername myOrg@example.com","<?xml version='1.0' encoding='UTF-8'?>","<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"quickfilter":{"name":"quickfilter","type":"option","char":"q","description":"csv separated list of metadata type, member or file names to filter on","multiple":false},"matchcase":{"name":"matchcase","type":"boolean","char":"c","description":"enable 'match case' for the quickfilter","allowNo":false},"matchwholeword":{"name":"matchwholeword","type":"boolean","char":"w","description":"enable 'match whole word' for the quickfilter","allowNo":false},"includeflowversions":{"name":"includeflowversions","type":"boolean","description":"include flow versions as with api version 43.0","allowNo":false},"file":{"name":"file","type":"option","char":"f","description":"write to 'file' instead of stdout","multiple":false},"excludemanaged":{"name":"excludemanaged","type":"boolean","char":"x","description":"exclude managed packages from output","allowNo":false,"exclusive":["excludeall"]},"excludeall":{"name":"excludeall","type":"boolean","char":"a","description":"exclude all packages from output","allowNo":false,"exclusive":["excludemanaged"]}},"args":[],"flagsConfig":{"quickfilter":{"kind":"array","char":"q","description":"csv separated list of metadata type, member or file names to filter on","input":[],"multiple":false,"type":"option"},"matchcase":{"kind":"boolean","char":"c","description":"enable 'match case' for the quickfilter","allowNo":false,"type":"boolean"},"matchwholeword":{"kind":"boolean","char":"w","description":"enable 'match whole word' for the quickfilter","allowNo":false,"type":"boolean"},"includeflowversions":{"kind":"boolean","description":"include flow versions as with api version 43.0","allowNo":false,"type":"boolean"},"file":{"kind":"string","char":"f","description":"write to 'file' instead of stdout","input":[],"multiple":false,"type":"option"},"excludemanaged":{"kind":"boolean","char":"x","description":"exclude managed packages from output","exclusive":["excludeall"],"allowNo":false,"type":"boolean"},"excludeall":{"kind":"boolean","char":"a","description":"exclude all packages from output","exclusive":["excludemanaged"],"allowNo":false,"type":"boolean"}},"requiresUsername":true,"supportsDevhubUsername":false,"requiresProject":false},"jayree:manifest:git:diff":{"id":"jayree:manifest:git:diff","description":"create a manifest and destructiveChanges manifest using 'git diff' data\nUse this command to create a manifest and destructiveChanges manifest file based on the difference (git diff) of two git refs.\n\nYou can use all ways to spell <commit> which are valid for 'git diff'.\n(See https://git-scm.com/docs/git-diff)","strict":true,"usage":"<%= command.id %> [-o <string>] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@jayree/sfdx-plugin-manifest","pluginAlias":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:manifest:git:diff <commit> <commit>","$ sfdx jayree:manifest:git:diff <commit>..<commit>","uses the changes between two arbitrary <commit>","$ sfdx jayree:manifest:git:diff <commit>...<commit>","uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both <commit>.","$ sfdx jayree:manifest:git:diff branchA..branchB","uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1)","$ sfdx jayree:manifest:git:diff branchA...branchB","uses the diff of what is unique in branchB (REF2)"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"outputdir":{"name":"outputdir","type":"option","char":"o","description":"directory to save the created manifest files","multiple":false,"default":""},"destructivechangesonly":{"name":"destructivechangesonly","type":"boolean","char":"d","description":"create a destructiveChanges manifest only (package.xml will be empty)","allowNo":false}},"args":[{"name":"ref1","description":"base commit or branch","required":true,"hidden":false},{"name":"ref2","description":"commit or branch to compare to the base commit","required":false,"hidden":false}],"flagsConfig":{"outputdir":{"kind":"string","char":"o","description":"directory to save the created manifest files","default":"","input":[],"multiple":false,"type":"option"},"destructivechangesonly":{"kind":"boolean","char":"d","description":"create a destructiveChanges manifest only (package.xml will be empty)","default":false,"allowNo":false,"type":"boolean"}},"requiresUsername":false,"supportsDevhubUsername":false,"requiresProject":true}}}
|
package/package.json
CHANGED
@@ -1,33 +1,33 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jayree/sfdx-plugin-manifest",
|
3
|
-
"description": "
|
4
|
-
"version": "2.2.
|
3
|
+
"description": "A Salesforce CLI plugin containing commands for creating manifest files from Salesforce orgs or git commits of sfdx projects.",
|
4
|
+
"version": "2.2.8",
|
5
5
|
"author": "jayree",
|
6
6
|
"bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",
|
7
7
|
"dependencies": {
|
8
|
-
"@oclif/core": "^1.
|
9
|
-
"@salesforce/command": "^5.1
|
10
|
-
"@salesforce/kit": "^1.5.
|
11
|
-
"@salesforce/source-deploy-retrieve": "^6.
|
8
|
+
"@oclif/core": "^1.13.0",
|
9
|
+
"@salesforce/command": "^5.2.1",
|
10
|
+
"@salesforce/kit": "^1.5.45",
|
11
|
+
"@salesforce/source-deploy-retrieve": "^6.2.6",
|
12
12
|
"@salesforce/ts-types": "^1.5.20",
|
13
13
|
"debug": "^4.3.4",
|
14
14
|
"fast-deep-equal": "^3.1.3",
|
15
|
-
"fast-xml-parser": "^4.0.
|
15
|
+
"fast-xml-parser": "^4.0.9",
|
16
16
|
"fs-extra": "^10.1.0",
|
17
|
-
"isomorphic-git": "^1.
|
18
|
-
"listr2": "^
|
19
|
-
"marked": "^4.0.
|
17
|
+
"isomorphic-git": "^1.19.1",
|
18
|
+
"listr2": "^5.0.1",
|
19
|
+
"marked": "^4.0.18",
|
20
20
|
"marked-terminal": "^4.2.0",
|
21
21
|
"semver": "^7.3.7",
|
22
22
|
"tslib": "^2.4.0"
|
23
23
|
},
|
24
24
|
"devDependencies": {
|
25
|
-
"@commitlint/cli": "^17.0.
|
26
|
-
"@commitlint/config-conventional": "^17.0.
|
25
|
+
"@commitlint/cli": "^17.0.3",
|
26
|
+
"@commitlint/config-conventional": "^17.0.3",
|
27
27
|
"@oclif/plugin-command-snapshot": "^3",
|
28
28
|
"@oclif/plugin-help": "^5.1.12",
|
29
|
-
"@salesforce/dev-config": "^3.0
|
30
|
-
"@salesforce/dev-scripts": "^2.0.
|
29
|
+
"@salesforce/dev-config": "^3.1.0",
|
30
|
+
"@salesforce/dev-scripts": "^2.0.4",
|
31
31
|
"@salesforce/prettier-config": "^0.0.2",
|
32
32
|
"@salesforce/ts-sinon": "^1.3.21",
|
33
33
|
"@types/chai": "^4.3.1",
|
@@ -36,35 +36,36 @@
|
|
36
36
|
"@types/marked": "^4.0.3",
|
37
37
|
"@types/marked-terminal": "^3.1.3",
|
38
38
|
"@types/mocha": "^9.1.1",
|
39
|
-
"@types/node": "^
|
40
|
-
"@types/semver": "^7.3.
|
41
|
-
"@types/sinon": "10.0.
|
42
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
43
|
-
"@typescript-eslint/parser": "^5.
|
39
|
+
"@types/node": "^18.6.3",
|
40
|
+
"@types/semver": "^7.3.10",
|
41
|
+
"@types/sinon": "10.0.13",
|
42
|
+
"@typescript-eslint/eslint-plugin": "^5.32.0",
|
43
|
+
"@typescript-eslint/parser": "^5.32.0",
|
44
44
|
"chai": "^4.3.6",
|
45
|
-
"eslint": "^8.
|
45
|
+
"eslint": "^8.21.0",
|
46
46
|
"eslint-config-oclif": "^4.0",
|
47
47
|
"eslint-config-prettier": "^8.5.0",
|
48
|
-
"eslint-config-salesforce": "^
|
49
|
-
"eslint-config-salesforce-typescript": "^0.
|
48
|
+
"eslint-config-salesforce": "^1.1.0",
|
49
|
+
"eslint-config-salesforce-typescript": "^1.0.0",
|
50
50
|
"eslint-plugin-header": "^3.1.1",
|
51
51
|
"eslint-plugin-import": "2.26.0",
|
52
|
-
"eslint-plugin-jsdoc": "^39.3.
|
53
|
-
"eslint-plugin-prettier": "^4.
|
52
|
+
"eslint-plugin-jsdoc": "^39.3.4",
|
53
|
+
"eslint-plugin-prettier": "^4.2.1",
|
54
|
+
"eslint-plugin-sf-plugin": "^0.3.0",
|
54
55
|
"husky": "^8.0.1",
|
55
56
|
"is-ci": "^3.0.1",
|
56
57
|
"mocha": "^10.0.0",
|
57
58
|
"nyc": "^15.1.0",
|
58
|
-
"oclif": "^3.
|
59
|
+
"oclif": "^3.1.2",
|
59
60
|
"patch-package": "^6.4.7",
|
60
61
|
"pinst": "^3.0.0",
|
61
|
-
"prettier": "^2.
|
62
|
+
"prettier": "^2.7.1",
|
62
63
|
"pretty-quick": "^3.1.3",
|
63
64
|
"shx": "^0.3.4",
|
64
65
|
"sinon": "14.0.0",
|
65
66
|
"source-map-support": "~0.5.21",
|
66
|
-
"ts-node": "^10.
|
67
|
-
"typescript": "^4.7.
|
67
|
+
"ts-node": "^10.9.1",
|
68
|
+
"typescript": "^4.7.4"
|
68
69
|
},
|
69
70
|
"engines": {
|
70
71
|
"node": ">=14.17.1"
|
@@ -77,6 +78,15 @@
|
|
77
78
|
],
|
78
79
|
"homepage": "https://github.com/jayree/sfdx-plugin-manifest",
|
79
80
|
"keywords": [
|
81
|
+
"git",
|
82
|
+
"diff",
|
83
|
+
"delta",
|
84
|
+
"manifest",
|
85
|
+
"salesforce",
|
86
|
+
"package",
|
87
|
+
"retrieve",
|
88
|
+
"deploy",
|
89
|
+
"sfdx",
|
80
90
|
"sfdx-plugin"
|
81
91
|
],
|
82
92
|
"license": "BSD-3-Clause",
|
@@ -88,13 +98,17 @@
|
|
88
98
|
},
|
89
99
|
"topics": {
|
90
100
|
"jayree": {
|
91
|
-
"description": "manifest, source, and org automation toolset"
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
101
|
+
"description": "manifest, source, and org automation toolset",
|
102
|
+
"subtopics": {
|
103
|
+
"manifest": {
|
104
|
+
"description": "generate and manipulate manifest files",
|
105
|
+
"subtopics": {
|
106
|
+
"git": {
|
107
|
+
"description": "generate manifest files based on git data"
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
98
112
|
}
|
99
113
|
},
|
100
114
|
"devPlugins": [
|
@@ -129,7 +143,7 @@
|
|
129
143
|
"prepublishOnly": "pinst --disable",
|
130
144
|
"pretest": "sf-compile-test",
|
131
145
|
"test": "sf-test",
|
132
|
-
"test:deprecation-policy": "./bin/
|
146
|
+
"test:deprecation-policy": "./bin/dev snapshot:compare",
|
133
147
|
"version": "oclif readme"
|
134
148
|
},
|
135
149
|
"publishConfig": {
|