@jayree/sfdx-plugin-manifest 2.4.8 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [2.5.0](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.4.8...v2.5.0) (2022-12-23)
2
+
3
+
4
+ ### Features
5
+
6
+ * uses isomorphic-git statusMatrix to match the behavior for unstaged files with the git diff output ([9dd515f](https://github.com/jayree/sfdx-plugin-manifest/commit/9dd515fdc9e90602da8d7a78dd2d30cc41155b37))
7
+
1
8
  ## [2.4.8](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.4.7...v2.4.8) (2022-12-23)
2
9
 
3
10
 
package/README.md CHANGED
@@ -22,7 +22,7 @@ $ sfdx plugins:install @jayree/sfdx-plugin-manifest
22
22
  $ sfdx jayree:[COMMAND]
23
23
  running command...
24
24
  $ sfdx plugins
25
- @jayree/sfdx-plugin-manifest 2.4.8
25
+ @jayree/sfdx-plugin-manifest 2.5.0
26
26
  $ sfdx help jayree:[COMMAND]
27
27
  USAGE
28
28
  $ sfdx jayree:COMMAND
@@ -63,7 +63,7 @@ EXAMPLES
63
63
  $ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml
64
64
  ```
65
65
 
66
- _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.4.8/src/commands/jayree/manifest/cleanup.ts)_
66
+ _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.5.0/src/commands/jayree/manifest/cleanup.ts)_
67
67
 
68
68
  ### `sfdx jayree:manifest:generate`
69
69
 
@@ -106,7 +106,7 @@ EXAMPLES
106
106
  <Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
107
107
  ```
108
108
 
109
- _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.4.8/src/commands/jayree/manifest/generate.ts)_
109
+ _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.5.0/src/commands/jayree/manifest/generate.ts)_
110
110
 
111
111
  ### `sfdx jayree:manifest:git:diff`
112
112
 
@@ -160,5 +160,5 @@ EXAMPLES
160
160
  uses the diff of what is unique in branchB (REF2)
161
161
  ```
162
162
 
163
- _See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.4.8/src/commands/jayree/manifest/git/diff.ts)_
163
+ _See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.5.0/src/commands/jayree/manifest/git/diff.ts)_
164
164
  <!-- commandsstop -->
@@ -23,6 +23,7 @@ export default class GitDiff extends JayreeSfdxCommand {
23
23
  private ref2VirtualTreeContainer;
24
24
  private componentSet;
25
25
  private outputErrors;
26
+ private outputWarnings;
26
27
  private fsPaths;
27
28
  run(): Promise<AnyJson>;
28
29
  }
@@ -14,7 +14,7 @@ import { Logger, Listr } from 'listr2';
14
14
  import kit from '@salesforce/kit';
15
15
  import { DestructiveChangesType } from '@salesforce/source-deploy-retrieve';
16
16
  import { JayreeSfdxCommand } from '../../../../jayreeSfdxCommand.js';
17
- import { getGitResults, createVirtualTreeContainer, fixComponentSetChilds, getGitDiff, debug, ensureOSPath, getGitArgsFromArgv, } from '../../../../utils/gitdiff.js';
17
+ import { getGitResults, createVirtualTreeContainer, fixComponentSetChilds, getGitDiff, debug, getGitArgsFromArgv, } from '../../../../utils/gitdiff.js';
18
18
  Messages.importMessagesDirectory(new URL('./', import.meta.url).pathname);
19
19
  const messages = Messages.loadMessages('@jayree/sfdx-plugin-manifest', 'gitdiff');
20
20
  const logger = new Logger({ useIcons: false });
@@ -32,7 +32,7 @@ export default class GitDiff extends JayreeSfdxCommand {
32
32
  this.destructiveChangesOnly = this.getFlag('destructivechangesonly');
33
33
  this.outputDir = this.getFlag('outputdir');
34
34
  this.projectRoot = this.project.getPath();
35
- this.sfdxProjectFolders = this.project.getPackageDirectories().map((p) => ensureOSPath(p.path));
35
+ this.sfdxProjectFolders = this.project.getUniquePackageDirectories().map((p) => p.path);
36
36
  this.sourceApiVersion = (await this.project.retrieveSfProjectJson()).getContents().sourceApiVersion;
37
37
  this.destructiveChanges = join(this.outputDir, 'destructiveChanges.xml');
38
38
  this.manifest = join(this.outputDir, 'package.xml');
@@ -56,11 +56,26 @@ export default class GitDiff extends JayreeSfdxCommand {
56
56
  {
57
57
  title: `Execute 'git --no-pager diff --name-status --no-renames ${gitArgs.refString}'`,
58
58
  task: async (ctx, task) => {
59
- this.gitLines = await getGitDiff(this.sfdxProjectFolders, gitArgs.ref1, gitArgs.ref2, this.projectRoot);
59
+ const { gitlines, warnings } = await getGitDiff(this.sfdxProjectFolders, gitArgs.ref1, gitArgs.ref2, this.projectRoot);
60
+ this.gitLines = gitlines;
61
+ this.outputWarnings = warnings;
60
62
  task.output = `Changed files: ${this.gitLines.length}`;
61
63
  },
62
64
  options: { persistentOutput: true },
63
65
  },
66
+ {
67
+ // title: 'Warning output',
68
+ skip: () => !this.outputWarnings?.length,
69
+ task: (ctx, task) => {
70
+ debug({ warnings: this.outputWarnings });
71
+ const moreWarnings = this.outputWarnings.splice(5);
72
+ for (const message of this.outputWarnings) {
73
+ task.output = `Warning: unstaged file ${message}`;
74
+ }
75
+ task.output = moreWarnings.length ? `... ${moreWarnings.length} more warnings` : '';
76
+ },
77
+ options: { persistentOutput: true, bottomBar: 6 },
78
+ },
64
79
  {
65
80
  title: 'Create virtual tree container',
66
81
  skip: () => !this.gitLines.length,
@@ -1 +1 @@
1
- {"version":3,"file":"diff.js","sourceRoot":"","sources":["../../../../../src/commands/jayree/manifest/git/diff.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,IAAI,MAAM,MAAM,CA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AG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC;QAC7C,OAAO,EAAE,EAAE;KACZ,CAAC;IACF,sBAAsB,EAAE,KAAK,CAAC,OAAO,CAAC;QACpC,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,wBAAwB,CAAC;QAC1D,OAAO,EAAE,KAAK;KACf,CAAC;CACH,CAAC;AAEe,wBAAgB,GAAG,KAAK,CAAC;AACzB,8BAAsB,GAAG,KAAK,CAAC;AAC/B,uBAAe,GAAG,IAAI,CAAC"}
@@ -48,7 +48,10 @@ export declare function getFileStateChanges(commitHash1: string, commitHash2: st
48
48
  status: string;
49
49
  }
50
50
  ]>;
51
- export declare function getGitDiff(sfdxProjectFolders: string[], ref1: string, ref2: string, dir: string): Promise<gitLines>;
51
+ export declare function getGitDiff(sfdxProjectFolders: string[], ref1: string, ref2: string, dir: string): Promise<{
52
+ gitlines: gitLines;
53
+ warnings: string[];
54
+ }>;
52
55
  export declare function getGitResults(gitLines: gitLines, ref1VirtualTreeContainer: VirtualTreeContainer, ref2VirtualTreeContainer: VirtualTreeContainer | FSTreeContainer, destructiveChangesOnly: boolean, fsPaths: string[]): Promise<gitResults>;
53
56
  export declare function fixComponentSetChilds(cs: ComponentSet): ComponentSet;
54
57
  export {};
@@ -201,7 +201,7 @@ export async function getFileStateChanges(commitHash1, commitHash2, dir) {
201
201
  return git.walk({
202
202
  fs,
203
203
  dir,
204
- trees: [git.TREE({ ref: commitHash1 }), commitHash2 ? git.TREE({ ref: commitHash2 }) : git.STAGE()],
204
+ trees: [git.TREE({ ref: commitHash1 }), git.TREE({ ref: commitHash2 })],
205
205
  async map(filepath, [A, B]) {
206
206
  if (filepath === '.' || (await A?.type()) === 'tree' || (await B?.type()) === 'tree') {
207
207
  return;
@@ -220,23 +220,85 @@ export async function getFileStateChanges(commitHash1, commitHash2, dir) {
220
220
  }
221
221
  if (type !== 'EQ') {
222
222
  return {
223
- path: filepath,
223
+ path: ensureOSPath(filepath),
224
224
  status: type,
225
225
  };
226
226
  }
227
227
  },
228
228
  });
229
229
  }
230
+ async function getStatusMatrix(dir, ref) {
231
+ const getStatus = (row) => {
232
+ if ([
233
+ [0, 2, 2],
234
+ [0, 2, 3], // added, staged, with unstaged changes
235
+ ].some((a) => a.every((val, index) => val === row[index]))) {
236
+ return 'A';
237
+ }
238
+ if ([
239
+ [1, 0, 0],
240
+ [1, 0, 1],
241
+ [1, 1, 0],
242
+ [1, 2, 0],
243
+ [1, 0, 3], // modified, staged, with unstaged deletion
244
+ ].some((a) => a.every((val, index) => val === row[index]))) {
245
+ return 'D';
246
+ }
247
+ if ([
248
+ [1, 2, 1],
249
+ [1, 2, 2],
250
+ [1, 2, 3], // modified, staged, with unstaged changes
251
+ ].some((a) => a.every((val, index) => val === row[index]))) {
252
+ return 'M';
253
+ }
254
+ };
255
+ const statusMatrix = await git.statusMatrix({ fs, dir, ref });
256
+ const warnings = statusMatrix
257
+ .filter((row) => [
258
+ [0, 2, 0],
259
+ [0, 0, 3],
260
+ [0, 2, 3],
261
+ [1, 2, 1],
262
+ [1, 0, 3],
263
+ [1, 1, 3],
264
+ [1, 2, 3],
265
+ [1, 1, 0],
266
+ [1, 2, 0],
267
+ [1, 0, 1], // deleted, unstaged
268
+ ].some((a) => a.every((val, index) => val === row.slice(1)[index])))
269
+ .map((row) => row[0]);
270
+ const gitlines = statusMatrix
271
+ .filter((row) => ![
272
+ [0, 0, 0],
273
+ [1, 1, 1],
274
+ [0, 0, 3],
275
+ [0, 2, 0],
276
+ [1, 1, 3], // modified, staged, with unstaged original file
277
+ ].some((a) => a.every((val, index) => val === row.slice(1)[index])))
278
+ .map((row) => ({
279
+ path: ensureOSPath(row[0]),
280
+ status: getStatus(row.slice(1)),
281
+ }));
282
+ return { warnings, lines: gitlines };
283
+ }
230
284
  export async function getGitDiff(sfdxProjectFolders, ref1, ref2, dir) {
231
- let gitLines = (await getFileStateChanges(ref1, ref2, dir))
232
- .map((line) => ({ path: ensureOSPath(line.path), status: line.status }))
233
- .filter((l) => sfdxProjectFolders.some((f) => l.path.startsWith(f)));
234
- gitLines = gitLines.filter((line) => {
285
+ let gitlines;
286
+ let warnings;
287
+ sfdxProjectFolders = sfdxProjectFolders.map((p) => ensureOSPath(p));
288
+ if (ref2) {
289
+ gitlines = (await getFileStateChanges(ref1, ref2, dir)).filter((l) => sfdxProjectFolders.some((f) => l.path.startsWith(f)));
290
+ }
291
+ else {
292
+ const { warnings: warn, lines } = await getStatusMatrix(dir, ref1);
293
+ warnings = warn.filter((l) => sfdxProjectFolders.some((f) => l.startsWith(f)));
294
+ gitlines = lines.filter((l) => sfdxProjectFolders.some((f) => l.path.startsWith(f)));
295
+ }
296
+ gitlines = gitlines.filter((line) => {
235
297
  if (line.status === 'D') {
236
298
  for (const sfdxFolder of sfdxProjectFolders) {
237
299
  const defaultFolder = join(sfdxFolder, 'main', 'default');
238
300
  const filePath = line.path.replace(line.path.startsWith(defaultFolder) ? defaultFolder : sfdxFolder, '');
239
- const target = gitLines.find((t) => t.path.endsWith(filePath) && t.status === 'A');
301
+ const target = gitlines.find((t) => t.path.endsWith(filePath) && t.status === 'A');
240
302
  if (target) {
241
303
  debug(`rename: ${line.path} -> ${target.path}`);
242
304
  return false;
@@ -245,8 +307,8 @@ export async function getGitDiff(sfdxProjectFolders, ref1, ref2, dir) {
245
307
  }
246
308
  return true;
247
309
  });
248
- debug({ gitLines });
249
- return gitLines;
310
+ debug({ gitlines, warnings });
311
+ return { gitlines, warnings };
250
312
  }
251
313
  // eslint-disable-next-line complexity
252
314
  export async function getGitResults(gitLines, ref1VirtualTreeContainer, ref2VirtualTreeContainer, destructiveChangesOnly, fsPaths) {
@@ -318,7 +380,7 @@ export async function getGitResults(gitLines, ref1VirtualTreeContainer, ref2Virt
318
380
  if (!destructiveChangesOnly) {
319
381
  for (const c of getComponentsFromPath(ref2Resolver, check.path)) {
320
382
  results.manifest.add(c);
321
- results.output.counts.added++;
383
+ results.output.counts.modified++;
322
384
  }
323
385
  }
324
386
  }
@@ -1 +1 @@
1
- {"version":3,"file":"gitdiff.js","sourceRoot":"","sources":["../../src/utils/gitdiff.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC3D,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,EACL,YAAY,EACZ,cAAc,EACd,QAAQ,EAER,oBAAoB,EAGpB,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAC7F,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,gBAAgB,CAAC;AAEjC,MAAM,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,0BAA0B,CAAC,CAAC;AAEvD,MAAM,cAAc,GAAG,IAAI,cAAc,EAAE,CAAC;AAoB5C,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,OAAe,EAAE,GAAW;IAC3D,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,GAAG,CAAC,GAAG,CAAC;gBAC1B,EAAE;gBACF,GAAG;gBACH,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;SACrD;QAAC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CACtH,CAAC;YACF,OAAO,SAAS,CAAC,MAAM,CAAC;SACzB;QACD,OAAO,SAAS,CAAC;IACnB,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,YAAY,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;AAC5D,CAAC"}
@@ -1 +1 @@
1
- {"version":"2.4.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 %> [-p <array>] [-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"},"sourcepath":{"name":"sourcepath","type":"option","char":"p","description":"comma-separated list of source file paths to limit the diff","multiple":false},"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":{"sourcepath":{"kind":"array","char":"p","description":"comma-separated list of source file paths to limit the diff","input":[],"multiple":false,"type":"option"},"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}}}
1
+ {"version":"2.5.0","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 %> [-p <array>] [-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"},"sourcepath":{"name":"sourcepath","type":"option","char":"p","description":"comma-separated list of source file paths to limit the diff","multiple":false},"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":{"sourcepath":{"kind":"array","char":"p","description":"comma-separated list of source file paths to limit the diff","input":[],"multiple":false,"type":"option"},"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,7 +1,7 @@
1
1
  {
2
2
  "name": "@jayree/sfdx-plugin-manifest",
3
3
  "description": "A Salesforce CLI plugin containing commands for creating manifest files from Salesforce orgs or git commits of sfdx projects.",
4
- "version": "2.4.8",
4
+ "version": "2.5.0",
5
5
  "author": "jayree",
6
6
  "type": "module",
7
7
  "bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",