@salesforce/plugin-release-management 2.10.2 → 2.10.3
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 +2 -0
- package/README.md +29 -25
- package/lib/amazonS3.d.ts +1 -4
- package/lib/amazonS3.js +13 -12
- package/lib/amazonS3.js.map +1 -1
- package/lib/commands/cli/install/test.d.ts +1 -4
- package/lib/commands/cli/install/test.js +102 -103
- package/lib/commands/cli/install/test.js.map +1 -1
- package/messages/cli.install.test.json +2 -1
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
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.10.3](https://github.com/salesforcecli/plugin-release-management/compare/v2.10.2...v2.10.3) (2022-01-18)
|
|
6
|
+
|
|
5
7
|
### [2.10.2](https://github.com/salesforcecli/plugin-release-management/compare/v2.10.1...v2.10.2) (2022-01-10)
|
|
6
8
|
|
|
7
9
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -104,7 +104,7 @@ sfdx plugins
|
|
|
104
104
|
- [`sfdx circleci [-t plugin|library|orb] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-circleci--t-pluginlibraryorb---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
105
105
|
- [`sfdx circleci:envvar:create -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-circlecienvvarcreate--e-string--s-string---dryrun---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
106
106
|
- [`sfdx circleci:envvar:update -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-circlecienvvarupdate--e-string--s-string---dryrun---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
107
|
-
- [`sfdx cli:install:test -c <string> -m <string> [--channel <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-cliinstalltest--c-string--m-string---channel-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
107
|
+
- [`sfdx cli:install:test -c <string> -m <string> [--channel <string>] [--output-file <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-cliinstalltest--c-string--m-string---channel-string---output-file-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
108
108
|
- [`sfdx cli:latestrc:build [--rctag <string>] [--resolutions] [--pinned-deps] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clilatestrcbuild---rctag-string---resolutions---pinned-deps---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
109
109
|
- [`sfdx cli:releasenotes -c <string> [-s <string>] [-m] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clireleasenotes--c-string--s-string--m---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
110
110
|
- [`sfdx cli:schemas:collect [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clischemascollect---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
@@ -174,7 +174,7 @@ EXAMPLE
|
|
|
174
174
|
sfdx channel:promote --candidate latest-rc --target latest --platform win --platform mac
|
|
175
175
|
```
|
|
176
176
|
|
|
177
|
-
_See code: [src/commands/channel/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
177
|
+
_See code: [src/commands/channel/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/channel/promote.ts)_
|
|
178
178
|
|
|
179
179
|
## `sfdx circleci [-t plugin|library|orb] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
180
180
|
|
|
@@ -196,7 +196,7 @@ EXAMPLE
|
|
|
196
196
|
sfdx circleci -t plugin
|
|
197
197
|
```
|
|
198
198
|
|
|
199
|
-
_See code: [src/commands/circleci/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
199
|
+
_See code: [src/commands/circleci/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/circleci/index.ts)_
|
|
200
200
|
|
|
201
201
|
## `sfdx circleci:envvar:create -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
202
202
|
|
|
@@ -233,7 +233,7 @@ EXAMPLES
|
|
|
233
233
|
sfdx circleci -t plugin | sfdx circleci:envvar:create -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'
|
|
234
234
|
```
|
|
235
235
|
|
|
236
|
-
_See code: [src/commands/circleci/envvar/create.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
236
|
+
_See code: [src/commands/circleci/envvar/create.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/circleci/envvar/create.ts)_
|
|
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,15 +270,15 @@ EXAMPLES
|
|
|
270
270
|
sfdx circleci -t plugin | sfdx circleci:envvar:update -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'
|
|
271
271
|
```
|
|
272
272
|
|
|
273
|
-
_See code: [src/commands/circleci/envvar/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
273
|
+
_See code: [src/commands/circleci/envvar/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/circleci/envvar/update.ts)_
|
|
274
274
|
|
|
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]`
|
|
275
|
+
## `sfdx cli:install:test -c <string> -m <string> [--channel <string>] [--output-file <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
276
276
|
|
|
277
277
|
install sf or sfdx
|
|
278
278
|
|
|
279
279
|
```
|
|
280
280
|
USAGE
|
|
281
|
-
$ sfdx cli:install:test -c <string> -m <string> [--channel <string>] [--json] [--loglevel
|
|
281
|
+
$ sfdx cli:install:test -c <string> -m <string> [--channel <string>] [--output-file <string>] [--json] [--loglevel
|
|
282
282
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
283
283
|
|
|
284
284
|
OPTIONS
|
|
@@ -295,6 +295,10 @@ OPTIONS
|
|
|
295
295
|
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
296
296
|
this command invocation
|
|
297
297
|
|
|
298
|
+
--output-file=output-file [default: test-results.json] the
|
|
299
|
+
file to write the JSON results to
|
|
300
|
+
(must be .json)
|
|
301
|
+
|
|
298
302
|
EXAMPLES
|
|
299
303
|
sfdx cli:install:test --cli sfdx --method installer
|
|
300
304
|
sfdx cli:install:test --cli sfdx --method npm
|
|
@@ -303,7 +307,7 @@ EXAMPLES
|
|
|
303
307
|
sfdx cli:install:test --cli sf --method tarball --channel stable-rc
|
|
304
308
|
```
|
|
305
309
|
|
|
306
|
-
_See code: [src/commands/cli/install/test.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
310
|
+
_See code: [src/commands/cli/install/test.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/install/test.ts)_
|
|
307
311
|
|
|
308
312
|
## `sfdx cli:latestrc:build [--rctag <string>] [--resolutions] [--pinned-deps] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
309
313
|
|
|
@@ -333,7 +337,7 @@ OPTIONS
|
|
|
333
337
|
in the resolutions section
|
|
334
338
|
```
|
|
335
339
|
|
|
336
|
-
_See code: [src/commands/cli/latestrc/build.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
340
|
+
_See code: [src/commands/cli/latestrc/build.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/latestrc/build.ts)_
|
|
337
341
|
|
|
338
342
|
## `sfdx cli:releasenotes -c <string> [-s <string>] [-m] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
339
343
|
|
|
@@ -371,7 +375,7 @@ EXAMPLES
|
|
|
371
375
|
sfdx cli:releasenotes --cli sf --markdown > changes.md
|
|
372
376
|
```
|
|
373
377
|
|
|
374
|
-
_See code: [src/commands/cli/releasenotes.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
378
|
+
_See code: [src/commands/cli/releasenotes.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/releasenotes.ts)_
|
|
375
379
|
|
|
376
380
|
## `sfdx cli:schemas:collect [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
377
381
|
|
|
@@ -391,7 +395,7 @@ EXAMPLE
|
|
|
391
395
|
sfdx cli:schemas:collect
|
|
392
396
|
```
|
|
393
397
|
|
|
394
|
-
_See code: [src/commands/cli/schemas/collect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
398
|
+
_See code: [src/commands/cli/schemas/collect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/schemas/collect.ts)_
|
|
395
399
|
|
|
396
400
|
## `sfdx cli:schemas:compare [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
397
401
|
|
|
@@ -411,7 +415,7 @@ EXAMPLE
|
|
|
411
415
|
sfdx cli:schemas:compare
|
|
412
416
|
```
|
|
413
417
|
|
|
414
|
-
_See code: [src/commands/cli/schemas/compare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
418
|
+
_See code: [src/commands/cli/schemas/compare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/schemas/compare.ts)_
|
|
415
419
|
|
|
416
420
|
## `sfdx cli:tarballs:prepare [-d] [-t] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
417
421
|
|
|
@@ -440,7 +444,7 @@ EXAMPLE
|
|
|
440
444
|
sfdx cli:tarballs:prepare
|
|
441
445
|
```
|
|
442
446
|
|
|
443
|
-
_See code: [src/commands/cli/tarballs/prepare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
447
|
+
_See code: [src/commands/cli/tarballs/prepare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/tarballs/prepare.ts)_
|
|
444
448
|
|
|
445
449
|
## `sfdx cli:tarballs:smoke -c <string> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
446
450
|
|
|
@@ -469,7 +473,7 @@ EXAMPLES
|
|
|
469
473
|
sfdx cli:tarballs:smoke --cli sf
|
|
470
474
|
```
|
|
471
475
|
|
|
472
|
-
_See code: [src/commands/cli/tarballs/smoke.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
476
|
+
_See code: [src/commands/cli/tarballs/smoke.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/tarballs/smoke.ts)_
|
|
473
477
|
|
|
474
478
|
## `sfdx cli:tarballs:verify [-c sf|sfdx] [-w <number>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
475
479
|
|
|
@@ -498,7 +502,7 @@ EXAMPLES
|
|
|
498
502
|
sfdx cli:tarballs:verify --cli sf
|
|
499
503
|
```
|
|
500
504
|
|
|
501
|
-
_See code: [src/commands/cli/tarballs/verify.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
505
|
+
_See code: [src/commands/cli/tarballs/verify.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/tarballs/verify.ts)_
|
|
502
506
|
|
|
503
507
|
## `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]`
|
|
504
508
|
|
|
@@ -546,7 +550,7 @@ EXAMPLES
|
|
|
546
550
|
sfdx cli:versions:inspect -l npm -c latest -d chalk -s
|
|
547
551
|
```
|
|
548
552
|
|
|
549
|
-
_See code: [src/commands/cli/versions/inspect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
553
|
+
_See code: [src/commands/cli/versions/inspect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/cli/versions/inspect.ts)_
|
|
550
554
|
|
|
551
555
|
## `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]`
|
|
552
556
|
|
|
@@ -590,7 +594,7 @@ EXAMPLES
|
|
|
590
594
|
sfdx dependabot:automerge --max-version-bump major
|
|
591
595
|
```
|
|
592
596
|
|
|
593
|
-
_See code: [src/commands/dependabot/automerge.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
597
|
+
_See code: [src/commands/dependabot/automerge.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/dependabot/automerge.ts)_
|
|
594
598
|
|
|
595
599
|
## `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]`
|
|
596
600
|
|
|
@@ -641,7 +645,7 @@ EXAMPLES
|
|
|
641
645
|
sfdx dependabot:consolidate --max-version-bump major
|
|
642
646
|
```
|
|
643
647
|
|
|
644
|
-
_See code: [src/commands/dependabot/consolidate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
648
|
+
_See code: [src/commands/dependabot/consolidate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/dependabot/consolidate.ts)_
|
|
645
649
|
|
|
646
650
|
## `sfdx npm:dependencies:pin [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
647
651
|
|
|
@@ -666,7 +670,7 @@ OPTIONS
|
|
|
666
670
|
this command invocation
|
|
667
671
|
```
|
|
668
672
|
|
|
669
|
-
_See code: [src/commands/npm/dependencies/pin.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
673
|
+
_See code: [src/commands/npm/dependencies/pin.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/npm/dependencies/pin.ts)_
|
|
670
674
|
|
|
671
675
|
## `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]`
|
|
672
676
|
|
|
@@ -706,7 +710,7 @@ OPTIONS
|
|
|
706
710
|
after publish and digital signature
|
|
707
711
|
```
|
|
708
712
|
|
|
709
|
-
_See code: [src/commands/npm/lerna/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
713
|
+
_See code: [src/commands/npm/lerna/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/npm/lerna/release.ts)_
|
|
710
714
|
|
|
711
715
|
## `sfdx npm:package:promote -c <string> [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
712
716
|
|
|
@@ -735,7 +739,7 @@ EXAMPLE
|
|
|
735
739
|
sfdx npm:package:promote --candidate latest-rc --target latest
|
|
736
740
|
```
|
|
737
741
|
|
|
738
|
-
_See code: [src/commands/npm/package/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
742
|
+
_See code: [src/commands/npm/package/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/npm/package/promote.ts)_
|
|
739
743
|
|
|
740
744
|
## `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]`
|
|
741
745
|
|
|
@@ -776,7 +780,7 @@ OPTIONS
|
|
|
776
780
|
after publish and digital signature
|
|
777
781
|
```
|
|
778
782
|
|
|
779
|
-
_See code: [src/commands/npm/package/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
783
|
+
_See code: [src/commands/npm/package/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/npm/package/release.ts)_
|
|
780
784
|
|
|
781
785
|
## `sfdx npm:release:validate [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
782
786
|
|
|
@@ -797,7 +801,7 @@ OPTIONS
|
|
|
797
801
|
(only works with --json flag)
|
|
798
802
|
```
|
|
799
803
|
|
|
800
|
-
_See code: [src/commands/npm/release/validate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
804
|
+
_See code: [src/commands/npm/release/validate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/npm/release/validate.ts)_
|
|
801
805
|
|
|
802
806
|
## `sfdx plugins:trust:verify -n <string> [-r <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
803
807
|
|
|
@@ -870,7 +874,7 @@ EXAMPLES
|
|
|
870
874
|
sfdx repositories --json | jq -r '.result[] | select(.name=="sfdx-core") | .packages[] | .url
|
|
871
875
|
```
|
|
872
876
|
|
|
873
|
-
_See code: [src/commands/repositories/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
877
|
+
_See code: [src/commands/repositories/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/repositories/index.ts)_
|
|
874
878
|
|
|
875
879
|
## `sfdx typescript:update [-v <string>] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
876
880
|
|
|
@@ -897,6 +901,6 @@ OPTIONS
|
|
|
897
901
|
this command invocation
|
|
898
902
|
```
|
|
899
903
|
|
|
900
|
-
_See code: [src/commands/typescript/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.
|
|
904
|
+
_See code: [src/commands/typescript/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.10.2/src/commands/typescript/update.ts)_
|
|
901
905
|
|
|
902
906
|
<!-- commandsstop -->
|
package/lib/amazonS3.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { UX } from '@salesforce/command';
|
|
2
1
|
import { CredentialsOptions } from 'aws-sdk/lib/credentials';
|
|
3
2
|
import { CommonPrefixList, ObjectList } from 'aws-sdk/clients/s3';
|
|
4
3
|
import { GetObjectRequest, GetObjectOutput } from 'aws-sdk/clients/s3';
|
|
@@ -9,7 +8,6 @@ export declare type AmazonS3Options = {
|
|
|
9
8
|
bucket?: string;
|
|
10
9
|
cli?: CLI;
|
|
11
10
|
channel?: Channel;
|
|
12
|
-
ux?: UX;
|
|
13
11
|
baseUrl?: string;
|
|
14
12
|
credentials?: CredentialsOptions;
|
|
15
13
|
baseKey?: string;
|
|
@@ -20,11 +18,10 @@ export declare class AmazonS3 {
|
|
|
20
18
|
directory: string;
|
|
21
19
|
private s3;
|
|
22
20
|
private baseKey;
|
|
23
|
-
private ux;
|
|
24
21
|
constructor(options: AmazonS3Options);
|
|
25
22
|
ping(): Promise<ServiceAvailability>;
|
|
26
23
|
fileIsAvailable(url: string): Promise<ServiceAvailability>;
|
|
27
|
-
download(url: string, location: string): Promise<void>;
|
|
24
|
+
download(url: string, location: string, silent?: boolean): Promise<void>;
|
|
28
25
|
getManifestFromChannel(channel: string): Promise<S3Manifest>;
|
|
29
26
|
getManifestFromVersion(version: string, sha: string): Promise<S3Manifest>;
|
|
30
27
|
getFileAtUrl(url: string): Promise<string>;
|
package/lib/amazonS3.js
CHANGED
|
@@ -10,6 +10,7 @@ exports.AmazonS3 = exports.BASE_URL = void 0;
|
|
|
10
10
|
const os = require("os");
|
|
11
11
|
const path = require("path");
|
|
12
12
|
const fs = require("fs");
|
|
13
|
+
const cli_ux_1 = require("cli-ux");
|
|
13
14
|
const got_1 = require("got");
|
|
14
15
|
const core_1 = require("@salesforce/core");
|
|
15
16
|
const chalk = require("chalk");
|
|
@@ -20,7 +21,6 @@ const BUCKET = 'dfc-data-production';
|
|
|
20
21
|
class AmazonS3 {
|
|
21
22
|
constructor(options) {
|
|
22
23
|
this.options = options;
|
|
23
|
-
this.ux = this.options.ux;
|
|
24
24
|
this.directory = `https://developer.salesforce.com/media/salesforce-cli/${this.options.cli || ''}`;
|
|
25
25
|
this.baseKey = this.directory.replace(exports.BASE_URL, '').replace(/^\//, '');
|
|
26
26
|
const agent = packAndSign_1.api.getAgentForUri('https://s3.amazonaws.com');
|
|
@@ -37,27 +37,28 @@ class AmazonS3 {
|
|
|
37
37
|
const { statusCode } = await got_1.default.get(url, { throwHttpErrors: false });
|
|
38
38
|
return { service: 'file', name: url, available: statusCode >= 200 && statusCode < 300 };
|
|
39
39
|
}
|
|
40
|
-
async download(url, location) {
|
|
40
|
+
async download(url, location, silent = false) {
|
|
41
41
|
const downloadStream = got_1.default.stream(url);
|
|
42
42
|
const fileWriterStream = fs.createWriteStream(location);
|
|
43
43
|
return new Promise((resolve) => {
|
|
44
|
-
var _a;
|
|
45
44
|
downloadStream.on('error', (error) => {
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
if (!silent)
|
|
46
|
+
cli_ux_1.cli.error(`Download failed: ${error.message}`);
|
|
48
47
|
});
|
|
49
48
|
fileWriterStream
|
|
50
49
|
.on('error', (error) => {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
if (!silent)
|
|
51
|
+
cli_ux_1.cli.action.stop('Failed');
|
|
52
|
+
if (!silent)
|
|
53
|
+
cli_ux_1.cli.error(`Could not write file to system: ${error.message}`);
|
|
54
54
|
})
|
|
55
55
|
.on('finish', () => {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
if (!silent)
|
|
57
|
+
cli_ux_1.cli.action.stop();
|
|
58
58
|
resolve();
|
|
59
59
|
});
|
|
60
|
-
|
|
60
|
+
if (!silent)
|
|
61
|
+
cli_ux_1.cli.action.start(`Downloading ${chalk.cyan(url)}`);
|
|
61
62
|
downloadStream.pipe(fileWriterStream);
|
|
62
63
|
});
|
|
63
64
|
}
|
|
@@ -75,7 +76,7 @@ class AmazonS3 {
|
|
|
75
76
|
const availability = await this.fileIsAvailable(url);
|
|
76
77
|
if (availability.available) {
|
|
77
78
|
const filename = path.join(os.tmpdir(), `file${Math.random()}`);
|
|
78
|
-
await this.download(url, filename);
|
|
79
|
+
await this.download(url, filename, true);
|
|
79
80
|
return filename;
|
|
80
81
|
}
|
|
81
82
|
else {
|
package/lib/amazonS3.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"amazonS3.js","sourceRoot":"","sources":["../src/amazonS3.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,6BAA6B;AAC7B,yBAAyB;
|
|
1
|
+
{"version":3,"file":"amazonS3.js","sourceRoot":"","sources":["../src/amazonS3.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,6BAA6B;AAC7B,yBAAyB;AACzB,mCAA6B;AAC7B,6BAAkC;AAClC,2CAA6C;AAC7C,+BAA+B;AAC/B,+BAA+B;AAM/B,2DAAgD;AAGnC,QAAA,QAAQ,GAAG,kCAAkC,CAAC;AAC3D,MAAM,MAAM,GAAG,qBAAqB,CAAC;AAarC,MAAa,QAAQ;IAOnB,YAA2B,OAAwB;QAAxB,YAAO,GAAP,OAAO,CAAiB;QACjD,IAAI,CAAC,SAAS,GAAG,yDAAyD,IAAI,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,EAAE,CAAC;QACnG,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,gBAAQ,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACvE,MAAM,KAAK,GAAG,iBAAG,CAAC,cAAc,CAAC,0BAA0B,CAAW,CAAC;QACvE,IAAI,CAAC,EAAE,GAAG,IAAI,GAAG,CAAC,EAAE,CAAC;YACnB,GAAG,IAAI,CAAC,kBAAkB,EAAE;YAC5B,WAAW,EAAE,EAAE,KAAK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6
6
|
static readonly examples: string[];
|
|
7
7
|
static readonly flagsConfig: FlagsConfig;
|
|
8
|
-
run(): Promise<
|
|
9
|
-
results: Results;
|
|
10
|
-
logs: string[];
|
|
11
|
-
}>;
|
|
8
|
+
run(): Promise<void>;
|
|
12
9
|
private makeWorkingDir;
|
|
13
10
|
}
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
const path = require("path");
|
|
10
10
|
const os = require("os");
|
|
11
|
+
const shelljs_1 = require("shelljs");
|
|
12
|
+
const cli_ux_1 = require("cli-ux");
|
|
11
13
|
const command_1 = require("@salesforce/command");
|
|
12
14
|
const core_1 = require("@salesforce/core");
|
|
13
15
|
const ts_types_1 = require("@salesforce/ts-types");
|
|
14
16
|
const got_1 = require("got");
|
|
15
|
-
const shelljs_1 = require("shelljs");
|
|
16
17
|
const chalk = require("chalk");
|
|
17
|
-
const stripAnsi = require("strip-ansi");
|
|
18
18
|
const types_1 = require("../../../types");
|
|
19
19
|
const amazonS3_1 = require("../../../amazonS3");
|
|
20
20
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
@@ -28,15 +28,20 @@ var Method;
|
|
|
28
28
|
Type["TARBALL"] = "tarball";
|
|
29
29
|
})(Type = Method.Type || (Method.Type = {}));
|
|
30
30
|
class Base {
|
|
31
|
-
constructor(options
|
|
31
|
+
constructor(options) {
|
|
32
32
|
this.options = options;
|
|
33
|
-
this.logger = logger;
|
|
34
33
|
}
|
|
35
34
|
async execute() {
|
|
36
35
|
const { service, available } = await this.ping();
|
|
37
36
|
if (!available) {
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
cli_ux_1.cli.warn(`${service} is not currently available.`);
|
|
38
|
+
const results = {
|
|
39
|
+
[this.options.method]: {},
|
|
40
|
+
};
|
|
41
|
+
for (const cli of this.getTargets()) {
|
|
42
|
+
results[this.options.method][cli] = false;
|
|
43
|
+
}
|
|
44
|
+
return results;
|
|
40
45
|
}
|
|
41
46
|
switch (process.platform) {
|
|
42
47
|
case 'darwin': {
|
|
@@ -58,7 +63,7 @@ var Method;
|
|
|
58
63
|
}
|
|
59
64
|
logResult(cli, success) {
|
|
60
65
|
const msg = success ? chalk.green('true') : chalk.red('false');
|
|
61
|
-
|
|
66
|
+
cli_ux_1.cli.log(`${chalk.bold(`${cli} Success`)}: ${msg}`);
|
|
62
67
|
}
|
|
63
68
|
getTargets() {
|
|
64
69
|
return Base.TEST_TARGETS[this.options.cli];
|
|
@@ -71,10 +76,9 @@ var Method;
|
|
|
71
76
|
Method.Base = Base;
|
|
72
77
|
})(Method || (Method = {}));
|
|
73
78
|
class Tarball extends Method.Base {
|
|
74
|
-
constructor(options
|
|
75
|
-
super(options
|
|
79
|
+
constructor(options) {
|
|
80
|
+
super(options);
|
|
76
81
|
this.options = options;
|
|
77
|
-
this.logger = logger;
|
|
78
82
|
this.paths = {
|
|
79
83
|
darwin: ['x64.tar.gz', 'x64.tar.xz'],
|
|
80
84
|
win32: [
|
|
@@ -87,7 +91,7 @@ class Tarball extends Method.Base {
|
|
|
87
91
|
linux: ['x64.tar.gz', 'x64.tar.xz'],
|
|
88
92
|
'linux-arm': ['arm.tar.gz', 'arm.tar.xz'],
|
|
89
93
|
};
|
|
90
|
-
this.s3 = new amazonS3_1.AmazonS3({ cli: options.cli, channel: options.channel
|
|
94
|
+
this.s3 = new amazonS3_1.AmazonS3({ cli: options.cli, channel: options.channel });
|
|
91
95
|
}
|
|
92
96
|
async darwin() {
|
|
93
97
|
return this.installAndTest('darwin');
|
|
@@ -115,11 +119,12 @@ class Tarball extends Method.Base {
|
|
|
115
119
|
results[tarball] = testResults;
|
|
116
120
|
}
|
|
117
121
|
catch {
|
|
122
|
+
results[tarball] = {};
|
|
118
123
|
for (const cli of this.getTargets()) {
|
|
119
124
|
results[tarball][cli] = false;
|
|
120
125
|
}
|
|
121
126
|
}
|
|
122
|
-
|
|
127
|
+
cli_ux_1.cli.log();
|
|
123
128
|
}
|
|
124
129
|
return results;
|
|
125
130
|
}
|
|
@@ -137,51 +142,45 @@ class Tarball extends Method.Base {
|
|
|
137
142
|
return tarballs;
|
|
138
143
|
}
|
|
139
144
|
async extract(file) {
|
|
140
|
-
const dir = path.join(this.options.directory, path.basename(file).replace(
|
|
145
|
+
const dir = path.join(this.options.directory, path.basename(file).replace(/\./g, '-'));
|
|
141
146
|
await core_1.fs.mkdirp(dir);
|
|
142
147
|
return new Promise((resolve, reject) => {
|
|
143
|
-
|
|
148
|
+
cli_ux_1.cli.action.start(`Unpacking ${chalk.cyan(path.basename(file))} to ${dir}`);
|
|
144
149
|
const cmd = process.platform === 'win32'
|
|
145
150
|
? `tar -xf ${file} -C ${dir} --strip-components 1 --exclude node_modules/.bin`
|
|
146
151
|
: `tar -xf ${file} -C ${dir} --strip-components 1`;
|
|
147
|
-
const opts = process.platform === 'win32'
|
|
148
|
-
|
|
149
|
-
: { silent: true, async: true };
|
|
150
|
-
(0, shelljs_1.exec)(cmd, opts, (code, stdout, stderr) => {
|
|
152
|
+
const opts = process.platform === 'win32' ? { shell: 'powershell.exe' } : {};
|
|
153
|
+
(0, shelljs_1.exec)(cmd, { ...opts, silent: true }, (code, stdout, stderr) => {
|
|
151
154
|
if (code === 0) {
|
|
152
|
-
|
|
155
|
+
cli_ux_1.cli.action.stop();
|
|
156
|
+
cli_ux_1.cli.log(stdout);
|
|
153
157
|
resolve(dir);
|
|
154
158
|
}
|
|
155
159
|
else {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
+
cli_ux_1.cli.action.stop('Failed');
|
|
161
|
+
cli_ux_1.cli.log(`code: ${code}`);
|
|
162
|
+
cli_ux_1.cli.log('stdout:', stdout);
|
|
163
|
+
cli_ux_1.cli.log('stderr:', stderr);
|
|
160
164
|
reject();
|
|
161
165
|
}
|
|
162
166
|
});
|
|
163
167
|
});
|
|
164
168
|
}
|
|
165
169
|
test(directory) {
|
|
166
|
-
var _a;
|
|
167
170
|
const results = {};
|
|
168
171
|
for (const cli of this.getTargets()) {
|
|
169
172
|
const executable = path.join(directory, 'bin', cli);
|
|
170
|
-
|
|
171
|
-
const result = process.platform === 'win32'
|
|
172
|
-
? (0, shelljs_1.exec)(`& "${executable}.cmd" --version`, { silent: true, shell: 'powershell.exe' })
|
|
173
|
-
: (0, shelljs_1.exec)(`${executable} --version`, { silent: true });
|
|
174
|
-
this.logger.log(chalk.dim(((_a = result.stdout) !== null && _a !== void 0 ? _a : result.stderr).replace(/\n*$/, '')));
|
|
173
|
+
cli_ux_1.cli.log(`Testing ${chalk.cyan(executable)}`);
|
|
174
|
+
const result = process.platform === 'win32' ? (0, shelljs_1.exec)(`cmd /c "${executable}.cmd" --version`) : (0, shelljs_1.exec)(`${executable} --version`);
|
|
175
175
|
results[cli] = result.code === 0;
|
|
176
176
|
}
|
|
177
177
|
return results;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
class Npm extends Method.Base {
|
|
181
|
-
constructor(options
|
|
182
|
-
super(options
|
|
181
|
+
constructor(options) {
|
|
182
|
+
super(options);
|
|
183
183
|
this.options = options;
|
|
184
|
-
this.logger = logger;
|
|
185
184
|
const name = options.cli === types_1.CLI.SF ? '@salesforce/cli' : 'sfdx-cli';
|
|
186
185
|
const tag = options.channel === types_1.Channel.STABLE ? 'latest' : 'latest-rc';
|
|
187
186
|
this.package = `${name}@${tag}`;
|
|
@@ -216,62 +215,66 @@ class Npm extends Method.Base {
|
|
|
216
215
|
for (const [cli, success] of Object.entries(testResults)) {
|
|
217
216
|
this.logResult(cli, success);
|
|
218
217
|
}
|
|
219
|
-
|
|
218
|
+
cli_ux_1.cli.log();
|
|
220
219
|
return { [this.package]: testResults };
|
|
221
220
|
}
|
|
222
221
|
async install() {
|
|
223
|
-
|
|
222
|
+
cli_ux_1.cli.action.start(`Installing: ${chalk.cyan(this.package)}`);
|
|
224
223
|
return new Promise((resolve, reject) => {
|
|
225
|
-
(0, shelljs_1.exec)(`npm install ${this.package}`, { silent: true, cwd: this.options.directory
|
|
224
|
+
(0, shelljs_1.exec)(`npm install ${this.package}`, { silent: true, cwd: this.options.directory }, (code, stdout, stderr) => {
|
|
226
225
|
if (code === 0) {
|
|
227
|
-
|
|
226
|
+
cli_ux_1.cli.action.stop();
|
|
227
|
+
cli_ux_1.cli.log(stdout);
|
|
228
228
|
resolve();
|
|
229
229
|
}
|
|
230
230
|
else {
|
|
231
|
-
|
|
231
|
+
cli_ux_1.cli.action.stop('Failed');
|
|
232
|
+
cli_ux_1.cli.log(stdout);
|
|
233
|
+
cli_ux_1.cli.log(stderr);
|
|
232
234
|
reject();
|
|
233
235
|
}
|
|
234
236
|
});
|
|
235
237
|
});
|
|
236
238
|
}
|
|
237
239
|
test() {
|
|
238
|
-
var _a;
|
|
239
240
|
const results = {};
|
|
240
241
|
const executable = path.join(this.options.directory, 'node_modules', '.bin', this.options.cli);
|
|
241
|
-
|
|
242
|
-
const result = process.platform === 'win32'
|
|
243
|
-
? (0, shelljs_1.exec)(`& "${executable}" --version`, { silent: true, shell: 'powershell.exe' })
|
|
244
|
-
: (0, shelljs_1.exec)(`${executable} --version`, { silent: true });
|
|
245
|
-
this.logger.log(chalk.dim(((_a = result.stdout) !== null && _a !== void 0 ? _a : result.stderr).replace(/\n*$/, '')));
|
|
242
|
+
cli_ux_1.cli.log(`Testing ${chalk.cyan(executable)}`);
|
|
243
|
+
const result = process.platform === 'win32' ? (0, shelljs_1.exec)(`cmd /c "${executable}" --version`) : (0, shelljs_1.exec)(`${executable} --version`);
|
|
246
244
|
results[this.options.cli] = result.code === 0;
|
|
247
245
|
return results;
|
|
248
246
|
}
|
|
249
247
|
}
|
|
250
248
|
Npm.STATUS_URL = 'https://status.npmjs.org/api/v2/status.json';
|
|
251
249
|
class Installer extends Method.Base {
|
|
252
|
-
constructor(options
|
|
253
|
-
super(options
|
|
250
|
+
constructor(options) {
|
|
251
|
+
super(options);
|
|
254
252
|
this.options = options;
|
|
255
|
-
this.
|
|
256
|
-
this.s3 = new amazonS3_1.AmazonS3({ cli: options.cli, channel: options.channel, ux: logger.ux });
|
|
253
|
+
this.s3 = new amazonS3_1.AmazonS3({ cli: options.cli, channel: options.channel });
|
|
257
254
|
}
|
|
258
255
|
async darwin() {
|
|
259
256
|
const pkg = `${this.options.cli}.pkg`;
|
|
260
257
|
const url = `${this.s3.directory}/channels/${this.options.channel}/${pkg}`;
|
|
261
258
|
const location = path.join(this.options.directory, pkg);
|
|
262
259
|
await this.s3.download(url, location);
|
|
263
|
-
const result = (0, shelljs_1.exec)(`sudo installer -pkg ${location} -target
|
|
260
|
+
const result = (0, shelljs_1.exec)(`sudo installer -pkg ${location} -target /`);
|
|
261
|
+
const results = {};
|
|
264
262
|
if (result.code === 0) {
|
|
265
|
-
const
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
263
|
+
const testResults = this.nixTest();
|
|
264
|
+
for (const [cli, success] of Object.entries(testResults)) {
|
|
265
|
+
this.logResult(cli, success);
|
|
266
|
+
}
|
|
267
|
+
results[url] = testResults;
|
|
269
268
|
}
|
|
270
269
|
else {
|
|
271
|
-
|
|
272
|
-
this.
|
|
273
|
-
|
|
270
|
+
results[url] = {};
|
|
271
|
+
for (const cli of this.getTargets()) {
|
|
272
|
+
this.logResult(this.options.cli, false);
|
|
273
|
+
results[url][cli] = false;
|
|
274
|
+
}
|
|
274
275
|
}
|
|
276
|
+
cli_ux_1.cli.log();
|
|
277
|
+
return results;
|
|
275
278
|
}
|
|
276
279
|
async win32() {
|
|
277
280
|
const executables = [`${this.options.cli}-x64.exe`, `${this.options.cli}-x86.exe`];
|
|
@@ -282,18 +285,21 @@ class Installer extends Method.Base {
|
|
|
282
285
|
await this.s3.download(url, location);
|
|
283
286
|
const installLocation = `C:\\install-test\\${this.options.cli}\\${exe.includes('x86') ? 'x86' : 'x64'}`;
|
|
284
287
|
const cmd = `Start-Process -Wait -FilePath "${location}" -ArgumentList "/S", "/D=${installLocation}" -PassThru`;
|
|
285
|
-
|
|
286
|
-
const result = (0, shelljs_1.exec)(cmd, {
|
|
288
|
+
cli_ux_1.cli.log(`Installing ${chalk.cyan(exe)} to ${installLocation}...`);
|
|
289
|
+
const result = (0, shelljs_1.exec)(cmd, { shell: 'powershell.exe' });
|
|
287
290
|
if (result.code === 0) {
|
|
288
|
-
const
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
291
|
+
const testResults = this.win32Test(installLocation);
|
|
292
|
+
for (const [cli, success] of Object.entries(testResults)) {
|
|
293
|
+
this.logResult(cli, success);
|
|
294
|
+
}
|
|
295
|
+
results[url] = testResults;
|
|
292
296
|
}
|
|
293
297
|
else {
|
|
294
|
-
|
|
295
|
-
this.
|
|
296
|
-
|
|
298
|
+
results[url] = {};
|
|
299
|
+
for (const cli of this.getTargets()) {
|
|
300
|
+
this.logResult(this.options.cli, false);
|
|
301
|
+
results[url][cli] = false;
|
|
302
|
+
}
|
|
297
303
|
}
|
|
298
304
|
}
|
|
299
305
|
return results;
|
|
@@ -306,66 +312,53 @@ class Installer extends Method.Base {
|
|
|
306
312
|
return this.s3.ping();
|
|
307
313
|
}
|
|
308
314
|
win32Test(installLocation) {
|
|
309
|
-
|
|
310
|
-
const
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
}
|
|
319
|
-
else {
|
|
320
|
-
return false;
|
|
315
|
+
const results = {};
|
|
316
|
+
for (const cli of this.getTargets()) {
|
|
317
|
+
const binaryPath = path.join(installLocation, 'bin', `${cli}.cmd`);
|
|
318
|
+
cli_ux_1.cli.log(`Testing ${chalk.cyan(binaryPath)}`);
|
|
319
|
+
const result = (0, shelljs_1.exec)(`cmd /c "${binaryPath}" --version`);
|
|
320
|
+
results[cli] =
|
|
321
|
+
result.code === 0 && binaryPath.includes('x86')
|
|
322
|
+
? result.stdout.includes('win32-x86')
|
|
323
|
+
: result.stdout.includes('win32-x64');
|
|
321
324
|
}
|
|
325
|
+
return results;
|
|
322
326
|
}
|
|
323
327
|
nixTest() {
|
|
324
|
-
|
|
325
|
-
const
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
class Logger {
|
|
333
|
-
constructor(ux) {
|
|
334
|
-
this.ux = ux;
|
|
335
|
-
this.logs = [];
|
|
336
|
-
}
|
|
337
|
-
log(...args) {
|
|
338
|
-
this.logs.push(...args.map((a) => stripAnsi(a)));
|
|
339
|
-
this.ux.log(...args);
|
|
340
|
-
}
|
|
341
|
-
warn(msg) {
|
|
342
|
-
this.logs.push(stripAnsi(msg));
|
|
343
|
-
this.ux.warn(msg);
|
|
328
|
+
const results = {};
|
|
329
|
+
for (const cli of this.getTargets()) {
|
|
330
|
+
const binaryPath = `/usr/local/bin/${cli}`;
|
|
331
|
+
cli_ux_1.cli.log(`Testing ${chalk.cyan(binaryPath)}`);
|
|
332
|
+
const result = (0, shelljs_1.exec)(`${binaryPath} --version`);
|
|
333
|
+
results[cli] = result.code === 0;
|
|
334
|
+
}
|
|
335
|
+
return results;
|
|
344
336
|
}
|
|
345
337
|
}
|
|
346
338
|
class Test extends command_1.SfdxCommand {
|
|
347
339
|
async run() {
|
|
340
|
+
var _a;
|
|
348
341
|
const cli = (0, ts_types_1.ensure)(this.flags.cli);
|
|
349
342
|
const method = (0, ts_types_1.ensure)(this.flags.method);
|
|
350
343
|
const channel = (0, ts_types_1.ensure)(this.flags.channel);
|
|
344
|
+
const outputFile = (0, ts_types_1.ensure)(this.flags['output-file']);
|
|
351
345
|
const directory = await this.makeWorkingDir(cli, channel, method);
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
logger.log();
|
|
346
|
+
cli_ux_1.cli.log(`Working Directory: ${directory}`);
|
|
347
|
+
cli_ux_1.cli.log();
|
|
355
348
|
let results = {};
|
|
356
349
|
switch (method) {
|
|
357
350
|
case 'tarball': {
|
|
358
|
-
const tarball = new Tarball({ cli, channel, directory, method }
|
|
351
|
+
const tarball = new Tarball({ cli, channel, directory, method });
|
|
359
352
|
results = await tarball.execute();
|
|
360
353
|
break;
|
|
361
354
|
}
|
|
362
355
|
case 'npm': {
|
|
363
|
-
const npm = new Npm({ cli, channel, directory, method }
|
|
356
|
+
const npm = new Npm({ cli, channel, directory, method });
|
|
364
357
|
results = await npm.execute();
|
|
365
358
|
break;
|
|
366
359
|
}
|
|
367
360
|
case 'installer': {
|
|
368
|
-
const installer = new Installer({ cli, channel, directory, method }
|
|
361
|
+
const installer = new Installer({ cli, channel, directory, method });
|
|
369
362
|
results = await installer.execute();
|
|
370
363
|
break;
|
|
371
364
|
}
|
|
@@ -377,7 +370,9 @@ class Test extends command_1.SfdxCommand {
|
|
|
377
370
|
.some((r) => !r);
|
|
378
371
|
if (hasFailures)
|
|
379
372
|
process.exitCode = 1;
|
|
380
|
-
|
|
373
|
+
await core_1.fs.writeJson(outputFile, { status: (_a = process.exitCode) !== null && _a !== void 0 ? _a : 0, results });
|
|
374
|
+
cli_ux_1.cli.styledJSON(results);
|
|
375
|
+
cli_ux_1.cli.log(`Results written to ${outputFile}`);
|
|
381
376
|
}
|
|
382
377
|
async makeWorkingDir(cli, channel, method) {
|
|
383
378
|
const tmpDir = path.join(os.tmpdir(), 'cli-install-test', cli, channel, method);
|
|
@@ -413,5 +408,9 @@ Test.flagsConfig = {
|
|
|
413
408
|
options: Object.values(types_1.Channel),
|
|
414
409
|
default: 'stable',
|
|
415
410
|
}),
|
|
411
|
+
'output-file': command_1.flags.string({
|
|
412
|
+
description: messages.getMessage('outputFileFlag'),
|
|
413
|
+
default: 'test-results.json',
|
|
414
|
+
}),
|
|
416
415
|
};
|
|
417
416
|
//# sourceMappingURL=test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../../src/commands/cli/install/test.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH,6BAA6B;AAC7B,yBAAyB;AACzB,iDAA0E;AA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use",
|
|
12
|
-
"channelFlag": "the channel to install from"
|
|
12
|
+
"channelFlag": "the channel to install from",
|
|
13
|
+
"outputFileFlag": "the file to write the JSON results to (must be .json)"
|
|
13
14
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.10.2","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>] [--resolutions] [--pinned-deps] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"rctag":{"name":"rctag","type":"option","description":"the tag name that corresponds to the npm RC build, usually latest-rc or stable-rc","default":"latest-rc"},"resolutions":{"name":"resolutions","type":"boolean","description":"bump the versions of packages listed in the resolutions section","allowNo":true},"pinned-deps":{"name":"pinned-deps","type":"boolean","description":"bump the versions of the packages listed in the pinnedDependencies section","allowNo":true}},"args":[]},"cli:schemas:collect":{"id":"cli:schemas:collect","description":"collect schemas from installed plugins","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"cli:schemas:compare":{"id":"cli:schemas:compare","description":"compare schemas from installed plugins","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"cli:tarballs:prepare":{"id":"cli:tarballs:prepare","description":"remove unnecessary files from node_modules","usage":"<%= command.id %> [-d] [-t] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"only show what would be removed from node_modules","allowNo":false},"types":{"name":"types","type":"boolean","char":"t","description":"remove all types (.d.ts) files from node_modules ","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"show all files paths being removed","allowNo":false}},"args":[]},"cli:tarballs:smoke":{"id":"cli:tarballs:smoke","description":"smoke tests for the tarballed CLI\n Tests that the CLI and every command can be initialized.","usage":"<%= command.id %> -c <string> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --cli sfdx","<%= config.bin %> <%= command.id %> --cli sf"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"cli":{"name":"cli","type":"option","char":"c","description":"the cli to install","required":true,"options":["sf","sfdx"]},"verbose":{"name":"verbose","type":"boolean","description":"show the --help output for each command","allowNo":false}},"args":[]},"cli:tarballs:verify":{"id":"cli:tarballs:verify","description":"verify that tarballs are ready to be uploaded","usage":"<%= command.id %> [-c sf|sfdx] [-w <number>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>","<%= config.bin %> <%= command.id %> --cli sfdx","<%= config.bin %> <%= command.id %> --cli sf"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"cli":{"name":"cli","type":"option","char":"c","description":"the cli to verify","helpValue":"(sf|sfdx)","options":["sf","sfdx"],"default":"sfdx"},"windows-username-buffer":{"name":"windows-username-buffer","type":"option","char":"w","description":"the number of characters to allow for windows usernames","default":41}},"args":[]},"cli:versions:inspect":{"id":"cli:versions:inspect","description":"inspect the CLI version across all install paths","usage":"<%= command.id %> -c <string> -l <string> --cli sf|sfdx [-d <string>] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -l archive -c stable","<%= config.bin %> <%= command.id %> -l archive -c stable-rc","<%= config.bin %> <%= command.id %> -l archive npm -c stable","<%= config.bin %> <%= command.id %> -l archive npm -c latest","<%= config.bin %> <%= command.id %> -l archive npm -c latest latest-rc","<%= config.bin %> <%= command.id %> -l archive npm -c stable stable-rc","<%= config.bin %> <%= command.id %> -l npm -c latest --salesforce","<%= config.bin %> <%= command.id %> -l npm -c latest -d @salesforce/core","<%= config.bin %> <%= command.id %> -l npm -c latest -d @salesforce/**/ salesforce-alm","<%= config.bin %> <%= command.id %> -l npm -c latest -d chalk -s"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dependencies":{"name":"dependencies","type":"option","char":"d","description":"glob pattern of dependencies you want to see the version of"},"salesforce":{"name":"salesforce","type":"boolean","char":"s","description":"show versions of salesforce owned dependencies","allowNo":false},"channels":{"name":"channels","type":"option","char":"c","description":"the channel you want to inspect (for achives, latest and latest-rc are translated to stable and stable-rc. And vice-versa for npm)","required":true,"options":["legacy","stable","stable-rc","latest","latest-rc"]},"locations":{"name":"locations","type":"option","char":"l","description":"the location you want to inspect","required":true,"options":["archive","npm"]},"cli":{"name":"cli","type":"option","description":"the CLI you want to inspect","required":true,"helpValue":"(sf|sfdx)","options":["sf","sfdx"],"default":"sfdx"}},"args":[]},"npm:dependencies:pin":{"id":"npm:dependencies:pin","description":"lock a list of dependencies to a target tag or default to 'latest', place these entries in 'pinnedDependencies' entry in the package.json","usage":"<%= command.id %> [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, will not make any changes to the package.json","allowNo":false},"tag":{"name":"tag","type":"option","char":"t","description":"The name of the tag you want, e.g. 'latest-rc', or 'latest'","default":"latest"}},"args":[]},"npm:lerna:release":{"id":"npm:lerna:release","description":"publish npm packages from a lerna repository","usage":"<%= command.id %> [-d] [-s <array>] [-t <string>] [-a <string>] [--install] [--githubrelease] [--verify] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"if true, will not commit changes to repo or push any tags","allowNo":false},"sign":{"name":"sign","type":"option","char":"s","description":"list of packages to be signed. Should match the name property of the package.json"},"npmtag":{"name":"npmtag","type":"option","char":"t","description":"tag to use when publishing to npm","default":"latest"},"npmaccess":{"name":"npmaccess","type":"option","char":"a","description":"access level to use when publishing to npm","default":"public"},"install":{"name":"install","type":"boolean","description":"run yarn install and build on repository","allowNo":true},"githubrelease":{"name":"githubrelease","type":"boolean","description":"create release in github based on the package changes","allowNo":false},"verify":{"name":"verify","type":"boolean","description":"verify npm registry has new version after publish and digital signature","allowNo":true}},"args":[]},"npm:package:promote":{"id":"npm:package:promote","description":"promote an npm package","usage":"<%= command.id %> -c <string> [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --candidate latest-rc --target latest"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, only show what would happen","allowNo":false},"target":{"name":"target","type":"option","char":"t","description":"the npm tag that you are promoting to","default":"latest"},"candidate":{"name":"candidate","type":"option","char":"c","description":"the npm tag that you want to promote","required":true}},"args":[]},"npm:package:release":{"id":"npm:package:release","description":"publish npm package","usage":"<%= command.id %> [-d] [-s] [-t <string>] [-a <string>] [--install] [--prerelease <string>] [--verify] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, will not commit changes to repo or push any tags","allowNo":false},"sign":{"name":"sign","type":"boolean","char":"s","description":"If true, then the package will be signed and the signature will be uploaded to S3","allowNo":false},"npmtag":{"name":"npmtag","type":"option","char":"t","description":"tag to use when publishing to npm","default":"latest"},"npmaccess":{"name":"npmaccess","type":"option","char":"a","description":"access level to use when publishing to npm","default":"public"},"install":{"name":"install","type":"boolean","description":"run yarn install and build on repository","allowNo":true},"prerelease":{"name":"prerelease","type":"option","description":"determine the next version as <version>-<prerelease>.0 if version is not manually set"},"verify":{"name":"verify","type":"boolean","description":"verify npm registry has new version after publish and digital signature","allowNo":true}},"args":[]},"npm:release:validate":{"id":"npm:release:validate","description":"inspects the git commits to see if there are any commits that will warrant a new release","usage":"<%= command.id %> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"verbose":{"name":"verbose","type":"boolean","description":"show all commits for all packages (only works with --json flag)","allowNo":false}},"args":[]}}}
|
|
1
|
+
{"version":"2.10.3","commands":{"channel:promote":{"id":"channel:promote","description":"promote a s3 channel","usage":"<%= command.id %> -t <string> -c sf|sfdx [-d] [-p <array>] [-m <number>] [-i] [-x] [-T <array>] [-T <string> | | [-C <string> | -s <string>]] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --candidate latest-rc --target latest --platform win --platform mac"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, only show what would happen","allowNo":false},"target":{"name":"target","type":"option","char":"t","description":"the channel name that you are promoting to","required":true,"default":"stable"},"candidate":{"name":"candidate","type":"option","char":"C","description":"the channel name that you want to promote"},"platform":{"name":"platform","type":"option","char":"p","description":"the platform to promote","default":[]},"cli":{"name":"cli","type":"option","char":"c","description":"the cli name to promote","required":true,"helpValue":"(sf|sfdx)","options":["sf","sfdx"]},"sha":{"name":"sha","type":"option","char":"s","description":"the short sha to promote"},"maxage":{"name":"maxage","type":"option","char":"m","description":"cache control max-age in seconds","default":300},"indexes":{"name":"indexes","type":"boolean","char":"i","description":"append the promoted urls into the index files","allowNo":true},"xz":{"name":"xz","type":"boolean","char":"x","description":"also upload xz","allowNo":true},"targets":{"name":"targets","type":"option","char":"T","description":"comma-separated targets to promote (e.g.: linux-arm,win32-x64)"},"version":{"name":"version","type":"option","char":"T","description":"the version of the candidate to be promoted, which must exist already in s3. Used to fetch the correct sha"}},"args":[]},"circleci":{"id":"circleci","description":"list known Circle CI slugs from '<%= config.bin %> repositories'","usage":"<%= command.id %> [-t plugin|library|orb] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -t plugin"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"contains-package-type":{"name":"contains-package-type","type":"option","char":"t","description":"filter based on type of package","helpValue":"(plugin|library|orb)","options":["plugin","library","orb"]}},"args":[]},"cli:releasenotes":{"id":"cli:releasenotes","description":"pull all relevant information for writing release notes.\n Requires the GH_TOKEN to be set in the environment.","usage":"<%= command.id %> -c <string> [-s <string>] [-m] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --cli sf","<%= config.bin %> <%= command.id %> --cli sfdx","<%= config.bin %> <%= command.id %> --cli sf --since 1.0.0","<%= config.bin %> <%= command.id %> --cli sfdx --since 7.19.0","<%= config.bin %> <%= command.id %> --cli sf > changes.txt","<%= config.bin %> <%= command.id %> --cli sf --markdown > changes.md"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"cli":{"name":"cli","type":"option","char":"c","description":"the cli to pull information for","required":true,"options":["sf","sfdx"]},"since":{"name":"since","type":"option","char":"s","description":"the version number of the previous release. Defaults to the latest-rc version on npm"},"markdown":{"name":"markdown","type":"boolean","char":"m","description":"format the output in markdown","allowNo":false}},"args":[]},"dependabot:automerge":{"id":"dependabot:automerge","description":"automatically merge one green, mergeable PR up to the specified maximum bump type","usage":"<%= command.id %> -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--merge-method merge|squash|rebase] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --max-version-bump patch","<%= config.bin %> <%= command.id %> --max-version-bump minor","<%= config.bin %> <%= command.id %> --max-version-bump major"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"owner":{"name":"owner","type":"option","char":"o","description":"the organization that the repository belongs to. This defaults to the owner specified in the package.json"},"repo":{"name":"repo","type":"option","char":"r","description":"the repository you want to consolidate PRs on. This defaults to the repository specified in the package.json"},"max-version-bump":{"name":"max-version-bump","type":"option","char":"m","description":"the maximum version bump you want to be included","required":true,"helpValue":"(major|minor|patch)","options":["major","minor","patch"],"default":"minor"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"only show what would happen if you consolidated dependabot PRs","allowNo":false},"skip-ci":{"name":"skip-ci","type":"boolean","char":"s","description":"add [skip ci] to the merge commit title","allowNo":false},"merge-method":{"name":"merge-method","type":"option","description":"merge method to use","helpValue":"(merge|squash|rebase)","options":["merge","squash","rebase"],"default":"merge"}},"args":[]},"dependabot:consolidate":{"id":"dependabot:consolidate","description":"consolidate dependabot PRs into a single PR","usage":"<%= command.id %> -m major|minor|patch -b <string> -t <string> [--ignore <array>] [-d] [--no-pr] [-r <string> -o <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --max-version-bump patch","<%= config.bin %> <%= command.id %> --max-version-bump minor","<%= config.bin %> <%= command.id %> --max-version-bump major"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"max-version-bump":{"name":"max-version-bump","type":"option","char":"m","description":"the maximum version bump you want to be included","required":true,"helpValue":"(major|minor|patch)","options":["major","minor","patch"],"default":"minor"},"base-branch":{"name":"base-branch","type":"option","char":"b","description":"name of the base branch for merging","required":true,"default":"main"},"target-branch":{"name":"target-branch","type":"option","char":"t","description":"name of the target branch for merging","required":true,"default":"consolidate-dependabot"},"ignore":{"name":"ignore","type":"option","description":"ignore any PRs with titles that include this value","default":[]},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"only show what would happen if you consolidated dependabot PRs","allowNo":false},"no-pr":{"name":"no-pr","type":"boolean","description":"do everything but create the PR","allowNo":false},"owner":{"name":"owner","type":"option","char":"o","description":"the organization that the repository belongs to. This defaults to the owner specified in the package.json"},"repo":{"name":"repo","type":"option","char":"r","description":"the repository you want to consolidate PRs on. This defaults to the repository specified in the package.json"}},"args":[]},"repositories":{"id":"repositories","description":"list repositories owned and supported by Salesforce CLI\nFor more information on the list of repositories, visit https://github.com/salesforcecli/status.","usage":"","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --columns=url --filter='Name=sfdx-core' --no-header | xargs open","<%= config.bin %> <%= command.id %> --json | jq -r '.result[] | select(.name==\"sfdx-core\") | .packages[] | .url"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"columns":{"name":"columns","type":"option","description":"only show provided columns (comma-separated)"},"sort":{"name":"sort","type":"option","description":"property to sort by (prepend '-' for descending)"},"filter":{"name":"filter","type":"option","description":"filter property by partial string matching, ex: name=foo"},"csv":{"name":"csv","type":"boolean","description":"output is csv format [alias: --output=csv]","allowNo":false},"output":{"name":"output","type":"option","description":"output in a more machine friendly format","options":["csv","json","yaml"]},"extended":{"name":"extended","type":"boolean","char":"x","description":"show extra columns","allowNo":false},"no-truncate":{"name":"no-truncate","type":"boolean","description":"do not truncate output to fit screen","allowNo":false},"no-header":{"name":"no-header","type":"boolean","description":"hide table header from output","allowNo":false}},"args":[]},"typescript:update":{"id":"typescript:update","description":"Runs tests with updated typescript version and ES target","usage":"<%= command.id %> [-v <string>] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"version":{"name":"version","type":"option","char":"v","description":"Specify the typescript version you'd like to update to. Defaults to latest if not specified","default":"latest"},"target":{"name":"target","type":"option","char":"t","description":"Specify the ES target you'd like to use. Defaults to ESNext if not specified","default":"ESNext"}},"args":[]},"circleci:envvar:create":{"id":"circleci:envvar:create","description":"update environment variable(s) on Circle CI slug(s)\nUpdates one or more environment variables on one or more CIrcle CI slugs. The environment variables must already exist on the slug. You will be prompted for the environment variable values unless they already exist on the process. The slugs can be piped in. If so, the environment variables must be on the process (prompting is disabled).","usage":"<%= command.id %> -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -s 'gh/<org>/<repository>'","echo \"gh/<org>/<repository>\" | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR'","<%= config.bin %> circleci -t plugin | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"slug":{"name":"slug","type":"option","char":"s","description":"a circle ci slugs in the format <vcs>/<org name>/<repo name>"},"envvar":{"name":"envvar","type":"option","char":"e","description":"a environment variables to set on the given circle slug(s)","required":true},"dryrun":{"name":"dryrun","type":"boolean","description":"do validation but do not update the environment variable values","allowNo":false}},"args":[]},"circleci:envvar:update":{"id":"circleci:envvar:update","description":"update environment variable(s) on Circle CI slug(s)\nUpdates one or more environment variables on one or more CIrcle CI slugs. The environment variables must already exist on the slug. You will be prompted for the environment variable values unless they already exist on the process. The slugs can be piped in. If so, the environment variables must be on the process (prompting is disabled).","usage":"<%= command.id %> -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -s 'gh/<org>/<repository>'","echo \"gh/<org>/<repository>\" | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR'","<%= config.bin %> circleci -t plugin | <%= config.bin %> <%= command.id %> -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"slug":{"name":"slug","type":"option","char":"s","description":"a circle ci slugs in the format <vcs>/<org name>/<repo name>"},"envvar":{"name":"envvar","type":"option","char":"e","description":"a environment variables to set on the given circle slug(s)","required":true},"dryrun":{"name":"dryrun","type":"boolean","description":"do validation but do not update the environment variable values","allowNo":false}},"args":[]},"cli:install:test":{"id":"cli:install:test","description":"install sf or sfdx","usage":"<%= command.id %> -c <string> -m <string> [--channel <string>] [--output-file <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --cli sfdx --method installer","<%= config.bin %> <%= command.id %> --cli sfdx --method npm","<%= config.bin %> <%= command.id %> --cli sfdx --method tarball","<%= config.bin %> <%= command.id %> --cli sf --method tarball","<%= config.bin %> <%= command.id %> --cli sf --method tarball --channel stable-rc"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"cli":{"name":"cli","type":"option","char":"c","description":"the cli to install","required":true,"options":["sf","sfdx"]},"method":{"name":"method","type":"option","char":"m","description":"the installation method to use","required":true,"options":["installer","npm","tarball"]},"channel":{"name":"channel","type":"option","description":"the channel to install from","options":["legacy","stable","stable-rc","latest","latest-rc"],"default":"stable"},"output-file":{"name":"output-file","type":"option","description":"the file to write the JSON results to (must be .json)","default":"test-results.json"}},"args":[]},"cli:latestrc:build":{"id":"cli:latestrc:build","description":"creates a PR to the repository property defined in the package.json to release a latest-rc build","usage":"<%= command.id %> [--rctag <string>] [--resolutions] [--pinned-deps] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"rctag":{"name":"rctag","type":"option","description":"the tag name that corresponds to the npm RC build, usually latest-rc or stable-rc","default":"latest-rc"},"resolutions":{"name":"resolutions","type":"boolean","description":"bump the versions of packages listed in the resolutions section","allowNo":true},"pinned-deps":{"name":"pinned-deps","type":"boolean","description":"bump the versions of the packages listed in the pinnedDependencies section","allowNo":true}},"args":[]},"cli:schemas:collect":{"id":"cli:schemas:collect","description":"collect schemas from installed plugins","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"cli:schemas:compare":{"id":"cli:schemas:compare","description":"compare schemas from installed plugins","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"cli:tarballs:prepare":{"id":"cli:tarballs:prepare","description":"remove unnecessary files from node_modules","usage":"<%= command.id %> [-d] [-t] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"only show what would be removed from node_modules","allowNo":false},"types":{"name":"types","type":"boolean","char":"t","description":"remove all types (.d.ts) files from node_modules ","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"show all files paths being removed","allowNo":false}},"args":[]},"cli:tarballs:smoke":{"id":"cli:tarballs:smoke","description":"smoke tests for the tarballed CLI\n Tests that the CLI and every command can be initialized.","usage":"<%= command.id %> -c <string> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --cli sfdx","<%= config.bin %> <%= command.id %> --cli sf"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"cli":{"name":"cli","type":"option","char":"c","description":"the cli to install","required":true,"options":["sf","sfdx"]},"verbose":{"name":"verbose","type":"boolean","description":"show the --help output for each command","allowNo":false}},"args":[]},"cli:tarballs:verify":{"id":"cli:tarballs:verify","description":"verify that tarballs are ready to be uploaded","usage":"<%= command.id %> [-c sf|sfdx] [-w <number>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>","<%= config.bin %> <%= command.id %> --cli sfdx","<%= config.bin %> <%= command.id %> --cli sf"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"cli":{"name":"cli","type":"option","char":"c","description":"the cli to verify","helpValue":"(sf|sfdx)","options":["sf","sfdx"],"default":"sfdx"},"windows-username-buffer":{"name":"windows-username-buffer","type":"option","char":"w","description":"the number of characters to allow for windows usernames","default":41}},"args":[]},"cli:versions:inspect":{"id":"cli:versions:inspect","description":"inspect the CLI version across all install paths","usage":"<%= command.id %> -c <string> -l <string> --cli sf|sfdx [-d <string>] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> -l archive -c stable","<%= config.bin %> <%= command.id %> -l archive -c stable-rc","<%= config.bin %> <%= command.id %> -l archive npm -c stable","<%= config.bin %> <%= command.id %> -l archive npm -c latest","<%= config.bin %> <%= command.id %> -l archive npm -c latest latest-rc","<%= config.bin %> <%= command.id %> -l archive npm -c stable stable-rc","<%= config.bin %> <%= command.id %> -l npm -c latest --salesforce","<%= config.bin %> <%= command.id %> -l npm -c latest -d @salesforce/core","<%= config.bin %> <%= command.id %> -l npm -c latest -d @salesforce/**/ salesforce-alm","<%= config.bin %> <%= command.id %> -l npm -c latest -d chalk -s"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dependencies":{"name":"dependencies","type":"option","char":"d","description":"glob pattern of dependencies you want to see the version of"},"salesforce":{"name":"salesforce","type":"boolean","char":"s","description":"show versions of salesforce owned dependencies","allowNo":false},"channels":{"name":"channels","type":"option","char":"c","description":"the channel you want to inspect (for achives, latest and latest-rc are translated to stable and stable-rc. And vice-versa for npm)","required":true,"options":["legacy","stable","stable-rc","latest","latest-rc"]},"locations":{"name":"locations","type":"option","char":"l","description":"the location you want to inspect","required":true,"options":["archive","npm"]},"cli":{"name":"cli","type":"option","description":"the CLI you want to inspect","required":true,"helpValue":"(sf|sfdx)","options":["sf","sfdx"],"default":"sfdx"}},"args":[]},"npm:dependencies:pin":{"id":"npm:dependencies:pin","description":"lock a list of dependencies to a target tag or default to 'latest', place these entries in 'pinnedDependencies' entry in the package.json","usage":"<%= command.id %> [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, will not make any changes to the package.json","allowNo":false},"tag":{"name":"tag","type":"option","char":"t","description":"The name of the tag you want, e.g. 'latest-rc', or 'latest'","default":"latest"}},"args":[]},"npm:lerna:release":{"id":"npm:lerna:release","description":"publish npm packages from a lerna repository","usage":"<%= command.id %> [-d] [-s <array>] [-t <string>] [-a <string>] [--install] [--githubrelease] [--verify] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"if true, will not commit changes to repo or push any tags","allowNo":false},"sign":{"name":"sign","type":"option","char":"s","description":"list of packages to be signed. Should match the name property of the package.json"},"npmtag":{"name":"npmtag","type":"option","char":"t","description":"tag to use when publishing to npm","default":"latest"},"npmaccess":{"name":"npmaccess","type":"option","char":"a","description":"access level to use when publishing to npm","default":"public"},"install":{"name":"install","type":"boolean","description":"run yarn install and build on repository","allowNo":true},"githubrelease":{"name":"githubrelease","type":"boolean","description":"create release in github based on the package changes","allowNo":false},"verify":{"name":"verify","type":"boolean","description":"verify npm registry has new version after publish and digital signature","allowNo":true}},"args":[]},"npm:package:promote":{"id":"npm:package:promote","description":"promote an npm package","usage":"<%= command.id %> -c <string> [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> --candidate latest-rc --target latest"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, only show what would happen","allowNo":false},"target":{"name":"target","type":"option","char":"t","description":"the npm tag that you are promoting to","default":"latest"},"candidate":{"name":"candidate","type":"option","char":"c","description":"the npm tag that you want to promote","required":true}},"args":[]},"npm:package:release":{"id":"npm:package:release","description":"publish npm package","usage":"<%= command.id %> [-d] [-s] [-t <string>] [-a <string>] [--install] [--prerelease <string>] [--verify] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"dryrun":{"name":"dryrun","type":"boolean","char":"d","description":"If true, will not commit changes to repo or push any tags","allowNo":false},"sign":{"name":"sign","type":"boolean","char":"s","description":"If true, then the package will be signed and the signature will be uploaded to S3","allowNo":false},"npmtag":{"name":"npmtag","type":"option","char":"t","description":"tag to use when publishing to npm","default":"latest"},"npmaccess":{"name":"npmaccess","type":"option","char":"a","description":"access level to use when publishing to npm","default":"public"},"install":{"name":"install","type":"boolean","description":"run yarn install and build on repository","allowNo":true},"prerelease":{"name":"prerelease","type":"option","description":"determine the next version as <version>-<prerelease>.0 if version is not manually set"},"verify":{"name":"verify","type":"boolean","description":"verify npm registry has new version after publish and digital signature","allowNo":true}},"args":[]},"npm:release:validate":{"id":"npm:release:validate","description":"inspects the git commits to see if there are any commits that will warrant a new release","usage":"<%= command.id %> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-release-management","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"verbose":{"name":"verbose","type":"boolean","description":"show all commits for all packages (only works with --json flag)","allowNo":false}},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-release-management",
|
|
3
3
|
"description": "A plugin for preparing and publishing npm packages",
|
|
4
|
-
"version": "2.10.
|
|
4
|
+
"version": "2.10.3",
|
|
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.10.
|
|
196
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.10.
|
|
195
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.10.3.crt",
|
|
196
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/2.10.3.sig"
|
|
197
197
|
}
|
|
198
198
|
}
|