@salesforce/plugin-release-management 2.10.3 → 2.12.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,24 @@
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.12.0](https://github.com/salesforcecli/plugin-release-management/compare/v2.11.1...v2.12.0) (2022-04-06)
6
+
7
+ ### Features
8
+
9
+ - improve releasenotes command ([3b803d0](https://github.com/salesforcecli/plugin-release-management/commit/3b803d019089bf4b12daf2e73c15aa9e3a4ec72c))
10
+
11
+ ### [2.11.1](https://github.com/salesforcecli/plugin-release-management/compare/v2.11.0...v2.11.1) (2022-02-15)
12
+
13
+ ### Bug Fixes
14
+
15
+ - bump oclif to v2 ([#432](https://github.com/salesforcecli/plugin-release-management/issues/432)) ([8f5bf11](https://github.com/salesforcecli/plugin-release-management/commit/8f5bf11ff7cb2955aa575a2623291cac2f7ba26d))
16
+
17
+ ## [2.11.0](https://github.com/salesforcecli/plugin-release-management/compare/v2.10.3...v2.11.0) (2022-02-01)
18
+
19
+ ### Features
20
+
21
+ - patch flag and deduplicate step ([8622fd0](https://github.com/salesforcecli/plugin-release-management/commit/8622fd04073c5502c8a0e03f536f66a1e7397e05))
22
+
5
23
  ### [2.10.3](https://github.com/salesforcecli/plugin-release-management/compare/v2.10.2...v2.10.3) (2022-01-18)
6
24
 
7
25
  ### [2.10.2](https://github.com/salesforcecli/plugin-release-management/compare/v2.10.1...v2.10.2) (2022-01-10)
package/README.md CHANGED
@@ -105,7 +105,7 @@ sfdx plugins
105
105
  - [`sfdx circleci:envvar:create -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-circlecienvvarcreate--e-string--s-string---dryrun---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
106
106
  - [`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)
107
107
  - [`sfdx cli:install:test -c <string> -m <string> [--channel <string>] [--output-file <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-cliinstalltest--c-string--m-string---channel-string---output-file-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
108
- - [`sfdx cli:latestrc:build [--rctag <string>] [--resolutions] [--pinned-deps] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clilatestrcbuild---rctag-string---resolutions---pinned-deps---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
108
+ - [`sfdx cli:latestrc:build [--rctag <string>] [--resolutions] [--pinned-deps] [--patch] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clilatestrcbuild---rctag-string---resolutions---pinned-deps---patch---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
109
109
  - [`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)
110
110
  - [`sfdx cli:schemas:collect [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clischemascollect---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
111
111
  - [`sfdx cli:schemas:compare [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clischemascompare---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
@@ -174,7 +174,7 @@ EXAMPLE
174
174
  sfdx channel:promote --candidate latest-rc --target latest --platform win --platform mac
175
175
  ```
176
176
 
177
- _See code: [src/commands/channel/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/channel/promote.ts)_
177
+ _See code: [src/commands/channel/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/channel/promote.ts)_
178
178
 
179
179
  ## `sfdx circleci [-t plugin|library|orb] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
180
180
 
@@ -196,7 +196,7 @@ EXAMPLE
196
196
  sfdx circleci -t plugin
197
197
  ```
198
198
 
199
- _See code: [src/commands/circleci/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/circleci/index.ts)_
199
+ _See code: [src/commands/circleci/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/circleci/index.ts)_
200
200
 
201
201
  ## `sfdx circleci:envvar:create -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
202
202
 
@@ -233,7 +233,7 @@ EXAMPLES
233
233
  sfdx circleci -t plugin | sfdx circleci:envvar:create -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'
234
234
  ```
235
235
 
236
- _See code: [src/commands/circleci/envvar/create.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/circleci/envvar/create.ts)_
236
+ _See code: [src/commands/circleci/envvar/create.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/circleci/envvar/create.ts)_
237
237
 
238
238
  ## `sfdx circleci:envvar:update -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
239
239
 
@@ -270,7 +270,7 @@ EXAMPLES
270
270
  sfdx circleci -t plugin | sfdx circleci:envvar:update -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'
271
271
  ```
272
272
 
273
- _See code: [src/commands/circleci/envvar/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/circleci/envvar/update.ts)_
273
+ _See code: [src/commands/circleci/envvar/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/circleci/envvar/update.ts)_
274
274
 
275
275
  ## `sfdx cli:install:test -c <string> -m <string> [--channel <string>] [--output-file <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
276
276
 
@@ -307,15 +307,15 @@ EXAMPLES
307
307
  sfdx cli:install:test --cli sf --method tarball --channel stable-rc
308
308
  ```
309
309
 
310
- _See code: [src/commands/cli/install/test.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/install/test.ts)_
310
+ _See code: [src/commands/cli/install/test.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/cli/install/test.ts)_
311
311
 
312
- ## `sfdx cli:latestrc:build [--rctag <string>] [--resolutions] [--pinned-deps] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
312
+ ## `sfdx cli:latestrc:build [--rctag <string>] [--resolutions] [--pinned-deps] [--patch] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
313
313
 
314
314
  creates a PR to the repository property defined in the package.json to release a latest-rc build
315
315
 
316
316
  ```
317
317
  USAGE
318
- $ sfdx cli:latestrc:build [--rctag <string>] [--resolutions] [--pinned-deps] [--json] [--loglevel
318
+ $ sfdx cli:latestrc:build [--rctag <string>] [--resolutions] [--pinned-deps] [--patch] [--json] [--loglevel
319
319
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
320
320
 
321
321
  OPTIONS
@@ -324,6 +324,10 @@ OPTIONS
324
324
  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
325
325
  this command invocation
326
326
 
327
+ --patch bump the release as a patch of an
328
+ existing version, not a new minor
329
+ version
330
+
327
331
  --[no-]pinned-deps bump the versions of the packages
328
332
  listed in the pinnedDependencies
329
333
  section
@@ -337,7 +341,7 @@ OPTIONS
337
341
  in the resolutions section
338
342
  ```
339
343
 
340
- _See code: [src/commands/cli/latestrc/build.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/latestrc/build.ts)_
344
+ _See code: [src/commands/cli/latestrc/build.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/cli/latestrc/build.ts)_
341
345
 
342
346
  ## `sfdx cli:releasenotes -c <string> [-s <string>] [-m] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
343
347
 
@@ -375,7 +379,7 @@ EXAMPLES
375
379
  sfdx cli:releasenotes --cli sf --markdown > changes.md
376
380
  ```
377
381
 
378
- _See code: [src/commands/cli/releasenotes.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/releasenotes.ts)_
382
+ _See code: [src/commands/cli/releasenotes.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/cli/releasenotes.ts)_
379
383
 
380
384
  ## `sfdx cli:schemas:collect [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
381
385
 
@@ -395,7 +399,7 @@ EXAMPLE
395
399
  sfdx cli:schemas:collect
396
400
  ```
397
401
 
398
- _See code: [src/commands/cli/schemas/collect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/schemas/collect.ts)_
402
+ _See code: [src/commands/cli/schemas/collect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/cli/schemas/collect.ts)_
399
403
 
400
404
  ## `sfdx cli:schemas:compare [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
401
405
 
@@ -415,7 +419,7 @@ EXAMPLE
415
419
  sfdx cli:schemas:compare
416
420
  ```
417
421
 
418
- _See code: [src/commands/cli/schemas/compare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/schemas/compare.ts)_
422
+ _See code: [src/commands/cli/schemas/compare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/cli/schemas/compare.ts)_
419
423
 
420
424
  ## `sfdx cli:tarballs:prepare [-d] [-t] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
421
425
 
@@ -444,7 +448,7 @@ EXAMPLE
444
448
  sfdx cli:tarballs:prepare
445
449
  ```
446
450
 
447
- _See code: [src/commands/cli/tarballs/prepare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/tarballs/prepare.ts)_
451
+ _See code: [src/commands/cli/tarballs/prepare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/cli/tarballs/prepare.ts)_
448
452
 
449
453
  ## `sfdx cli:tarballs:smoke -c <string> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
450
454
 
@@ -473,7 +477,7 @@ EXAMPLES
473
477
  sfdx cli:tarballs:smoke --cli sf
474
478
  ```
475
479
 
476
- _See code: [src/commands/cli/tarballs/smoke.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/tarballs/smoke.ts)_
480
+ _See code: [src/commands/cli/tarballs/smoke.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/cli/tarballs/smoke.ts)_
477
481
 
478
482
  ## `sfdx cli:tarballs:verify [-c sf|sfdx] [-w <number>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
479
483
 
@@ -502,7 +506,7 @@ EXAMPLES
502
506
  sfdx cli:tarballs:verify --cli sf
503
507
  ```
504
508
 
505
- _See code: [src/commands/cli/tarballs/verify.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/tarballs/verify.ts)_
509
+ _See code: [src/commands/cli/tarballs/verify.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/cli/tarballs/verify.ts)_
506
510
 
507
511
  ## `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]`
508
512
 
@@ -550,7 +554,7 @@ EXAMPLES
550
554
  sfdx cli:versions:inspect -l npm -c latest -d chalk -s
551
555
  ```
552
556
 
553
- _See code: [src/commands/cli/versions/inspect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/versions/inspect.ts)_
557
+ _See code: [src/commands/cli/versions/inspect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/cli/versions/inspect.ts)_
554
558
 
555
559
  ## `sfdx dependabot:automerge -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--merge-method merge|squash|rebase] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
556
560
 
@@ -594,7 +598,7 @@ EXAMPLES
594
598
  sfdx dependabot:automerge --max-version-bump major
595
599
  ```
596
600
 
597
- _See code: [src/commands/dependabot/automerge.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/dependabot/automerge.ts)_
601
+ _See code: [src/commands/dependabot/automerge.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/dependabot/automerge.ts)_
598
602
 
599
603
  ## `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]`
600
604
 
@@ -645,7 +649,7 @@ EXAMPLES
645
649
  sfdx dependabot:consolidate --max-version-bump major
646
650
  ```
647
651
 
648
- _See code: [src/commands/dependabot/consolidate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/dependabot/consolidate.ts)_
652
+ _See code: [src/commands/dependabot/consolidate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/dependabot/consolidate.ts)_
649
653
 
650
654
  ## `sfdx npm:dependencies:pin [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
651
655
 
@@ -670,7 +674,7 @@ OPTIONS
670
674
  this command invocation
671
675
  ```
672
676
 
673
- _See code: [src/commands/npm/dependencies/pin.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/npm/dependencies/pin.ts)_
677
+ _See code: [src/commands/npm/dependencies/pin.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/npm/dependencies/pin.ts)_
674
678
 
675
679
  ## `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]`
676
680
 
@@ -710,7 +714,7 @@ OPTIONS
710
714
  after publish and digital signature
711
715
  ```
712
716
 
713
- _See code: [src/commands/npm/lerna/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/npm/lerna/release.ts)_
717
+ _See code: [src/commands/npm/lerna/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/npm/lerna/release.ts)_
714
718
 
715
719
  ## `sfdx npm:package:promote -c <string> [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
716
720
 
@@ -739,7 +743,7 @@ EXAMPLE
739
743
  sfdx npm:package:promote --candidate latest-rc --target latest
740
744
  ```
741
745
 
742
- _See code: [src/commands/npm/package/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/npm/package/promote.ts)_
746
+ _See code: [src/commands/npm/package/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/npm/package/promote.ts)_
743
747
 
744
748
  ## `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]`
745
749
 
@@ -780,7 +784,7 @@ OPTIONS
780
784
  after publish and digital signature
781
785
  ```
782
786
 
783
- _See code: [src/commands/npm/package/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/npm/package/release.ts)_
787
+ _See code: [src/commands/npm/package/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/npm/package/release.ts)_
784
788
 
785
789
  ## `sfdx npm:release:validate [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
786
790
 
@@ -801,7 +805,7 @@ OPTIONS
801
805
  (only works with --json flag)
802
806
  ```
803
807
 
804
- _See code: [src/commands/npm/release/validate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/npm/release/validate.ts)_
808
+ _See code: [src/commands/npm/release/validate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/npm/release/validate.ts)_
805
809
 
806
810
  ## `sfdx plugins:trust:verify -n <string> [-r <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
807
811
 
@@ -874,7 +878,7 @@ EXAMPLES
874
878
  sfdx repositories --json | jq -r '.result[] | select(.name=="sfdx-core") | .packages[] | .url
875
879
  ```
876
880
 
877
- _See code: [src/commands/repositories/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/repositories/index.ts)_
881
+ _See code: [src/commands/repositories/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/repositories/index.ts)_
878
882
 
879
883
  ## `sfdx typescript:update [-v <string>] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
880
884
 
@@ -901,6 +905,6 @@ OPTIONS
901
905
  this command invocation
902
906
  ```
903
907
 
904
- _See code: [src/commands/typescript/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/typescript/update.ts)_
908
+ _See code: [src/commands/typescript/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.11.1/src/commands/typescript/update.ts)_
905
909
 
906
910
  <!-- commandsstop -->
@@ -23,7 +23,7 @@ class build extends command_1.SfdxCommand {
23
23
  const octokit = new core_1.Octokit({ auth });
24
24
  // get the current version and implement the patch version for a default rc build
25
25
  const repo = await repository_1.SinglePackageRepo.create({ ux: this.ux });
26
- const nextRCVersion = repo.package.getNextRCVersion(this.flags.rctag);
26
+ const nextRCVersion = repo.package.getNextRCVersion(this.flags.rctag, this.flags.patch);
27
27
  repo.nextVersion = nextRCVersion;
28
28
  this.ux.log(`starting on main and will checkout ${repo.nextVersion}`);
29
29
  // start the latest-rc build process on a clean main branch
@@ -46,6 +46,8 @@ class build extends command_1.SfdxCommand {
46
46
  }
47
47
  repo.package.writePackageJson();
48
48
  this.exec('yarn install');
49
+ // streamline the lockfile
50
+ this.exec('npx yarn-deduplicate');
49
51
  this.exec('yarn snapshot-generate');
50
52
  await this.maybeSetGitConfig(octokit);
51
53
  // commit package.json/yarn.lock and potentially command-snapshot changes
@@ -96,5 +98,8 @@ build.flagsConfig = {
96
98
  default: true,
97
99
  allowNo: true,
98
100
  }),
101
+ patch: command_1.flags.boolean({
102
+ description: messages.getMessage('flags.patch'),
103
+ }),
99
104
  };
100
105
  //# sourceMappingURL=build.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"build.js","sourceRoot":"","sources":["../../../../src/commands/cli/latestrc/build.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,iDAAsE;AACtE,qCAA4C;AAC5C,mDAAoD;AACpD,yCAAsC;AACtC,wCAAwC;AACxC,iCAA6B;AAC7B,2CAA4C;AAC5C,oDAAwD;AAExD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,uCAAuC,EAAE,oBAAoB,CAAC,CAAC;AAEtG,MAAqB,KAAM,SAAQ,qBAAW;IAmBrC,KAAK,CAAC,GAAG;;QACd,MAAM,IAAI,GAAG,IAAA,uBAAY,EACvB,MAAA,IAAI,SAAG,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,mCAAI,IAAI,SAAG,EAAE,CAAC,SAAS,CAAC,cAAc,CAAC,EACtE,mDAAmD,CACpD,CAAC;QACF,MAAM,OAAO,GAAG,IAAI,cAAO,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;QAEtC,iFAAiF;QACjF,MAAM,IAAI,GAAG,MAAM,8BAAiB,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;QAE7D,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACtE,IAAI,CAAC,WAAW,GAAG,aAAa,CAAC;QAEjC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,sCAAsC,IAAI,CAAC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E,IAAI;KACd,CAAC;IACF,KAAK,EAAE,eAAK,CAAC,OAAO,CAAC;QACnB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC;KAChD,CAAC;CACH,CAAC"}
@@ -18,6 +18,7 @@ export default class ReleaseNotes extends SfdxCommand {
18
18
  run(): Promise<ChangesByPlugin>;
19
19
  private getNpmPackage;
20
20
  private normalizePlugins;
21
+ private findDifferences;
21
22
  private getNameOfUser;
22
23
  private getPullsForPlugin;
23
24
  private logChanges;
@@ -14,10 +14,14 @@ const core_1 = require("@octokit/core");
14
14
  const chalk_1 = require("chalk");
15
15
  const core_2 = require("@salesforce/core");
16
16
  const shelljs_1 = require("shelljs");
17
+ const semver = require("semver");
17
18
  const types_1 = require("../../types");
18
19
  const package_1 = require("../../package");
19
20
  core_2.Messages.importMessagesDirectory(__dirname);
20
21
  const messages = core_2.Messages.loadMessages('@salesforce/plugin-release-management', 'cli.releasenotes');
22
+ function isNotEmpty(obj) {
23
+ return Object.keys(obj).length > 0;
24
+ }
21
25
  class ReleaseNotes extends command_1.SfdxCommand {
22
26
  constructor() {
23
27
  super(...arguments);
@@ -29,15 +33,44 @@ class ReleaseNotes extends command_1.SfdxCommand {
29
33
  this.octokit = new core_1.Octokit({ auth });
30
34
  const cli = (0, ts_types_1.ensure)(this.flags.cli);
31
35
  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);
36
+ const npmPackage = this.getNpmPackage(fullName, (_a = this.flags.since) !== null && _a !== void 0 ? _a : 'latest');
37
+ const latestrc = this.getNpmPackage(fullName, 'latest-rc');
38
+ const oldPlugins = this.normalizePlugins(npmPackage);
39
+ const newPlugins = this.normalizePlugins(latestrc);
40
+ const differences = this.findDifferences(oldPlugins, newPlugins);
41
+ if (isNotEmpty(differences.upgraded)) {
42
+ this.ux.styledHeader('Upgraded Plugins');
43
+ for (const [plugin, version] of Object.entries(differences.upgraded)) {
44
+ this.ux.log(`• ${plugin} ${oldPlugins[plugin]} => ${version}`);
45
+ }
46
+ }
47
+ if (isNotEmpty(differences.downgraded)) {
48
+ this.ux.styledHeader('Downgraded Plugins');
49
+ for (const [plugin, version] of Object.entries(differences.downgraded)) {
50
+ this.ux.log(`• ${plugin} ${version} => ${oldPlugins[plugin]}`);
51
+ }
52
+ }
53
+ if (isNotEmpty(differences.added)) {
54
+ this.ux.styledHeader('Added Plugins');
55
+ for (const [plugin, version] of Object.entries(differences.added)) {
56
+ this.ux.log(`• ${plugin} ${version}`);
57
+ }
58
+ }
59
+ if (isNotEmpty(differences.removed)) {
60
+ this.ux.styledHeader('Removed Plugins');
61
+ for (const [plugin, version] of Object.entries(differences.removed)) {
62
+ this.ux.log(`• ${plugin} ${version}`);
63
+ }
64
+ }
35
65
  const changesByPlugin = {};
36
- for (const plugin of plugins) {
66
+ for (const [plugin] of Object.entries(differences.upgraded)) {
67
+ const pkg = this.getNpmPackage(plugin, oldPlugins[plugin]);
68
+ const publishDate = pkg.time[pkg.version];
37
69
  const changes = await this.getPullsForPlugin(plugin, publishDate);
38
70
  if (changes.length)
39
71
  changesByPlugin[plugin] = changes;
40
72
  }
73
+ this.ux.log();
41
74
  if (this.flags.markdown) {
42
75
  this.logChangesMarkdown(changesByPlugin);
43
76
  }
@@ -53,15 +86,40 @@ class ReleaseNotes extends command_1.SfdxCommand {
53
86
  normalizePlugins(npmPackage) {
54
87
  var _a, _b;
55
88
  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) => {
89
+ const normalized = { [npmPackage.name]: npmPackage.version };
90
+ plugins.forEach((p) => {
59
91
  if (npmPackage.dependencies[p].startsWith('npm:')) {
60
- return (0, package_1.parseAliasedPackageName)(npmPackage.dependencies[p]);
92
+ const name = (0, package_1.parseAliasedPackageName)(npmPackage.dependencies[p]);
93
+ const version = (0, package_1.parseAliasedPackageVersion)(npmPackage.dependencies[p]);
94
+ normalized[name] = version;
95
+ }
96
+ else {
97
+ normalized[p] = npmPackage.dependencies[p];
61
98
  }
62
- return p;
63
99
  });
64
- return [npmPackage.name, ...normalized];
100
+ return normalized;
101
+ }
102
+ findDifferences(oldPlugins, newPlugins) {
103
+ const removed = {};
104
+ const added = {};
105
+ const upgraded = {};
106
+ const downgraded = {};
107
+ const unchanged = {};
108
+ for (const [name, version] of Object.entries(oldPlugins)) {
109
+ if (!newPlugins[name])
110
+ removed[name] = version;
111
+ }
112
+ for (const [name, version] of Object.entries(newPlugins)) {
113
+ if (!oldPlugins[name])
114
+ added[name] = version;
115
+ else if (semver.gt(version, oldPlugins[name]))
116
+ upgraded[name] = version;
117
+ else if (semver.lt(version, oldPlugins[name]))
118
+ downgraded[name] = version;
119
+ else
120
+ unchanged[name] = version;
121
+ }
122
+ return { removed, added, upgraded, downgraded, unchanged };
65
123
  }
66
124
  async getNameOfUser(username) {
67
125
  var _a, _b;
@@ -84,6 +142,7 @@ class ReleaseNotes extends command_1.SfdxCommand {
84
142
  owner,
85
143
  repo,
86
144
  state: 'closed',
145
+ base: 'main',
87
146
  // eslint-disable-next-line camelcase
88
147
  per_page: 100,
89
148
  });
@@ -1 +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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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;;AA/MH,+BAgNC;AA/MwB,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
@@ -39,6 +39,7 @@ export interface VersionValidation {
39
39
  name: string;
40
40
  }
41
41
  export declare function parseAliasedPackageName(alias: string): string;
42
+ export declare function parseAliasedPackageVersion(alias: string): string;
42
43
  export declare class Package extends AsyncOptionalCreatable {
43
44
  name: string;
44
45
  npmPackage: NpmPackage;
@@ -62,7 +63,7 @@ export declare class Package extends AsyncOptionalCreatable {
62
63
  nextVersionIsAvailable(): boolean;
63
64
  writePackageJson(rootDir?: string): void;
64
65
  bumpResolutions(tag: string): void;
65
- getNextRCVersion(tag: string): string;
66
+ getNextRCVersion(tag: string, isPatch?: boolean): string;
66
67
  pinDependencyVersions(targetTag: string): ChangedPackageVersions;
67
68
  /**
68
69
  * Returns true if the version specified in the package.json has not been
package/lib/package.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Package = exports.parseAliasedPackageName = void 0;
3
+ exports.Package = exports.parseAliasedPackageVersion = exports.parseAliasedPackageName = void 0;
4
4
  /*
5
5
  * Copyright (c) 2020, salesforce.com, inc.
6
6
  * All rights reserved.
@@ -19,6 +19,11 @@ function parseAliasedPackageName(alias) {
19
19
  return alias.replace('npm:', '').replace(/@(\^|~)?[0-9]{1,3}(?:.[0-9]{1,3})?(?:.[0-9]{1,3})?(.*?)$/, '');
20
20
  }
21
21
  exports.parseAliasedPackageName = parseAliasedPackageName;
22
+ function parseAliasedPackageVersion(alias) {
23
+ const regex = /@(\^|~)?[0-9]{1,3}(?:.[0-9]{1,3})?(?:.[0-9]{1,3})?(.*?)$/;
24
+ return regex.exec(alias.replace('npm:', ''))[0].replace('@', '');
25
+ }
26
+ exports.parseAliasedPackageVersion = parseAliasedPackageVersion;
22
27
  class Package extends kit_1.AsyncOptionalCreatable {
23
28
  constructor(location) {
24
29
  super();
@@ -92,13 +97,15 @@ class Package extends kit_1.AsyncOptionalCreatable {
92
97
  this.packageJson.resolutions[key] = versions[tag];
93
98
  });
94
99
  }
95
- getNextRCVersion(tag) {
100
+ getNextRCVersion(tag, isPatch = false) {
96
101
  const result = (0, shelljs_1.exec)(`npm view ${this.packageJson.name} dist-tags ${this.registry.getRegistryParameter()} --json`, {
97
102
  silent: true,
98
103
  });
99
104
  const versions = JSON.parse(result.stdout);
100
105
  const version = semver.parse(versions[tag]);
101
- return `${version.major}.${version.minor + 1}.0`;
106
+ return isPatch
107
+ ? `${version.major}.${version.minor}.${version.patch + 1}`
108
+ : `${version.major}.${version.minor + 1}.0`;
102
109
  }
103
110
  pinDependencyVersions(targetTag) {
104
111
  // get the list of dependencies to hardcode
@@ -1 +1 @@
1
- {"version":3,"file":"package.js","sourceRoot":"","sources":["../src/package.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,6BAA6B;AAC7B,iCAAiC;AACjC,mCAA6B;AAC7B,qCAAoC;AACpC,2CAAyD;AACzD,yCAAkE;AAClE,mDAA8D;AAC9D,yCAAsC;AAoDtC,SAAgB,uBAAuB,CAAC,KAAa;IACnD,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,0DAA0D,EAAE,EAAE,CAAC,CAAC;AAC3G,CAAC;AAFD,0DAEC;AAED,MAAa,OAAQ,SAAQ,4BAAsB;IAUjD,YAAmB,QAAgB;QACjC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,GAAG,QAAQ,IAAI,IAAA,aAAG,GAAE,CAAC,MAAM,CAAC;QACzC,IAAI,CAAC,QAAQ,GAAG,IAAI,mBAAQ,EAAE,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,eAAe;QAC1B,MAAM,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC;QAC9F,OAAO,CAAC,MAAM,SAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAgB,CAAC;IACzD,CAAC;IAED;;;;;OAKG;IACI,kBAAkB;QACvB,IAAI,MAAM,GAAG,IAAA,cAAI,EACf,YAAY,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,CAAC,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC,oBAAoB,EAAE,SAAS,EAClG,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CAAC;QACF,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE;YAClB,MAAM,GAAG,IAAA,cAAI,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ClC,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;AAlND,0BAkNC"}
@@ -3,6 +3,7 @@
3
3
  "flags": {
4
4
  "rctag": "the tag name that corresponds to the npm RC build, usually latest-rc or stable-rc",
5
5
  "resolutions": "bump the versions of packages listed in the resolutions section",
6
- "pinnedDeps": "bump the versions of the packages listed in the pinnedDependencies section"
6
+ "pinnedDeps": "bump the versions of the packages listed in the pinnedDependencies section",
7
+ "patch": "bump the release as a patch of an existing version, not a new minor version"
7
8
  }
8
9
  }
@@ -1 +1 @@
1
- {"version":"2.10.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":[]},"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] [--merge-method merge|squash|rebase] [--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},"merge-method":{"name":"merge-method","type":"option","description":"merge method to use","helpValue":"(merge|squash|rebase)","options":["merge","squash","rebase"],"default":"merge"}},"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>] [--output-file <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"},"output-file":{"name":"output-file","type":"option","description":"the file to write the JSON results to (must be .json)","default":"test-results.json"}},"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>] [--resolutions] [--pinned-deps] [--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"},"resolutions":{"name":"resolutions","type":"boolean","description":"bump the versions of packages listed in the resolutions section","allowNo":true},"pinned-deps":{"name":"pinned-deps","type":"boolean","description":"bump the versions of the packages listed in the pinnedDependencies section","allowNo":true}},"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:smoke":{"id":"cli:tarballs:smoke","description":"smoke tests for the tarballed CLI\n Tests that the CLI and every command can be initialized.","usage":"<%= command.id %> -c <string> [--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 %> --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 install","required":true,"options":["sf","sfdx"]},"verbose":{"name":"verbose","type":"boolean","description":"show the --help output for each command","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.12.0","commands":{"channel:promote":{"id":"channel:promote","description":"promote a s3 channel","strict":true,"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","pluginAlias":"@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)","multiple":false,"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,"multiple":false,"default":"stable"},"candidate":{"name":"candidate","type":"option","char":"C","description":"the channel name that you want to promote","multiple":false,"exclusive":["sha"]},"platform":{"name":"platform","type":"option","char":"p","description":"the platform to promote","multiple":false,"default":[]},"cli":{"name":"cli","type":"option","char":"c","description":"the cli name to promote","required":true,"helpValue":"(sf|sfdx)","multiple":false,"options":["sf","sfdx"]},"sha":{"name":"sha","type":"option","char":"s","description":"the short sha to promote","multiple":false,"exclusive":["candidate"]},"maxage":{"name":"maxage","type":"option","char":"m","description":"cache control max-age in seconds","multiple":false,"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)","multiple":false},"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","multiple":false,"exclusive":["sha","candidate"]}},"args":[],"flagsConfig":{"dryrun":{"kind":"boolean","char":"d","default":false,"description":"If true, only show what would happen","allowNo":false,"type":"boolean"},"target":{"kind":"string","char":"t","default":"stable","description":"the channel name that you are promoting to","required":true,"input":[],"multiple":false,"type":"option"},"candidate":{"kind":"string","char":"C","description":"the channel name that you want to promote","exclusive":["sha"],"input":[],"multiple":false,"type":"option"},"platform":{"kind":"array","char":"p","description":"the platform to promote","default":[],"multiple":false,"input":[],"type":"option"},"cli":{"kind":"enum","helpValue":"(sf|sfdx)","char":"c","description":"the cli name to promote","required":true,"options":["sf","sfdx"],"input":[],"multiple":false,"type":"option"},"sha":{"kind":"string","char":"s","description":"the short sha to promote","exclusive":["candidate"],"input":[],"multiple":false,"type":"option"},"maxage":{"kind":"number","char":"m","description":"cache control max-age in seconds","default":300,"input":[],"multiple":false,"type":"option"},"indexes":{"kind":"boolean","char":"i","description":"append the promoted urls into the index files","default":true,"allowNo":true,"type":"boolean"},"xz":{"kind":"boolean","char":"x","description":"also upload xz","default":true,"allowNo":true,"type":"boolean"},"targets":{"kind":"array","char":"T","description":"comma-separated targets to promote (e.g.: linux-arm,win32-x64)","input":[],"multiple":false,"type":"option"},"version":{"kind":"string","char":"T","description":"the version of the candidate to be promoted, which must exist already in s3. Used to fetch the correct sha","exclusive":["sha","candidate"],"input":[],"multiple":false,"type":"option"}}},"circleci":{"id":"circleci","description":"list known Circle CI slugs from '<%= config.bin %> repositories'","strict":true,"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","pluginAlias":"@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)","multiple":false,"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)","multiple":false,"options":["plugin","library","orb"]}},"args":[],"flagsConfig":{"contains-package-type":{"kind":"enum","helpValue":"(plugin|library|orb)","description":"filter based on type of package","char":"t","options":["plugin","library","orb"],"input":[],"multiple":false,"type":"option"}}},"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.","strict":true,"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","pluginAlias":"@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)","multiple":false,"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,"multiple":false,"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","multiple":false},"markdown":{"name":"markdown","type":"boolean","char":"m","description":"format the output in markdown","allowNo":false}},"args":[],"flagsConfig":{"cli":{"kind":"string","description":"the cli to pull information for","options":["sf","sfdx"],"char":"c","required":true,"input":[],"multiple":false,"type":"option"},"since":{"kind":"string","description":"the version number of the previous release. Defaults to the latest-rc version on npm","char":"s","input":[],"multiple":false,"type":"option"},"markdown":{"kind":"boolean","description":"format the output in markdown","char":"m","default":false,"allowNo":false,"type":"boolean"}}},"dependabot:automerge":{"id":"dependabot:automerge","description":"automatically merge one green, mergeable PR up to the specified maximum bump type","strict":true,"usage":"<%= command.id %> -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--merge-method merge|squash|rebase] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginAlias":"@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)","multiple":false,"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","multiple":false},"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","multiple":false,"dependsOn":["owner"]},"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)","multiple":false,"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},"merge-method":{"name":"merge-method","type":"option","description":"merge method to use","helpValue":"(merge|squash|rebase)","multiple":false,"options":["merge","squash","rebase"],"default":"merge"}},"args":[],"flagsConfig":{"owner":{"kind":"string","char":"o","description":"the organization that the repository belongs to. This defaults to the owner specified in the package.json","input":[],"multiple":false,"type":"option"},"repo":{"kind":"string","char":"r","description":"the repository you want to consolidate PRs on. This defaults to the repository specified in the package.json","dependsOn":["owner"],"input":[],"multiple":false,"type":"option"},"max-version-bump":{"kind":"enum","helpValue":"(major|minor|patch)","description":"the maximum version bump you want to be included","char":"m","options":["major","minor","patch"],"default":"minor","required":true,"input":[],"multiple":false,"type":"option"},"dryrun":{"kind":"boolean","description":"only show what would happen if you consolidated dependabot PRs","char":"d","default":false,"allowNo":false,"type":"boolean"},"skip-ci":{"kind":"boolean","description":"add [skip ci] to the merge commit title","char":"s","default":false,"allowNo":false,"type":"boolean"},"merge-method":{"kind":"enum","helpValue":"(merge|squash|rebase)","description":"merge method to use","options":["merge","squash","rebase"],"default":"merge","input":[],"multiple":false,"type":"option"}}},"dependabot:consolidate":{"id":"dependabot:consolidate","description":"consolidate dependabot PRs into a single PR","strict":true,"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","pluginAlias":"@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)","multiple":false,"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)","multiple":false,"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,"multiple":false,"default":"main"},"target-branch":{"name":"target-branch","type":"option","char":"t","description":"name of the target branch for merging","required":true,"multiple":false,"default":"consolidate-dependabot"},"ignore":{"name":"ignore","type":"option","description":"ignore any PRs with titles that include this value","multiple":false,"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","multiple":false},"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","multiple":false,"dependsOn":["owner"]}},"args":[],"flagsConfig":{"max-version-bump":{"kind":"enum","helpValue":"(major|minor|patch)","description":"the maximum version bump you want to be included","char":"m","options":["major","minor","patch"],"default":"minor","required":true,"input":[],"multiple":false,"type":"option"},"base-branch":{"kind":"string","description":"name of the base branch for merging","char":"b","default":"main","required":true,"input":[],"multiple":false,"type":"option"},"target-branch":{"kind":"string","description":"name of the target branch for merging","char":"t","default":"consolidate-dependabot","required":true,"input":[],"multiple":false,"type":"option"},"ignore":{"kind":"array","description":"ignore any PRs with titles that include this value","default":[],"input":[],"multiple":false,"type":"option"},"dryrun":{"kind":"boolean","description":"only show what would happen if you consolidated dependabot PRs","char":"d","default":false,"allowNo":false,"type":"boolean"},"no-pr":{"kind":"boolean","description":"do everything but create the PR","default":false,"allowNo":false,"type":"boolean"},"owner":{"kind":"string","description":"the organization that the repository belongs to. This defaults to the owner specified in the package.json","char":"o","input":[],"multiple":false,"type":"option"},"repo":{"kind":"string","description":"the repository you want to consolidate PRs on. This defaults to the repository specified in the package.json","char":"r","dependsOn":["owner"],"input":[],"multiple":false,"type":"option"}}},"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.","strict":true,"usage":"","pluginName":"@salesforce/plugin-release-management","pluginAlias":"@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)","multiple":false,"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)","multiple":false,"exclusive":["extended"]},"sort":{"name":"sort","type":"option","description":"property to sort by (prepend '-' for descending)","multiple":false},"filter":{"name":"filter","type":"option","description":"filter property by partial string matching, ex: name=foo","multiple":false},"csv":{"name":"csv","type":"boolean","description":"output is csv format [alias: --output=csv]","allowNo":false,"exclusive":["no-truncate"]},"output":{"name":"output","type":"option","description":"output in a more machine friendly format","multiple":false,"options":["csv","json","yaml"],"exclusive":["no-truncate","csv"]},"extended":{"name":"extended","type":"boolean","char":"x","description":"show extra columns","allowNo":false,"exclusive":["columns"]},"no-truncate":{"name":"no-truncate","type":"boolean","description":"do not truncate output to fit screen","allowNo":false,"exclusive":["csv"]},"no-header":{"name":"no-header","type":"boolean","description":"hide table header from output","allowNo":false,"exclusive":["csv"]}},"args":[],"flagsConfig":{"columns":{"exclusive":["extended"],"description":"only show provided columns (comma-separated)","input":[],"multiple":false,"type":"option"},"sort":{"description":"property to sort by (prepend '-' for descending)","input":[],"multiple":false,"type":"option"},"filter":{"description":"filter property by partial string matching, ex: name=foo","input":[],"multiple":false,"type":"option"},"csv":{"exclusive":["no-truncate"],"description":"output is csv format [alias: --output=csv]","allowNo":false,"type":"boolean"},"output":{"exclusive":["no-truncate","csv"],"description":"output in a more machine friendly format","options":["csv","json","yaml"],"input":[],"multiple":false,"type":"option"},"extended":{"exclusive":["columns"],"char":"x","description":"show extra columns","allowNo":false,"type":"boolean"},"no-truncate":{"exclusive":["csv"],"description":"do not truncate output to fit screen","allowNo":false,"type":"boolean"},"no-header":{"exclusive":["csv"],"description":"hide table header from output","allowNo":false,"type":"boolean"}}},"typescript:update":{"id":"typescript:update","description":"Runs tests with updated typescript version and ES target","strict":true,"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","pluginAlias":"@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)","multiple":false,"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","multiple":false,"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","multiple":false,"default":"ESNext"}},"args":[],"flagsConfig":{"version":{"kind":"string","char":"v","description":"Specify the typescript version you'd like to update to. Defaults to latest if not specified","default":"latest","input":[],"multiple":false,"type":"option"},"target":{"kind":"string","char":"t","description":"Specify the ES target you'd like to use. Defaults to ESNext if not specified","default":"ESNext","input":[],"multiple":false,"type":"option"}}},"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).","strict":true,"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","pluginAlias":"@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)","multiple":false,"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>","multiple":true},"envvar":{"name":"envvar","type":"option","char":"e","description":"a environment variables to set on the given circle slug(s)","required":true,"multiple":true},"dryrun":{"name":"dryrun","type":"boolean","description":"do validation but do not update the environment variable values","allowNo":false}},"args":[],"flagsConfig":{"slug":{"kind":"string","description":"a circle ci slugs in the format <vcs>/<org name>/<repo name>","char":"s","multiple":true,"input":[],"type":"option"},"envvar":{"kind":"string","description":"a environment variables to set on the given circle slug(s)","char":"e","required":true,"multiple":true,"input":[],"type":"option"},"dryrun":{"kind":"boolean","description":"do validation but do not update the environment variable values","allowNo":false,"type":"boolean"}}},"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).","strict":true,"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","pluginAlias":"@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)","multiple":false,"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>","multiple":true},"envvar":{"name":"envvar","type":"option","char":"e","description":"a environment variables to set on the given circle slug(s)","required":true,"multiple":true},"dryrun":{"name":"dryrun","type":"boolean","description":"do validation but do not update the environment variable values","allowNo":false}},"args":[],"flagsConfig":{"slug":{"kind":"string","description":"a circle ci slugs in the format <vcs>/<org name>/<repo name>","char":"s","multiple":true,"input":[],"type":"option"},"envvar":{"kind":"string","description":"a environment variables to set on the given circle slug(s)","char":"e","required":true,"multiple":true,"input":[],"type":"option"},"dryrun":{"kind":"boolean","description":"do validation but do not update the environment variable values","allowNo":false,"type":"boolean"}}},"cli:install:test":{"id":"cli:install:test","description":"install sf or sfdx","strict":true,"usage":"<%= command.id %> -c <string> -m <string> [--channel <string>] [--output-file <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginAlias":"@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)","multiple":false,"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,"multiple":false,"options":["sf","sfdx"]},"method":{"name":"method","type":"option","char":"m","description":"the installation method to use","required":true,"multiple":false,"options":["installer","npm","tarball"]},"channel":{"name":"channel","type":"option","description":"the channel to install from","multiple":false,"options":["legacy","stable","stable-rc","latest","latest-rc"],"default":"stable"},"output-file":{"name":"output-file","type":"option","description":"the file to write the JSON results to (must be .json)","multiple":false,"default":"test-results.json"}},"args":[],"flagsConfig":{"cli":{"kind":"string","description":"the cli to install","options":["sf","sfdx"],"char":"c","required":true,"input":[],"multiple":false,"type":"option"},"method":{"kind":"string","description":"the installation method to use","options":["installer","npm","tarball"],"char":"m","required":true,"input":[],"multiple":false,"type":"option"},"channel":{"kind":"string","description":"the channel to install from","options":["legacy","stable","stable-rc","latest","latest-rc"],"default":"stable","input":[],"multiple":false,"type":"option"},"output-file":{"kind":"string","description":"the file to write the JSON results to (must be .json)","default":"test-results.json","input":[],"multiple":false,"type":"option"}}},"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","strict":true,"usage":"<%= command.id %> [--rctag <string>] [--resolutions] [--pinned-deps] [--patch] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginAlias":"@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)","multiple":false,"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","multiple":false,"default":"latest-rc"},"resolutions":{"name":"resolutions","type":"boolean","description":"bump the versions of packages listed in the resolutions section","allowNo":true},"pinned-deps":{"name":"pinned-deps","type":"boolean","description":"bump the versions of the packages listed in the pinnedDependencies section","allowNo":true},"patch":{"name":"patch","type":"boolean","description":"bump the release as a patch of an existing version, not a new minor version","allowNo":false}},"args":[],"flagsConfig":{"rctag":{"kind":"string","description":"the tag name that corresponds to the npm RC build, usually latest-rc or stable-rc","default":"latest-rc","input":[],"multiple":false,"type":"option"},"resolutions":{"kind":"boolean","description":"bump the versions of packages listed in the resolutions section","default":true,"allowNo":true,"type":"boolean"},"pinned-deps":{"kind":"boolean","description":"bump the versions of the packages listed in the pinnedDependencies section","default":true,"allowNo":true,"type":"boolean"},"patch":{"kind":"boolean","description":"bump the release as a patch of an existing version, not a new minor version","allowNo":false,"type":"boolean"}}},"cli:schemas:collect":{"id":"cli:schemas:collect","description":"collect schemas from installed plugins","strict":true,"usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginAlias":"@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)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[],"flagsConfig":{}},"cli:schemas:compare":{"id":"cli:schemas:compare","description":"compare schemas from installed plugins","strict":true,"usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginAlias":"@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)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[],"flagsConfig":{}},"cli:tarballs:prepare":{"id":"cli:tarballs:prepare","description":"remove unnecessary files from node_modules","strict":true,"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","pluginAlias":"@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)","multiple":false,"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":[],"flagsConfig":{"dryrun":{"kind":"boolean","description":"only show what would be removed from node_modules","default":false,"char":"d","allowNo":false,"type":"boolean"},"types":{"kind":"boolean","description":"remove all types (.d.ts) files from node_modules ","default":false,"char":"t","allowNo":false,"type":"boolean"},"verbose":{"description":"show all files paths being removed","type":"boolean","kind":"boolean","longDescription":"Emit additional command output to stdout.","allowNo":false}}},"cli:tarballs:smoke":{"id":"cli:tarballs:smoke","description":"smoke tests for the tarballed CLI\n Tests that the CLI and every command can be initialized.","strict":true,"usage":"<%= command.id %> -c <string> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginAlias":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= 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)","multiple":false,"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,"multiple":false,"options":["sf","sfdx"]},"verbose":{"name":"verbose","type":"boolean","description":"show the --help output for each command","allowNo":false}},"args":[],"flagsConfig":{"cli":{"kind":"string","description":"the cli to install","options":["sf","sfdx"],"char":"c","required":true,"input":[],"multiple":false,"type":"option"},"verbose":{"description":"show the --help output for each command","type":"boolean","kind":"boolean","longDescription":"Emit additional command output to stdout.","allowNo":false}}},"cli:tarballs:verify":{"id":"cli:tarballs:verify","description":"verify that tarballs are ready to be uploaded","strict":true,"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","pluginAlias":"@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)","multiple":false,"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)","multiple":false,"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","multiple":false,"default":41}},"args":[],"flagsConfig":{"cli":{"kind":"enum","helpValue":"(sf|sfdx)","description":"the cli to verify","options":["sf","sfdx"],"default":"sfdx","char":"c","input":[],"multiple":false,"type":"option"},"windows-username-buffer":{"kind":"number","description":"the number of characters to allow for windows usernames","default":41,"char":"w","input":[],"multiple":false,"type":"option"}}},"cli:versions:inspect":{"id":"cli:versions:inspect","description":"inspect the CLI version across all install paths","strict":true,"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","pluginAlias":"@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)","multiple":false,"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","multiple":true},"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,"multiple":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,"multiple":true,"options":["archive","npm"]},"cli":{"name":"cli","type":"option","description":"the CLI you want to inspect","required":true,"helpValue":"(sf|sfdx)","multiple":false,"options":["sf","sfdx"],"default":"sfdx"}},"args":[],"flagsConfig":{"dependencies":{"kind":"string","description":"glob pattern of dependencies you want to see the version of","char":"d","multiple":true,"input":[],"type":"option"},"salesforce":{"kind":"boolean","description":"show versions of salesforce owned dependencies","char":"s","default":false,"allowNo":false,"type":"boolean"},"channels":{"kind":"string","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)","char":"c","options":["legacy","stable","stable-rc","latest","latest-rc"],"required":true,"multiple":true,"input":[],"type":"option"},"locations":{"kind":"string","description":"the location you want to inspect","char":"l","options":["archive","npm"],"required":true,"multiple":true,"input":[],"type":"option"},"cli":{"kind":"enum","helpValue":"(sf|sfdx)","description":"the CLI you want to inspect","options":["sf","sfdx"],"default":"sfdx","required":true,"input":[],"multiple":false,"type":"option"}}},"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","strict":true,"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","pluginAlias":"@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)","multiple":false,"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'","multiple":false,"default":"latest"}},"args":[],"flagsConfig":{"dryrun":{"kind":"boolean","char":"d","default":false,"description":"If true, will not make any changes to the package.json","allowNo":false,"type":"boolean"},"tag":{"kind":"string","char":"t","description":"The name of the tag you want, e.g. 'latest-rc', or 'latest'","default":"latest","input":[],"multiple":false,"type":"option"}}},"npm:lerna:release":{"id":"npm:lerna:release","description":"publish npm packages from a lerna repository","strict":true,"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","pluginAlias":"@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)","multiple":false,"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","multiple":false},"npmtag":{"name":"npmtag","type":"option","char":"t","description":"tag to use when publishing to npm","multiple":false,"default":"latest"},"npmaccess":{"name":"npmaccess","type":"option","char":"a","description":"access level to use when publishing to npm","multiple":false,"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":[],"flagsConfig":{"dryrun":{"kind":"boolean","char":"d","default":false,"description":"if true, will not commit changes to repo or push any tags","allowNo":false,"type":"boolean"},"sign":{"kind":"array","char":"s","description":"list of packages to be signed. Should match the name property of the package.json","input":[],"multiple":false,"type":"option"},"npmtag":{"kind":"string","char":"t","default":"latest","description":"tag to use when publishing to npm","input":[],"multiple":false,"type":"option"},"npmaccess":{"kind":"string","char":"a","default":"public","description":"access level to use when publishing to npm","input":[],"multiple":false,"type":"option"},"install":{"kind":"boolean","default":true,"description":"run yarn install and build on repository","allowNo":true,"type":"boolean"},"githubrelease":{"kind":"boolean","default":false,"description":"create release in github based on the package changes","allowNo":false,"type":"boolean"},"verify":{"kind":"boolean","description":"verify npm registry has new version after publish and digital signature","default":true,"allowNo":true,"type":"boolean"}}},"npm:package:promote":{"id":"npm:package:promote","description":"promote an npm package","strict":true,"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","pluginAlias":"@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)","multiple":false,"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","multiple":false,"default":"latest"},"candidate":{"name":"candidate","type":"option","char":"c","description":"the npm tag that you want to promote","required":true,"multiple":false}},"args":[],"flagsConfig":{"dryrun":{"kind":"boolean","char":"d","default":false,"description":"If true, only show what would happen","allowNo":false,"type":"boolean"},"target":{"kind":"string","char":"t","default":"latest","description":"the npm tag that you are promoting to","input":[],"multiple":false,"type":"option"},"candidate":{"kind":"string","char":"c","description":"the npm tag that you want to promote","required":true,"input":[],"multiple":false,"type":"option"}}},"npm:package:release":{"id":"npm:package:release","description":"publish npm package","strict":true,"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","pluginAlias":"@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)","multiple":false,"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","multiple":false,"default":"latest"},"npmaccess":{"name":"npmaccess","type":"option","char":"a","description":"access level to use when publishing to npm","multiple":false,"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","multiple":false},"verify":{"name":"verify","type":"boolean","description":"verify npm registry has new version after publish and digital signature","allowNo":true}},"args":[],"flagsConfig":{"dryrun":{"kind":"boolean","char":"d","default":false,"description":"If true, will not commit changes to repo or push any tags","allowNo":false,"type":"boolean"},"sign":{"kind":"boolean","char":"s","default":false,"description":"If true, then the package will be signed and the signature will be uploaded to S3","allowNo":false,"type":"boolean"},"npmtag":{"kind":"string","char":"t","default":"latest","description":"tag to use when publishing to npm","input":[],"multiple":false,"type":"option"},"npmaccess":{"kind":"string","char":"a","default":"public","description":"access level to use when publishing to npm","input":[],"multiple":false,"type":"option"},"install":{"kind":"boolean","default":true,"description":"run yarn install and build on repository","allowNo":true,"type":"boolean"},"prerelease":{"kind":"string","description":"determine the next version as <version>-<prerelease>.0 if version is not manually set","input":[],"multiple":false,"type":"option"},"verify":{"kind":"boolean","description":"verify npm registry has new version after publish and digital signature","default":true,"allowNo":true,"type":"boolean"}}},"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","strict":true,"usage":"<%= command.id %> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginAlias":"@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)","multiple":false,"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":[],"flagsConfig":{"verbose":{"description":"show all commits for all packages (only works with --json flag)","type":"boolean","kind":"boolean","longDescription":"Emit additional command output to stdout.","allowNo":false}}}}}
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.10.3",
4
+ "version": "2.12.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "bin": {
@@ -25,21 +25,22 @@
25
25
  "fast-glob": "^3.2.7",
26
26
  "glob": "^7.2.0",
27
27
  "got": "^11.8.3",
28
- "oclif": "^1.18.2",
28
+ "oclif": "^2.4.4",
29
29
  "proxy-agent": "^5.0.0",
30
30
  "proxy-from-env": "^1.1.0",
31
31
  "semver": "^7.3.5",
32
32
  "shelljs": "^0.8.4",
33
33
  "standard-version": "^9.0.0",
34
34
  "strip-ansi": "6.0.1",
35
- "tslib": "^2"
35
+ "tslib": "^2",
36
+ "yarn-deduplicate": "^3.1.0"
36
37
  },
37
38
  "devDependencies": {
38
39
  "@oclif/dev-cli": "^1",
39
40
  "@oclif/plugin-command-snapshot": "^2.2.2",
40
41
  "@salesforce/cli-plugins-testkit": "^1.4.11",
41
- "@salesforce/dev-config": "^2.1.2",
42
- "@salesforce/dev-scripts": "^1.0.0",
42
+ "@salesforce/dev-config": "^3.0.0",
43
+ "@salesforce/dev-scripts": "^2.0.0",
43
44
  "@salesforce/plugin-command-reference": "^1.3.16",
44
45
  "@salesforce/prettier-config": "^0.0.2",
45
46
  "@salesforce/ts-sinon": "1.3.21",
@@ -60,16 +61,16 @@
60
61
  "eslint-config-salesforce-license": "^0.1.6",
61
62
  "eslint-config-salesforce-typescript": "^0.2.8",
62
63
  "eslint-plugin-header": "^3.0.0",
63
- "eslint-plugin-import": "2.25.3",
64
+ "eslint-plugin-import": "2.25.4",
64
65
  "eslint-plugin-jsdoc": "^35.1.2",
65
66
  "eslint-plugin-prettier": "^3.1.3",
66
67
  "husky": "^7.0.4",
67
68
  "lint-staged": "^11.2.3",
68
- "mocha": "^8.4.0",
69
+ "mocha": "^9.1.3",
69
70
  "nyc": "^15.1.0",
70
71
  "prettier": "^2.4.1",
71
72
  "pretty-quick": "^3.1.0",
72
- "shx": "0.3.3",
73
+ "shx": "0.3.4",
73
74
  "sinon": "10.0.0",
74
75
  "ts-node": "^10.0.0",
75
76
  "typescript": "^4.1.3"
@@ -192,7 +193,7 @@
192
193
  "access": "public"
193
194
  },
194
195
  "sfdx": {
195
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.10.3.crt",
196
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.10.3.sig"
196
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.12.0.crt",
197
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.12.0.sig"
197
198
  }
198
199
  }