@jayree/sfdx-plugin-manifest 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
package/README.md
CHANGED
@@ -19,7 +19,7 @@ $ sfdx plugins:install @jayree/sfdx-plugin-manifest
|
|
19
19
|
$ sfdx jayree:COMMAND
|
20
20
|
running command...
|
21
21
|
$ sfdx plugins
|
22
|
-
@jayree/sfdx-plugin-manifest 1.0.
|
22
|
+
@jayree/sfdx-plugin-manifest 1.0.1
|
23
23
|
$ sfdx help jayree:COMMAND
|
24
24
|
USAGE
|
25
25
|
$ sfdx jayree:COMMAND
|
@@ -52,7 +52,7 @@ OPTIONS
|
|
52
52
|
this command invocation
|
53
53
|
```
|
54
54
|
|
55
|
-
_See code: [commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v1.0.
|
55
|
+
_See code: [commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v1.0.1/commands/jayree/manifest/cleanup.ts)_
|
56
56
|
|
57
57
|
### `sfdx jayree:manifest:generate`
|
58
58
|
|
@@ -100,7 +100,7 @@ EXAMPLES
|
|
100
100
|
<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
|
101
101
|
```
|
102
102
|
|
103
|
-
_See code: [commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v1.0.
|
103
|
+
_See code: [commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v1.0.1/commands/jayree/manifest/generate.ts)_
|
104
104
|
|
105
105
|
### `sfdx jayree:manifest:git:diff`
|
106
106
|
|
@@ -143,5 +143,5 @@ EXAMPLES
|
|
143
143
|
uses the diff of what is unique in branchB (REF2)
|
144
144
|
```
|
145
145
|
|
146
|
-
_See code: [commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v1.0.
|
146
|
+
_See code: [commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v1.0.1/commands/jayree/manifest/git/diff.ts)_
|
147
147
|
<!-- commandsstop -->
|
@@ -116,7 +116,7 @@ class GitDiff extends command_1.SfdxCommand {
|
|
116
116
|
// eslint-disable-next-line @typescript-eslint/no-shadow
|
117
117
|
task: async (ctx, task) => {
|
118
118
|
ctx.destructiveChangesComponentSet = (0, gitdiff_1.buildManifestComponentSet)(ctx.gitResults.destructiveChanges, true);
|
119
|
-
if (!ctx.destructiveChangesComponentSet.getObject(
|
119
|
+
if (!ctx.destructiveChangesComponentSet.getObject(source_deploy_retrieve_1.DestructiveChangesType.POST).Package.types.length) {
|
120
120
|
task.skip();
|
121
121
|
return;
|
122
122
|
}
|
@@ -127,7 +127,7 @@ class GitDiff extends command_1.SfdxCommand {
|
|
127
127
|
],
|
128
128
|
};
|
129
129
|
await fs.ensureDir((0, path_1.dirname)(ctx.destructiveChanges.files[0]));
|
130
|
-
await fs.writeFile(ctx.destructiveChanges.files[0], ctx.destructiveChangesComponentSet.getPackageXml(undefined,
|
130
|
+
await fs.writeFile(ctx.destructiveChanges.files[0], ctx.destructiveChangesComponentSet.getPackageXml(undefined, source_deploy_retrieve_1.DestructiveChangesType.POST));
|
131
131
|
await fs.writeFile(ctx.destructiveChanges.files[1], ctx.destructiveChangesComponentSet.getPackageXml());
|
132
132
|
},
|
133
133
|
options: { persistentOutput: true },
|
@@ -163,7 +163,7 @@ class GitDiff extends command_1.SfdxCommand {
|
|
163
163
|
if (value instanceof source_deploy_retrieve_1.ComponentSet && value !== null) {
|
164
164
|
let types = value.getObject().Package.types;
|
165
165
|
if (types.length === 0) {
|
166
|
-
types = value.getObject(
|
166
|
+
types = value.getObject(source_deploy_retrieve_1.DestructiveChangesType.POST).Package.types;
|
167
167
|
}
|
168
168
|
return types;
|
169
169
|
}
|
@@ -175,7 +175,7 @@ class GitDiff extends command_1.SfdxCommand {
|
|
175
175
|
}, 2)}`);
|
176
176
|
}
|
177
177
|
return {
|
178
|
-
destructiveChanges: (_a = context.destructiveChangesComponentSet) === null || _a === void 0 ? void 0 : _a.getObject(
|
178
|
+
destructiveChanges: (_a = context.destructiveChangesComponentSet) === null || _a === void 0 ? void 0 : _a.getObject(source_deploy_retrieve_1.DestructiveChangesType.POST),
|
179
179
|
manifest: (_b = context.manifestComponentSet) === null || _b === void 0 ? void 0 : _b.getObject(),
|
180
180
|
};
|
181
181
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"diff.js","sourceRoot":"","sources":["../../../../../src/commands/jayree/manifest/git/diff.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,+BAAqC;AACrC,6BAA6B;AAC7B,iDAAkD;AAClD,2CAA4C;AAE5C,+BAA+B;AAC/B,mCAAuC;AACvC,uCAAuC;AACvC,+
|
1
|
+
{"version":3,"file":"diff.js","sourceRoot":"","sources":["../../../../../src/commands/jayree/manifest/git/diff.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,+BAAqC;AACrC,6BAA6B;AAC7B,iDAAkD;AAClD,2CAA4C;AAE5C,+BAA+B;AAC/B,mCAAuC;AACvC,uCAAuC;AACvC,+EAAgH;AAChH,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,MAAM,kBAAkB,GAAG,CAAC,K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pF,CAAC,CAAC;SACvB;QAED,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAc,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAc,EAAE,QAAQ,EAAE,CAAC;IACtF,CAAC;;AAlQH,0BAmQC;AAlQe,mBAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;AAExD,gBAAQ,GAAG;IACvB;;;CAGH;IACG;;KAEC;IACD;;CAEH;IACG;kDAC8C;CAC/C,CAAC;AAEY,YAAI,GAAG;IACnB;QACE,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,uBAAuB;QACpC,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,KAAK;KACd;IACD;QACE,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,gDAAgD;QAC7D,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,KAAK;KACd;CACF,CAAC;AAEe,wBAAgB,GAAG,KAAK,CAAC;AACzB,8BAAsB,GAAG,KAAK,CAAC;AAC/B,uBAAe,GAAG,IAAI,CAAC"}
|
package/lib/utils/gitdiff.js
CHANGED
@@ -183,7 +183,7 @@ async function getGitResults(gitLines, ref1VirtualTreeContainer, ref2VirtualTree
|
|
183
183
|
if (status === 'D') {
|
184
184
|
for (const c of ref1Resolver.getComponentsFromPath(path)) {
|
185
185
|
if (c.xml === path || gitLines.find((x) => x.path === c.xml)) {
|
186
|
-
results.destructiveChanges.add(c,
|
186
|
+
results.destructiveChanges.add(c, source_deploy_retrieve_1.DestructiveChangesType.POST);
|
187
187
|
results.counts.deleted++;
|
188
188
|
}
|
189
189
|
else {
|
@@ -220,7 +220,7 @@ async function getGitResults(gitLines, ref1VirtualTreeContainer, ref2VirtualTree
|
|
220
220
|
else {
|
221
221
|
results.counts.modified++;
|
222
222
|
for (const c of check.toDestructiveChanges) {
|
223
|
-
results.destructiveChanges.add(c,
|
223
|
+
results.destructiveChanges.add(c, source_deploy_retrieve_1.DestructiveChangesType.POST);
|
224
224
|
}
|
225
225
|
for (const c of check.toManifest) {
|
226
226
|
results.manifest.add(c);
|
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,+BAA+B;AAC/B,yCAAyC;AACzC,+
|
1
|
+
{"version":3,"file":"gitdiff.js","sourceRoot":"","sources":["../../src/utils/gitdiff.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,+BAA2D;AAC3D,+BAA+B;AAC/B,yCAAyC;AACzC,+EAW4C;AAC5C,4EAAoF;AACpF,iCAAuC;AACvC,mDAAiC;AAEpB,QAAA,mBAAmB,GAAG,4CAAe,CAAC;AAEtC,QAAA,KAAK,GAAG,IAAA,aAAK,EAAC,0BAA0B,CAAC,CAAC;AAEvD,MAAM,cAAc,GAAG,IAAI,uCAAc,EAAE,CAAC;AAgC5C,SAAgB,YAAY,CAAC,IAAY;IACvC,OAAO,IAAI,CAAC,KAAK,CAAC,YAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,UAAG,CAAC,CAAC;AACzC,CAAC;AAFD,oCAEC;AAED,SAAgB,aAAa,CAAC,IAAY;IACxC,OAAO,IAAI,CAAC,KAAK,CAAC,UAAG,CAAC,CAAC,IAAI,CAAC,YAAK,CAAC,GAAG,CAAC,CAAC;AACzC,CAAC;AAFD,sCAEC;AAEM,KAAK,UAAU,0BAA0B,CAC9C,GAAW,EACX,GAAW,EACX,aAAuB;IAEvB,MAAM,KAAK,GAAG,CAAC,MAAM,wBAAG,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAA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C;KACjD,CAAC;IACF,OAAO,CAAC,MAAM,CAAC,OAAO,GAAG,YAAY,CAAC,iBAAiB,CAAC,IAAI,GAAG,YAAY,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAEnG,OAAO,OAAO,CAAC;AACjB,CAAC;AAnED,sCAmEC;AAED,SAAgB,yBAAyB,CAAC,EAAgB,EAAE,qBAAqB,GAAG,KAAK;IACvF,wDAAwD;IACxD,IAAI,CAAC,qBAAqB,EAAE;QAC1B,mGAAmG;QACnG,wBAAwB;QACxB,+BAA+B;QAC/B,4BAA4B;QAC5B,IAAI;QACJ,MAAM,0BAA0B,GAAG;YACjC,GAAG,MAAM,CAAC,IAAI,CAAC,iCAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC;YACtD,GAAG,MAAM,CAAC,IAAI,CAAC,iCAAQ,CAAC,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC;SAC3D,CAAC;QACF,OAAO,IAAI,qCAAY,CACrB,EAAE,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE;YACnB,IAAI,0BAA0B,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;gBAC1D,OAAO,SAAS,CAAC,MAAM,CAAC;aACzB;YACD,OAAO,SAAS,CAAC;QACnB,CAAC,CAAC,EACF,cAAc,CACf,CAAC;KACH;IAED,OAAO,EAAE,CAAC;AACZ,CAAC;AAxBD,8DAwBC"}
|
package/oclif.manifest.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":"1.0.
|
1
|
+
{"version":"1.0.1","commands":{"jayree:manifest:cleanup":{"id":"jayree:manifest:cleanup","description":"removes those tags from a manifest file that are present in a second manifest file","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","pluginType":"core","aliases":[],"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)","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"},"file":{"name":"file","type":"option","char":"f","description":"path to the second 'cleanup' manifest file"}},"args":[]},"jayree:manifest:generate":{"id":"jayree:manifest:generate","description":"generate a complete package xml form the specified org","usage":"<%= command.id %> [-q <array>] [-c] [-w] [--includeflowversions] [-f <string>] [-x] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":["jayree:packagexml"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"quickfilter":{"name":"quickfilter","type":"option","char":"q","description":"csv separated list of metadata type, member or file names to filter on"},"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"},"excludemanaged":{"name":"excludemanaged","type":"boolean","char":"x","description":"exclude managed packages from output","allowNo":false}},"args":[]},"jayree:manifest:git:diff":{"id":"jayree:manifest:git:diff","description":"create a manifest and destructiveChanges manifest using 'git diff' data\nCreates a manifest and destructiveChanges manifest using 'git diff' data.\n\nYou can use all ways to spell <commit> which are valid for 'git diff'.\n(See https://git-scm.com/docs/git-diff)","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@jayree/sfdx-plugin-manifest","pluginType":"core","aliases":[],"examples":["$ sfdx jayree:manifest:git:diff <commit> <commit>\n$ sfdx jayree:manifest:git:diff <commit>..<commit>\nuses the changes between two arbitrary <commit>\n","$ sfdx jayree:manifest:git:diff <commit>...<commit>\nuses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both <commit>.\n ","$ sfdx jayree:manifest:git:diff branchA..branchB\nuses the diff of what is unique in branchB (REF2) and unique in branchA (REF1)\n","$ sfdx jayree:manifest:git:diff branchA...branchB\nuses 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)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"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}]}}}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jayree/sfdx-plugin-manifest",
|
3
|
-
"description": "jayree sfdx
|
4
|
-
"version": "1.0.
|
3
|
+
"description": "jayree sfdx manifest commands",
|
4
|
+
"version": "1.0.1",
|
5
5
|
"author": "jayree",
|
6
6
|
"bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",
|
7
7
|
"dependencies": {
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"@salesforce/command": "^4.1.4",
|
12
12
|
"@salesforce/core": "^2.28.2",
|
13
13
|
"@salesforce/kit": "^1.5.17",
|
14
|
-
"@salesforce/source-deploy-retrieve": "^
|
14
|
+
"@salesforce/source-deploy-retrieve": "^5.0.1",
|
15
15
|
"@salesforce/ts-types": "^1.5.20",
|
16
16
|
"cli-ux": "^5.6.3",
|
17
17
|
"debug": "^4.3.2",
|
@@ -39,9 +39,9 @@
|
|
39
39
|
"@types/debug": "^4.1.7",
|
40
40
|
"@types/fs-extra": "^9.0.13",
|
41
41
|
"@types/jsforce": "^1.9.35",
|
42
|
-
"@types/marked": "^3.0.
|
42
|
+
"@types/marked": "^3.0.2",
|
43
43
|
"@types/mocha": "^9.0.0",
|
44
|
-
"@types/node": "^16.11.
|
44
|
+
"@types/node": "^16.11.2",
|
45
45
|
"@types/sinon": "10.0.4",
|
46
46
|
"@typescript-eslint/eslint-plugin": "^5.1.0",
|
47
47
|
"@typescript-eslint/parser": "^5.1.0",
|
@@ -57,7 +57,7 @@
|
|
57
57
|
"eslint-plugin-jsdoc": "^36.1.1",
|
58
58
|
"eslint-plugin-prettier": "^4.0.0",
|
59
59
|
"eslint-plugin-typescript": "^0.14.0",
|
60
|
-
"husky": "^7.0.
|
60
|
+
"husky": "^7.0.4",
|
61
61
|
"is-ci": "^3.0.0",
|
62
62
|
"mocha": "^9.1.3",
|
63
63
|
"nyc": "^15.1.0",
|
@@ -67,11 +67,11 @@
|
|
67
67
|
"pretty-quick": "^3.1.1",
|
68
68
|
"sinon": "11.1.2",
|
69
69
|
"source-map-support": "~0.5.20",
|
70
|
-
"ts-node": "^10.3.
|
70
|
+
"ts-node": "^10.3.1",
|
71
71
|
"typescript": "^4.4.4"
|
72
72
|
},
|
73
73
|
"engines": {
|
74
|
-
"node": ">=
|
74
|
+
"node": ">=14.18.1"
|
75
75
|
},
|
76
76
|
"files": [
|
77
77
|
"/lib",
|