@jayree/sfdx-plugin-manifest 2.1.7 → 2.1.8

Sign up to get free protection for your applications and to get access to all the features.
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.1.7
21
+ @jayree/sfdx-plugin-manifest 2.1.8
22
22
  $ sfdx help jayree:COMMAND
23
23
  USAGE
24
24
  $ sfdx jayree:COMMAND
@@ -58,7 +58,7 @@ EXAMPLE
58
58
  $ sfdx jayree:manifest:cleanup --manifest=package.xml --file=packageignore.xml
59
59
  ```
60
60
 
61
- _See code: [commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.1.7/commands/jayree/manifest/cleanup.ts)_
61
+ _See code: [commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.1.8/commands/jayree/manifest/cleanup.ts)_
62
62
 
63
63
  ### `sfdx jayree:manifest:generate`
64
64
 
@@ -109,7 +109,7 @@ EXAMPLES
109
109
  <Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
110
110
  ```
111
111
 
112
- _See code: [commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.1.7/commands/jayree/manifest/generate.ts)_
112
+ _See code: [commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.1.8/commands/jayree/manifest/generate.ts)_
113
113
 
114
114
  ### `sfdx jayree:manifest:git:diff`
115
115
 
@@ -159,5 +159,5 @@ EXAMPLES
159
159
  uses the diff of what is unique in branchB (REF2)
160
160
  ```
161
161
 
162
- _See code: [commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.1.7/commands/jayree/manifest/git/diff.ts)_
162
+ _See code: [commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.1.8/commands/jayree/manifest/git/diff.ts)_
163
163
  <!-- commandsstop -->
@@ -11,43 +11,77 @@ exports.changelog = void 0;
11
11
  const path_1 = require("path");
12
12
  const fs = require("fs-extra");
13
13
  const debug_1 = require("debug");
14
- const terminalRenderer = require("marked-terminal");
14
+ const TerminalRenderer = require("marked-terminal");
15
15
  const marked_1 = require("marked");
16
+ const semver = require("semver");
17
+ const cli_ux_1 = require("cli-ux");
16
18
  const debug = (0, debug_1.debug)('jayree:hooks');
19
+ // original from https://github.com/salesforcecli/plugin-info/blob/main/src/shared/parseReleaseNotes.ts
20
+ const parseReleaseNotes = (notes, version) => {
21
+ let found = false;
22
+ let closestVersion;
23
+ let versions;
24
+ const parsed = marked_1.marked.lexer(notes);
25
+ let tokens;
26
+ const findVersion = (desiredVersion) => {
27
+ versions = [];
28
+ tokens = parsed.filter((token) => {
29
+ // TODO: Could make header depth (2) a setting in oclif.info.releasenotes
30
+ if (token.type === 'heading' && token.depth <= 2) {
31
+ const coercedVersion = semver.coerce(token.text).version;
32
+ // We will use this to find the closest patch if passed version is not found
33
+ versions.push(coercedVersion);
34
+ if (coercedVersion === desiredVersion) {
35
+ found = true;
36
+ return token;
37
+ }
38
+ found = false;
39
+ }
40
+ else if (found === true) {
41
+ return token;
42
+ }
43
+ });
44
+ };
45
+ findVersion(version);
46
+ if (!tokens.length) {
47
+ // If version was not found, try again with the closest patch version
48
+ const semverRange = `${semver.major(version)}.${semver.minor(version)}.x`;
49
+ closestVersion = semver.maxSatisfying(versions, semverRange);
50
+ findVersion(closestVersion);
51
+ }
52
+ if (closestVersion !== undefined) {
53
+ const warning = marked_1.marked.lexer(`# ATTENTION: Version ${version} was not found. Showing notes for closest patch version ${closestVersion}.`)[0];
54
+ tokens.unshift(warning);
55
+ }
56
+ return tokens;
57
+ };
17
58
  const changelog = function () {
18
59
  process.once('exit', () => {
19
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call
20
- marked_1.marked.setOptions({ renderer: new terminalRenderer() });
21
60
  try {
22
- const moduleRootPath = (0, path_1.join)(__dirname, '..', '..');
23
- const changelogFile = fs.readFileSync((0, path_1.join)(moduleRootPath, 'CHANGELOG.md'), 'utf8');
24
- const packageJson = fs.readJSONSync((0, path_1.join)(moduleRootPath, 'package.json'));
25
- const cacheDir = (0, path_1.join)(this.config.cacheDir, packageJson.name);
61
+ const pluginRootPath = (0, path_1.join)(__dirname, '..', '..');
62
+ const { name, version } = fs.readJsonSync((0, path_1.join)(pluginRootPath, 'package.json'));
63
+ const changelogFile = fs.readFileSync((0, path_1.join)(pluginRootPath, 'CHANGELOG.md'), 'utf8');
64
+ const cacheDir = (0, path_1.join)(this.config.cacheDir, name);
26
65
  fs.ensureDirSync(cacheDir);
27
66
  const versionFile = (0, path_1.join)(cacheDir, 'version');
28
- let changelogText;
29
- try {
30
- const latestVersion = fs.readJSONSync(versionFile);
31
- changelogText = changelogFile.substring(0, changelogFile.indexOf(`[${latestVersion.version}]`));
32
- if (changelogText.length === 0) {
33
- throw new Error('version not found');
34
- }
35
- }
36
- catch (err) {
37
- changelogText = changelogFile.substring(0, changelogFile.indexOf('# [', 2));
38
- }
39
- finally {
40
- changelogText = changelogText.substring(0, changelogText.lastIndexOf('\n'));
41
- if (changelogText.length > 0) {
42
- // eslint-disable-next-line no-console
43
- console.log((0, marked_1.marked)(`# CHANGELOG (${packageJson.name})`));
44
- // eslint-disable-next-line no-console
45
- console.log((0, marked_1.marked)(changelogText));
67
+ const latestVersion = fs.readJSONSync(versionFile);
68
+ debug({ latestVersion: latestVersion.version, version });
69
+ if (latestVersion.version !== version) {
70
+ const tokens = parseReleaseNotes(changelogFile, version);
71
+ if (!tokens.length) {
72
+ debug(`${name} - didn't find version '${version}'.`);
46
73
  }
47
74
  else {
48
- debug(`${packageJson.name} - no update`);
75
+ marked_1.marked.setOptions({
76
+ renderer: new TerminalRenderer({ emoji: false }),
77
+ });
78
+ tokens.unshift(marked_1.marked.lexer(`# Changelog for '${name}':`)[0]);
79
+ cli_ux_1.cli.log(marked_1.marked.parser(tokens));
80
+ fs.writeJsonSync(versionFile, { version });
49
81
  }
50
- fs.writeJsonSync(versionFile, { version: packageJson.version });
82
+ }
83
+ else {
84
+ debug(`${name} - no update`);
51
85
  }
52
86
  }
53
87
  catch (error) {
@@ -1 +1 @@
1
- {"version":3,"file":"changelog.js","sourceRoot":"","sources":["../../src/hooks/changelog.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,0BAA0B;AAC1B,+BAA4B;AAC5B,+BAA+B;AAE/B,iCAAuC;AACvC,oDAAqD;AACrD,mCAAgC;AAEhC,MAAM,KAAK,GAAG,IAAA,aAAK,EAAC,cAAc,CAAC,CAAC;AAE7B,MAAM,SAAS,GAAsB;IAC1C,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE;QACxB,sGAAsG;QACtG,eAAM,CAAC,UAAU,CAAC,EAAE,QAAQ,EAAE,IAAI,gBAAgB,EAAE,EAAE,CAAC,CAAC;QACxD,IAAI;YACF,MAAM,cAAc,GAAG,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;YACnD,MAAM,aAAa,GAAG,EAAE,CAAC,YAAY,CAAC,IAAA,WAAI,EAAC,cAAc,EAAE,cAAc,CAAC,EAAE,MAAM,CAAC,CAAC;YACpF,MAAM,WAAW,GAAG,EAAE,CAAC,YAAY,CAAC,IAAA,WAAI,EAAC,cAAc,EAAE,cAAc,CAAC,CAAsC,CAAC;YAC/G,MAAM,QAAQ,GAAG,IAAA,WAAI,EAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;YAC9D,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;YAC3B,MAAM,WAAW,GAAG,IAAA,WAAI,EAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;YAC9C,IAAI,aAAqB,CAAC;YAC1B,IAAI;gBACF,MAAM,aAAa,GA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,CAAC,OAAO,KAAK,OAAO,EAAE;gBACrC,MAAM,MAAM,GAAG,iBAAiB,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;gBACzD,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE;oBAClB,KAAK,CAAC,GAAG,IAAI,2BAA2B,OAAO,IAAI,CAAC,CAAC;iBACtD;qBAAM;oBACL,eAAM,CAAC,UAAU,CAAC;wBAChB,QAAQ,EAAE,IAAI,gBAAgB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;qBACjD,CAAC,CAAC;oBACH,MAAM,CAAC,OAAO,CAAC,eAAM,CAAC,KAAK,CAAC,oBAAoB,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBAC9D,YAAG,CAAC,GAAG,CAAC,eAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;oBAC/B,EAAE,CAAC,aAAa,CAAC,WAAW,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC;iBAC5C;aACF;iBAAM;gBACL,KAAK,CAAC,GAAG,IAAI,cAAc,CAAC,CAAC;aAC9B;SACF;QAAC,OAAO,KAAK,EAAE;YACd,KAAK,CAAC,KAAK,CAAC,CAAC;SACd;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAjCW,QAAA,SAAS,aAiCpB"}
@@ -13,14 +13,15 @@ const utils_1 = require("@salesforce/source-deploy-retrieve/lib/src/utils");
13
13
  const fast_xml_parser_1 = require("fast-xml-parser");
14
14
  const common_1 = require("@salesforce/source-deploy-retrieve/lib/src/common");
15
15
  function parseManifest(xmlData) {
16
- const { Package: { types, version }, } = (0, fast_xml_parser_1.parse)(xmlData, { stopNodes: ['version'] });
16
+ const parser = new fast_xml_parser_1.XMLParser({ stopNodes: ['version'], parseTagValue: false });
17
+ const { Package: { types, version }, } = parser.parse(xmlData);
17
18
  const packageTypeMembers = (0, utils_1.normalizeToArray)(types);
18
19
  return { packageTypeMembers, version };
19
20
  }
20
21
  function js2Manifest(jsData) {
21
- const js2Xml = new fast_xml_parser_1.j2xParser({ format: true, indentBy: ' ', ignoreAttributes: false });
22
+ const js2Xml = new fast_xml_parser_1.XMLBuilder({ format: true, indentBy: ' ', ignoreAttributes: false });
22
23
  jsData.Package[common_1.XML_NS_KEY] = common_1.XML_NS_URL;
23
- return common_1.XML_DECL.concat(js2Xml.parse(jsData));
24
+ return common_1.XML_DECL.concat(js2Xml.build(jsData));
24
25
  }
25
26
  async function cleanupManifestFile(manifest, ignoreManifest) {
26
27
  const { packageTypeMembers: manifestTypeMembers, version } = parseManifest(fs.readFileSync(manifest, 'utf8'));
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../src/utils/manifest.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,mCAA6B;AAC7B,+BAA+B;AAC/B,4EAAoF;AAEpF,qDAA+D;AAC/D,8EAAqG;AAUrG,SAAS,aAAa,CAAC,OAAe;IACpC,MAAM,EACJ,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,GAC5B,GAAG,IAAA,uBAAQ,EAAC,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,SAAS,CAAC,EAAE,CAA0B,CAAC;IAE3E,MAAM,kBAAkB,GAAG,IAAA,wBAAgB,EAAC,KAAK,CAAC,CAAC;IACnD,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,CAAC;AACzC,CAAC;AAED,SAAS,WAAW,CAAC,MAA6B;IAChD,MAAM,MAAM,GAAG,IAAI,2BAAS,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,EAAE,CAAC,CAAC;IAC1F,MAAM,CAAC,OAAO,CAAC,mBAAU,CAAC,GAAG,mBAAU,CAAC;IACxC,OAAO,iBAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAW,CAAC,CAAC;AACzD,CAAC;AAEM,KAAK,U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E,CAAC;IAC7C,KAAK,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,OAAO,CAAC,OAAO,EAAE,EAAE;QACnD,IAAI,OAAO,CAAC,MAAM,EAAE;YAClB,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;SAC/C;KACF;IAED,MAAM,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;AAC1F,CAAC;AAvDD,kDAuDC"}
@@ -1 +1 @@
1
- {"version":"2.1.7","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.","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":[],"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)","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 manifest file form the specified org\nUse this command to generate a manifest file based on an existing 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\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)","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","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)","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","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}]}}}
1
+ {"version":"2.1.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.","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":[],"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)","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 manifest file form the specified org\nUse this command to generate a manifest file based on an existing 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\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)","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","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)","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","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}]}}}
package/package.json CHANGED
@@ -1,31 +1,32 @@
1
1
  {
2
2
  "name": "@jayree/sfdx-plugin-manifest",
3
3
  "description": "jayree sfdx manifest commands",
4
- "version": "2.1.7",
4
+ "version": "2.1.8",
5
5
  "author": "jayree",
6
6
  "bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",
7
7
  "dependencies": {
8
8
  "@oclif/config": "^1.18.2",
9
9
  "@salesforce/command": "^4.2.1",
10
10
  "@salesforce/core": "^2.33.1",
11
- "@salesforce/kit": "^1.5.22",
12
- "@salesforce/source-deploy-retrieve": "^5.8.2",
11
+ "@salesforce/kit": "^1.5.26",
12
+ "@salesforce/source-deploy-retrieve": "^5.9.1",
13
13
  "@salesforce/ts-types": "^1.5.20",
14
14
  "cli-ux": "^5.6.7",
15
15
  "debug": "^4.3.3",
16
16
  "fast-deep-equal": "^3.1.3",
17
- "fast-xml-parser": "^3.21.1",
17
+ "fast-xml-parser": "^4.0.0",
18
18
  "fs-extra": "^10.0.0",
19
19
  "isomorphic-git": "^1.10.3",
20
20
  "jsforce": "^1.11.0",
21
- "listr2": "^3.13.5",
22
- "marked": "^4.0.8",
21
+ "listr2": "^4.0.0",
22
+ "marked": "^4.0.9",
23
23
  "marked-terminal": "^4.2.0",
24
+ "semver": "^7.3.5",
24
25
  "tslib": "^2.3.1"
25
26
  },
26
27
  "devDependencies": {
27
- "@commitlint/cli": "^15.0.0",
28
- "@commitlint/config-conventional": "^15.0.0",
28
+ "@commitlint/cli": "^16.0.1",
29
+ "@commitlint/config-conventional": "^16.0.0",
29
30
  "@oclif/dev-cli": "^1.26.10",
30
31
  "@salesforce/dev-config": "^3.0.0",
31
32
  "@salesforce/dev-scripts": "^2.0.0",
@@ -34,25 +35,26 @@
34
35
  "@types/chai": "^4.3.0",
35
36
  "@types/debug": "^4.1.7",
36
37
  "@types/fs-extra": "^9.0.13",
37
- "@types/jsforce": "^1.9.37",
38
+ "@types/jsforce": "^1.9.38",
38
39
  "@types/marked": "^4.0.1",
40
+ "@types/marked-terminal": "^3.1.3",
39
41
  "@types/mocha": "^9.0.0",
40
- "@types/node": "^17.0.4",
42
+ "@types/node": "^17.0.8",
43
+ "@types/semver": "^7.3.9",
41
44
  "@types/sinon": "10.0.6",
42
- "@typescript-eslint/eslint-plugin": "^5.8.0",
43
- "@typescript-eslint/parser": "^5.8.0",
45
+ "@typescript-eslint/eslint-plugin": "^5.9.0",
46
+ "@typescript-eslint/parser": "^5.9.0",
44
47
  "chai": "^4.3.4",
45
- "eslint": "^8.5.0",
48
+ "eslint": "^8.6.0",
46
49
  "eslint-config-oclif": "^4.0",
47
50
  "eslint-config-prettier": "^8.3.0",
48
51
  "eslint-config-salesforce": "^0.1.6",
49
52
  "eslint-config-salesforce-license": "^0.1.6",
50
53
  "eslint-config-salesforce-typescript": "^0.2.8",
51
54
  "eslint-plugin-header": "^3.1.1",
52
- "eslint-plugin-import": "2.25.3",
53
- "eslint-plugin-jsdoc": "^37.4.0",
55
+ "eslint-plugin-import": "2.25.4",
56
+ "eslint-plugin-jsdoc": "^37.5.1",
54
57
  "eslint-plugin-prettier": "^4.0.0",
55
- "eslint-plugin-typescript": "^0.14.0",
56
58
  "husky": "^7.0.4",
57
59
  "is-ci": "^3.0.1",
58
60
  "mocha": "^9.1.3",