@jayree/sfdx-plugin-manifest 2.2.4 → 2.2.5

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [2.2.5](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.2.4...v2.2.5) (2022-06-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix getPackageXml ([84236f3](https://github.com/jayree/sfdx-plugin-manifest/commit/84236f34bc1656adb6d6de2158b0039ce07e54c3))
7
+ * resolve components hotfix where type string is empty ([8e2a504](https://github.com/jayree/sfdx-plugin-manifest/commit/8e2a5043e4f5d028af4a57ee99ce78911da77c30))
8
+
1
9
  ## [2.2.4](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.2.3...v2.2.4) (2022-05-29)
2
10
 
3
11
 
package/README.md CHANGED
@@ -18,7 +18,7 @@ $ sfdx plugins:install @jayree/sfdx-plugin-manifest
18
18
  $ sfdx jayree:[COMMAND]
19
19
  running command...
20
20
  $ sfdx plugins
21
- @jayree/sfdx-plugin-manifest 2.2.4
21
+ @jayree/sfdx-plugin-manifest 2.2.5
22
22
  $ sfdx help jayree:[COMMAND]
23
23
  USAGE
24
24
  $ sfdx jayree:COMMAND
@@ -58,7 +58,7 @@ EXAMPLES
58
58
  $ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml
59
59
  ```
60
60
 
61
- _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.4/src/commands/jayree/manifest/cleanup.ts)_
61
+ _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.5/src/commands/jayree/manifest/cleanup.ts)_
62
62
 
63
63
  ### `sfdx jayree:manifest:generate`
64
64
 
@@ -102,7 +102,7 @@ EXAMPLES
102
102
  <Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
103
103
  ```
104
104
 
105
- _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.4/src/commands/jayree/manifest/generate.ts)_
105
+ _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.5/src/commands/jayree/manifest/generate.ts)_
106
106
 
107
107
  ### `sfdx jayree:manifest:git:diff`
108
108
 
@@ -162,5 +162,5 @@ EXAMPLES
162
162
  uses the diff of what is unique in branchB (REF2)
163
163
  ```
164
164
 
165
- _See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.4/src/commands/jayree/manifest/git/diff.ts)_
165
+ _See code: [src/commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.5/src/commands/jayree/manifest/git/diff.ts)_
166
166
  <!-- commandsstop -->
@@ -12,7 +12,66 @@ 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");
15
17
  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
+ };
16
75
  const registryAccess = new source_deploy_retrieve_1.RegistryAccess();
17
76
  core_1.Messages.importMessagesDirectory(__dirname);
18
77
  const messages = core_1.Messages.loadMessages('@jayree/sfdx-plugin-manifest', 'manifestgenerate');
@@ -88,7 +147,7 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
88
147
  componentSet.apiVersion = this.cacheConnection.getApiVersion();
89
148
  if (file) {
90
149
  await fs.ensureFile(file);
91
- await fs.writeFile(file, componentSet.getPackageXml());
150
+ await fs.writeFile(file, await componentSet.getPackageXml());
92
151
  }
93
152
  else {
94
153
  this.ux.log(await componentSet.getPackageXml());
@@ -1 +1 @@
1
- {"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../src/commands/jayree/manifest/generate.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;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AW,EAAE,QAAQ,CAAC,UAAU,CAAC,+BAA+B,CAAC;KAClE,CAAC;IACF,mBAAmB,EAAE,eAAK,CAAC,OAAO,CAAC;QACjC,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,gCAAgC,CAAC;KACnE,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC;KACxD,CAAC;IACF,cAAc,EAAE,eAAK,CAAC,OAAO,CAAC;QAC5B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,+BAA+B,CAAC;QACjE,SAAS,EAAE,CAAC,YAAY,CAAC;KAC1B,CAAC;IACF,UAAU,EAAE,eAAK,CAAC,OAAO,CAAC;QACxB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;QAC7D,SAAS,EAAE,CAAC,gBAAgB,CAAC;KAC9B,CAAC;CACH,CAAC;AAEe,mCAAgB,GAAG,IAAI,CAAC;AACxB,yCAAsB,GAAG,KAAK,CAAC;AAC/B,kCAAe,GAAG,KAAK,CAAC"}
@@ -125,7 +125,7 @@ class GitDiff extends jayreeSfdxCommand_1.JayreeSfdxCommand {
125
125
  title: (0, path_1.relative)(this.projectRoot, this.manifest),
126
126
  task: async () => {
127
127
  await fs.ensureDir((0, path_1.dirname)(this.manifest));
128
- await fs.writeFile(this.manifest, this.componentSet.getPackageXml());
128
+ await fs.writeFile(this.manifest, await this.componentSet.getPackageXml());
129
129
  },
130
130
  options: { persistentOutput: true },
131
131
  },
@@ -134,7 +134,7 @@ class GitDiff extends jayreeSfdxCommand_1.JayreeSfdxCommand {
134
134
  skip: () => !this.componentSet.getTypesOfDestructiveChanges().length,
135
135
  task: async () => {
136
136
  await fs.ensureDir((0, path_1.dirname)(this.destructiveChanges));
137
- await fs.writeFile(this.destructiveChanges, this.componentSet.getPackageXml(undefined, source_deploy_retrieve_1.DestructiveChangesType.POST));
137
+ await fs.writeFile(this.destructiveChanges, await this.componentSet.getPackageXml(undefined, source_deploy_retrieve_1.DestructiveChangesType.POST));
138
138
  },
139
139
  options: { persistentOutput: true },
140
140
  },
@@ -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,CAA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,CAAC,MAAM,CAAC;SACzB;QACD,OAAO,SAAS,CAAC;IACnB,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,qCAAY,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;AAC5D,CAAC;AArBD,sDAqBC"}
@@ -1 +1 @@
1
- {"version":"2.2.4","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}}}
1
+ {"version":"2.2.5","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,20 +1,20 @@
1
1
  {
2
2
  "name": "@jayree/sfdx-plugin-manifest",
3
3
  "description": "jayree sfdx manifest commands",
4
- "version": "2.2.4",
4
+ "version": "2.2.5",
5
5
  "author": "jayree",
6
6
  "bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^1.9.0",
9
9
  "@salesforce/command": "^5.1.3",
10
- "@salesforce/kit": "^1.5.41",
10
+ "@salesforce/kit": "^1.5.42",
11
11
  "@salesforce/source-deploy-retrieve": "^6.0.2",
12
12
  "@salesforce/ts-types": "^1.5.20",
13
13
  "debug": "^4.3.4",
14
14
  "fast-deep-equal": "^3.1.3",
15
15
  "fast-xml-parser": "^4.0.8",
16
16
  "fs-extra": "^10.1.0",
17
- "isomorphic-git": "^1.17.2",
17
+ "isomorphic-git": "^1.17.3",
18
18
  "listr2": "^4.0.5",
19
19
  "marked": "^4.0.16",
20
20
  "marked-terminal": "^4.2.0",
@@ -22,8 +22,8 @@
22
22
  "tslib": "^2.4.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@commitlint/cli": "^17.0.1",
26
- "@commitlint/config-conventional": "^17.0.0",
25
+ "@commitlint/cli": "^17.0.2",
26
+ "@commitlint/config-conventional": "^17.0.2",
27
27
  "@oclif/plugin-command-snapshot": "^3",
28
28
  "@oclif/plugin-help": "^5.1.12",
29
29
  "@salesforce/dev-config": "^3.0.1",
@@ -36,13 +36,13 @@
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": "^17.0.36",
39
+ "@types/node": "^17.0.39",
40
40
  "@types/semver": "^7.3.9",
41
41
  "@types/sinon": "10.0.11",
42
- "@typescript-eslint/eslint-plugin": "^5.26.0",
43
- "@typescript-eslint/parser": "^5.26.0",
42
+ "@typescript-eslint/eslint-plugin": "^5.27.0",
43
+ "@typescript-eslint/parser": "^5.27.0",
44
44
  "chai": "^4.3.6",
45
- "eslint": "^8.16.0",
45
+ "eslint": "^8.17.0",
46
46
  "eslint-config-oclif": "^4.0",
47
47
  "eslint-config-prettier": "^8.5.0",
48
48
  "eslint-config-salesforce": "^0.1.6",
@@ -63,8 +63,8 @@
63
63
  "shx": "^0.3.4",
64
64
  "sinon": "14.0.0",
65
65
  "source-map-support": "~0.5.21",
66
- "ts-node": "^10.8.0",
67
- "typescript": "^4.7.2"
66
+ "ts-node": "^10.8.1",
67
+ "typescript": "^4.7.3"
68
68
  },
69
69
  "engines": {
70
70
  "node": ">=14.17.1"