@jayree/sfdx-plugin-manifest 3.1.39 → 3.1.41
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +19 -0
- package/README.md +3 -3
- package/lib/SDR-extra/collections/componentSetExtra.js.map +1 -1
- package/lib/SDR-extra/resolve/gitDiffResolver.js +6 -0
- package/lib/SDR-extra/resolve/gitDiffResolver.js.map +1 -1
- package/lib/SDR-extra/resolve/treeContainersExtra.js.map +1 -1
- package/lib/SDR-extra/utils/localGitRepo.js +23 -21
- package/lib/SDR-extra/utils/localGitRepo.js.map +1 -1
- package/lib/commands/jayree/manifest/cleanup.js +16 -17
- package/lib/commands/jayree/manifest/cleanup.js.map +1 -1
- package/lib/commands/jayree/manifest/generate.js +49 -48
- package/lib/commands/jayree/manifest/generate.js.map +1 -1
- package/lib/commands/jayree/manifest/git/diff.js +45 -40
- package/lib/commands/jayree/manifest/git/diff.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/oclif.lock +299 -82
- package/oclif.manifest.json +1 -1
- package/package.json +15 -16
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,22 @@
|
|
1
|
+
## [3.1.41](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.1.40...v3.1.41) (2023-12-11)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* **deps:** bump @salesforce/sf-plugins-core from 5.0.7 to 5.0.8 ([#1080](https://github.com/jayree/sfdx-plugin-manifest/issues/1080)) ([bc0df6b](https://github.com/jayree/sfdx-plugin-manifest/commit/bc0df6b90161f3f3bfbc8d9f927326cbfdaadd4b))
|
7
|
+
* **deps:** bump @salesforce/source-deploy-retrieve from 10.2.0 to 10.2.1 ([#1082](https://github.com/jayree/sfdx-plugin-manifest/issues/1082)) ([c7a8e40](https://github.com/jayree/sfdx-plugin-manifest/commit/c7a8e407bb86a38c9190ba910d976a17f70d9f63))
|
8
|
+
|
9
|
+
## [3.1.40](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.1.39...v3.1.40) (2023-12-08)
|
10
|
+
|
11
|
+
|
12
|
+
### Bug Fixes
|
13
|
+
|
14
|
+
* **deps:** bump @oclif/core from 3.13.1 to 3.14.1 ([#1072](https://github.com/jayree/sfdx-plugin-manifest/issues/1072)) ([87dddfa](https://github.com/jayree/sfdx-plugin-manifest/commit/87dddfa82727eb69be986f9d4bfa7ac419503200))
|
15
|
+
* **deps:** bump @salesforce/core from 6.2.2 to 6.3.0 ([#1070](https://github.com/jayree/sfdx-plugin-manifest/issues/1070)) ([d4739db](https://github.com/jayree/sfdx-plugin-manifest/commit/d4739dbec3b0a468f69477cd5a0248d73dba6529))
|
16
|
+
* **deps:** bump @salesforce/sf-plugins-core from 5.0.5 to 5.0.7 ([#1074](https://github.com/jayree/sfdx-plugin-manifest/issues/1074)) ([f5f21a8](https://github.com/jayree/sfdx-plugin-manifest/commit/f5f21a87ce1201a49f7540847df20d3b9587a722))
|
17
|
+
* **deps:** bump @salesforce/source-deploy-retrieve from 10.0.3 to 10.2.0 ([#1069](https://github.com/jayree/sfdx-plugin-manifest/issues/1069)) ([4946e9b](https://github.com/jayree/sfdx-plugin-manifest/commit/4946e9bbb6168ca5a335d9cad9de65d59cbf1186))
|
18
|
+
* **deps:** bump isomorphic-git from 1.25.0 to 1.25.1 ([#1073](https://github.com/jayree/sfdx-plugin-manifest/issues/1073)) ([b272fea](https://github.com/jayree/sfdx-plugin-manifest/commit/b272fea9253ad12a6e53a13a6eac1dbee0b08a39))
|
19
|
+
|
1
20
|
## [3.1.39](https://github.com/jayree/sfdx-plugin-manifest/compare/v3.1.38...v3.1.39) (2023-12-01)
|
2
21
|
|
3
22
|
|
package/README.md
CHANGED
@@ -47,7 +47,7 @@ EXAMPLES
|
|
47
47
|
$ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml
|
48
48
|
```
|
49
49
|
|
50
|
-
_See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.
|
50
|
+
_See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.41/src/commands/jayree/manifest/cleanup.ts)_
|
51
51
|
|
52
52
|
### `sfdx jayree:manifest:generate`
|
53
53
|
|
@@ -84,7 +84,7 @@ EXAMPLES
|
|
84
84
|
<Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
|
85
85
|
```
|
86
86
|
|
87
|
-
_See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.
|
87
|
+
_See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.41/src/commands/jayree/manifest/generate.ts)_
|
88
88
|
|
89
89
|
### `sfdx jayree:manifest:git:diff`
|
90
90
|
|
@@ -166,5 +166,5 @@ FLAG DESCRIPTIONS
|
|
166
166
|
The location can be an absolute path or relative to the current working directory.
|
167
167
|
```
|
168
168
|
|
169
|
-
_See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.
|
169
|
+
_See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v3.1.41/src/commands/jayree/manifest/git/diff.ts)_
|
170
170
|
<!-- commandsstop -->
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"componentSetExtra.js","sourceRoot":"","sources":["../../../src/SDR-extra/collections/componentSetExtra.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EACL,YAAY,EAGZ,sBAAsB,EACtB,cAAc,EACd,QAAQ,IAAI,eAAe,GAE5B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,EAAE,eA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AC,IAAI,CAAC,CAAC;YACzD,CAAC;QACH,CAAC;QAED,IAAI,qBAAqB,GAAsB,EAAE,CAAC;QAElD,KAAK,MAAM,cAAc,IAAI,UAAU,CAAC,mBAAmB,EAAE,EAAE,CAAC;YAC9D,qBAAqB,GAAG,qBAAqB,CAAC,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,CAAC,CAAC;YACnF,qBAAqB,GAAG,qBAAqB,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;QACvE,CAAC;QAED,IAAI,KAAK,EAAE,MAAM,SAAS,IAAI,eAAe,CAAC,mBAAmB,EAAE,EAAE,CAAC;YACpE,IACE,CAAC,qBAAqB,CAAC,IAAI,CACzB,CAAC,cAAc,EAAE,EAAE,CACjB,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,cAAc,CAAC,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC,QAAQ,KAAK,cAAc,CAAC,QAAQ,CACrG,EACD,CAAC;gBACD,MAAM,SAAS,CAAC,WAAW,EAAE,CAAC,WAAW,CACvC,kBAAkB,SAAS,CAAC,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC,QAAQ,0BAA0B,CACtF,CAAC;YACJ,CAAC;QACH,CAAC;QAED,OAAO,UAAU,CAAC;IACpB,CAAC;CACF"}
|
@@ -20,6 +20,12 @@ const registryAccess = new RegistryAccess();
|
|
20
20
|
* @internal
|
21
21
|
*/
|
22
22
|
export class GitDiffResolver {
|
23
|
+
ref2VirtualTreeContainer;
|
24
|
+
ref1Resolver;
|
25
|
+
ref2Resolver;
|
26
|
+
gitDir;
|
27
|
+
uniquePackageDirectories;
|
28
|
+
localRepo;
|
23
29
|
/**
|
24
30
|
* @param dir SFDX project directory
|
25
31
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"gitDiffResolver.js","sourceRoot":"","sources":["../../../src/SDR-extra/resolve/gitDiffResolver.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,IAAI,MA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AC,GAAG,CAAC,CAAC;gBAChD,0BAA0B,CAAC,GAAG,CAAC,OAAO,EAAE;oBACtC,OAAO;oBACP,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,0BAA0B,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;iBAC1G,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QACD,OAAO,IAAI,oBAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IACnF,CAAC;CACF"}
|
@@ -10,6 +10,9 @@ import git from 'isomorphic-git';
|
|
10
10
|
import { Lifecycle } from '@salesforce/core';
|
11
11
|
import fs from 'graceful-fs';
|
12
12
|
export class GitRepo {
|
13
|
+
static instanceMap = new Map();
|
14
|
+
gitDir;
|
15
|
+
packageDirs;
|
13
16
|
constructor(options) {
|
14
17
|
this.gitDir = options.gitDir;
|
15
18
|
this.packageDirs = options.packageDirs;
|
@@ -90,23 +93,23 @@ export class GitRepo {
|
|
90
93
|
async getStatus(ref) {
|
91
94
|
const getStatusText = (row) => {
|
92
95
|
if ([
|
93
|
-
[0, 2, 2],
|
96
|
+
[0, 2, 2], // added, staged
|
94
97
|
[0, 2, 3], // added, staged, with unstaged changes
|
95
98
|
].some((a) => a.every((val, index) => val === row[index]))) {
|
96
99
|
return 'A';
|
97
100
|
}
|
98
101
|
if ([
|
99
|
-
[1, 0, 0],
|
100
|
-
[1, 0, 1],
|
101
|
-
[1, 1, 0],
|
102
|
-
[1, 2, 0],
|
102
|
+
[1, 0, 0], // deleted, staged
|
103
|
+
[1, 0, 1], // deleted, unstaged
|
104
|
+
[1, 1, 0], // deleted, staged, with unstaged original file
|
105
|
+
[1, 2, 0], // deleted, staged, with unstaged changes
|
103
106
|
[1, 0, 3], // modified, staged, with unstaged deletion
|
104
107
|
].some((a) => a.every((val, index) => val === row[index]))) {
|
105
108
|
return 'D';
|
106
109
|
}
|
107
110
|
if ([
|
108
|
-
[1, 2, 1],
|
109
|
-
[1, 2, 2],
|
111
|
+
[1, 2, 1], // modified, unstaged
|
112
|
+
[1, 2, 2], // modified, staged
|
110
113
|
[1, 2, 3], // modified, staged, with unstaged changes
|
111
114
|
].some((a) => a.every((val, index) => val === row[index]))) {
|
112
115
|
return 'M';
|
@@ -120,15 +123,15 @@ export class GitRepo {
|
|
120
123
|
filter: (f) => this.packageDirs ? this.packageDirs.some((fDir) => f.startsWith(this.ensureGitRelPath(fDir))) : true,
|
121
124
|
});
|
122
125
|
const warningMatrix = statusMatrix.filter((row) => [
|
123
|
-
[0, 2, 3],
|
124
|
-
[1, 0, 3],
|
125
|
-
[1, 2, 3],
|
126
|
-
[1, 1, 0],
|
127
|
-
[1, 2, 0],
|
128
|
-
[0, 0, 3],
|
129
|
-
[1, 1, 3],
|
130
|
-
[1, 2, 1],
|
131
|
-
[1, 0, 1],
|
126
|
+
[0, 2, 3], // added, staged, with unstaged changes
|
127
|
+
[1, 0, 3], // modified, staged, with unstaged deletion
|
128
|
+
[1, 2, 3], // modified, staged, with unstaged changes
|
129
|
+
[1, 1, 0], // deleted, staged, with unstaged original file
|
130
|
+
[1, 2, 0], // deleted, staged, with unstaged changes
|
131
|
+
[0, 0, 3], // added, staged, with unstaged deletion
|
132
|
+
[1, 1, 3], // modified, staged, with unstaged original file
|
133
|
+
[1, 2, 1], // modified, unstaged
|
134
|
+
[1, 0, 1], // deleted, unstaged
|
132
135
|
[0, 2, 0], // new, untracked
|
133
136
|
].some((a) => a.every((val, index) => val === row.slice(1)[index])));
|
134
137
|
if (warningMatrix.length) {
|
@@ -155,10 +158,10 @@ export class GitRepo {
|
|
155
158
|
}
|
156
159
|
const gitlines = statusMatrix
|
157
160
|
.filter((row) => ![
|
158
|
-
[0, 0, 0],
|
159
|
-
[1, 1, 1],
|
160
|
-
[0, 0, 3],
|
161
|
-
[0, 2, 0],
|
161
|
+
[0, 0, 0], // undefined
|
162
|
+
[1, 1, 1], // unmodified
|
163
|
+
[0, 0, 3], // added, staged, with unstaged deletion
|
164
|
+
[0, 2, 0], // new, untracked
|
162
165
|
[1, 1, 3], // modified, staged, with unstaged original file
|
163
166
|
].some((a) => a.every((val, index) => val === row.slice(1)[index])))
|
164
167
|
.map((row) => ({
|
@@ -232,7 +235,6 @@ export class GitRepo {
|
|
232
235
|
return path.relative(this.gitDir, fpath).split(path.sep).join(path.posix.sep);
|
233
236
|
}
|
234
237
|
}
|
235
|
-
GitRepo.instanceMap = new Map();
|
236
238
|
function ensureOSPath(fpath) {
|
237
239
|
return fpath.split(path.posix.sep).join(path.sep);
|
238
240
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"localGitRepo.js","sourceRoot":"","sources":["../../../src/SDR-extra/utils/localGitRepo.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,GAAG,MAAM,gBAAgB,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,MAAM,aAAa,CAAC;AAO7B,MAAM,OAAO,OAAO;IAOlB,YAAoB,OAAuB;QACzC,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;QAC7B,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;IACzC,CAAC;IAEM,MAAM,CAAC,WAAW,CAAC,OAAuB;QAC/C,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YAC5C,MAAM,WAAW,GAAG,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;YACzC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;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AAG;YAChB,QAAQ,EAAE,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,QAAQ,CAAC;SAClD,CAAC,CACH,CAAC,IAAI,CACP,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,YAAY,CAAC,GAAW;QACpC,IAAI,CAAC;YACH,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,CAAC,GAAG,CAAC;gBAC1B,EAAE;gBACF,GAAG,EAAE,IAAI,CAAC,MAAM;gBAChB,GAAG;gBACH,KAAK,EAAE,CAAC;aACT,CAAC,CAAC;YACH,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;QACtD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CACb,uBAAuB,GAAG;4BACN,CACrB,CAAC;QACJ,CAAC;IACH,CAAC;IAEO,gBAAgB,CAAC,KAAa;QACpC,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAChF,CAAC;;AAGH,SAAS,YAAY,CAAC,KAAa;IACjC,OAAO,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACpD,CAAC"}
|
@@ -20,7 +20,22 @@ const __filename = fileURLToPath(import.meta.url);
|
|
20
20
|
const __dirname = dirname(__filename);
|
21
21
|
Messages.importMessagesDirectory(__dirname);
|
22
22
|
const messages = Messages.loadMessages('@jayree/sfdx-plugin-manifest', 'manifestcleanup');
|
23
|
-
class CleanupManifest extends SfCommand {
|
23
|
+
export default class CleanupManifest extends SfCommand {
|
24
|
+
static summary = messages.getMessage('summary');
|
25
|
+
static description = messages.getMessage('description');
|
26
|
+
static examples = messages.getMessages('examples');
|
27
|
+
static requiresProject = true;
|
28
|
+
static flags = {
|
29
|
+
manifest: Flags.file({
|
30
|
+
char: 'x',
|
31
|
+
summary: messages.getMessage('flags.manifest.summary'),
|
32
|
+
}),
|
33
|
+
file: Flags.file({
|
34
|
+
char: 'f',
|
35
|
+
required: true,
|
36
|
+
summary: messages.getMessage('flags.file.summary'),
|
37
|
+
}),
|
38
|
+
};
|
24
39
|
async run() {
|
25
40
|
const { flags } = await this.parse(CleanupManifest);
|
26
41
|
const file = flags['file'];
|
@@ -141,22 +156,6 @@ class CleanupManifest extends SfCommand {
|
|
141
156
|
await fs.writeFile(manifest, js2Manifest({ Package: { types: typeMembers, version } }));
|
142
157
|
}
|
143
158
|
}
|
144
|
-
CleanupManifest.summary = messages.getMessage('summary');
|
145
|
-
CleanupManifest.description = messages.getMessage('description');
|
146
|
-
CleanupManifest.examples = messages.getMessages('examples');
|
147
|
-
CleanupManifest.requiresProject = true;
|
148
|
-
CleanupManifest.flags = {
|
149
|
-
manifest: Flags.file({
|
150
|
-
char: 'x',
|
151
|
-
summary: messages.getMessage('flags.manifest.summary'),
|
152
|
-
}),
|
153
|
-
file: Flags.file({
|
154
|
-
char: 'f',
|
155
|
-
required: true,
|
156
|
-
summary: messages.getMessage('flags.file.summary'),
|
157
|
-
}),
|
158
|
-
};
|
159
|
-
export default CleanupManifest;
|
160
159
|
function parseManifest(xmlData) {
|
161
160
|
const parser = new XMLParser({ stopNodes: ['version'], parseTagValue: false });
|
162
161
|
const { Package: { types, version }, } = parser.parse(xmlData);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cleanup.js","sourceRoot":"","sources":["../../../../src/commands/jayree/manifest/cleanup.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO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O,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;IAC1F,CAAC;;AAGH,SAAS,aAAa,CAAC,OAAe;IACpC,MAAM,MAAM,GAAG,IAAI,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC,SAAS,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,CAAC;IAE/E,MAAM,EACJ,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,GAC5B,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAA0B,CAAC;IAEnD,MAAM,kBAAkB,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;IAC9C,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,CAAC;AACzC,CAAC;AAED,SAAS,WAAW,CAAC,MAA6B;IAChD,MAAM,MAAM,GAAG,IAAI,UAAU,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3F,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;IACxC,OAAO,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAW,CAAC,CAAC;AACzD,CAAC"}
|
@@ -18,7 +18,55 @@ const __dirname = dirname(__filename);
|
|
18
18
|
Messages.importMessagesDirectory(__dirname);
|
19
19
|
const registryAccess = new RegistryAccess();
|
20
20
|
const messages = Messages.loadMessages('@jayree/sfdx-plugin-manifest', 'manifestgenerate');
|
21
|
-
class GeneratePackageXML extends SfCommand {
|
21
|
+
export default class GeneratePackageXML extends SfCommand {
|
22
|
+
static summary = messages.getMessage('summary');
|
23
|
+
static description = messages.getMessage('description');
|
24
|
+
static examples = messages.getMessages('examples');
|
25
|
+
static flags = {
|
26
|
+
'target-org': requiredOrgFlagWithDeprecations,
|
27
|
+
'api-version': orgApiVersionFlagWithDeprecations,
|
28
|
+
'quick-filter': arrayWithDeprecation({
|
29
|
+
char: 'q',
|
30
|
+
description: messages.getMessage('flags.quick-filter.summary'),
|
31
|
+
deprecateAliases: true,
|
32
|
+
aliases: ['quickfilter'],
|
33
|
+
}),
|
34
|
+
'match-case': Flags.boolean({
|
35
|
+
char: 'c',
|
36
|
+
summary: messages.getMessage('flags.match-case.summary'),
|
37
|
+
deprecateAliases: true,
|
38
|
+
aliases: ['matchcase'],
|
39
|
+
}),
|
40
|
+
'match-whole-word': Flags.boolean({
|
41
|
+
char: 'w',
|
42
|
+
summary: messages.getMessage('flags.match-whole-word.summary'),
|
43
|
+
deprecateAliases: true,
|
44
|
+
aliases: ['matchwholeword'],
|
45
|
+
}),
|
46
|
+
'include-flow-versions': Flags.boolean({
|
47
|
+
summary: messages.getMessage('flags.include-flow-versions.summary'),
|
48
|
+
deprecateAliases: true,
|
49
|
+
aliases: ['includeflowversions'],
|
50
|
+
}),
|
51
|
+
file: Flags.string({
|
52
|
+
char: 'f',
|
53
|
+
summary: messages.getMessage('flags.file.summary'),
|
54
|
+
}),
|
55
|
+
'exclude-managed': Flags.boolean({
|
56
|
+
summary: messages.getMessage('flags.exclude-managed.summary'),
|
57
|
+
exclusive: ['exclude-all'],
|
58
|
+
deprecateAliases: true,
|
59
|
+
aliases: ['excludemanaged', 'x'],
|
60
|
+
}),
|
61
|
+
'exclude-all': Flags.boolean({
|
62
|
+
summary: messages.getMessage('flags.exclude-all.summary'),
|
63
|
+
exclusive: ['exclude-managed'],
|
64
|
+
deprecateAliases: true,
|
65
|
+
aliases: ['excludeall', 'a'],
|
66
|
+
}),
|
67
|
+
};
|
68
|
+
logger;
|
69
|
+
conn;
|
22
70
|
async run() {
|
23
71
|
this.logger = await Logger.child('jayree:manifest:generate');
|
24
72
|
const { flags } = await this.parse(GeneratePackageXML);
|
@@ -114,51 +162,4 @@ class GeneratePackageXML extends SfCommand {
|
|
114
162
|
return members;
|
115
163
|
}
|
116
164
|
}
|
117
|
-
GeneratePackageXML.summary = messages.getMessage('summary');
|
118
|
-
GeneratePackageXML.description = messages.getMessage('description');
|
119
|
-
GeneratePackageXML.examples = messages.getMessages('examples');
|
120
|
-
GeneratePackageXML.flags = {
|
121
|
-
'target-org': requiredOrgFlagWithDeprecations,
|
122
|
-
'api-version': orgApiVersionFlagWithDeprecations,
|
123
|
-
'quick-filter': arrayWithDeprecation({
|
124
|
-
char: 'q',
|
125
|
-
description: messages.getMessage('flags.quick-filter.summary'),
|
126
|
-
deprecateAliases: true,
|
127
|
-
aliases: ['quickfilter'],
|
128
|
-
}),
|
129
|
-
'match-case': Flags.boolean({
|
130
|
-
char: 'c',
|
131
|
-
summary: messages.getMessage('flags.match-case.summary'),
|
132
|
-
deprecateAliases: true,
|
133
|
-
aliases: ['matchcase'],
|
134
|
-
}),
|
135
|
-
'match-whole-word': Flags.boolean({
|
136
|
-
char: 'w',
|
137
|
-
summary: messages.getMessage('flags.match-whole-word.summary'),
|
138
|
-
deprecateAliases: true,
|
139
|
-
aliases: ['matchwholeword'],
|
140
|
-
}),
|
141
|
-
'include-flow-versions': Flags.boolean({
|
142
|
-
summary: messages.getMessage('flags.include-flow-versions.summary'),
|
143
|
-
deprecateAliases: true,
|
144
|
-
aliases: ['includeflowversions'],
|
145
|
-
}),
|
146
|
-
file: Flags.string({
|
147
|
-
char: 'f',
|
148
|
-
summary: messages.getMessage('flags.file.summary'),
|
149
|
-
}),
|
150
|
-
'exclude-managed': Flags.boolean({
|
151
|
-
summary: messages.getMessage('flags.exclude-managed.summary'),
|
152
|
-
exclusive: ['exclude-all'],
|
153
|
-
deprecateAliases: true,
|
154
|
-
aliases: ['excludemanaged', 'x'],
|
155
|
-
}),
|
156
|
-
'exclude-all': Flags.boolean({
|
157
|
-
summary: messages.getMessage('flags.exclude-all.summary'),
|
158
|
-
exclusive: ['exclude-managed'],
|
159
|
-
deprecateAliases: true,
|
160
|
-
aliases: ['excludeall', 'a'],
|
161
|
-
}),
|
162
|
-
};
|
163
|
-
export default GeneratePackageXML;
|
164
165
|
//# sourceMappingURL=generate.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../src/commands/jayree/manifest/generate.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EACL,SAAS,EACT,KAAK,EACL,oBAAoB,EACpB,iCAAiC,EACjC,+BAA+B,EAC/B,EAAE,GACH,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAc,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,YAAY,EAAyB,MAAM,oCAAoC,CAAC;AACzG,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,MAAM,UAAU,CAAC;AAE1B,gDAAgD;AAChD,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,gDAAgD;AAChD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,QAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,MAAM,cAAc,GAAG,IAAI,cAAc,EAAE,CAAC;AAE5C,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAAC;AAsB3F,
|
1
|
+
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../src/commands/jayree/manifest/generate.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EACL,SAAS,EACT,KAAK,EACL,oBAAoB,EACpB,iCAAiC,EACjC,+BAA+B,EAC/B,EAAE,GACH,M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GAAG,EAAE,CAAC;YACb,IAAI,CAAC,MAAM,CAAC,KAAK,CAAE,KAAe,CAAC,OAAO,CAAC,CAAC;QAC9C,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC"}
|
@@ -19,7 +19,51 @@ const __filename = fileURLToPath(import.meta.url);
|
|
19
19
|
const __dirname = dirname(__filename);
|
20
20
|
Messages.importMessagesDirectory(__dirname);
|
21
21
|
const messages = Messages.loadMessages('@jayree/sfdx-plugin-manifest', 'gitdiff');
|
22
|
-
class GitDiffCommand extends SfCommand {
|
22
|
+
export default class GitDiffCommand extends SfCommand {
|
23
|
+
static summary = messages.getMessage('summary');
|
24
|
+
static description = messages.getMessage('description');
|
25
|
+
static examples = messages.getMessages('examples');
|
26
|
+
static args = {
|
27
|
+
ref1: Args.string({
|
28
|
+
required: true,
|
29
|
+
description: messages.getMessage('args.ref1.description'),
|
30
|
+
}),
|
31
|
+
ref2: Args.string({
|
32
|
+
description: messages.getMessage('args.ref2.description'),
|
33
|
+
}),
|
34
|
+
};
|
35
|
+
static requiresProject = true;
|
36
|
+
static deprecateAliases = true;
|
37
|
+
static aliases = ['jayree:manifest:beta:git:diff'];
|
38
|
+
static flags = {
|
39
|
+
'api-version': orgApiVersionFlagWithDeprecations,
|
40
|
+
'source-dir': arrayWithDeprecation({
|
41
|
+
char: 'd',
|
42
|
+
summary: messages.getMessage('flags.source-dir.summary'),
|
43
|
+
description: messages.getMessage('flags.source-dir.description'),
|
44
|
+
deprecateAliases: true,
|
45
|
+
aliases: ['sourcepath', 'p'],
|
46
|
+
}),
|
47
|
+
'output-dir': Flags.directory({
|
48
|
+
summary: messages.getMessage('flags.output-dir.summary'),
|
49
|
+
description: messages.getMessage('flags.output-dir.description'),
|
50
|
+
default: '',
|
51
|
+
deprecateAliases: true,
|
52
|
+
aliases: ['outputdir', 'o'],
|
53
|
+
}),
|
54
|
+
'destructive-changes-only': Flags.boolean({
|
55
|
+
summary: messages.getMessage('flags.destructive-changes-only.summary'),
|
56
|
+
description: messages.getMessage('flags.destructive-changes-only.description'),
|
57
|
+
deprecateAliases: true,
|
58
|
+
aliases: ['destructivechangesonly'],
|
59
|
+
}),
|
60
|
+
};
|
61
|
+
outputDir;
|
62
|
+
manifestName;
|
63
|
+
destructiveChangesName;
|
64
|
+
outputPath;
|
65
|
+
componentSet;
|
66
|
+
destructiveChangesOnly;
|
23
67
|
// eslint-disable-next-line sf-plugin/should-parse-flags
|
24
68
|
async run() {
|
25
69
|
await this.createManifest();
|
@@ -102,43 +146,4 @@ class GitDiffCommand extends SfCommand {
|
|
102
146
|
}
|
103
147
|
}
|
104
148
|
}
|
105
|
-
GitDiffCommand.summary = messages.getMessage('summary');
|
106
|
-
GitDiffCommand.description = messages.getMessage('description');
|
107
|
-
GitDiffCommand.examples = messages.getMessages('examples');
|
108
|
-
GitDiffCommand.args = {
|
109
|
-
ref1: Args.string({
|
110
|
-
required: true,
|
111
|
-
description: messages.getMessage('args.ref1.description'),
|
112
|
-
}),
|
113
|
-
ref2: Args.string({
|
114
|
-
description: messages.getMessage('args.ref2.description'),
|
115
|
-
}),
|
116
|
-
};
|
117
|
-
GitDiffCommand.requiresProject = true;
|
118
|
-
GitDiffCommand.deprecateAliases = true;
|
119
|
-
GitDiffCommand.aliases = ['jayree:manifest:beta:git:diff'];
|
120
|
-
GitDiffCommand.flags = {
|
121
|
-
'api-version': orgApiVersionFlagWithDeprecations,
|
122
|
-
'source-dir': arrayWithDeprecation({
|
123
|
-
char: 'd',
|
124
|
-
summary: messages.getMessage('flags.source-dir.summary'),
|
125
|
-
description: messages.getMessage('flags.source-dir.description'),
|
126
|
-
deprecateAliases: true,
|
127
|
-
aliases: ['sourcepath', 'p'],
|
128
|
-
}),
|
129
|
-
'output-dir': Flags.directory({
|
130
|
-
summary: messages.getMessage('flags.output-dir.summary'),
|
131
|
-
description: messages.getMessage('flags.output-dir.description'),
|
132
|
-
default: '',
|
133
|
-
deprecateAliases: true,
|
134
|
-
aliases: ['outputdir', 'o'],
|
135
|
-
}),
|
136
|
-
'destructive-changes-only': Flags.boolean({
|
137
|
-
summary: messages.getMessage('flags.destructive-changes-only.summary'),
|
138
|
-
description: messages.getMessage('flags.destructive-changes-only.description'),
|
139
|
-
deprecateAliases: true,
|
140
|
-
aliases: ['destructivechangesonly'],
|
141
|
-
}),
|
142
|
-
};
|
143
|
-
export default GitDiffCommand;
|
144
149
|
//# sourceMappingURL=diff.js.map
|