@jayree/sfdx-plugin-manifest 2.2.2 → 2.2.3

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [2.2.3](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.2.2...v2.2.3) (2022-05-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** bump @salesforce/source-deploy-retrieve from 5.15.0 to 6.0.2 ([98a9f5c](https://github.com/jayree/sfdx-plugin-manifest/commit/98a9f5cec33250f4eda1dfda194f6a08acf8bd31))
7
+ * **deps:** bump marked from 4.0.15 to 4.0.16 ([cd081ed](https://github.com/jayree/sfdx-plugin-manifest/commit/cd081edd57a55d137977bd2d232927978e670f08))
8
+ * upgrade to oclif/core ([73adf80](https://github.com/jayree/sfdx-plugin-manifest/commit/73adf80f37fbd3f3ea09497bb2ee36f2acc57cfd))
9
+
1
10
  ## [2.2.2](https://github.com/jayree/sfdx-plugin-manifest/compare/v2.2.1...v2.2.2) (2022-05-14)
2
11
 
3
12
 
package/README.md CHANGED
@@ -15,11 +15,11 @@ jayree sfdx manifest commands
15
15
  <!-- usage -->
16
16
  ```sh-session
17
17
  $ sfdx plugins:install @jayree/sfdx-plugin-manifest
18
- $ sfdx jayree:COMMAND
18
+ $ sfdx jayree:[COMMAND]
19
19
  running command...
20
20
  $ sfdx plugins
21
- @jayree/sfdx-plugin-manifest 2.2.2
22
- $ sfdx help jayree:COMMAND
21
+ @jayree/sfdx-plugin-manifest 2.2.3
22
+ $ sfdx help jayree:[COMMAND]
23
23
  USAGE
24
24
  $ sfdx jayree:COMMAND
25
25
  ...
@@ -36,29 +36,29 @@ removes those tags from a manifest file that are present in a second manifest fi
36
36
 
37
37
  ```
38
38
  USAGE
39
- $ sfdx jayree:manifest:cleanup [-x <filepath>] [-f <filepath>] [--json] [--loglevel
40
- trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
39
+ $ sfdx jayree:manifest:cleanup [-x <filepath>] [-f <filepath>] [--json] [--loglevel
40
+ trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
41
41
 
42
- OPTIONS
43
- -f, --file=file path to the second 'cleanup'
42
+ FLAGS
43
+ -f, --file=<value> path to the second 'cleanup'
44
44
  manifest file
45
-
46
- -x, --manifest=manifest path to the manifest file
47
-
45
+ -x, --manifest=<value> path to the manifest file
48
46
  --json format output as json
49
-
50
47
  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
51
48
  this command invocation
52
49
 
53
50
  DESCRIPTION
51
+ removes those tags from a manifest file that are present in a second manifest file
52
+
54
53
  Use this command to remove components or metadata types from a manifes file.
54
+
55
55
  If the 'cleanup' manifest file (--file) doesn't exist, a template file is created, which can then be modified.
56
56
 
57
- EXAMPLE
57
+ EXAMPLES
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.2.2/commands/jayree/manifest/cleanup.ts)_
61
+ _See code: [src/commands/jayree/manifest/cleanup.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.3/src/commands/jayree/manifest/cleanup.ts)_
62
62
 
63
63
  ### `sfdx jayree:manifest:generate`
64
64
 
@@ -66,52 +66,43 @@ generate a complete manifest file form the specified org
66
66
 
67
67
  ```
68
68
  USAGE
69
- $ sfdx jayree:manifest:generate [-q <array>] [-c] [-w] [--includeflowversions] [-f <string>] [-x | -a] [-u <string>]
70
- [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
69
+ $ sfdx jayree:manifest:generate [-q <array>] [-c] [-w] [--includeflowversions] [-f <string>] [-x | -a] [-u <string>]
70
+ [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
71
71
 
72
- OPTIONS
72
+ FLAGS
73
73
  -a, --excludeall exclude all packages from output
74
-
75
74
  -c, --matchcase enable 'match case' for the
76
75
  quickfilter
77
-
78
- -f, --file=file write to 'file' instead of stdout
79
-
80
- -q, --quickfilter=quickfilter csv separated list of metadata type,
76
+ -f, --file=<value> write to 'file' instead of stdout
77
+ -q, --quickfilter=<value> csv separated list of metadata type,
81
78
  member or file names to filter on
82
-
83
- -u, --targetusername=targetusername username or alias for the target
79
+ -u, --targetusername=<value> username or alias for the target
84
80
  org; overrides default target org
85
-
86
81
  -w, --matchwholeword enable 'match whole word' for the
87
82
  quickfilter
88
-
89
83
  -x, --excludemanaged exclude managed packages from output
90
-
91
- --apiversion=apiversion override the api version used for
84
+ --apiversion=<value> override the api version used for
92
85
  api requests made by this command
93
-
94
86
  --includeflowversions include flow versions as with api
95
87
  version 43.0
96
-
97
88
  --json format output as json
98
-
99
89
  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
100
90
  this command invocation
101
91
 
102
92
  DESCRIPTION
103
- Use this command to generate a manifest file based on an existing org.
93
+ generate a complete manifest file form the specified org
104
94
 
105
- ALIASES
106
- $ sfdx jayree:packagexml
95
+ Use this command to generate a manifest file based on an existing org.
107
96
 
108
97
  EXAMPLES
109
98
  $ sfdx jayree:manifest:generate --targetusername myOrg@example.com
99
+
110
100
  <?xml version='1.0' encoding='UTF-8'?>
101
+
111
102
  <Package xmlns='http://soap.sforce.com/2006/04/metadata'>...</Package>
112
103
  ```
113
104
 
114
- _See code: [commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.2/commands/jayree/manifest/generate.ts)_
105
+ _See code: [src/commands/jayree/manifest/generate.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.3/src/commands/jayree/manifest/generate.ts)_
115
106
 
116
107
  ### `sfdx jayree:manifest:git:diff`
117
108
 
@@ -119,47 +110,57 @@ create a manifest and destructiveChanges manifest using 'git diff' data
119
110
 
120
111
  ```
121
112
  USAGE
122
- $ sfdx jayree:manifest:git:diff [-o <string>] [-d] [--json] [--loglevel
123
- trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
113
+ $ sfdx jayree:manifest:git:diff [-o <string>] [-d] [--json] [--loglevel
114
+ trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
124
115
 
125
116
  ARGUMENTS
126
117
  REF1 base commit or branch
127
118
  REF2 commit or branch to compare to the base commit
128
119
 
129
- OPTIONS
120
+ FLAGS
130
121
  -d, --destructivechangesonly create a destructiveChanges manifest
131
122
  only (package.xml will be empty)
132
-
133
- -o, --outputdir=outputdir directory to save the created
123
+ -o, --outputdir=<value> directory to save the created
134
124
  manifest files
135
-
136
125
  --json format output as json
137
-
138
126
  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
139
127
  this command invocation
140
128
 
141
129
  DESCRIPTION
142
- Use this command to create a manifest and destructiveChanges manifest file based on the difference (git diff) of two
130
+ create a manifest and destructiveChanges manifest using 'git diff' data
131
+
132
+ Use this command to create a manifest and destructiveChanges manifest file based on the difference (git diff) of two
143
133
  git refs.
144
134
 
145
135
  You can use all ways to spell <commit> which are valid for 'git diff'.
136
+
146
137
  (See https://git-scm.com/docs/git-diff)
147
138
 
148
139
  EXAMPLES
149
140
  $ sfdx jayree:manifest:git:diff <commit> <commit>
141
+
150
142
  $ sfdx jayree:manifest:git:diff <commit>..<commit>
143
+
151
144
  uses the changes between two arbitrary <commit>
152
145
 
146
+
147
+
153
148
  $ sfdx jayree:manifest:git:diff <commit>...<commit>
154
- uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both
155
- <commit>.
149
+
150
+ uses the changes on the branch containing and up to the second <commit>, starting at a common ancestor of both <commit>.
151
+
156
152
 
153
+
157
154
  $ sfdx jayree:manifest:git:diff branchA..branchB
155
+
158
156
  uses the diff of what is unique in branchB (REF2) and unique in branchA (REF1)
159
157
 
158
+
159
+
160
160
  $ sfdx jayree:manifest:git:diff branchA...branchB
161
+
161
162
  uses the diff of what is unique in branchB (REF2)
162
163
  ```
163
164
 
164
- _See code: [commands/jayree/manifest/git/diff.ts](https://github.com/jayree/sfdx-plugin-manifest/blob/v2.2.2/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.3/src/commands/jayree/manifest/git/diff.ts)_
165
166
  <!-- commandsstop -->
@@ -1,5 +1,5 @@
1
1
  import { FlagsConfig } from '@salesforce/command';
2
- import { FileProperties, ListMetadataQuery } from 'jsforce';
2
+ import { FileProperties, ListMetadataQuery } from '@salesforce/source-deploy-retrieve/lib/src/client/types';
3
3
  import { Connection } from '@salesforce/core';
4
4
  import { PackageManifestObject } from '@salesforce/source-deploy-retrieve';
5
5
  import { JayreeSfdxCommand } from '../../../jayreeSfdxCommand';
@@ -28,7 +28,6 @@ export interface FlowDefinitionRecord {
28
28
  };
29
29
  }
30
30
  export default class GeneratePackageXML extends JayreeSfdxCommand {
31
- static aliases: string[];
32
31
  static description: string;
33
32
  static examples: string[];
34
33
  protected static flagsConfig: FlagsConfig;
@@ -20,7 +20,6 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
20
20
  // eslint-disable-next-line complexity
21
21
  async run() {
22
22
  var _a, _b, _c, _d;
23
- this.warnIfRunByAlias(GeneratePackageXML.aliases, GeneratePackageXML.id);
24
23
  await this.org.refreshAuth();
25
24
  const file = this.getFlag('file');
26
25
  this.ux.startSpinner(`Generating ${file || 'package.xml'}`);
@@ -92,7 +91,7 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
92
91
  await fs.writeFile(file, componentSet.getPackageXml());
93
92
  }
94
93
  else {
95
- this.ux.log(componentSet.getPackageXml());
94
+ this.ux.log(await componentSet.getPackageXml());
96
95
  }
97
96
  this.ux.stopSpinner();
98
97
  return componentSet.getObject();
@@ -103,7 +102,7 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
103
102
  if (!apiVersion) {
104
103
  apiVersion = this.cacheConnection.getApiVersion();
105
104
  }
106
- members = (0, utils_1.normalizeToArray)(await this.cacheConnection.metadata.list(query, apiVersion));
105
+ members = (0, utils_1.normalizeToArray)((await this.cacheConnection.metadata.list(query, apiVersion)));
107
106
  }
108
107
  catch (error) {
109
108
  members = [];
@@ -113,7 +112,6 @@ class GeneratePackageXML extends jayreeSfdxCommand_1.JayreeSfdxCommand {
113
112
  }
114
113
  }
115
114
  exports.default = GeneratePackageXML;
116
- GeneratePackageXML.aliases = ['jayree:packagexml'];
117
115
  GeneratePackageXML.description = messages.getMessage('commandDescription');
118
116
  GeneratePackageXML.examples = messages.getMessage('examples').split(os.EOL);
119
117
  GeneratePackageXML.flagsConfig = {
@@ -1 +1 @@
1
- {"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../src/commands/jayree/manifest/generate.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AAEzD,2CAAwD;AACxD,+EAAyG;AACzG,4EAAoF;AACpF,+BAA+B;AAC/B,kEAA+D;AAE/D,MAAM,cAAc,GAAG,IAAI,uCAAc,EAAE,CAAC;AAE5C,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAAC;AAsB3F,MAAqB,kBAAmB,SAAQ,qCAAiB;IA6C/D,sCAAsC;IAC/B,KAAK,CAAC,GAAG;;QACd,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,EAAE,CAAC,CAAC;QACzE,MAAM,IAAI,CAAC,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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"}
@@ -1,16 +1,11 @@
1
+ import { ArgInput } from '@oclif/core/lib/interfaces';
1
2
  import { FlagsConfig } from '@salesforce/command';
2
3
  import { AnyJson } from '@salesforce/ts-types';
3
4
  import { JayreeSfdxCommand } from '../../../../jayreeSfdxCommand';
4
5
  export default class GitDiff extends JayreeSfdxCommand {
5
6
  static description: string;
6
7
  static examples: string[];
7
- static args: {
8
- name: string;
9
- required: boolean;
10
- description: string;
11
- parse: (input: string) => string;
12
- hidden: boolean;
13
- }[];
8
+ static args: ArgInput;
14
9
  protected static flagsConfig: FlagsConfig;
15
10
  protected static requiresUsername: boolean;
16
11
  protected static supportsDevhubUsername: boolean;
@@ -27,7 +27,8 @@ process.emitWarning = (warning) => {
27
27
  return original(warning);
28
28
  });
29
29
  };
30
- const unexpectedArgument = (input) => {
30
+ // eslint-disable-next-line @typescript-eslint/require-await
31
+ const unexpectedArgument = async (input) => {
31
32
  if (input.includes('-')) {
32
33
  throw new Error(`Unexpected argument: ${input}
33
34
  See more help with --help`);
@@ -41,7 +42,7 @@ class GitDiff extends jayreeSfdxCommand_1.JayreeSfdxCommand {
41
42
  this.outputDir = this.getFlag('outputdir');
42
43
  this.projectRoot = this.project.getPath();
43
44
  this.sfdxProjectFolders = this.project.getPackageDirectories().map((p) => (0, gitdiff_1.ensureOSPath)(p.path));
44
- this.sourceApiVersion = (await this.project.retrieveSfdxProjectJson()).getContents().sourceApiVersion;
45
+ this.sourceApiVersion = (await this.project.retrieveSfProjectJson()).getContents().sourceApiVersion;
45
46
  this.destructiveChanges = (0, path_1.join)(this.projectRoot, this.outputDir, 'destructiveChanges.xml');
46
47
  this.manifest = (0, path_1.join)(this.projectRoot, this.outputDir, 'package.xml');
47
48
  (0, gitdiff_1.debug)({
@@ -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;AAC/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,MAAM,kBAAkB,GAAG,CAAC,KAAa,EAAU,EAAE;IACnD,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;QACvB,MAAM,IAAI,KAAK,CAAC,wBAAwB,KAAK;4BAC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AAI,CAAC,eAAe,EAAE;gBACzC,MAAM,CAAC,IAAI,CAAE,CAAW,CAAC,OAAO,CAAC,CAAC;aACnC;YACD,MAAM,CAAC,CAAC;SACT;IACH,CAAC;;AAtNH,0BAuNC;AAtNe,mBAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;AAExD,gBAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AAEzD,YAAI,GAAa;IAC7B;QACE,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,uBAAuB;QACpC,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,KAAK;KACd;IACD;QACE,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,gDAAgD;QAC7D,KAAK,EAAE,kBAAkB;QACzB,MAAM,EAAE,KAAK;KACd;CACF,CAAC;AAEe,mBAAW,GAAgB;IAC1C,SAAS,EAAE,eAAK,CAAC,MAAM,CAAC;QACtB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC;QAC7C,OAAO,EAAE,EAAE;KACZ,CAAC;IACF,sBAAsB,EAAE,eAAK,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"}
@@ -1,2 +1,2 @@
1
- import { Hook } from '@oclif/config';
1
+ import { Hook } from '@oclif/core';
2
2
  export declare const changelog: Hook<'changelog'>;
@@ -14,7 +14,6 @@ const debug_1 = require("debug");
14
14
  const TerminalRenderer = require("marked-terminal");
15
15
  const marked_1 = require("marked");
16
16
  const semver = require("semver");
17
- const cli_ux_1 = require("cli-ux");
18
17
  const debug = (0, debug_1.debug)('jayree:hooks');
19
18
  // original from https://github.com/salesforcecli/plugin-info/blob/main/src/shared/parseReleaseNotes.ts
20
19
  const parseReleaseNotes = (notes, version) => {
@@ -55,7 +54,8 @@ const parseReleaseNotes = (notes, version) => {
55
54
  }
56
55
  return tokens;
57
56
  };
58
- const changelog = function () {
57
+ // eslint-disable-next-line @typescript-eslint/require-await
58
+ const changelog = async function () {
59
59
  process.once('exit', () => {
60
60
  try {
61
61
  const pluginRootPath = (0, path_1.join)(__dirname, '..', '..');
@@ -82,7 +82,7 @@ const changelog = function () {
82
82
  renderer: new TerminalRenderer({ emoji: false }),
83
83
  });
84
84
  tokens.unshift(marked_1.marked.lexer(`# Changelog for '${name}':`)[0]);
85
- cli_ux_1.cli.log(marked_1.marked.parser(tokens));
85
+ this.log(marked_1.marked.parser(tokens));
86
86
  fs.writeJsonSync(versionFile, { version });
87
87
  }
88
88
  }
@@ -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;AAChC,iCAAiC;AACjC,mCAA6B;AAE7B,MAAM,KAAK,GAAG,IAAA,aAAK,EAAC,cAAc,CAAC,CAAC;AAEpC,uGAAuG;AACvG,MAAM,iBAAiB,GAAG,CAAC,KAAa,EAAE,OAAe,EAAkB,EAAE;IAC3E,IAAI,KAAK,GAAG,KAAK,CAAC;IAClB,IAAI,cAAsB,CAAC;IAC3B,IAAI,QAAkB,CAAC;IAEvB,MAAM,MAAM,GAAG,eAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAEnC,IAAI,MAAsB,CAAC;IAE3B,MAAM,WAAW,GAAG,CAAC,cAAsB,EAAQ,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C,CAAC,CAAC;oBAChC,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;AAtCW,QAAA,SAAS,aAsCpB"}
@@ -7,7 +7,7 @@ exports.cleanupManifestFile = void 0;
7
7
  * Licensed under the BSD 3-Clause license.
8
8
  * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
9
9
  */
10
- const cli_ux_1 = require("cli-ux");
10
+ const core_1 = require("@oclif/core");
11
11
  const fs = require("fs-extra");
12
12
  const utils_1 = require("@salesforce/source-deploy-retrieve/lib/src/utils");
13
13
  const fast_xml_parser_1 = require("fast-xml-parser");
@@ -25,7 +25,7 @@ function js2Manifest(jsData) {
25
25
  }
26
26
  async function cleanupManifestFile(manifest, ignoreManifest) {
27
27
  const { packageTypeMembers: manifestTypeMembers, version } = parseManifest(fs.readFileSync(manifest, 'utf8'));
28
- cli_ux_1.cli.log(`apply '${ignoreManifest}' to '${manifest}'`);
28
+ core_1.CliUx.ux.log(`apply '${ignoreManifest}' to '${manifest}'`);
29
29
  const typeMap = new Map();
30
30
  manifestTypeMembers.forEach((value) => {
31
31
  typeMap.set(value.name, (0, utils_1.normalizeToArray)(value.members));
@@ -41,12 +41,12 @@ async function cleanupManifestFile(manifest, ignoreManifest) {
41
41
  return includemembers.includes(value);
42
42
  });
43
43
  if (includedmembers.length) {
44
- cli_ux_1.cli.log('include only members ' + includedmembers.toString() + ' for type ' + types.name);
44
+ core_1.CliUx.ux.log('include only members ' + includedmembers.toString() + ' for type ' + types.name);
45
45
  typeMap.set(types.name, includedmembers);
46
46
  }
47
47
  }
48
48
  if (packageTypeMembers.includes('*') && packageTypeMembers.length === 1) {
49
- cli_ux_1.cli.log('exclude all members for type ' + types.name);
49
+ core_1.CliUx.ux.log('exclude all members for type ' + types.name);
50
50
  typeMap.delete(types.name);
51
51
  }
52
52
  if (!packageTypeMembers.includes('*')) {
@@ -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,qDAAwD;AACxD,8EAAqG;AAUrG,SAAS,aAAa,CAAC,OAAe;IACpC,MAAM,MAAM,GAAG,IAAI,2BAAS,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,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,4BAAU,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3F,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,UAAU,mBAAmB,CAAC,QAAgB,EAAE,cAAsB;IAChF,MAAM,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,OAAO,EAAE,GAAG,aAAa,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CA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AClB,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.2.2","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 | -a] [-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},"excludeall":{"name":"excludeall","type":"boolean","char":"a","description":"exclude all 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.2.3","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,32 +1,29 @@
1
1
  {
2
2
  "name": "@jayree/sfdx-plugin-manifest",
3
3
  "description": "jayree sfdx manifest commands",
4
- "version": "2.2.2",
4
+ "version": "2.2.3",
5
5
  "author": "jayree",
6
6
  "bugs": "https://github.com/jayree/sfdx-plugin-manifest/issues",
7
7
  "dependencies": {
8
- "@oclif/config": "^1.18.3",
9
- "@salesforce/command": "^4.2.2",
8
+ "@oclif/core": "^1.9.0",
9
+ "@salesforce/command": "^5.1.3",
10
10
  "@salesforce/kit": "^1.5.41",
11
- "@salesforce/source-deploy-retrieve": "^5.15.0",
11
+ "@salesforce/source-deploy-retrieve": "^6.0.2",
12
12
  "@salesforce/ts-types": "^1.5.20",
13
- "cli-ux": "^5.6.7",
14
13
  "debug": "^4.3.4",
15
14
  "fast-deep-equal": "^3.1.3",
16
15
  "fast-xml-parser": "^4.0.7",
17
16
  "fs-extra": "^10.1.0",
18
17
  "isomorphic-git": "^1.17.2",
19
- "jsforce": "^1.11.0",
20
18
  "listr2": "^4.0.5",
21
- "marked": "^4.0.15",
19
+ "marked": "^4.0.16",
22
20
  "marked-terminal": "^4.2.0",
23
21
  "semver": "^7.3.7",
24
22
  "tslib": "^2.4.0"
25
23
  },
26
24
  "devDependencies": {
27
- "@commitlint/cli": "^16.3.0",
28
- "@commitlint/config-conventional": "^16.2.4",
29
- "@oclif/dev-cli": "^1.26.10",
25
+ "@commitlint/cli": "^17.0.1",
26
+ "@commitlint/config-conventional": "^17.0.0",
30
27
  "@oclif/plugin-command-snapshot": "^3",
31
28
  "@oclif/plugin-help": "^5.1.12",
32
29
  "@salesforce/dev-config": "^3.0.1",
@@ -36,29 +33,29 @@
36
33
  "@types/chai": "^4.3.1",
37
34
  "@types/debug": "^4.1.7",
38
35
  "@types/fs-extra": "^9.0.13",
39
- "@types/jsforce": "^1.9.42",
40
36
  "@types/marked": "^4.0.3",
41
37
  "@types/marked-terminal": "^3.1.3",
42
38
  "@types/mocha": "^9.1.1",
43
- "@types/node": "^17.0.33",
39
+ "@types/node": "^17.0.35",
44
40
  "@types/semver": "^7.3.9",
45
41
  "@types/sinon": "10.0.11",
46
- "@typescript-eslint/eslint-plugin": "^5.23.0",
47
- "@typescript-eslint/parser": "^5.23.0",
42
+ "@typescript-eslint/eslint-plugin": "^5.26.0",
43
+ "@typescript-eslint/parser": "^5.26.0",
48
44
  "chai": "^4.3.6",
49
- "eslint": "^8.15.0",
45
+ "eslint": "^8.16.0",
50
46
  "eslint-config-oclif": "^4.0",
51
47
  "eslint-config-prettier": "^8.5.0",
52
48
  "eslint-config-salesforce": "^0.1.6",
53
49
  "eslint-config-salesforce-typescript": "^0.2.8",
54
50
  "eslint-plugin-header": "^3.1.1",
55
51
  "eslint-plugin-import": "2.26.0",
56
- "eslint-plugin-jsdoc": "^39.2.9",
52
+ "eslint-plugin-jsdoc": "^39.3.2",
57
53
  "eslint-plugin-prettier": "^4.0.0",
58
54
  "husky": "^8.0.1",
59
55
  "is-ci": "^3.0.1",
60
56
  "mocha": "^10.0.0",
61
57
  "nyc": "^15.1.0",
58
+ "oclif": "^3.0.1",
62
59
  "patch-package": "^6.4.7",
63
60
  "pinst": "^3.0.0",
64
61
  "prettier": "^2.6.2",
@@ -66,8 +63,8 @@
66
63
  "shx": "^0.3.4",
67
64
  "sinon": "14.0.0",
68
65
  "source-map-support": "~0.5.21",
69
- "ts-node": "^10.7.0",
70
- "typescript": "^4.6.4"
66
+ "ts-node": "^10.8.0",
67
+ "typescript": "^4.7.2"
71
68
  },
72
69
  "engines": {
73
70
  "node": ">=14.17.1"
@@ -103,7 +100,14 @@
103
100
  "devPlugins": [
104
101
  "@oclif/plugin-help",
105
102
  "@oclif/plugin-command-snapshot"
106
- ]
103
+ ],
104
+ "info": {
105
+ "releasenotes": {
106
+ "distTagUrl": "https://registry.npmjs.org/-/package/@jayree/sfdx-plugin-manifest/dist-tags",
107
+ "releaseNotesPath": "https://github.com/jayree/sfdx-plugin-manifest/tree/main",
108
+ "releaseNotesFilename": "CHANGELOG.md"
109
+ }
110
+ }
107
111
  },
108
112
  "repository": "jayree/sfdx-plugin-manifest",
109
113
  "scripts": {
@@ -115,7 +119,7 @@
115
119
  "format": "sf-format",
116
120
  "lint": "sf-lint",
117
121
  "lint-fix": "sf-lint --fix",
118
- "postcompile": "oclif-dev readme",
122
+ "postcompile": "oclif readme",
119
123
  "_postinstall": "patch-package",
120
124
  "postpack": "shx rm -f oclif.manifest.json",
121
125
  "postpublish": "pinst --enable",
@@ -126,7 +130,7 @@
126
130
  "pretest": "sf-compile-test",
127
131
  "test": "sf-test",
128
132
  "test:deprecation-policy": "./bin/run snapshot:compare",
129
- "version": "oclif-dev readme"
133
+ "version": "oclif readme"
130
134
  },
131
135
  "publishConfig": {
132
136
  "access": "public"