@salesforce/plugin-release-management 2.5.3 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [2.6.0](https://github.com/salesforcecli/plugin-release-management/compare/v2.5.3...v2.6.0) (2021-11-08)
6
+
7
+
8
+ ### Features
9
+
10
+ * add command to pull info for release notes ([#338](https://github.com/salesforcecli/plugin-release-management/issues/338)) ([da2f2e0](https://github.com/salesforcecli/plugin-release-management/commit/da2f2e0a7dffb9010efdccc3a59eb9fdc4638711))
11
+
5
12
  ### [2.5.3](https://github.com/salesforcecli/plugin-release-management/compare/v2.5.2...v2.5.3) (2021-11-04)
6
13
 
7
14
 
package/README.md CHANGED
@@ -105,6 +105,7 @@ sfdx plugins
105
105
  * [`sfdx circleci:envvar:update -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-circlecienvvarupdate--e-string--s-string---dryrun---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
106
106
  * [`sfdx cli:install:test -c <string> -m <string> [--channel <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-cliinstalltest--c-string--m-string---channel-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
107
107
  * [`sfdx cli:latestrc:build [--rctag <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clilatestrcbuild---rctag-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
108
+ * [`sfdx cli:releasenotes -c <string> [-s <string>] [-m] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clireleasenotes--c-string--s-string--m---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
108
109
  * [`sfdx cli:schemas:collect [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clischemascollect---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
109
110
  * [`sfdx cli:schemas:compare [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clischemascompare---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
110
111
  * [`sfdx cli:tarballs:prepare [-d] [-t] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clitarballsprepare--d--t---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
@@ -170,7 +171,7 @@ EXAMPLE
170
171
  sfdx channel:promote --candidate latest-rc --target latest --platform win --platform mac
171
172
  ```
172
173
 
173
- _See code: [src/commands/channel/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/channel/promote.ts)_
174
+ _See code: [src/commands/channel/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/channel/promote.ts)_
174
175
 
175
176
  ## `sfdx circleci [-t plugin|library|orb] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
176
177
 
@@ -192,7 +193,7 @@ EXAMPLE
192
193
  sfdx circleci -t plugin
193
194
  ```
194
195
 
195
- _See code: [src/commands/circleci/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/circleci/index.ts)_
196
+ _See code: [src/commands/circleci/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/circleci/index.ts)_
196
197
 
197
198
  ## `sfdx circleci:envvar:create -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
198
199
 
@@ -229,7 +230,7 @@ EXAMPLES
229
230
  sfdx circleci -t plugin | sfdx circleci:envvar:create -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'
230
231
  ```
231
232
 
232
- _See code: [src/commands/circleci/envvar/create.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/circleci/envvar/create.ts)_
233
+ _See code: [src/commands/circleci/envvar/create.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/circleci/envvar/create.ts)_
233
234
 
234
235
  ## `sfdx circleci:envvar:update -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
235
236
 
@@ -266,7 +267,7 @@ EXAMPLES
266
267
  sfdx circleci -t plugin | sfdx circleci:envvar:update -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'
267
268
  ```
268
269
 
269
- _See code: [src/commands/circleci/envvar/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/circleci/envvar/update.ts)_
270
+ _See code: [src/commands/circleci/envvar/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/circleci/envvar/update.ts)_
270
271
 
271
272
  ## `sfdx cli:install:test -c <string> -m <string> [--channel <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
272
273
 
@@ -299,7 +300,7 @@ EXAMPLES
299
300
  sfdx cli:install:test --cli sf --method tarball --channel stable-rc
300
301
  ```
301
302
 
302
- _See code: [src/commands/cli/install/test.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/cli/install/test.ts)_
303
+ _See code: [src/commands/cli/install/test.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/cli/install/test.ts)_
303
304
 
304
305
  ## `sfdx cli:latestrc:build [--rctag <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
305
306
 
@@ -322,7 +323,45 @@ OPTIONS
322
323
  stable-rc
323
324
  ```
324
325
 
325
- _See code: [src/commands/cli/latestrc/build.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/cli/latestrc/build.ts)_
326
+ _See code: [src/commands/cli/latestrc/build.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/cli/latestrc/build.ts)_
327
+
328
+ ## `sfdx cli:releasenotes -c <string> [-s <string>] [-m] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
329
+
330
+ pull all relevant information for writing release notes.
331
+
332
+ ```
333
+ USAGE
334
+ $ sfdx cli:releasenotes -c <string> [-s <string>] [-m] [--json] [--loglevel
335
+ trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
336
+
337
+ OPTIONS
338
+ -c, --cli=sf|sfdx (required) the cli to pull
339
+ information for
340
+
341
+ -m, --markdown format the output in markdown
342
+
343
+ -s, --since=since the version number of the previous
344
+ release. Defaults to the latest-rc
345
+ version on npm
346
+
347
+ --json format output as json
348
+
349
+ --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
350
+ this command invocation
351
+
352
+ DESCRIPTION
353
+ Requires the GH_TOKEN to be set in the environment.
354
+
355
+ EXAMPLES
356
+ sfdx cli:releasenotes --cli sf
357
+ sfdx cli:releasenotes --cli sfdx
358
+ sfdx cli:releasenotes --cli sf --since 1.0.0
359
+ sfdx cli:releasenotes --cli sfdx --since 7.19.0
360
+ sfdx cli:releasenotes --cli sf > changes.txt
361
+ sfdx cli:releasenotes --cli sf --markdown > changes.md
362
+ ```
363
+
364
+ _See code: [src/commands/cli/releasenotes.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/cli/releasenotes.ts)_
326
365
 
327
366
  ## `sfdx cli:schemas:collect [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
328
367
 
@@ -342,7 +381,7 @@ EXAMPLE
342
381
  sfdx cli:schemas:collect
343
382
  ```
344
383
 
345
- _See code: [src/commands/cli/schemas/collect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/cli/schemas/collect.ts)_
384
+ _See code: [src/commands/cli/schemas/collect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/cli/schemas/collect.ts)_
346
385
 
347
386
  ## `sfdx cli:schemas:compare [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
348
387
 
@@ -362,7 +401,7 @@ EXAMPLE
362
401
  sfdx cli:schemas:compare
363
402
  ```
364
403
 
365
- _See code: [src/commands/cli/schemas/compare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/cli/schemas/compare.ts)_
404
+ _See code: [src/commands/cli/schemas/compare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/cli/schemas/compare.ts)_
366
405
 
367
406
  ## `sfdx cli:tarballs:prepare [-d] [-t] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
368
407
 
@@ -391,7 +430,7 @@ EXAMPLE
391
430
  sfdx cli:tarballs:prepare
392
431
  ```
393
432
 
394
- _See code: [src/commands/cli/tarballs/prepare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/cli/tarballs/prepare.ts)_
433
+ _See code: [src/commands/cli/tarballs/prepare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/cli/tarballs/prepare.ts)_
395
434
 
396
435
  ## `sfdx cli:tarballs:verify [-c sf|sfdx] [-w <number>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
397
436
 
@@ -420,7 +459,7 @@ EXAMPLES
420
459
  sfdx cli:tarballs:verify --cli sf
421
460
  ```
422
461
 
423
- _See code: [src/commands/cli/tarballs/verify.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/cli/tarballs/verify.ts)_
462
+ _See code: [src/commands/cli/tarballs/verify.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/cli/tarballs/verify.ts)_
424
463
 
425
464
  ## `sfdx cli:versions:inspect -c <string> -l <string> --cli sf|sfdx [-d <string>] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
426
465
 
@@ -468,7 +507,7 @@ EXAMPLES
468
507
  sfdx cli:versions:inspect -l npm -c latest -d chalk -s
469
508
  ```
470
509
 
471
- _See code: [src/commands/cli/versions/inspect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/cli/versions/inspect.ts)_
510
+ _See code: [src/commands/cli/versions/inspect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/cli/versions/inspect.ts)_
472
511
 
473
512
  ## `sfdx dependabot:automerge -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
474
513
 
@@ -510,7 +549,7 @@ EXAMPLES
510
549
  sfdx dependabot:automerge --max-version-bump major
511
550
  ```
512
551
 
513
- _See code: [src/commands/dependabot/automerge.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/dependabot/automerge.ts)_
552
+ _See code: [src/commands/dependabot/automerge.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/dependabot/automerge.ts)_
514
553
 
515
554
  ## `sfdx dependabot:consolidate -m major|minor|patch -b <string> -t <string> [--ignore <array>] [-d] [--no-pr] [-r <string> -o <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
516
555
 
@@ -561,7 +600,7 @@ EXAMPLES
561
600
  sfdx dependabot:consolidate --max-version-bump major
562
601
  ```
563
602
 
564
- _See code: [src/commands/dependabot/consolidate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/dependabot/consolidate.ts)_
603
+ _See code: [src/commands/dependabot/consolidate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/dependabot/consolidate.ts)_
565
604
 
566
605
  ## `sfdx npm:dependencies:pin [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
567
606
 
@@ -586,7 +625,7 @@ OPTIONS
586
625
  this command invocation
587
626
  ```
588
627
 
589
- _See code: [src/commands/npm/dependencies/pin.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/npm/dependencies/pin.ts)_
628
+ _See code: [src/commands/npm/dependencies/pin.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/npm/dependencies/pin.ts)_
590
629
 
591
630
  ## `sfdx npm:lerna:release [-d] [-s <array>] [-t <string>] [-a <string>] [--install] [--githubrelease] [--verify] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
592
631
 
@@ -626,7 +665,7 @@ OPTIONS
626
665
  after publish and digital signature
627
666
  ```
628
667
 
629
- _See code: [src/commands/npm/lerna/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/npm/lerna/release.ts)_
668
+ _See code: [src/commands/npm/lerna/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/npm/lerna/release.ts)_
630
669
 
631
670
  ## `sfdx npm:package:promote -c <string> [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
632
671
 
@@ -655,7 +694,7 @@ EXAMPLE
655
694
  sfdx npm:package:promote --candidate latest-rc --target latest
656
695
  ```
657
696
 
658
- _See code: [src/commands/npm/package/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/npm/package/promote.ts)_
697
+ _See code: [src/commands/npm/package/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/npm/package/promote.ts)_
659
698
 
660
699
  ## `sfdx npm:package:release [-d] [-s] [-t <string>] [-a <string>] [--install] [--prerelease <string>] [--verify] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
661
700
 
@@ -696,7 +735,7 @@ OPTIONS
696
735
  after publish and digital signature
697
736
  ```
698
737
 
699
- _See code: [src/commands/npm/package/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/npm/package/release.ts)_
738
+ _See code: [src/commands/npm/package/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/npm/package/release.ts)_
700
739
 
701
740
  ## `sfdx npm:release:validate [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
702
741
 
@@ -717,7 +756,7 @@ OPTIONS
717
756
  (only works with --json flag)
718
757
  ```
719
758
 
720
- _See code: [src/commands/npm/release/validate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/npm/release/validate.ts)_
759
+ _See code: [src/commands/npm/release/validate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/npm/release/validate.ts)_
721
760
 
722
761
  ## `sfdx plugins:trust:verify -n <string> [-r <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
723
762
 
@@ -790,7 +829,7 @@ EXAMPLES
790
829
  sfdx repositories --json | jq -r '.result[] | select(.name=="sfdx-core") | .packages[] | .url
791
830
  ```
792
831
 
793
- _See code: [src/commands/repositories/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/repositories/index.ts)_
832
+ _See code: [src/commands/repositories/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/repositories/index.ts)_
794
833
 
795
834
  ## `sfdx typescript:update [-v <string>] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
796
835
 
@@ -817,5 +856,5 @@ OPTIONS
817
856
  this command invocation
818
857
  ```
819
858
 
820
- _See code: [src/commands/typescript/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.2/src/commands/typescript/update.ts)_
859
+ _See code: [src/commands/typescript/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.5.3/src/commands/typescript/update.ts)_
821
860
  <!-- commandsstop -->
@@ -0,0 +1,25 @@
1
+ import { FlagsConfig, SfdxCommand } from '@salesforce/command';
2
+ export declare type Change = {
3
+ author: string;
4
+ description: string;
5
+ link: string;
6
+ mergedAt: string;
7
+ mergedInto: string;
8
+ plugin: string;
9
+ title: string;
10
+ };
11
+ export declare type ChangesByPlugin = Record<string, Change[]>;
12
+ export default class ReleaseNotes extends SfdxCommand {
13
+ static readonly description: string;
14
+ static readonly examples: string[];
15
+ static readonly flagsConfig: FlagsConfig;
16
+ private octokit;
17
+ private usernames;
18
+ run(): Promise<ChangesByPlugin>;
19
+ private getNpmPackage;
20
+ private normalizePlugins;
21
+ private getNameOfUser;
22
+ private getPullsForPlugin;
23
+ private logChanges;
24
+ private logChangesMarkdown;
25
+ }
@@ -0,0 +1,171 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2020, salesforce.com, inc.
4
+ * All rights reserved.
5
+ * Licensed under the BSD 3-Clause license.
6
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ const os = require("os");
10
+ const command_1 = require("@salesforce/command");
11
+ const ts_types_1 = require("@salesforce/ts-types");
12
+ const kit_1 = require("@salesforce/kit");
13
+ const core_1 = require("@octokit/core");
14
+ const chalk_1 = require("chalk");
15
+ const core_2 = require("@salesforce/core");
16
+ const shelljs_1 = require("shelljs");
17
+ const types_1 = require("../../types");
18
+ const package_1 = require("../../package");
19
+ core_2.Messages.importMessagesDirectory(__dirname);
20
+ const messages = core_2.Messages.loadMessages('@salesforce/plugin-release-management', 'cli.releasenotes');
21
+ class ReleaseNotes extends command_1.SfdxCommand {
22
+ constructor() {
23
+ super(...arguments);
24
+ this.usernames = {};
25
+ }
26
+ async run() {
27
+ var _a;
28
+ const auth = (0, ts_types_1.ensureString)(new kit_1.Env().getString('GH_TOKEN'), 'GH_TOKEN is required to be set in the environment');
29
+ this.octokit = new core_1.Octokit({ auth });
30
+ const cli = (0, ts_types_1.ensure)(this.flags.cli);
31
+ const fullName = cli === types_1.CLI.SF ? '@salesforce/cli' : 'sfdx-cli';
32
+ const npmPackage = this.getNpmPackage(fullName, (_a = this.flags.since) !== null && _a !== void 0 ? _a : 'latest-rc');
33
+ const publishDate = npmPackage.time[npmPackage.version];
34
+ const plugins = this.normalizePlugins(npmPackage);
35
+ const changesByPlugin = {};
36
+ for (const plugin of plugins) {
37
+ const changes = await this.getPullsForPlugin(plugin, publishDate);
38
+ if (changes.length)
39
+ changesByPlugin[plugin] = changes;
40
+ }
41
+ if (this.flags.markdown) {
42
+ this.logChangesMarkdown(changesByPlugin);
43
+ }
44
+ else {
45
+ this.logChanges(changesByPlugin);
46
+ }
47
+ return changesByPlugin;
48
+ }
49
+ getNpmPackage(name, version = 'latest') {
50
+ const result = (0, shelljs_1.exec)(`npm view ${name}@${version} --json`, { silent: true });
51
+ return JSON.parse(result.stdout);
52
+ }
53
+ normalizePlugins(npmPackage) {
54
+ var _a, _b;
55
+ const plugins = (_b = (_a = npmPackage.oclif) === null || _a === void 0 ? void 0 : _a.plugins) !== null && _b !== void 0 ? _b : [];
56
+ const normalized = plugins
57
+ .filter((p) => !p.startsWith('@oclif'))
58
+ .map((p) => {
59
+ if (npmPackage.dependencies[p].startsWith('npm:')) {
60
+ return (0, package_1.parseAliasedPackageName)(npmPackage.dependencies[p]);
61
+ }
62
+ return p;
63
+ });
64
+ return [npmPackage.name, ...normalized];
65
+ }
66
+ async getNameOfUser(username) {
67
+ var _a, _b;
68
+ if (this.usernames[username])
69
+ return this.usernames[username];
70
+ const { data } = await this.octokit.request('GET /users/{username}', { username });
71
+ const name = ((_b = (_a = data.name) !== null && _a !== void 0 ? _a : data.login) !== null && _b !== void 0 ? _b : username);
72
+ this.usernames[username] = name;
73
+ return name;
74
+ }
75
+ async getPullsForPlugin(plugin, publishDate) {
76
+ var _a;
77
+ const npmPackage = this.getNpmPackage(plugin);
78
+ const homepage = (_a = npmPackage.homepage) !== null && _a !== void 0 ? _a : (npmPackage.name === 'salesforce-alm' ? 'salesforcecli/toolbelt' : null);
79
+ if (!homepage) {
80
+ throw new core_2.SfdxError(`No github url found for ${npmPackage.name}`, 'GitUrlNotFound');
81
+ }
82
+ const [owner, repo] = homepage.replace('https://github.com/', '').replace(/#(.*)/g, '').split('/');
83
+ const pullRequests = await this.octokit.request('GET /repos/{owner}/{repo}/pulls', {
84
+ owner,
85
+ repo,
86
+ state: 'closed',
87
+ // eslint-disable-next-line camelcase
88
+ per_page: 100,
89
+ });
90
+ const changes = (await Promise.all(pullRequests.data
91
+ .filter((pr) => {
92
+ return pr.merged_at && pr.merged_at > publishDate && !pr.user.login.includes('dependabot');
93
+ })
94
+ .map(async (pr) => {
95
+ var _a;
96
+ const username = await this.getNameOfUser(pr.user.login);
97
+ const author = pr.user.login === username ? username : `${username} (${pr.user.login})`;
98
+ return {
99
+ author,
100
+ mergedAt: pr.merged_at,
101
+ mergedInto: pr.base.ref,
102
+ link: pr.html_url,
103
+ title: pr.title,
104
+ description: ((_a = pr.body) !== null && _a !== void 0 ? _a : '').trim(),
105
+ plugin,
106
+ };
107
+ })));
108
+ return changes;
109
+ }
110
+ logChanges(changesByPlugin) {
111
+ for (const [plugin, changes] of Object.entries(changesByPlugin)) {
112
+ this.ux.styledHeader((0, chalk_1.cyan)(plugin));
113
+ for (const change of changes) {
114
+ this.log((0, chalk_1.bold)(`${change.title}`));
115
+ for (const [key, value] of Object.entries(change)) {
116
+ if (['title', 'plugin'].includes(key))
117
+ continue;
118
+ if (key === 'description') {
119
+ this.log(`${key}:\n${(0, chalk_1.dim)(value)}`);
120
+ }
121
+ else {
122
+ this.log(`${key}: ${(0, chalk_1.dim)(value)}`);
123
+ }
124
+ }
125
+ this.log();
126
+ }
127
+ this.log();
128
+ }
129
+ }
130
+ logChangesMarkdown(changesByPlugin) {
131
+ for (const [plugin, changes] of Object.entries(changesByPlugin)) {
132
+ this.log(`## ${plugin}`);
133
+ for (const change of changes) {
134
+ this.log(`\n### ${change.title}`);
135
+ for (const [key, value] of Object.entries(change)) {
136
+ if (['title', 'plugin'].includes(key))
137
+ continue;
138
+ if (key === 'description') {
139
+ this.log(`- ${key}:\n\`\`\`\n${value}\n\`\`\``);
140
+ }
141
+ else {
142
+ this.log(`- ${key}: ${value}`);
143
+ }
144
+ }
145
+ this.log();
146
+ }
147
+ this.log();
148
+ }
149
+ }
150
+ }
151
+ exports.default = ReleaseNotes;
152
+ ReleaseNotes.description = messages.getMessage('description');
153
+ ReleaseNotes.examples = messages.getMessage('examples').split(os.EOL);
154
+ ReleaseNotes.flagsConfig = {
155
+ cli: command_1.flags.string({
156
+ description: messages.getMessage('cliFlag'),
157
+ options: Object.values(types_1.CLI),
158
+ char: 'c',
159
+ required: true,
160
+ }),
161
+ since: command_1.flags.string({
162
+ description: messages.getMessage('sinceFlag'),
163
+ char: 's',
164
+ }),
165
+ markdown: command_1.flags.boolean({
166
+ description: messages.getMessage('markdownFlag'),
167
+ char: 'm',
168
+ default: false,
169
+ }),
170
+ };
171
+ //# sourceMappingURL=releasenotes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"releasenotes.js","sourceRoot":"","sources":["../../../src/commands/cli/releasenotes.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH,yBAAyB;AACzB,iDAAsE;AACtE,mDAA4D;AAC5D,yCAAsC;AACtC,wCAAwC;AACxC,iCAAwC;AACxC,2CAAuD;AACvD,qCAA+B;AAC/B,uCAAkC;AAClC,2CAAoE;AAEpE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,uCAAuC,EAAE,kBAAkB,CAAC,CAAC;AAcpG,MAAqB,YAAa,SAAQ,qBAAW;IAArD;;QAqBU,cAAS,GAA2B,EAAE,CAAC;IA6HjD,CAAC;IA3HQ,KAAK,CAAC,GAAG;;QACd,MAAM,IAAI,GAAG,IAAA,uBAAY,EAAC,IAAI,SAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,mDAAmD,CAAC,CAAC;QAChH,IAAI,CAAC,OAAO,GAAG,IAAI,cAAO,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;QACrC,MAAM,GAAG,GAAG,IAAA,iBAAM,EAAM,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACxC,MAAM,QAAQ,GAAG,GAAG,KAAK,WAAG,CAAC,EAAE,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,UAAU,CAAC;QACjE,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,mCAAI,WAAW,CAAC,CAAC;QACjF,MAAM,WAAW,GAAG,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QACxD,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC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wBACzB,IAAI,CAAC,GAAG,CAAC,KAAK,GAAG,cAAc,KAAK,UAAU,CAAC,CAAC;qBACjD;yBAAM;wBACL,IAAI,CAAC,GAAG,CAAC,KAAK,GAAG,KAAK,KAAK,EAAE,CAAC,CAAC;qBAChC;iBACF;gBACD,IAAI,CAAC,GAAG,EAAE,CAAC;aACZ;YACD,IAAI,CAAC,GAAG,EAAE,CAAC;SACZ;IACH,CAAC;;AAjJH,+BAkJC;AAjJwB,wBAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACjD,qBAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AACzD,wBAAW,GAAgB;IAChD,GAAG,EAAE,eAAK,CAAC,MAAM,CAAC;QAChB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;QAC3C,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,WAAG,CAAC;QAC3B,IAAI,EAAE,GAAG;QACT,QAAQ,EAAE,IAAI;KACf,CAAC;IACF,KAAK,EAAE,eAAK,CAAC,MAAM,CAAC;QAClB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC;QAC7C,IAAI,EAAE,GAAG;KACV,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,OAAO,CAAC;QACtB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,cAAc,CAAC;QAChD,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,KAAK;KACf,CAAC;CACH,CAAC"}
package/lib/package.d.ts CHANGED
@@ -10,7 +10,11 @@ export declare type PackageJson = {
10
10
  pinnedDependencies?: string[];
11
11
  resolutions?: Record<string, string>;
12
12
  repository?: string;
13
+ homepage?: string;
13
14
  sfdx?: PackageJsonSfdxProperty;
15
+ oclif?: {
16
+ plugins: string[];
17
+ };
14
18
  } & AnyJson;
15
19
  export declare type PackageJsonSfdxProperty = {
16
20
  publicKeyUrl: string;
@@ -26,13 +30,15 @@ export declare type NpmPackage = {
26
30
  version: string;
27
31
  versions: string[];
28
32
  'dist-tags': Record<string, string>;
29
- } & AnyJson;
33
+ time?: Record<string, string>;
34
+ } & Partial<PackageJson>;
30
35
  export interface VersionValidation {
31
36
  nextVersion: string;
32
37
  currentVersion: string;
33
38
  valid: boolean;
34
39
  name: string;
35
40
  }
41
+ export declare function parseAliasedPackageName(alias: string): string;
36
42
  export declare class Package extends AsyncOptionalCreatable {
37
43
  name: string;
38
44
  npmPackage: NpmPackage;
package/lib/package.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Package = void 0;
3
+ exports.Package = exports.parseAliasedPackageName = void 0;
4
4
  /*
5
5
  * Copyright (c) 2020, salesforce.com, inc.
6
6
  * All rights reserved.
@@ -15,6 +15,10 @@ const core_1 = require("@salesforce/core");
15
15
  const kit_1 = require("@salesforce/kit");
16
16
  const ts_types_1 = require("@salesforce/ts-types");
17
17
  const registry_1 = require("./registry");
18
+ function parseAliasedPackageName(alias) {
19
+ return alias.replace('npm:', '').replace(/@(\^|~)?[0-9]{1,3}(?:.[0-9]{1,3})?(?:.[0-9]{1,3})?(.*?)$/, '');
20
+ }
21
+ exports.parseAliasedPackageName = parseAliasedPackageName;
18
22
  class Package extends kit_1.AsyncOptionalCreatable {
19
23
  constructor(location) {
20
24
  super();
@@ -103,7 +107,7 @@ class Package extends kit_1.AsyncOptionalCreatable {
103
107
  const version = dependencies[name];
104
108
  if (version.startsWith('npm:')) {
105
109
  return {
106
- name: version.replace('npm:', '').replace(/@(\^|~)?[0-9]{1,3}(?:.[0-9]{1,3})?(?:.[0-9]{1,3})?(.*?)$/, ''),
110
+ name: parseAliasedPackageName(version),
107
111
  version: version.split('@').reverse()[0].replace('^', '').replace('~', ''),
108
112
  alias: name,
109
113
  tag: tag || targetTag,
@@ -1 +1 @@
1
- {"version":3,"file":"package.js","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,CAAC;QAClC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,kBAAkB,EAAE,IAAI,IAAI,CAAC,uBAAuB,EAAE,CAAC;IAChF,CAAC;IAEO,uBAAuB;QAC7B,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,OAAO,EAAE,IAAI,CAAC,WAAW,CAAC,OAAO;YACjC,QAAQ,EAAE,EAAE;YACZ,WAAW,EAAE,EAAE;SAChB,CAAC;IACJ,CAAC;CACF;AAnMD,0BAmMC"}
@@ -0,0 +1,14 @@
1
+ {
2
+ "description": "pull all relevant information for writing release notes.\n Requires the GH_TOKEN to be set in the environment.",
3
+ "examples": [
4
+ "<%= config.bin %> <%= command.id %> --cli sf",
5
+ "<%= config.bin %> <%= command.id %> --cli sfdx",
6
+ "<%= config.bin %> <%= command.id %> --cli sf --since 1.0.0",
7
+ "<%= config.bin %> <%= command.id %> --cli sfdx --since 7.19.0",
8
+ "<%= config.bin %> <%= command.id %> --cli sf > changes.txt",
9
+ "<%= config.bin %> <%= command.id %> --cli sf --markdown > changes.md"
10
+ ],
11
+ "cliFlag": "the cli to pull information for",
12
+ "sinceFlag": "the version number of the previous release. Defaults to the latest-rc version on npm",
13
+ "markdownFlag": "format the output in markdown"
14
+ }
@@ -1 +1 @@
1
- {"version":"2.5.3","commands":{"channel:promote":{"id":"channel:promote","description":"promote a s3 channel","usage":"<%= command.id %> -t <string> -c sf|sfdx [-d] [-p <array>] [-m <number>] [-i] [-x] [-T <array>] [-T <string> | | [-C <string> | -s <string>]] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --candidate latest-rc --target latest --platform win --platform mac"],"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"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, only show what would happen","allowNo":false},"target":{"name":"target","type":"option","char":"t","description":"the channel name that you are promoting to","required":true,"default":"stable"},"candidate":{"name":"candidate","type":"option","char":"C","description":"the channel name that you want to promote"},"platform":{"name":"platform","type":"option","char":"p","description":"the platform to promote","default":[]},"cli":{"name":"cli","type":"option","char":"c","description":"the cli name to promote","required":true,"helpValue":"(sf|sfdx)","options":["sf","sfdx"]},"sha":{"name":"sha","type":"option","char":"s","description":"the short sha to promote"},"maxage":{"name":"maxage","type":"option","char":"m","description":"cache control max-age in seconds","default":300},"indexes":{"name":"indexes","type":"boolean","char":"i","description":"append the promoted urls into the index files","allowNo":true},"xz":{"name":"xz","type":"boolean","char":"x","description":"also upload xz","allowNo":true},"targets":{"name":"targets","type":"option","char":"T","description":"comma-separated targets to promote (e.g.: linux-arm,win32-x64)"},"version":{"name":"version","type":"option","char":"T","description":"the version of the candidate to be promoted, which must exist already in s3. Used to fetch the correct sha"}},"args":[]},"circleci":{"id":"circleci","description":"list known Circle CI slugs from '<%= config.bin %> repositories'","usage":"<%= command.id %> [-t plugin|library|orb] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -t plugin"],"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"},"contains-package-type":{"name":"contains-package-type","type":"option","char":"t","description":"filter based on type of package","helpValue":"(plugin|library|orb)","options":["plugin","library","orb"]}},"args":[]},"dependabot:automerge":{"id":"dependabot:automerge","description":"automatically merge one green, mergeable PR up to the specified maximum bump type","usage":"<%= command.id %> -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --max-version-bump patch","<%= config.bin %> <%= command.id %> --max-version-bump minor","<%= config.bin %> <%= command.id %> --max-version-bump major"],"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"},"owner":{"name":"owner","type":"option","char":"o","description":"the organization that the repository belongs to. This defaults to the owner specified in the package.json"},"repo":{"name":"repo","type":"option","char":"r","description":"the repository you want to consolidate PRs on. This defaults to the repository specified in the package.json"},"max-version-bump":{"name":"max-version-bump","type":"option","char":"m","description":"the maximum version bump you want to be included","required":true,"helpValue":"(major|minor|patch)","options":["major","minor","patch"],"default":"minor"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"only show what would happen if you consolidated dependabot PRs","allowNo":false},"skip-ci":{"name":"skip-ci","type":"boolean","char":"s","description":"add [skip ci] to the merge commit title","allowNo":false}},"args":[]},"dependabot:consolidate":{"id":"dependabot:consolidate","description":"consolidate dependabot PRs into a single PR","usage":"<%= command.id %> -m major|minor|patch -b <string> -t <string> [--ignore <array>] [-d] [--no-pr] [-r <string> -o <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --max-version-bump patch","<%= config.bin %> <%= command.id %> --max-version-bump minor","<%= config.bin %> <%= command.id %> --max-version-bump major"],"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"},"max-version-bump":{"name":"max-version-bump","type":"option","char":"m","description":"the maximum version bump you want to be included","required":true,"helpValue":"(major|minor|patch)","options":["major","minor","patch"],"default":"minor"},"base-branch":{"name":"base-branch","type":"option","char":"b","description":"name of the base branch for merging","required":true,"default":"main"},"target-branch":{"name":"target-branch","type":"option","char":"t","description":"name of the target branch for merging","required":true,"default":"consolidate-dependabot"},"ignore":{"name":"ignore","type":"option","description":"ignore any PRs with titles that include this value","default":[]},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"only show what would happen if you consolidated dependabot PRs","allowNo":false},"no-pr":{"name":"no-pr","type":"boolean","description":"do everything but create the PR","allowNo":false},"owner":{"name":"owner","type":"option","char":"o","description":"the organization that the repository belongs to. This defaults to the owner specified in the package.json"},"repo":{"name":"repo","type":"option","char":"r","description":"the repository you want to consolidate PRs on. This defaults to the repository specified in the package.json"}},"args":[]},"repositories":{"id":"repositories","description":"list repositories owned and supported by Salesforce CLI\nFor more information on the list of repositories, visit https://github.com/salesforcecli/status.","usage":"","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --columns=url --filter='Name=sfdx-core' --no-header | xargs open","<%= config.bin %> <%= command.id %> --json | jq -r '.result[] | select(.name==\"sfdx-core\") | .packages[] | .url"],"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"},"columns":{"name":"columns","type":"option","description":"only show provided columns (comma-separated)"},"sort":{"name":"sort","type":"option","description":"property to sort by (prepend '-' for descending)"},"filter":{"name":"filter","type":"option","description":"filter property by partial string matching, ex: name=foo"},"csv":{"name":"csv","type":"boolean","description":"output is csv format [alias: --output=csv]","allowNo":false},"output":{"name":"output","type":"option","description":"output in a more machine friendly format","options":["csv","json","yaml"]},"extended":{"name":"extended","type":"boolean","char":"x","description":"show extra columns","allowNo":false},"no-truncate":{"name":"no-truncate","type":"boolean","description":"do not truncate output to fit screen","allowNo":false},"no-header":{"name":"no-header","type":"boolean","description":"hide table header from output","allowNo":false}},"args":[]},"typescript:update":{"id":"typescript:update","description":"Runs tests with updated typescript version and ES target","usage":"<%= command.id %> [-v <string>] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"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"},"version":{"name":"version","type":"option","char":"v","description":"Specify the typescript version you'd like to update to. Defaults to latest if not specified","default":"latest"},"target":{"name":"target","type":"option","char":"t","description":"Specify the ES target you'd like to use. Defaults to ESNext if not specified","default":"ESNext"}},"args":[]},"circleci:envvar:create":{"id":"circleci:envvar:create","description":"update environment variable(s) on Circle CI slug(s)\nUpdates one or more environment variables on one or more CIrcle CI slugs. The environment variables must already exist on the slug. You will be prompted for the environment variable values unless they already exist on the process. The slugs can be piped in. If so, the environment variables must be on the process (prompting is disabled).","usage":"<%= command.id %> -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -s 'gh/<org>/<repository>'","echo \"gh/<org>/<repository>\" | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR'","<%= config.bin %> circleci -t plugin | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'"],"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"},"slug":{"name":"slug","type":"option","char":"s","description":"a circle ci slugs in the format <vcs>/<org name>/<repo name>"},"envvar":{"name":"envvar","type":"option","char":"e","description":"a environment variables to set on the given circle slug(s)","required":true},"dryrun":{"name":"dryrun","type":"boolean","description":"do validation but do not update the environment variable values","allowNo":false}},"args":[]},"circleci:envvar:update":{"id":"circleci:envvar:update","description":"update environment variable(s) on Circle CI slug(s)\nUpdates one or more environment variables on one or more CIrcle CI slugs. The environment variables must already exist on the slug. You will be prompted for the environment variable values unless they already exist on the process. The slugs can be piped in. If so, the environment variables must be on the process (prompting is disabled).","usage":"<%= command.id %> -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -s 'gh/<org>/<repository>'","echo \"gh/<org>/<repository>\" | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR'","<%= config.bin %> circleci -t plugin | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'"],"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"},"slug":{"name":"slug","type":"option","char":"s","description":"a circle ci slugs in the format <vcs>/<org name>/<repo name>"},"envvar":{"name":"envvar","type":"option","char":"e","description":"a environment variables to set on the given circle slug(s)","required":true},"dryrun":{"name":"dryrun","type":"boolean","description":"do validation but do not update the environment variable values","allowNo":false}},"args":[]},"cli:install:test":{"id":"cli:install:test","description":"install sf or sfdx","usage":"<%= command.id %> -c <string> -m <string> [--channel <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --cli sfdx --method installer","<%= config.bin %> <%= command.id %> --cli sfdx --method npm","<%= config.bin %> <%= command.id %> --cli sfdx --method tarball","<%= config.bin %> <%= command.id %> --cli sf --method tarball","<%= config.bin %> <%= command.id %> --cli sf --method tarball --channel stable-rc"],"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"},"cli":{"name":"cli","type":"option","char":"c","description":"the cli to install","required":true,"options":["sf","sfdx"]},"method":{"name":"method","type":"option","char":"m","description":"the installation method to use","required":true,"options":["installer","npm","tarball"]},"channel":{"name":"channel","type":"option","description":"the channel to install from","options":["legacy","stable","stable-rc","latest","latest-rc"],"default":"stable"}},"args":[]},"cli:latestrc:build":{"id":"cli:latestrc:build","description":"creates a PR to the repository property defined in the package.json to release a latest-rc build","usage":"<%= command.id %> [--rctag <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"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"},"rctag":{"name":"rctag","type":"option","description":"the tag name that corresponds to the npm RC build, usually latest-rc or stable-rc","default":"latest-rc"}},"args":[]},"cli:schemas:collect":{"id":"cli:schemas:collect","description":"collect schemas from installed plugins","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"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"}},"args":[]},"cli:schemas:compare":{"id":"cli:schemas:compare","description":"compare schemas from installed plugins","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"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"}},"args":[]},"cli:tarballs:prepare":{"id":"cli:tarballs:prepare","description":"remove unnecessary files from node_modules","usage":"<%= command.id %> [-d] [-t] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"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"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"only show what would be removed from node_modules","allowNo":false},"types":{"name":"types","type":"boolean","char":"t","description":"remove all types (.d.ts) files from node_modules ","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"show all files paths being removed","allowNo":false}},"args":[]},"cli:tarballs:verify":{"id":"cli:tarballs:verify","description":"verify that tarballs are ready to be uploaded","usage":"<%= command.id %> [-c sf|sfdx] [-w <number>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>","<%= config.bin %> <%= command.id %> --cli sfdx","<%= config.bin %> <%= command.id %> --cli sf"],"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"},"cli":{"name":"cli","type":"option","char":"c","description":"the cli to verify","helpValue":"(sf|sfdx)","options":["sf","sfdx"],"default":"sfdx"},"windows-username-buffer":{"name":"windows-username-buffer","type":"option","char":"w","description":"the number of characters to allow for windows usernames","default":41}},"args":[]},"cli:versions:inspect":{"id":"cli:versions:inspect","description":"inspect the CLI version across all install paths","usage":"<%= command.id %> -c <string> -l <string> --cli sf|sfdx [-d <string>] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -l archive -c stable","<%= config.bin %> <%= command.id %> -l archive -c stable-rc","<%= config.bin %> <%= command.id %> -l archive npm -c stable","<%= config.bin %> <%= command.id %> -l archive npm -c latest","<%= config.bin %> <%= command.id %> -l archive npm -c latest latest-rc","<%= config.bin %> <%= command.id %> -l archive npm -c stable stable-rc","<%= config.bin %> <%= command.id %> -l npm -c latest --salesforce","<%= config.bin %> <%= command.id %> -l npm -c latest -d @salesforce/core","<%= config.bin %> <%= command.id %> -l npm -c latest -d @salesforce/**/ salesforce-alm","<%= config.bin %> <%= command.id %> -l npm -c latest -d chalk -s"],"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"},"dependencies":{"name":"dependencies","type":"option","char":"d","description":"glob pattern of dependencies you want to see the version of"},"salesforce":{"name":"salesforce","type":"boolean","char":"s","description":"show versions of salesforce owned dependencies","allowNo":false},"channels":{"name":"channels","type":"option","char":"c","description":"the channel you want to inspect (for achives, latest and latest-rc are translated to stable and stable-rc. And vice-versa for npm)","required":true,"options":["legacy","stable","stable-rc","latest","latest-rc"]},"locations":{"name":"locations","type":"option","char":"l","description":"the location you want to inspect","required":true,"options":["archive","npm"]},"cli":{"name":"cli","type":"option","description":"the CLI you want to inspect","required":true,"helpValue":"(sf|sfdx)","options":["sf","sfdx"],"default":"sfdx"}},"args":[]},"npm:dependencies:pin":{"id":"npm:dependencies:pin","description":"lock a list of dependencies to a target tag or default to 'latest', place these entries in 'pinnedDependencies' entry in the package.json","usage":"<%= command.id %> [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"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"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, will not make any changes to the package.json","allowNo":false},"tag":{"name":"tag","type":"option","char":"t","description":"The name of the tag you want, e.g. 'latest-rc', or 'latest'","default":"latest"}},"args":[]},"npm:lerna:release":{"id":"npm:lerna:release","description":"publish npm packages from a lerna repository","usage":"<%= command.id %> [-d] [-s <array>] [-t <string>] [-a <string>] [--install] [--githubrelease] [--verify] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"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"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"if true, will not commit changes to repo or push any tags","allowNo":false},"sign":{"name":"sign","type":"option","char":"s","description":"list of packages to be signed. Should match the name property of the package.json"},"npmtag":{"name":"npmtag","type":"option","char":"t","description":"tag to use when publishing to npm","default":"latest"},"npmaccess":{"name":"npmaccess","type":"option","char":"a","description":"access level to use when publishing to npm","default":"public"},"install":{"name":"install","type":"boolean","description":"run yarn install and build on repository","allowNo":true},"githubrelease":{"name":"githubrelease","type":"boolean","description":"create release in github based on the package changes","allowNo":false},"verify":{"name":"verify","type":"boolean","description":"verify npm registry has new version after publish and digital signature","allowNo":true}},"args":[]},"npm:package:promote":{"id":"npm:package:promote","description":"promote an npm package","usage":"<%= command.id %> -c <string> [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --candidate latest-rc --target latest"],"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"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, only show what would happen","allowNo":false},"target":{"name":"target","type":"option","char":"t","description":"the npm tag that you are promoting to","default":"latest"},"candidate":{"name":"candidate","type":"option","char":"c","description":"the npm tag that you want to promote","required":true}},"args":[]},"npm:package:release":{"id":"npm:package:release","description":"publish npm package","usage":"<%= command.id %> [-d] [-s] [-t <string>] [-a <string>] [--install] [--prerelease <string>] [--verify] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"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"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, will not commit changes to repo or push any tags","allowNo":false},"sign":{"name":"sign","type":"boolean","char":"s","description":"If true, then the package will be signed and the signature will be uploaded to S3","allowNo":false},"npmtag":{"name":"npmtag","type":"option","char":"t","description":"tag to use when publishing to npm","default":"latest"},"npmaccess":{"name":"npmaccess","type":"option","char":"a","description":"access level to use when publishing to npm","default":"public"},"install":{"name":"install","type":"boolean","description":"run yarn install and build on repository","allowNo":true},"prerelease":{"name":"prerelease","type":"option","description":"determine the next version as <version>-<prerelease>.0 if version is not manually set"},"verify":{"name":"verify","type":"boolean","description":"verify npm registry has new version after publish and digital signature","allowNo":true}},"args":[]},"npm:release:validate":{"id":"npm:release:validate","description":"inspects the git commits to see if there are any commits that will warrant a new release","usage":"<%= command.id %> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"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"},"verbose":{"name":"verbose","type":"boolean","description":"show all commits for all packages (only works with --json flag)","allowNo":false}},"args":[]}}}
1
+ {"version":"2.6.0","commands":{"channel:promote":{"id":"channel:promote","description":"promote a s3 channel","usage":"<%= command.id %> -t <string> -c sf|sfdx [-d] [-p <array>] [-m <number>] [-i] [-x] [-T <array>] [-T <string> | | [-C <string> | -s <string>]] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --candidate latest-rc --target latest --platform win --platform mac"],"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"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, only show what would happen","allowNo":false},"target":{"name":"target","type":"option","char":"t","description":"the channel name that you are promoting to","required":true,"default":"stable"},"candidate":{"name":"candidate","type":"option","char":"C","description":"the channel name that you want to promote"},"platform":{"name":"platform","type":"option","char":"p","description":"the platform to promote","default":[]},"cli":{"name":"cli","type":"option","char":"c","description":"the cli name to promote","required":true,"helpValue":"(sf|sfdx)","options":["sf","sfdx"]},"sha":{"name":"sha","type":"option","char":"s","description":"the short sha to promote"},"maxage":{"name":"maxage","type":"option","char":"m","description":"cache control max-age in seconds","default":300},"indexes":{"name":"indexes","type":"boolean","char":"i","description":"append the promoted urls into the index files","allowNo":true},"xz":{"name":"xz","type":"boolean","char":"x","description":"also upload xz","allowNo":true},"targets":{"name":"targets","type":"option","char":"T","description":"comma-separated targets to promote (e.g.: linux-arm,win32-x64)"},"version":{"name":"version","type":"option","char":"T","description":"the version of the candidate to be promoted, which must exist already in s3. Used to fetch the correct sha"}},"args":[]},"circleci":{"id":"circleci","description":"list known Circle CI slugs from '<%= config.bin %> repositories'","usage":"<%= command.id %> [-t plugin|library|orb] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -t plugin"],"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"},"contains-package-type":{"name":"contains-package-type","type":"option","char":"t","description":"filter based on type of package","helpValue":"(plugin|library|orb)","options":["plugin","library","orb"]}},"args":[]},"cli:releasenotes":{"id":"cli:releasenotes","description":"pull all relevant information for writing release notes.\n Requires the GH_TOKEN to be set in the environment.","usage":"<%= command.id %> -c <string> [-s <string>] [-m] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --cli sf","<%= config.bin %> <%= command.id %> --cli sfdx","<%= config.bin %> <%= command.id %> --cli sf --since 1.0.0","<%= config.bin %> <%= command.id %> --cli sfdx --since 7.19.0","<%= config.bin %> <%= command.id %> --cli sf > changes.txt","<%= config.bin %> <%= command.id %> --cli sf --markdown > changes.md"],"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"},"cli":{"name":"cli","type":"option","char":"c","description":"the cli to pull information for","required":true,"options":["sf","sfdx"]},"since":{"name":"since","type":"option","char":"s","description":"the version number of the previous release. Defaults to the latest-rc version on npm"},"markdown":{"name":"markdown","type":"boolean","char":"m","description":"format the output in markdown","allowNo":false}},"args":[]},"dependabot:automerge":{"id":"dependabot:automerge","description":"automatically merge one green, mergeable PR up to the specified maximum bump type","usage":"<%= command.id %> -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --max-version-bump patch","<%= config.bin %> <%= command.id %> --max-version-bump minor","<%= config.bin %> <%= command.id %> --max-version-bump major"],"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"},"owner":{"name":"owner","type":"option","char":"o","description":"the organization that the repository belongs to. This defaults to the owner specified in the package.json"},"repo":{"name":"repo","type":"option","char":"r","description":"the repository you want to consolidate PRs on. This defaults to the repository specified in the package.json"},"max-version-bump":{"name":"max-version-bump","type":"option","char":"m","description":"the maximum version bump you want to be included","required":true,"helpValue":"(major|minor|patch)","options":["major","minor","patch"],"default":"minor"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"only show what would happen if you consolidated dependabot PRs","allowNo":false},"skip-ci":{"name":"skip-ci","type":"boolean","char":"s","description":"add [skip ci] to the merge commit title","allowNo":false}},"args":[]},"dependabot:consolidate":{"id":"dependabot:consolidate","description":"consolidate dependabot PRs into a single PR","usage":"<%= command.id %> -m major|minor|patch -b <string> -t <string> [--ignore <array>] [-d] [--no-pr] [-r <string> -o <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --max-version-bump patch","<%= config.bin %> <%= command.id %> --max-version-bump minor","<%= config.bin %> <%= command.id %> --max-version-bump major"],"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"},"max-version-bump":{"name":"max-version-bump","type":"option","char":"m","description":"the maximum version bump you want to be included","required":true,"helpValue":"(major|minor|patch)","options":["major","minor","patch"],"default":"minor"},"base-branch":{"name":"base-branch","type":"option","char":"b","description":"name of the base branch for merging","required":true,"default":"main"},"target-branch":{"name":"target-branch","type":"option","char":"t","description":"name of the target branch for merging","required":true,"default":"consolidate-dependabot"},"ignore":{"name":"ignore","type":"option","description":"ignore any PRs with titles that include this value","default":[]},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"only show what would happen if you consolidated dependabot PRs","allowNo":false},"no-pr":{"name":"no-pr","type":"boolean","description":"do everything but create the PR","allowNo":false},"owner":{"name":"owner","type":"option","char":"o","description":"the organization that the repository belongs to. This defaults to the owner specified in the package.json"},"repo":{"name":"repo","type":"option","char":"r","description":"the repository you want to consolidate PRs on. This defaults to the repository specified in the package.json"}},"args":[]},"repositories":{"id":"repositories","description":"list repositories owned and supported by Salesforce CLI\nFor more information on the list of repositories, visit https://github.com/salesforcecli/status.","usage":"","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --columns=url --filter='Name=sfdx-core' --no-header | xargs open","<%= config.bin %> <%= command.id %> --json | jq -r '.result[] | select(.name==\"sfdx-core\") | .packages[] | .url"],"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"},"columns":{"name":"columns","type":"option","description":"only show provided columns (comma-separated)"},"sort":{"name":"sort","type":"option","description":"property to sort by (prepend '-' for descending)"},"filter":{"name":"filter","type":"option","description":"filter property by partial string matching, ex: name=foo"},"csv":{"name":"csv","type":"boolean","description":"output is csv format [alias: --output=csv]","allowNo":false},"output":{"name":"output","type":"option","description":"output in a more machine friendly format","options":["csv","json","yaml"]},"extended":{"name":"extended","type":"boolean","char":"x","description":"show extra columns","allowNo":false},"no-truncate":{"name":"no-truncate","type":"boolean","description":"do not truncate output to fit screen","allowNo":false},"no-header":{"name":"no-header","type":"boolean","description":"hide table header from output","allowNo":false}},"args":[]},"typescript:update":{"id":"typescript:update","description":"Runs tests with updated typescript version and ES target","usage":"<%= command.id %> [-v <string>] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"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"},"version":{"name":"version","type":"option","char":"v","description":"Specify the typescript version you'd like to update to. Defaults to latest if not specified","default":"latest"},"target":{"name":"target","type":"option","char":"t","description":"Specify the ES target you'd like to use. Defaults to ESNext if not specified","default":"ESNext"}},"args":[]},"circleci:envvar:create":{"id":"circleci:envvar:create","description":"update environment variable(s) on Circle CI slug(s)\nUpdates one or more environment variables on one or more CIrcle CI slugs. The environment variables must already exist on the slug. You will be prompted for the environment variable values unless they already exist on the process. The slugs can be piped in. If so, the environment variables must be on the process (prompting is disabled).","usage":"<%= command.id %> -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -s 'gh/<org>/<repository>'","echo \"gh/<org>/<repository>\" | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR'","<%= config.bin %> circleci -t plugin | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'"],"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"},"slug":{"name":"slug","type":"option","char":"s","description":"a circle ci slugs in the format <vcs>/<org name>/<repo name>"},"envvar":{"name":"envvar","type":"option","char":"e","description":"a environment variables to set on the given circle slug(s)","required":true},"dryrun":{"name":"dryrun","type":"boolean","description":"do validation but do not update the environment variable values","allowNo":false}},"args":[]},"circleci:envvar:update":{"id":"circleci:envvar:update","description":"update environment variable(s) on Circle CI slug(s)\nUpdates one or more environment variables on one or more CIrcle CI slugs. The environment variables must already exist on the slug. You will be prompted for the environment variable values unless they already exist on the process. The slugs can be piped in. If so, the environment variables must be on the process (prompting is disabled).","usage":"<%= command.id %> -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -s 'gh/<org>/<repository>'","echo \"gh/<org>/<repository>\" | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR'","<%= config.bin %> circleci -t plugin | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'"],"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"},"slug":{"name":"slug","type":"option","char":"s","description":"a circle ci slugs in the format <vcs>/<org name>/<repo name>"},"envvar":{"name":"envvar","type":"option","char":"e","description":"a environment variables to set on the given circle slug(s)","required":true},"dryrun":{"name":"dryrun","type":"boolean","description":"do validation but do not update the environment variable values","allowNo":false}},"args":[]},"cli:install:test":{"id":"cli:install:test","description":"install sf or sfdx","usage":"<%= command.id %> -c <string> -m <string> [--channel <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --cli sfdx --method installer","<%= config.bin %> <%= command.id %> --cli sfdx --method npm","<%= config.bin %> <%= command.id %> --cli sfdx --method tarball","<%= config.bin %> <%= command.id %> --cli sf --method tarball","<%= config.bin %> <%= command.id %> --cli sf --method tarball --channel stable-rc"],"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"},"cli":{"name":"cli","type":"option","char":"c","description":"the cli to install","required":true,"options":["sf","sfdx"]},"method":{"name":"method","type":"option","char":"m","description":"the installation method to use","required":true,"options":["installer","npm","tarball"]},"channel":{"name":"channel","type":"option","description":"the channel to install from","options":["legacy","stable","stable-rc","latest","latest-rc"],"default":"stable"}},"args":[]},"cli:latestrc:build":{"id":"cli:latestrc:build","description":"creates a PR to the repository property defined in the package.json to release a latest-rc build","usage":"<%= command.id %> [--rctag <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"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"},"rctag":{"name":"rctag","type":"option","description":"the tag name that corresponds to the npm RC build, usually latest-rc or stable-rc","default":"latest-rc"}},"args":[]},"cli:schemas:collect":{"id":"cli:schemas:collect","description":"collect schemas from installed plugins","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"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"}},"args":[]},"cli:schemas:compare":{"id":"cli:schemas:compare","description":"compare schemas from installed plugins","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"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"}},"args":[]},"cli:tarballs:prepare":{"id":"cli:tarballs:prepare","description":"remove unnecessary files from node_modules","usage":"<%= command.id %> [-d] [-t] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"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"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"only show what would be removed from node_modules","allowNo":false},"types":{"name":"types","type":"boolean","char":"t","description":"remove all types (.d.ts) files from node_modules ","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"show all files paths being removed","allowNo":false}},"args":[]},"cli:tarballs:verify":{"id":"cli:tarballs:verify","description":"verify that tarballs are ready to be uploaded","usage":"<%= command.id %> [-c sf|sfdx] [-w <number>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>","<%= config.bin %> <%= command.id %> --cli sfdx","<%= config.bin %> <%= command.id %> --cli sf"],"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"},"cli":{"name":"cli","type":"option","char":"c","description":"the cli to verify","helpValue":"(sf|sfdx)","options":["sf","sfdx"],"default":"sfdx"},"windows-username-buffer":{"name":"windows-username-buffer","type":"option","char":"w","description":"the number of characters to allow for windows usernames","default":41}},"args":[]},"cli:versions:inspect":{"id":"cli:versions:inspect","description":"inspect the CLI version across all install paths","usage":"<%= command.id %> -c <string> -l <string> --cli sf|sfdx [-d <string>] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -l archive -c stable","<%= config.bin %> <%= command.id %> -l archive -c stable-rc","<%= config.bin %> <%= command.id %> -l archive npm -c stable","<%= config.bin %> <%= command.id %> -l archive npm -c latest","<%= config.bin %> <%= command.id %> -l archive npm -c latest latest-rc","<%= config.bin %> <%= command.id %> -l archive npm -c stable stable-rc","<%= config.bin %> <%= command.id %> -l npm -c latest --salesforce","<%= config.bin %> <%= command.id %> -l npm -c latest -d @salesforce/core","<%= config.bin %> <%= command.id %> -l npm -c latest -d @salesforce/**/ salesforce-alm","<%= config.bin %> <%= command.id %> -l npm -c latest -d chalk -s"],"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"},"dependencies":{"name":"dependencies","type":"option","char":"d","description":"glob pattern of dependencies you want to see the version of"},"salesforce":{"name":"salesforce","type":"boolean","char":"s","description":"show versions of salesforce owned dependencies","allowNo":false},"channels":{"name":"channels","type":"option","char":"c","description":"the channel you want to inspect (for achives, latest and latest-rc are translated to stable and stable-rc. And vice-versa for npm)","required":true,"options":["legacy","stable","stable-rc","latest","latest-rc"]},"locations":{"name":"locations","type":"option","char":"l","description":"the location you want to inspect","required":true,"options":["archive","npm"]},"cli":{"name":"cli","type":"option","description":"the CLI you want to inspect","required":true,"helpValue":"(sf|sfdx)","options":["sf","sfdx"],"default":"sfdx"}},"args":[]},"npm:dependencies:pin":{"id":"npm:dependencies:pin","description":"lock a list of dependencies to a target tag or default to 'latest', place these entries in 'pinnedDependencies' entry in the package.json","usage":"<%= command.id %> [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"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"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, will not make any changes to the package.json","allowNo":false},"tag":{"name":"tag","type":"option","char":"t","description":"The name of the tag you want, e.g. 'latest-rc', or 'latest'","default":"latest"}},"args":[]},"npm:lerna:release":{"id":"npm:lerna:release","description":"publish npm packages from a lerna repository","usage":"<%= command.id %> [-d] [-s <array>] [-t <string>] [-a <string>] [--install] [--githubrelease] [--verify] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"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"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"if true, will not commit changes to repo or push any tags","allowNo":false},"sign":{"name":"sign","type":"option","char":"s","description":"list of packages to be signed. Should match the name property of the package.json"},"npmtag":{"name":"npmtag","type":"option","char":"t","description":"tag to use when publishing to npm","default":"latest"},"npmaccess":{"name":"npmaccess","type":"option","char":"a","description":"access level to use when publishing to npm","default":"public"},"install":{"name":"install","type":"boolean","description":"run yarn install and build on repository","allowNo":true},"githubrelease":{"name":"githubrelease","type":"boolean","description":"create release in github based on the package changes","allowNo":false},"verify":{"name":"verify","type":"boolean","description":"verify npm registry has new version after publish and digital signature","allowNo":true}},"args":[]},"npm:package:promote":{"id":"npm:package:promote","description":"promote an npm package","usage":"<%= command.id %> -c <string> [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --candidate latest-rc --target latest"],"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"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, only show what would happen","allowNo":false},"target":{"name":"target","type":"option","char":"t","description":"the npm tag that you are promoting to","default":"latest"},"candidate":{"name":"candidate","type":"option","char":"c","description":"the npm tag that you want to promote","required":true}},"args":[]},"npm:package:release":{"id":"npm:package:release","description":"publish npm package","usage":"<%= command.id %> [-d] [-s] [-t <string>] [-a <string>] [--install] [--prerelease <string>] [--verify] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"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"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, will not commit changes to repo or push any tags","allowNo":false},"sign":{"name":"sign","type":"boolean","char":"s","description":"If true, then the package will be signed and the signature will be uploaded to S3","allowNo":false},"npmtag":{"name":"npmtag","type":"option","char":"t","description":"tag to use when publishing to npm","default":"latest"},"npmaccess":{"name":"npmaccess","type":"option","char":"a","description":"access level to use when publishing to npm","default":"public"},"install":{"name":"install","type":"boolean","description":"run yarn install and build on repository","allowNo":true},"prerelease":{"name":"prerelease","type":"option","description":"determine the next version as <version>-<prerelease>.0 if version is not manually set"},"verify":{"name":"verify","type":"boolean","description":"verify npm registry has new version after publish and digital signature","allowNo":true}},"args":[]},"npm:release:validate":{"id":"npm:release:validate","description":"inspects the git commits to see if there are any commits that will warrant a new release","usage":"<%= command.id %> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"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"},"verbose":{"name":"verbose","type":"boolean","description":"show all commits for all packages (only works with --json flag)","allowNo":false}},"args":[]}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-release-management",
3
3
  "description": "A plugin for preparing and publishing npm packages",
4
- "version": "2.5.3",
4
+ "version": "2.6.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "bin": {
@@ -201,7 +201,7 @@
201
201
  "access": "public"
202
202
  },
203
203
  "sfdx": {
204
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.5.3.crt",
205
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.5.3.sig"
204
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.6.0.crt",
205
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.6.0.sig"
206
206
  }
207
207
  }