@salesforce/plugin-release-management 2.8.1 → 2.9.1
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 +21 -0
- package/LICENSE.txt +1 -1
- package/README.md +28 -26
- package/lib/commands/dependabot/automerge.js +6 -0
- package/lib/commands/dependabot/automerge.js.map +1 -1
- package/lib/commands/npm/release/validate.d.ts +1 -0
- package/lib/commands/npm/release/validate.js +7 -2
- package/lib/commands/npm/release/validate.js.map +1 -1
- package/lib/inspectCommits.d.ts +1 -0
- package/lib/inspectCommits.js +6 -1
- package/lib/inspectCommits.js.map +1 -1
- package/lib/package.d.ts +6 -0
- package/lib/package.js +11 -2
- package/lib/package.js.map +1 -1
- package/messages/dependabot.automerge.json +1 -0
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
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.9.1](https://github.com/salesforcecli/plugin-release-management/compare/v2.9.0...v2.9.1) (2022-01-06)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- remove invalid flag reference for `merge-method` ([c8ab1fb](https://github.com/salesforcecli/plugin-release-management/commit/c8ab1fbe75317148e3033dc9cfa4f38997923a11))
|
|
10
|
+
|
|
11
|
+
## [2.9.0](https://github.com/salesforcecli/plugin-release-management/compare/v2.8.3...v2.9.0) (2022-01-05)
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
- add --merge-method flag to automerge ([3371c1b](https://github.com/salesforcecli/plugin-release-management/commit/3371c1b4be1673088375c765b343c5dfb34f8331))
|
|
16
|
+
- add --squash flag to automerge ([3493bf3](https://github.com/salesforcecli/plugin-release-management/commit/3493bf32198e0cc57e018b21a790b27c529b0fa2))
|
|
17
|
+
|
|
18
|
+
### [2.8.3](https://github.com/salesforcecli/plugin-release-management/compare/v2.8.2...v2.8.3) (2021-12-14)
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
- npm package retrieve ([#383](https://github.com/salesforcecli/plugin-release-management/issues/383)) ([17a173a](https://github.com/salesforcecli/plugin-release-management/commit/17a173a1127f026c68a34a85e85e430a69a97065))
|
|
23
|
+
|
|
24
|
+
### [2.8.2](https://github.com/salesforcecli/plugin-release-management/compare/v2.8.1...v2.8.2) (2021-12-09)
|
|
25
|
+
|
|
5
26
|
### [2.8.1](https://github.com/salesforcecli/plugin-release-management/compare/v2.8.0...v2.8.1) (2021-12-08)
|
|
6
27
|
|
|
7
28
|
### Bug Fixes
|
package/LICENSE.txt
CHANGED
package/README.md
CHANGED
|
@@ -113,7 +113,7 @@ sfdx plugins
|
|
|
113
113
|
- [`sfdx cli:tarballs:smoke -c <string> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clitarballssmoke--c-string---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
114
114
|
- [`sfdx cli:tarballs:verify [-c sf|sfdx] [-w <number>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clitarballsverify--c-sfsfdx--w-number---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
115
115
|
- [`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]`](#sfdx-cliversionsinspect--c-string--l-string---cli-sfsfdx--d-string--s---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
116
|
-
- [`sfdx dependabot:automerge -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-dependabotautomerge--m-majorminorpatch--r-string--o-string--d--s---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
116
|
+
- [`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]`](#sfdx-dependabotautomerge--m-majorminorpatch--r-string--o-string--d--s---merge-method-mergesquashrebase---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
117
117
|
- [`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]`](#sfdx-dependabotconsolidate--m-majorminorpatch--b-string--t-string---ignore-array--d---no-pr--r-string--o-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
118
118
|
- [`sfdx npm:dependencies:pin [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-npmdependenciespin--d--t-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
119
119
|
- [`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]`](#sfdx-npmlernarelease--d--s-array--t-string--a-string---install---githubrelease---verify---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.
|
|
177
|
+
_See code: [src/commands/channel/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/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.
|
|
199
|
+
_See code: [src/commands/circleci/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/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.
|
|
236
|
+
_See code: [src/commands/circleci/envvar/create.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/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.
|
|
273
|
+
_See code: [src/commands/circleci/envvar/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/circleci/envvar/update.ts)_
|
|
274
274
|
|
|
275
275
|
## `sfdx cli:install:test -c <string> -m <string> [--channel <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
276
276
|
|
|
@@ -303,7 +303,7 @@ EXAMPLES
|
|
|
303
303
|
sfdx cli:install:test --cli sf --method tarball --channel stable-rc
|
|
304
304
|
```
|
|
305
305
|
|
|
306
|
-
_See code: [src/commands/cli/install/test.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
306
|
+
_See code: [src/commands/cli/install/test.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/cli/install/test.ts)_
|
|
307
307
|
|
|
308
308
|
## `sfdx cli:latestrc:build [--rctag <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
309
309
|
|
|
@@ -326,7 +326,7 @@ OPTIONS
|
|
|
326
326
|
stable-rc
|
|
327
327
|
```
|
|
328
328
|
|
|
329
|
-
_See code: [src/commands/cli/latestrc/build.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
329
|
+
_See code: [src/commands/cli/latestrc/build.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/cli/latestrc/build.ts)_
|
|
330
330
|
|
|
331
331
|
## `sfdx cli:releasenotes -c <string> [-s <string>] [-m] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
332
332
|
|
|
@@ -364,7 +364,7 @@ EXAMPLES
|
|
|
364
364
|
sfdx cli:releasenotes --cli sf --markdown > changes.md
|
|
365
365
|
```
|
|
366
366
|
|
|
367
|
-
_See code: [src/commands/cli/releasenotes.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
367
|
+
_See code: [src/commands/cli/releasenotes.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/cli/releasenotes.ts)_
|
|
368
368
|
|
|
369
369
|
## `sfdx cli:schemas:collect [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
370
370
|
|
|
@@ -384,7 +384,7 @@ EXAMPLE
|
|
|
384
384
|
sfdx cli:schemas:collect
|
|
385
385
|
```
|
|
386
386
|
|
|
387
|
-
_See code: [src/commands/cli/schemas/collect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
387
|
+
_See code: [src/commands/cli/schemas/collect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/cli/schemas/collect.ts)_
|
|
388
388
|
|
|
389
389
|
## `sfdx cli:schemas:compare [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
390
390
|
|
|
@@ -404,7 +404,7 @@ EXAMPLE
|
|
|
404
404
|
sfdx cli:schemas:compare
|
|
405
405
|
```
|
|
406
406
|
|
|
407
|
-
_See code: [src/commands/cli/schemas/compare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
407
|
+
_See code: [src/commands/cli/schemas/compare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/cli/schemas/compare.ts)_
|
|
408
408
|
|
|
409
409
|
## `sfdx cli:tarballs:prepare [-d] [-t] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
410
410
|
|
|
@@ -433,7 +433,7 @@ EXAMPLE
|
|
|
433
433
|
sfdx cli:tarballs:prepare
|
|
434
434
|
```
|
|
435
435
|
|
|
436
|
-
_See code: [src/commands/cli/tarballs/prepare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
436
|
+
_See code: [src/commands/cli/tarballs/prepare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/cli/tarballs/prepare.ts)_
|
|
437
437
|
|
|
438
438
|
## `sfdx cli:tarballs:smoke -c <string> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
439
439
|
|
|
@@ -462,7 +462,7 @@ EXAMPLES
|
|
|
462
462
|
sfdx cli:tarballs:smoke --cli sf
|
|
463
463
|
```
|
|
464
464
|
|
|
465
|
-
_See code: [src/commands/cli/tarballs/smoke.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
465
|
+
_See code: [src/commands/cli/tarballs/smoke.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/cli/tarballs/smoke.ts)_
|
|
466
466
|
|
|
467
467
|
## `sfdx cli:tarballs:verify [-c sf|sfdx] [-w <number>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
468
468
|
|
|
@@ -491,7 +491,7 @@ EXAMPLES
|
|
|
491
491
|
sfdx cli:tarballs:verify --cli sf
|
|
492
492
|
```
|
|
493
493
|
|
|
494
|
-
_See code: [src/commands/cli/tarballs/verify.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
494
|
+
_See code: [src/commands/cli/tarballs/verify.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/cli/tarballs/verify.ts)_
|
|
495
495
|
|
|
496
496
|
## `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]`
|
|
497
497
|
|
|
@@ -539,16 +539,16 @@ EXAMPLES
|
|
|
539
539
|
sfdx cli:versions:inspect -l npm -c latest -d chalk -s
|
|
540
540
|
```
|
|
541
541
|
|
|
542
|
-
_See code: [src/commands/cli/versions/inspect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
542
|
+
_See code: [src/commands/cli/versions/inspect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/cli/versions/inspect.ts)_
|
|
543
543
|
|
|
544
|
-
## `sfdx dependabot:automerge -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
544
|
+
## `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]`
|
|
545
545
|
|
|
546
546
|
automatically merge one green, mergeable PR up to the specified maximum bump type
|
|
547
547
|
|
|
548
548
|
```
|
|
549
549
|
USAGE
|
|
550
|
-
$ sfdx dependabot:automerge -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--
|
|
551
|
-
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
550
|
+
$ sfdx dependabot:automerge -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--merge-method
|
|
551
|
+
merge|squash|rebase] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
552
552
|
|
|
553
553
|
OPTIONS
|
|
554
554
|
-d, --dryrun only show what would happen if you
|
|
@@ -575,13 +575,15 @@ OPTIONS
|
|
|
575
575
|
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
576
576
|
this command invocation
|
|
577
577
|
|
|
578
|
+
--merge-method=(merge|squash|rebase) [default: merge] merge method to use
|
|
579
|
+
|
|
578
580
|
EXAMPLES
|
|
579
581
|
sfdx dependabot:automerge --max-version-bump patch
|
|
580
582
|
sfdx dependabot:automerge --max-version-bump minor
|
|
581
583
|
sfdx dependabot:automerge --max-version-bump major
|
|
582
584
|
```
|
|
583
585
|
|
|
584
|
-
_See code: [src/commands/dependabot/automerge.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
586
|
+
_See code: [src/commands/dependabot/automerge.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/dependabot/automerge.ts)_
|
|
585
587
|
|
|
586
588
|
## `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]`
|
|
587
589
|
|
|
@@ -632,7 +634,7 @@ EXAMPLES
|
|
|
632
634
|
sfdx dependabot:consolidate --max-version-bump major
|
|
633
635
|
```
|
|
634
636
|
|
|
635
|
-
_See code: [src/commands/dependabot/consolidate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
637
|
+
_See code: [src/commands/dependabot/consolidate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/dependabot/consolidate.ts)_
|
|
636
638
|
|
|
637
639
|
## `sfdx npm:dependencies:pin [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
638
640
|
|
|
@@ -657,7 +659,7 @@ OPTIONS
|
|
|
657
659
|
this command invocation
|
|
658
660
|
```
|
|
659
661
|
|
|
660
|
-
_See code: [src/commands/npm/dependencies/pin.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
662
|
+
_See code: [src/commands/npm/dependencies/pin.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/npm/dependencies/pin.ts)_
|
|
661
663
|
|
|
662
664
|
## `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]`
|
|
663
665
|
|
|
@@ -697,7 +699,7 @@ OPTIONS
|
|
|
697
699
|
after publish and digital signature
|
|
698
700
|
```
|
|
699
701
|
|
|
700
|
-
_See code: [src/commands/npm/lerna/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
702
|
+
_See code: [src/commands/npm/lerna/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/npm/lerna/release.ts)_
|
|
701
703
|
|
|
702
704
|
## `sfdx npm:package:promote -c <string> [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
703
705
|
|
|
@@ -726,7 +728,7 @@ EXAMPLE
|
|
|
726
728
|
sfdx npm:package:promote --candidate latest-rc --target latest
|
|
727
729
|
```
|
|
728
730
|
|
|
729
|
-
_See code: [src/commands/npm/package/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
731
|
+
_See code: [src/commands/npm/package/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/npm/package/promote.ts)_
|
|
730
732
|
|
|
731
733
|
## `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]`
|
|
732
734
|
|
|
@@ -767,7 +769,7 @@ OPTIONS
|
|
|
767
769
|
after publish and digital signature
|
|
768
770
|
```
|
|
769
771
|
|
|
770
|
-
_See code: [src/commands/npm/package/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
772
|
+
_See code: [src/commands/npm/package/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/npm/package/release.ts)_
|
|
771
773
|
|
|
772
774
|
## `sfdx npm:release:validate [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
773
775
|
|
|
@@ -788,7 +790,7 @@ OPTIONS
|
|
|
788
790
|
(only works with --json flag)
|
|
789
791
|
```
|
|
790
792
|
|
|
791
|
-
_See code: [src/commands/npm/release/validate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
793
|
+
_See code: [src/commands/npm/release/validate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/npm/release/validate.ts)_
|
|
792
794
|
|
|
793
795
|
## `sfdx plugins:trust:verify -n <string> [-r <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
794
796
|
|
|
@@ -861,7 +863,7 @@ EXAMPLES
|
|
|
861
863
|
sfdx repositories --json | jq -r '.result[] | select(.name=="sfdx-core") | .packages[] | .url
|
|
862
864
|
```
|
|
863
865
|
|
|
864
|
-
_See code: [src/commands/repositories/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
866
|
+
_See code: [src/commands/repositories/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/repositories/index.ts)_
|
|
865
867
|
|
|
866
868
|
## `sfdx typescript:update [-v <string>] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
867
869
|
|
|
@@ -888,6 +890,6 @@ OPTIONS
|
|
|
888
890
|
this command invocation
|
|
889
891
|
```
|
|
890
892
|
|
|
891
|
-
_See code: [src/commands/typescript/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
893
|
+
_See code: [src/commands/typescript/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.9.0/src/commands/typescript/update.ts)_
|
|
892
894
|
|
|
893
895
|
<!-- commandsstop -->
|
|
@@ -48,6 +48,7 @@ class AutoMerge extends command_1.SfdxCommand {
|
|
|
48
48
|
this.ux.log(`merging ${prToMerge.number.toString()} | ${prToMerge.title}`);
|
|
49
49
|
const opts = {
|
|
50
50
|
...this.baseRepoObject,
|
|
51
|
+
merge_method: this.flags['merge-method'],
|
|
51
52
|
pull_number: prToMerge.number,
|
|
52
53
|
};
|
|
53
54
|
if (this.flags['skip-ci']) {
|
|
@@ -106,5 +107,10 @@ AutoMerge.flagsConfig = {
|
|
|
106
107
|
char: 's',
|
|
107
108
|
default: false,
|
|
108
109
|
}),
|
|
110
|
+
'merge-method': command_1.flags.enum({
|
|
111
|
+
description: messages.getMessage('mergeMethod'),
|
|
112
|
+
options: ['merge', 'squash', 'rebase'],
|
|
113
|
+
default: 'merge',
|
|
114
|
+
}),
|
|
109
115
|
};
|
|
110
116
|
//# sourceMappingURL=automerge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automerge.js","sourceRoot":"","sources":["../../../src/commands/dependabot/automerge.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,qJAAqJ;AACrJ,yBAAyB;AACzB,iDAAsE;AACtE,wCAAwC;AACxC,yCAAsC;AACtC,mDAAoD;AACpD,2CAA4C;AAC5C,iDAA6F;AAE7F,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,uCAAuC,EAAE,sBAAsB,CAAC,CAAC;AACxG,MAAM,uBAAuB,GAAG,eAAQ,CAAC,YAAY,CACnD,uCAAuC,EACvC,wBAAwB,CACzB,CAAC;
|
|
1
|
+
{"version":3,"file":"automerge.js","sourceRoot":"","sources":["../../../src/commands/dependabot/automerge.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,qJAAqJ;AACrJ,yBAAyB;AACzB,iDAAsE;AACtE,wCAAwC;AACxC,yCAAsC;AACtC,mDAAo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,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACjD,kBAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AAEzD,qBAAW,GAAgB;IAChD,KAAK,EAAE,eAAK,CAAC,MAAM,CAAC;QAClB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,uBAAuB,CAAC,UAAU,CAAC,OAAO,CAAC;KACzD,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,uBAAuB,CAAC,UAAU,CAAC,MAAM,CAAC;QACvD,SAAS,EAAE,CAAC,OAAO,CAAC;KACrB,CAAC;IACF,kBAAkB,EAAE,+BAAkB;IACtC,MAAM,EAAE,eAAK,CAAC,OAAO,CAAC;QACpB,WAAW,EAAE,uBAAuB,CAAC,UAAU,CAAC,QAAQ,CAAC;QACzD,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,KAAK;KACf,CAAC;IACF,SAAS,EAAE,eAAK,CAAC,OAAO,CAAC;QACvB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC;QAC1C,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,KAAK;KACf,CAAC;IACF,cAAc,EAAE,eAAK,CAAC,IAAI,CAAC;QACzB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC;QAC/C,OAAO,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC;QACtC,OAAO,EAAE,OAAO;KACjB,CAAC;CACH,CAAC"}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
const command_1 = require("@salesforce/command");
|
|
10
|
+
const core_1 = require("@salesforce/core");
|
|
10
11
|
const repository_1 = require("../../../repository");
|
|
11
12
|
const package_1 = require("../../../package");
|
|
12
13
|
const inspectCommits_1 = require("../../../inspectCommits");
|
|
@@ -23,9 +24,13 @@ class Validate extends command_1.SfdxCommand {
|
|
|
23
24
|
});
|
|
24
25
|
responses.push(response);
|
|
25
26
|
}
|
|
26
|
-
const
|
|
27
|
+
const majorBump = responses.some((resp) => !!resp.isMajorBump);
|
|
28
|
+
if (majorBump) {
|
|
29
|
+
throw new core_1.SfdxError('Major version bump detected. You must manually update the version in the package.json to release a new major version.', 'MajorBumpDetected');
|
|
30
|
+
}
|
|
31
|
+
const shouldRelease = responses.some((resp) => !!resp.shouldRelease) && !majorBump;
|
|
27
32
|
this.ux.log(shouldRelease.toString());
|
|
28
|
-
return this.flags.verbose ? { shouldRelease, packages: responses } : { shouldRelease };
|
|
33
|
+
return this.flags.verbose ? { shouldRelease, majorBump, packages: responses } : { shouldRelease, majorBump };
|
|
29
34
|
}
|
|
30
35
|
}
|
|
31
36
|
exports.default = Validate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../../src/commands/npm/release/validate.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH,iDAAsE;AACtE,oDAA4D;AAC5D,8CAA2C;AAC3C,4DAA2E;
|
|
1
|
+
{"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../../src/commands/npm/release/validate.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH,iDAAsE;AACtE,2CAA6C;AAC7C,oDAA4D;AAC5D,8CAA2C;AAC3C,4DAA2E;AAa3E,MAAqB,QAAS,SAAQ,qBAAW;IASxC,KAAK,CAAC,GAAG;QACd,MAAM,OAAO,GAAG,MAAM,IAAA,uBAAU,GAAE,CAAC;QACnC,MAAM,QAAQ,GAAG,OAAO,CAAC,CAAC,CAAC,MAAM,sBAAS,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,iBAAO,CAAC,MAAM,EAAE,CAAC,CAAC;QACpF,MAAM,SAAS,GAAqB,EA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: Commit[];
|
|
11
11
|
nextVersionIsHardcoded: boolean;
|
|
12
12
|
shouldRelease: boolean;
|
|
13
|
+
isMajorBump?: boolean;
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
15
16
|
* If the commit type isn't fix (patch bump), feat (minor bump), or breaking (major bump),
|
package/lib/inspectCommits.js
CHANGED
|
@@ -59,22 +59,27 @@ async function inspectCommits(pkg, lerna = false) {
|
|
|
59
59
|
}
|
|
60
60
|
const releasableCommits = [];
|
|
61
61
|
const unreleasableCommits = [];
|
|
62
|
+
let majorBumpRequired = false;
|
|
62
63
|
for (const commit of commits) {
|
|
63
64
|
const headerIndicatesMajorChange = !!commit.header && commit.header.includes('!');
|
|
64
65
|
const bodyIndicatesMajorChange = !!commit.body && commit.body.includes('BREAKING');
|
|
65
66
|
const typeIsSkippable = skippableCommitTypes.includes(commit.type);
|
|
66
|
-
const
|
|
67
|
+
const isBreakingChange = bodyIndicatesMajorChange || headerIndicatesMajorChange;
|
|
68
|
+
const isReleasable = !typeIsSkippable || isBreakingChange;
|
|
67
69
|
if (isReleasable) {
|
|
68
70
|
releasableCommits.push(commit);
|
|
69
71
|
}
|
|
70
72
|
else {
|
|
71
73
|
unreleasableCommits.push(commit);
|
|
72
74
|
}
|
|
75
|
+
if (isBreakingChange)
|
|
76
|
+
majorBumpRequired = true;
|
|
73
77
|
}
|
|
74
78
|
return {
|
|
75
79
|
releasableCommits,
|
|
76
80
|
unreleasableCommits,
|
|
77
81
|
nextVersionIsHardcoded,
|
|
82
|
+
isMajorBump: majorBumpRequired,
|
|
78
83
|
shouldRelease: nextVersionIsHardcoded || releasableCommits.length > 0,
|
|
79
84
|
};
|
|
80
85
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inspectCommits.js","sourceRoot":"","sources":["../src/inspectCommits.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,yBAAyB;AACzB,mCAAkC;AAClC,qCAA+B;AAC/B,yEAAyE;AACzE,0FAA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E;QAC5B,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QAClF,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;QACnF,MAAM,eAAe,GAAG,oBAAoB,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,wBAAwB,IAAI,0BAA0B,CAAC;QAChF,MAAM,YAAY,GAAG,CAAC,eAAe,IAAI,gBAAgB,CAAC;QAC1D,IAAI,YAAY,EAAE;YAChB,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SAChC;aAAM;YACL,mBAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SAClC;QAED,IAAI,gBAAgB;YAAE,iBAAiB,GAAG,IAAI,CAAC;KAChD;IAED,OAAO;QACL,iBAAiB;QACjB,mBAAmB;QACnB,sBAAsB;QACtB,WAAW,EAAE,iBAAiB;QAC9B,aAAa,EAAE,sBAAsB,IAAI,iBAAiB,CAAC,MAAM,GAAG,CAAC;KACtE,CAAC;AACJ,CAAC;AAlED,wCAkEC"}
|
package/lib/package.d.ts
CHANGED
|
@@ -49,6 +49,12 @@ export declare class Package extends AsyncOptionalCreatable {
|
|
|
49
49
|
private registry;
|
|
50
50
|
constructor(location: string);
|
|
51
51
|
readPackageJson(): Promise<PackageJson>;
|
|
52
|
+
/**
|
|
53
|
+
* Retrieve the npm package info using `npm view`
|
|
54
|
+
*
|
|
55
|
+
* It'll first try to find the package with the version listed in the package.json
|
|
56
|
+
* If that version doesn't exist, it'll find the version tagged as latest
|
|
57
|
+
*/
|
|
52
58
|
retrieveNpmPackage(): NpmPackage;
|
|
53
59
|
validateNextVersion(): VersionValidation;
|
|
54
60
|
setNextVersion(version: string): void;
|
package/lib/package.js
CHANGED
|
@@ -29,9 +29,18 @@ class Package extends kit_1.AsyncOptionalCreatable {
|
|
|
29
29
|
const pkgJsonPath = this.location ? path.join(this.location, 'package.json') : 'package.json';
|
|
30
30
|
return (await core_1.fs.readJson(pkgJsonPath));
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Retrieve the npm package info using `npm view`
|
|
34
|
+
*
|
|
35
|
+
* It'll first try to find the package with the version listed in the package.json
|
|
36
|
+
* If that version doesn't exist, it'll find the version tagged as latest
|
|
37
|
+
*/
|
|
32
38
|
retrieveNpmPackage() {
|
|
33
|
-
|
|
34
|
-
|
|
39
|
+
let result = (0, shelljs_1.exec)(`npm view ${this.name}@${this.packageJson.version} ${this.registry.getRegistryParameter()} --json`, { silent: true });
|
|
40
|
+
if (!result.stdout) {
|
|
41
|
+
result = (0, shelljs_1.exec)(`npm view ${this.name} ${this.registry.getRegistryParameter()} --json`, { silent: true });
|
|
42
|
+
}
|
|
43
|
+
return result.stdout ? JSON.parse(result.stdout) : null;
|
|
35
44
|
}
|
|
36
45
|
validateNextVersion() {
|
|
37
46
|
const nextVersionExists = this.npmPackage.versions.includes(this.nextVersion);
|
package/lib/package.js.map
CHANGED
|
@@ -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;QAC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,CAAC;IACxB,CAAC;IAED;;;OAGG;IACI,sBAAsB;QAC3B,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IACtE,CAAC;IAEM,SAAS,CAAC,UAAkB;QACjC,OAAO,CAAC,CAAC,IAAA,cAAG,EAAC,IAAI,CAAC,WAAW,EAAE,WAAW,UAAU,EAAE,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IAES,KAAK,CAAC,IAAI;QAClB,IAAI,CAAC,MAAM,GAAG,MAAM,aAAM,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACxD,IAAI,CAAC,WAAW,GAAG,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAChD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QAClC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,kBAAkB,EAAE,IAAI,IAAI,CAAC,uBAAuB,EAAE,CAAC;IAChF,CAAC;IAEO,uBAAuB;QAC7B,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,OAAO,EAAE,IAAI,CAAC,WAAW,CAAC,OAAO;YACjC,QAAQ,EAAE,EAAE;YACZ,WAAW,EAAE,EAAE;SAChB,CAAC;IACJ,CAAC;CACF;AA/MD,0BA+MC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"description": "automatically merge one green, mergeable PR up to the specified maximum bump type",
|
|
3
3
|
"skipCi": "add [skip ci] to the merge commit title",
|
|
4
|
+
"mergeMethod": "merge method to use",
|
|
4
5
|
"examples": [
|
|
5
6
|
"<%= config.bin %> <%= command.id %> --max-version-bump patch",
|
|
6
7
|
"<%= config.bin %> <%= command.id %> --max-version-bump minor",
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.8.1","commands":{"channel:promote":{"id":"channel:promote","description":"promote a s3 channel","usage":"<%= command.id %> -t <string> -c sf|sfdx [-d] [-p <array>] [-m <number>] [-i] [-x] [-T <array>] [-T <string> | | [-C <string> | -s <string>]] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --candidate latest-rc --target latest --platform win --platform mac"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, only show what would happen","allowNo":false},"target":{"name":"target","type":"option","char":"t","description":"the channel name that you are promoting to","required":true,"default":"stable"},"candidate":{"name":"candidate","type":"option","char":"C","description":"the channel name that you want to promote"},"platform":{"name":"platform","type":"option","char":"p","description":"the platform to promote","default":[]},"cli":{"name":"cli","type":"option","char":"c","description":"the cli name to promote","required":true,"helpValue":"(sf|sfdx)","options":["sf","sfdx"]},"sha":{"name":"sha","type":"option","char":"s","description":"the short sha to promote"},"maxage":{"name":"maxage","type":"option","char":"m","description":"cache control max-age in seconds","default":300},"indexes":{"name":"indexes","type":"boolean","char":"i","description":"append the promoted urls into the index files","allowNo":true},"xz":{"name":"xz","type":"boolean","char":"x","description":"also upload xz","allowNo":true},"targets":{"name":"targets","type":"option","char":"T","description":"comma-separated targets to promote (e.g.: linux-arm,win32-x64)"},"version":{"name":"version","type":"option","char":"T","description":"the version of the candidate to be promoted, which must exist already in s3. Used to fetch the correct sha"}},"args":[]},"circleci":{"id":"circleci","description":"list known Circle CI slugs from '<%= config.bin %> repositories'","usage":"<%= command.id %> [-t plugin|library|orb] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -t plugin"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"contains-package-type":{"name":"contains-package-type","type":"option","char":"t","description":"filter based on type of package","helpValue":"(plugin|library|orb)","options":["plugin","library","orb"]}},"args":[]},"cli:releasenotes":{"id":"cli:releasenotes","description":"pull all relevant information for writing release notes.\n Requires the GH_TOKEN to be set in the environment.","usage":"<%= command.id %> -c <string> [-s <string>] [-m] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --cli sf","<%= config.bin %> <%= command.id %> --cli sfdx","<%= config.bin %> <%= command.id %> --cli sf --since 1.0.0","<%= config.bin %> <%= command.id %> --cli sfdx --since 7.19.0","<%= config.bin %> <%= command.id %> --cli sf > changes.txt","<%= config.bin %> <%= command.id %> --cli sf --markdown > changes.md"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"cli":{"name":"cli","type":"option","char":"c","description":"the cli to pull information for","required":true,"options":["sf","sfdx"]},"since":{"name":"since","type":"option","char":"s","description":"the version number of the previous release. Defaults to the latest-rc version on npm"},"markdown":{"name":"markdown","type":"boolean","char":"m","description":"format the output in markdown","allowNo":false}},"args":[]},"dependabot:automerge":{"id":"dependabot:automerge","description":"automatically merge one green, mergeable PR up to the specified maximum bump type","usage":"<%= command.id %> -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --max-version-bump patch","<%= config.bin %> <%= command.id %> --max-version-bump minor","<%= config.bin %> <%= command.id %> --max-version-bump major"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"owner":{"name":"owner","type":"option","char":"o","description":"the organization that the repository belongs to. This defaults to the owner specified in the package.json"},"repo":{"name":"repo","type":"option","char":"r","description":"the repository you want to consolidate PRs on. This defaults to the repository specified in the package.json"},"max-version-bump":{"name":"max-version-bump","type":"option","char":"m","description":"the maximum version bump you want to be included","required":true,"helpValue":"(major|minor|patch)","options":["major","minor","patch"],"default":"minor"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"only show what would happen if you consolidated dependabot PRs","allowNo":false},"skip-ci":{"name":"skip-ci","type":"boolean","char":"s","description":"add [skip ci] to the merge commit title","allowNo":false}},"args":[]},"dependabot:consolidate":{"id":"dependabot:consolidate","description":"consolidate dependabot PRs into a single PR","usage":"<%= command.id %> -m major|minor|patch -b <string> -t <string> [--ignore <array>] [-d] [--no-pr] [-r <string> -o <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --max-version-bump patch","<%= config.bin %> <%= command.id %> --max-version-bump minor","<%= config.bin %> <%= command.id %> --max-version-bump major"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"max-version-bump":{"name":"max-version-bump","type":"option","char":"m","description":"the maximum version bump you want to be included","required":true,"helpValue":"(major|minor|patch)","options":["major","minor","patch"],"default":"minor"},"base-branch":{"name":"base-branch","type":"option","char":"b","description":"name of the base branch for merging","required":true,"default":"main"},"target-branch":{"name":"target-branch","type":"option","char":"t","description":"name of the target branch for merging","required":true,"default":"consolidate-dependabot"},"ignore":{"name":"ignore","type":"option","description":"ignore any PRs with titles that include this value","default":[]},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"only show what would happen if you consolidated dependabot PRs","allowNo":false},"no-pr":{"name":"no-pr","type":"boolean","description":"do everything but create the PR","allowNo":false},"owner":{"name":"owner","type":"option","char":"o","description":"the organization that the repository belongs to. This defaults to the owner specified in the package.json"},"repo":{"name":"repo","type":"option","char":"r","description":"the repository you want to consolidate PRs on. This defaults to the repository specified in the package.json"}},"args":[]},"repositories":{"id":"repositories","description":"list repositories owned and supported by Salesforce CLI\nFor more information on the list of repositories, visit https://github.com/salesforcecli/status.","usage":"","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --columns=url --filter='Name=sfdx-core' --no-header | xargs open","<%= config.bin %> <%= command.id %> --json | jq -r '.result[] | select(.name==\"sfdx-core\") | .packages[] | .url"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"columns":{"name":"columns","type":"option","description":"only show provided columns (comma-separated)"},"sort":{"name":"sort","type":"option","description":"property to sort by (prepend '-' for descending)"},"filter":{"name":"filter","type":"option","description":"filter property by partial string matching, ex: name=foo"},"csv":{"name":"csv","type":"boolean","description":"output is csv format [alias: --output=csv]","allowNo":false},"output":{"name":"output","type":"option","description":"output in a more machine friendly format","options":["csv","json","yaml"]},"extended":{"name":"extended","type":"boolean","char":"x","description":"show extra columns","allowNo":false},"no-truncate":{"name":"no-truncate","type":"boolean","description":"do not truncate output to fit screen","allowNo":false},"no-header":{"name":"no-header","type":"boolean","description":"hide table header from output","allowNo":false}},"args":[]},"typescript:update":{"id":"typescript:update","description":"Runs tests with updated typescript version and ES target","usage":"<%= command.id %> [-v <string>] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"version":{"name":"version","type":"option","char":"v","description":"Specify the typescript version you'd like to update to. Defaults to latest if not specified","default":"latest"},"target":{"name":"target","type":"option","char":"t","description":"Specify the ES target you'd like to use. Defaults to ESNext if not specified","default":"ESNext"}},"args":[]},"circleci:envvar:create":{"id":"circleci:envvar:create","description":"update environment variable(s) on Circle CI slug(s)\nUpdates one or more environment variables on one or more CIrcle CI slugs. The environment variables must already exist on the slug. You will be prompted for the environment variable values unless they already exist on the process. The slugs can be piped in. If so, the environment variables must be on the process (prompting is disabled).","usage":"<%= command.id %> -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -s 'gh/<org>/<repository>'","echo \"gh/<org>/<repository>\" | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR'","<%= config.bin %> circleci -t plugin | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"slug":{"name":"slug","type":"option","char":"s","description":"a circle ci slugs in the format <vcs>/<org name>/<repo name>"},"envvar":{"name":"envvar","type":"option","char":"e","description":"a environment variables to set on the given circle slug(s)","required":true},"dryrun":{"name":"dryrun","type":"boolean","description":"do validation but do not update the environment variable values","allowNo":false}},"args":[]},"circleci:envvar:update":{"id":"circleci:envvar:update","description":"update environment variable(s) on Circle CI slug(s)\nUpdates one or more environment variables on one or more CIrcle CI slugs. The environment variables must already exist on the slug. You will be prompted for the environment variable values unless they already exist on the process. The slugs can be piped in. If so, the environment variables must be on the process (prompting is disabled).","usage":"<%= command.id %> -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -s 'gh/<org>/<repository>'","echo \"gh/<org>/<repository>\" | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR'","<%= config.bin %> circleci -t plugin | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"slug":{"name":"slug","type":"option","char":"s","description":"a circle ci slugs in the format <vcs>/<org name>/<repo name>"},"envvar":{"name":"envvar","type":"option","char":"e","description":"a environment variables to set on the given circle slug(s)","required":true},"dryrun":{"name":"dryrun","type":"boolean","description":"do validation but do not update the environment variable values","allowNo":false}},"args":[]},"cli:install:test":{"id":"cli:install:test","description":"install sf or sfdx","usage":"<%= command.id %> -c <string> -m <string> [--channel <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --cli sfdx --method installer","<%= config.bin %> <%= command.id %> --cli sfdx --method npm","<%= config.bin %> <%= command.id %> --cli sfdx --method tarball","<%= config.bin %> <%= command.id %> --cli sf --method tarball","<%= config.bin %> <%= command.id %> --cli sf --method tarball --channel stable-rc"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"cli":{"name":"cli","type":"option","char":"c","description":"the cli to install","required":true,"options":["sf","sfdx"]},"method":{"name":"method","type":"option","char":"m","description":"the installation method to use","required":true,"options":["installer","npm","tarball"]},"channel":{"name":"channel","type":"option","description":"the channel to install from","options":["legacy","stable","stable-rc","latest","latest-rc"],"default":"stable"}},"args":[]},"cli:latestrc:build":{"id":"cli:latestrc:build","description":"creates a PR to the repository property defined in the package.json to release a latest-rc build","usage":"<%= command.id %> [--rctag <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"rctag":{"name":"rctag","type":"option","description":"the tag name that corresponds to the npm RC build, usually latest-rc or stable-rc","default":"latest-rc"}},"args":[]},"cli:schemas:collect":{"id":"cli:schemas:collect","description":"collect schemas from installed plugins","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"cli:schemas:compare":{"id":"cli:schemas:compare","description":"compare schemas from installed plugins","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"cli:tarballs:prepare":{"id":"cli:tarballs:prepare","description":"remove unnecessary files from node_modules","usage":"<%= command.id %> [-d] [-t] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"only show what would be removed from node_modules","allowNo":false},"types":{"name":"types","type":"boolean","char":"t","description":"remove all types (.d.ts) files from node_modules ","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"show all files paths being removed","allowNo":false}},"args":[]},"cli:tarballs: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.9.1","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>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --cli sfdx --method installer","<%= config.bin %> <%= command.id %> --cli sfdx --method npm","<%= config.bin %> <%= command.id %> --cli sfdx --method tarball","<%= config.bin %> <%= command.id %> --cli sf --method tarball","<%= config.bin %> <%= command.id %> --cli sf --method tarball --channel stable-rc"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"cli":{"name":"cli","type":"option","char":"c","description":"the cli to install","required":true,"options":["sf","sfdx"]},"method":{"name":"method","type":"option","char":"m","description":"the installation method to use","required":true,"options":["installer","npm","tarball"]},"channel":{"name":"channel","type":"option","description":"the channel to install from","options":["legacy","stable","stable-rc","latest","latest-rc"],"default":"stable"}},"args":[]},"cli:latestrc:build":{"id":"cli:latestrc:build","description":"creates a PR to the repository property defined in the package.json to release a latest-rc build","usage":"<%= command.id %> [--rctag <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"rctag":{"name":"rctag","type":"option","description":"the tag name that corresponds to the npm RC build, usually latest-rc or stable-rc","default":"latest-rc"}},"args":[]},"cli:schemas:collect":{"id":"cli:schemas:collect","description":"collect schemas from installed plugins","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"cli:schemas:compare":{"id":"cli:schemas:compare","description":"compare schemas from installed plugins","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"cli:tarballs:prepare":{"id":"cli:tarballs:prepare","description":"remove unnecessary files from node_modules","usage":"<%= command.id %> [-d] [-t] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"only show what would be removed from node_modules","allowNo":false},"types":{"name":"types","type":"boolean","char":"t","description":"remove all types (.d.ts) files from node_modules ","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"show all files paths being removed","allowNo":false}},"args":[]},"cli:tarballs: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":[]}}}
|
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.
|
|
4
|
+
"version": "2.9.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"bin": {
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"access": "public"
|
|
193
193
|
},
|
|
194
194
|
"sfdx": {
|
|
195
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.
|
|
196
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.
|
|
195
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.9.1.crt",
|
|
196
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.9.1.sig"
|
|
197
197
|
}
|
|
198
198
|
}
|