@salesforce/plugin-release-management 2.7.1 → 2.8.2
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 +27 -12
- package/LICENSE.txt +1 -1
- package/README.md +76 -73
- package/lib/commands/cli/install/test.js +7 -11
- package/lib/commands/cli/install/test.js.map +1 -1
- package/lib/commands/cli/tarballs/verify.js +1 -2
- package/lib/commands/cli/tarballs/verify.js.map +1 -1
- package/lib/commands/npm/release/validate.d.ts +1 -0
- package/lib/commands/npm/release/validate.js +7 -2
- package/lib/commands/npm/release/validate.js.map +1 -1
- package/lib/inspectCommits.d.ts +1 -0
- package/lib/inspectCommits.js +6 -1
- package/lib/inspectCommits.js.map +1 -1
- package/lib/package.d.ts +6 -0
- package/lib/package.js +11 -2
- package/lib/package.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +18 -27
package/CHANGELOG.md
CHANGED
|
@@ -2,47 +2,62 @@
|
|
|
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.
|
|
5
|
+
### [2.8.2](https://github.com/salesforcecli/plugin-release-management/compare/v2.8.1...v2.8.2) (2021-12-09)
|
|
6
6
|
|
|
7
|
+
### [2.8.1](https://github.com/salesforcecli/plugin-release-management/compare/v2.8.0...v2.8.1) (2021-12-08)
|
|
7
8
|
|
|
8
9
|
### Bug Fixes
|
|
9
10
|
|
|
10
|
-
|
|
11
|
+
- remove expectation that sf will exist alongside sfdx npm installs ([5c6d1c5](https://github.com/salesforcecli/plugin-release-management/commit/5c6d1c53c0a97a271d2df9001cd691e195b858fb))
|
|
11
12
|
|
|
12
|
-
## [2.
|
|
13
|
+
## [2.8.0](https://github.com/salesforcecli/plugin-release-management/compare/v2.7.2...v2.8.0) (2021-12-05)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
- bump deps ([852fd58](https://github.com/salesforcecli/plugin-release-management/commit/852fd5804ba3366dc57c359a01ece350916fa615))
|
|
18
|
+
- bump deps ([816ff86](https://github.com/salesforcecli/plugin-release-management/commit/816ff8654af006ff672d3dd1ca34606c5b0951e8))
|
|
13
19
|
|
|
20
|
+
### [2.7.2](https://github.com/salesforcecli/plugin-release-management/compare/v2.7.1...v2.7.2) (2021-11-23)
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
- allow any script to be included in tarball ([#362](https://github.com/salesforcecli/plugin-release-management/issues/362)) ([1efc454](https://github.com/salesforcecli/plugin-release-management/commit/1efc454620976aef69c037a86e2183a8e3370484))
|
|
25
|
+
|
|
26
|
+
### [2.7.1](https://github.com/salesforcecli/plugin-release-management/compare/v2.7.0...v2.7.1) (2021-11-22)
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
- only set git config if does not exist ([#361](https://github.com/salesforcecli/plugin-release-management/issues/361)) ([0a0ed83](https://github.com/salesforcecli/plugin-release-management/commit/0a0ed83b252a4c7622ad74c5c4c69a9912c5fdcf))
|
|
31
|
+
|
|
32
|
+
## [2.7.0](https://github.com/salesforcecli/plugin-release-management/compare/v2.6.2...v2.7.0) (2021-11-22)
|
|
14
33
|
|
|
15
34
|
### Features
|
|
16
35
|
|
|
17
|
-
|
|
36
|
+
- add cli:tarblls:smoke ([#359](https://github.com/salesforcecli/plugin-release-management/issues/359)) ([9c9c841](https://github.com/salesforcecli/plugin-release-management/commit/9c9c841d0ce0da8d9e46af2d9fdb3a93112341f4))
|
|
18
37
|
|
|
19
38
|
### [2.6.2](https://github.com/salesforcecli/plugin-release-management/compare/v2.6.1...v2.6.2) (2021-11-22)
|
|
20
39
|
|
|
21
|
-
|
|
22
40
|
### Bug Fixes
|
|
23
41
|
|
|
24
|
-
|
|
42
|
+
- properly skip pr validation ([#358](https://github.com/salesforcecli/plugin-release-management/issues/358)) ([012eb13](https://github.com/salesforcecli/plugin-release-management/commit/012eb1389fbecae7c58cf4d3493f589fe653502f))
|
|
25
43
|
|
|
26
44
|
### [2.6.1](https://github.com/salesforcecli/plugin-release-management/compare/v2.6.0...v2.6.1) (2021-11-11)
|
|
27
45
|
|
|
28
|
-
|
|
29
46
|
### Bug Fixes
|
|
30
47
|
|
|
31
|
-
|
|
48
|
+
- allow verifying stable-rc channel for sf ([a64d801](https://github.com/salesforcecli/plugin-release-management/commit/a64d801f87ff38a96b87626ae4a7c5331a981853))
|
|
32
49
|
|
|
33
50
|
## [2.6.0](https://github.com/salesforcecli/plugin-release-management/compare/v2.5.3...v2.6.0) (2021-11-08)
|
|
34
51
|
|
|
35
|
-
|
|
36
52
|
### Features
|
|
37
53
|
|
|
38
|
-
|
|
54
|
+
- add command to pull info for release notes ([#338](https://github.com/salesforcecli/plugin-release-management/issues/338)) ([da2f2e0](https://github.com/salesforcecli/plugin-release-management/commit/da2f2e0a7dffb9010efdccc3a59eb9fdc4638711))
|
|
39
55
|
|
|
40
56
|
### [2.5.3](https://github.com/salesforcecli/plugin-release-management/compare/v2.5.2...v2.5.3) (2021-11-04)
|
|
41
57
|
|
|
42
|
-
|
|
43
58
|
### Bug Fixes
|
|
44
59
|
|
|
45
|
-
|
|
60
|
+
- sf install dir ([00b1c1e](https://github.com/salesforcecli/plugin-release-management/commit/00b1c1e212297c89d67c95a34d6d4b79f4fde6d1))
|
|
46
61
|
|
|
47
62
|
### [2.5.2](https://github.com/salesforcecli/plugin-release-management/compare/v2.5.1...v2.5.2) (2021-10-26)
|
|
48
63
|
|
package/LICENSE.txt
CHANGED
package/README.md
CHANGED
|
@@ -99,38 +99,40 @@ sfdx plugins
|
|
|
99
99
|
# Commands
|
|
100
100
|
|
|
101
101
|
<!-- commands -->
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
102
|
+
|
|
103
|
+
- [`sfdx channel:promote -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]`](#sfdx-channelpromote--t-string--c-sfsfdx--d--p-array--m-number--i--x--t-array--t-string-----c-string---s-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
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
|
+
- [`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
|
+
- [`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)
|
|
108
|
+
- [`sfdx cli:latestrc:build [--rctag <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clilatestrcbuild---rctag-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
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
|
+
- [`sfdx cli:schemas:collect [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clischemascollect---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
111
|
+
- [`sfdx cli:schemas:compare [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clischemascompare---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
112
|
+
- [`sfdx cli:tarballs:prepare [-d] [-t] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clitarballsprepare--d--t---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
113
|
+
- [`sfdx cli:tarballs:smoke -c <string> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clitarballssmoke--c-string---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
114
|
+
- [`sfdx cli:tarballs:verify [-c sf|sfdx] [-w <number>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-clitarballsverify--c-sfsfdx--w-number---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
115
|
+
- [`sfdx cli:versions:inspect -c <string> -l <string> --cli sf|sfdx [-d <string>] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-cliversionsinspect--c-string--l-string---cli-sfsfdx--d-string--s---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
116
|
+
- [`sfdx dependabot:automerge -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-dependabotautomerge--m-majorminorpatch--r-string--o-string--d--s---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
117
|
+
- [`sfdx dependabot:consolidate -m major|minor|patch -b <string> -t <string> [--ignore <array>] [-d] [--no-pr] [-r <string> -o <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-dependabotconsolidate--m-majorminorpatch--b-string--t-string---ignore-array--d---no-pr--r-string--o-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
118
|
+
- [`sfdx npm:dependencies:pin [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-npmdependenciespin--d--t-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
119
|
+
- [`sfdx npm:lerna:release [-d] [-s <array>] [-t <string>] [-a <string>] [--install] [--githubrelease] [--verify] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-npmlernarelease--d--s-array--t-string--a-string---install---githubrelease---verify---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
120
|
+
- [`sfdx npm:package:promote -c <string> [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-npmpackagepromote--c-string--d--t-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
121
|
+
- [`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]`](#sfdx-npmpackagerelease--d--s--t-string--a-string---install---prerelease-string---verify---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
122
|
+
- [`sfdx npm:release:validate [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-npmreleasevalidate---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
123
|
+
- [`sfdx plugins:trust:verify -n <string> [-r <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-pluginstrustverify--n-string--r-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
124
|
+
- [`sfdx `](#sfdx-)
|
|
125
|
+
- [`sfdx typescript:update [-v <string>] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-typescriptupdate--v-string--t-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
126
|
+
|
|
127
|
+
## `sfdx channel:promote -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]`
|
|
127
128
|
|
|
128
129
|
promote a s3 channel
|
|
129
130
|
|
|
130
131
|
```
|
|
131
132
|
USAGE
|
|
132
|
-
$ sfdx channel:promote -t <string> -c sf|sfdx [-d] [-p <array>] [-m <number>] [-i] [-x] [-T <array>] [-T <string> | |
|
|
133
|
-
|
|
133
|
+
$ sfdx channel:promote -t <string> -c sf|sfdx [-d] [-p <array>] [-m <number>] [-i] [-x] [-T <array>] [-T <string> | |
|
|
134
|
+
[-C <string> | -s <string>]] [--json] [--loglevel
|
|
135
|
+
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
134
136
|
|
|
135
137
|
OPTIONS
|
|
136
138
|
-C, --candidate=candidate the channel name that you want to
|
|
@@ -172,7 +174,7 @@ EXAMPLE
|
|
|
172
174
|
sfdx channel:promote --candidate latest-rc --target latest --platform win --platform mac
|
|
173
175
|
```
|
|
174
176
|
|
|
175
|
-
_See code: [src/commands/channel/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
177
|
+
_See code: [src/commands/channel/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/channel/promote.ts)_
|
|
176
178
|
|
|
177
179
|
## `sfdx circleci [-t plugin|library|orb] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
178
180
|
|
|
@@ -180,7 +182,7 @@ list known Circle CI slugs from 'sfdx repositories'
|
|
|
180
182
|
|
|
181
183
|
```
|
|
182
184
|
USAGE
|
|
183
|
-
$ sfdx circleci [-t plugin|library|orb] [--json] [--loglevel
|
|
185
|
+
$ sfdx circleci [-t plugin|library|orb] [--json] [--loglevel
|
|
184
186
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
185
187
|
|
|
186
188
|
OPTIONS
|
|
@@ -194,7 +196,7 @@ EXAMPLE
|
|
|
194
196
|
sfdx circleci -t plugin
|
|
195
197
|
```
|
|
196
198
|
|
|
197
|
-
_See code: [src/commands/circleci/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
199
|
+
_See code: [src/commands/circleci/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/circleci/index.ts)_
|
|
198
200
|
|
|
199
201
|
## `sfdx circleci:envvar:create -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
200
202
|
|
|
@@ -202,7 +204,7 @@ update environment variable(s) on Circle CI slug(s)
|
|
|
202
204
|
|
|
203
205
|
```
|
|
204
206
|
USAGE
|
|
205
|
-
$ sfdx circleci:envvar:create -e <string> [-s <string>] [--dryrun] [--json] [--loglevel
|
|
207
|
+
$ sfdx circleci:envvar:create -e <string> [-s <string>] [--dryrun] [--json] [--loglevel
|
|
206
208
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
207
209
|
|
|
208
210
|
OPTIONS
|
|
@@ -221,8 +223,8 @@ OPTIONS
|
|
|
221
223
|
this command invocation
|
|
222
224
|
|
|
223
225
|
DESCRIPTION
|
|
224
|
-
Updates one or more environment variables on one or more CIrcle CI slugs. The environment variables must already exist
|
|
225
|
-
|
|
226
|
+
Updates one or more environment variables on one or more CIrcle CI slugs. The environment variables must already exist
|
|
227
|
+
on the slug. You will be prompted for the environment variable values unless they already exist on the process. The
|
|
226
228
|
slugs can be piped in. If so, the environment variables must be on the process (prompting is disabled).
|
|
227
229
|
|
|
228
230
|
EXAMPLES
|
|
@@ -231,7 +233,7 @@ EXAMPLES
|
|
|
231
233
|
sfdx circleci -t plugin | sfdx circleci:envvar:create -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'
|
|
232
234
|
```
|
|
233
235
|
|
|
234
|
-
_See code: [src/commands/circleci/envvar/create.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
236
|
+
_See code: [src/commands/circleci/envvar/create.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/circleci/envvar/create.ts)_
|
|
235
237
|
|
|
236
238
|
## `sfdx circleci:envvar:update -e <string> [-s <string>] [--dryrun] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
237
239
|
|
|
@@ -239,7 +241,7 @@ update environment variable(s) on Circle CI slug(s)
|
|
|
239
241
|
|
|
240
242
|
```
|
|
241
243
|
USAGE
|
|
242
|
-
$ sfdx circleci:envvar:update -e <string> [-s <string>] [--dryrun] [--json] [--loglevel
|
|
244
|
+
$ sfdx circleci:envvar:update -e <string> [-s <string>] [--dryrun] [--json] [--loglevel
|
|
243
245
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
244
246
|
|
|
245
247
|
OPTIONS
|
|
@@ -258,8 +260,8 @@ OPTIONS
|
|
|
258
260
|
this command invocation
|
|
259
261
|
|
|
260
262
|
DESCRIPTION
|
|
261
|
-
Updates one or more environment variables on one or more CIrcle CI slugs. The environment variables must already exist
|
|
262
|
-
|
|
263
|
+
Updates one or more environment variables on one or more CIrcle CI slugs. The environment variables must already exist
|
|
264
|
+
on the slug. You will be prompted for the environment variable values unless they already exist on the process. The
|
|
263
265
|
slugs can be piped in. If so, the environment variables must be on the process (prompting is disabled).
|
|
264
266
|
|
|
265
267
|
EXAMPLES
|
|
@@ -268,7 +270,7 @@ EXAMPLES
|
|
|
268
270
|
sfdx circleci -t plugin | sfdx circleci:envvar:update -e 'MY_ENV_VAR' -e 'MY_OTHER_ENV_VAR'
|
|
269
271
|
```
|
|
270
272
|
|
|
271
|
-
_See code: [src/commands/circleci/envvar/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
273
|
+
_See code: [src/commands/circleci/envvar/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/circleci/envvar/update.ts)_
|
|
272
274
|
|
|
273
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]`
|
|
274
276
|
|
|
@@ -276,7 +278,7 @@ install sf or sfdx
|
|
|
276
278
|
|
|
277
279
|
```
|
|
278
280
|
USAGE
|
|
279
|
-
$ sfdx cli:install:test -c <string> -m <string> [--channel <string>] [--json] [--loglevel
|
|
281
|
+
$ sfdx cli:install:test -c <string> -m <string> [--channel <string>] [--json] [--loglevel
|
|
280
282
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
281
283
|
|
|
282
284
|
OPTIONS
|
|
@@ -301,7 +303,7 @@ EXAMPLES
|
|
|
301
303
|
sfdx cli:install:test --cli sf --method tarball --channel stable-rc
|
|
302
304
|
```
|
|
303
305
|
|
|
304
|
-
_See code: [src/commands/cli/install/test.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
306
|
+
_See code: [src/commands/cli/install/test.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/cli/install/test.ts)_
|
|
305
307
|
|
|
306
308
|
## `sfdx cli:latestrc:build [--rctag <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
307
309
|
|
|
@@ -309,7 +311,7 @@ creates a PR to the repository property defined in the package.json to release a
|
|
|
309
311
|
|
|
310
312
|
```
|
|
311
313
|
USAGE
|
|
312
|
-
$ sfdx cli:latestrc:build [--rctag <string>] [--json] [--loglevel
|
|
314
|
+
$ sfdx cli:latestrc:build [--rctag <string>] [--json] [--loglevel
|
|
313
315
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
314
316
|
|
|
315
317
|
OPTIONS
|
|
@@ -324,7 +326,7 @@ OPTIONS
|
|
|
324
326
|
stable-rc
|
|
325
327
|
```
|
|
326
328
|
|
|
327
|
-
_See code: [src/commands/cli/latestrc/build.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
329
|
+
_See code: [src/commands/cli/latestrc/build.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/cli/latestrc/build.ts)_
|
|
328
330
|
|
|
329
331
|
## `sfdx cli:releasenotes -c <string> [-s <string>] [-m] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
330
332
|
|
|
@@ -332,7 +334,7 @@ pull all relevant information for writing release notes.
|
|
|
332
334
|
|
|
333
335
|
```
|
|
334
336
|
USAGE
|
|
335
|
-
$ sfdx cli:releasenotes -c <string> [-s <string>] [-m] [--json] [--loglevel
|
|
337
|
+
$ sfdx cli:releasenotes -c <string> [-s <string>] [-m] [--json] [--loglevel
|
|
336
338
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
337
339
|
|
|
338
340
|
OPTIONS
|
|
@@ -362,7 +364,7 @@ EXAMPLES
|
|
|
362
364
|
sfdx cli:releasenotes --cli sf --markdown > changes.md
|
|
363
365
|
```
|
|
364
366
|
|
|
365
|
-
_See code: [src/commands/cli/releasenotes.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
367
|
+
_See code: [src/commands/cli/releasenotes.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/cli/releasenotes.ts)_
|
|
366
368
|
|
|
367
369
|
## `sfdx cli:schemas:collect [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
368
370
|
|
|
@@ -382,7 +384,7 @@ EXAMPLE
|
|
|
382
384
|
sfdx cli:schemas:collect
|
|
383
385
|
```
|
|
384
386
|
|
|
385
|
-
_See code: [src/commands/cli/schemas/collect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
387
|
+
_See code: [src/commands/cli/schemas/collect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/cli/schemas/collect.ts)_
|
|
386
388
|
|
|
387
389
|
## `sfdx cli:schemas:compare [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
388
390
|
|
|
@@ -402,7 +404,7 @@ EXAMPLE
|
|
|
402
404
|
sfdx cli:schemas:compare
|
|
403
405
|
```
|
|
404
406
|
|
|
405
|
-
_See code: [src/commands/cli/schemas/compare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
407
|
+
_See code: [src/commands/cli/schemas/compare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/cli/schemas/compare.ts)_
|
|
406
408
|
|
|
407
409
|
## `sfdx cli:tarballs:prepare [-d] [-t] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
408
410
|
|
|
@@ -410,7 +412,7 @@ remove unnecessary files from node_modules
|
|
|
410
412
|
|
|
411
413
|
```
|
|
412
414
|
USAGE
|
|
413
|
-
$ sfdx cli:tarballs:prepare [-d] [-t] [--verbose] [--json] [--loglevel
|
|
415
|
+
$ sfdx cli:tarballs:prepare [-d] [-t] [--verbose] [--json] [--loglevel
|
|
414
416
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
415
417
|
|
|
416
418
|
OPTIONS
|
|
@@ -431,7 +433,7 @@ EXAMPLE
|
|
|
431
433
|
sfdx cli:tarballs:prepare
|
|
432
434
|
```
|
|
433
435
|
|
|
434
|
-
_See code: [src/commands/cli/tarballs/prepare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
436
|
+
_See code: [src/commands/cli/tarballs/prepare.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/cli/tarballs/prepare.ts)_
|
|
435
437
|
|
|
436
438
|
## `sfdx cli:tarballs:smoke -c <string> [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
437
439
|
|
|
@@ -439,7 +441,7 @@ smoke tests for the tarballed CLI
|
|
|
439
441
|
|
|
440
442
|
```
|
|
441
443
|
USAGE
|
|
442
|
-
$ sfdx cli:tarballs:smoke -c <string> [--verbose] [--json] [--loglevel
|
|
444
|
+
$ sfdx cli:tarballs:smoke -c <string> [--verbose] [--json] [--loglevel
|
|
443
445
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
444
446
|
|
|
445
447
|
OPTIONS
|
|
@@ -460,7 +462,7 @@ EXAMPLES
|
|
|
460
462
|
sfdx cli:tarballs:smoke --cli sf
|
|
461
463
|
```
|
|
462
464
|
|
|
463
|
-
_See code: [src/commands/cli/tarballs/smoke.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
465
|
+
_See code: [src/commands/cli/tarballs/smoke.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/cli/tarballs/smoke.ts)_
|
|
464
466
|
|
|
465
467
|
## `sfdx cli:tarballs:verify [-c sf|sfdx] [-w <number>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
466
468
|
|
|
@@ -468,7 +470,7 @@ verify that tarballs are ready to be uploaded
|
|
|
468
470
|
|
|
469
471
|
```
|
|
470
472
|
USAGE
|
|
471
|
-
$ sfdx cli:tarballs:verify [-c sf|sfdx] [-w <number>] [--json] [--loglevel
|
|
473
|
+
$ sfdx cli:tarballs:verify [-c sf|sfdx] [-w <number>] [--json] [--loglevel
|
|
472
474
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
473
475
|
|
|
474
476
|
OPTIONS
|
|
@@ -489,7 +491,7 @@ EXAMPLES
|
|
|
489
491
|
sfdx cli:tarballs:verify --cli sf
|
|
490
492
|
```
|
|
491
493
|
|
|
492
|
-
_See code: [src/commands/cli/tarballs/verify.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
494
|
+
_See code: [src/commands/cli/tarballs/verify.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/cli/tarballs/verify.ts)_
|
|
493
495
|
|
|
494
496
|
## `sfdx cli:versions:inspect -c <string> -l <string> --cli sf|sfdx [-d <string>] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
495
497
|
|
|
@@ -497,7 +499,7 @@ inspect the CLI version across all install paths
|
|
|
497
499
|
|
|
498
500
|
```
|
|
499
501
|
USAGE
|
|
500
|
-
$ sfdx cli:versions:inspect -c <string> -l <string> --cli sf|sfdx [-d <string>] [-s] [--json] [--loglevel
|
|
502
|
+
$ sfdx cli:versions:inspect -c <string> -l <string> --cli sf|sfdx [-d <string>] [-s] [--json] [--loglevel
|
|
501
503
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
502
504
|
|
|
503
505
|
OPTIONS
|
|
@@ -537,7 +539,7 @@ EXAMPLES
|
|
|
537
539
|
sfdx cli:versions:inspect -l npm -c latest -d chalk -s
|
|
538
540
|
```
|
|
539
541
|
|
|
540
|
-
_See code: [src/commands/cli/versions/inspect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
542
|
+
_See code: [src/commands/cli/versions/inspect.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/cli/versions/inspect.ts)_
|
|
541
543
|
|
|
542
544
|
## `sfdx dependabot:automerge -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
543
545
|
|
|
@@ -545,7 +547,7 @@ automatically merge one green, mergeable PR up to the specified maximum bump typ
|
|
|
545
547
|
|
|
546
548
|
```
|
|
547
549
|
USAGE
|
|
548
|
-
$ sfdx dependabot:automerge -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--json] [--loglevel
|
|
550
|
+
$ sfdx dependabot:automerge -m major|minor|patch [-r <string> -o <string>] [-d] [-s] [--json] [--loglevel
|
|
549
551
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
550
552
|
|
|
551
553
|
OPTIONS
|
|
@@ -579,7 +581,7 @@ EXAMPLES
|
|
|
579
581
|
sfdx dependabot:automerge --max-version-bump major
|
|
580
582
|
```
|
|
581
583
|
|
|
582
|
-
_See code: [src/commands/dependabot/automerge.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
584
|
+
_See code: [src/commands/dependabot/automerge.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/dependabot/automerge.ts)_
|
|
583
585
|
|
|
584
586
|
## `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]`
|
|
585
587
|
|
|
@@ -587,7 +589,7 @@ consolidate dependabot PRs into a single PR
|
|
|
587
589
|
|
|
588
590
|
```
|
|
589
591
|
USAGE
|
|
590
|
-
$ sfdx dependabot:consolidate -m major|minor|patch -b <string> -t <string> [--ignore <array>] [-d] [--no-pr] [-r
|
|
592
|
+
$ sfdx dependabot:consolidate -m major|minor|patch -b <string> -t <string> [--ignore <array>] [-d] [--no-pr] [-r
|
|
591
593
|
<string> -o <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
592
594
|
|
|
593
595
|
OPTIONS
|
|
@@ -630,7 +632,7 @@ EXAMPLES
|
|
|
630
632
|
sfdx dependabot:consolidate --max-version-bump major
|
|
631
633
|
```
|
|
632
634
|
|
|
633
|
-
_See code: [src/commands/dependabot/consolidate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
635
|
+
_See code: [src/commands/dependabot/consolidate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/dependabot/consolidate.ts)_
|
|
634
636
|
|
|
635
637
|
## `sfdx npm:dependencies:pin [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
636
638
|
|
|
@@ -638,7 +640,7 @@ lock a list of dependencies to a target tag or default to 'latest', place these
|
|
|
638
640
|
|
|
639
641
|
```
|
|
640
642
|
USAGE
|
|
641
|
-
$ sfdx npm:dependencies:pin [-d] [-t <string>] [--json] [--loglevel
|
|
643
|
+
$ sfdx npm:dependencies:pin [-d] [-t <string>] [--json] [--loglevel
|
|
642
644
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
643
645
|
|
|
644
646
|
OPTIONS
|
|
@@ -655,7 +657,7 @@ OPTIONS
|
|
|
655
657
|
this command invocation
|
|
656
658
|
```
|
|
657
659
|
|
|
658
|
-
_See code: [src/commands/npm/dependencies/pin.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
660
|
+
_See code: [src/commands/npm/dependencies/pin.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/npm/dependencies/pin.ts)_
|
|
659
661
|
|
|
660
662
|
## `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]`
|
|
661
663
|
|
|
@@ -663,7 +665,7 @@ publish npm packages from a lerna repository
|
|
|
663
665
|
|
|
664
666
|
```
|
|
665
667
|
USAGE
|
|
666
|
-
$ sfdx npm:lerna:release [-d] [-s <array>] [-t <string>] [-a <string>] [--install] [--githubrelease] [--verify]
|
|
668
|
+
$ sfdx npm:lerna:release [-d] [-s <array>] [-t <string>] [-a <string>] [--install] [--githubrelease] [--verify]
|
|
667
669
|
[--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
668
670
|
|
|
669
671
|
OPTIONS
|
|
@@ -695,7 +697,7 @@ OPTIONS
|
|
|
695
697
|
after publish and digital signature
|
|
696
698
|
```
|
|
697
699
|
|
|
698
|
-
_See code: [src/commands/npm/lerna/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
700
|
+
_See code: [src/commands/npm/lerna/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/npm/lerna/release.ts)_
|
|
699
701
|
|
|
700
702
|
## `sfdx npm:package:promote -c <string> [-d] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
701
703
|
|
|
@@ -703,7 +705,7 @@ promote an npm package
|
|
|
703
705
|
|
|
704
706
|
```
|
|
705
707
|
USAGE
|
|
706
|
-
$ sfdx npm:package:promote -c <string> [-d] [-t <string>] [--json] [--loglevel
|
|
708
|
+
$ sfdx npm:package:promote -c <string> [-d] [-t <string>] [--json] [--loglevel
|
|
707
709
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
708
710
|
|
|
709
711
|
OPTIONS
|
|
@@ -724,7 +726,7 @@ EXAMPLE
|
|
|
724
726
|
sfdx npm:package:promote --candidate latest-rc --target latest
|
|
725
727
|
```
|
|
726
728
|
|
|
727
|
-
_See code: [src/commands/npm/package/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
729
|
+
_See code: [src/commands/npm/package/promote.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/npm/package/promote.ts)_
|
|
728
730
|
|
|
729
731
|
## `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]`
|
|
730
732
|
|
|
@@ -732,7 +734,7 @@ publish npm package
|
|
|
732
734
|
|
|
733
735
|
```
|
|
734
736
|
USAGE
|
|
735
|
-
$ sfdx npm:package:release [-d] [-s] [-t <string>] [-a <string>] [--install] [--prerelease <string>] [--verify]
|
|
737
|
+
$ sfdx npm:package:release [-d] [-s] [-t <string>] [-a <string>] [--install] [--prerelease <string>] [--verify]
|
|
736
738
|
[--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
737
739
|
|
|
738
740
|
OPTIONS
|
|
@@ -765,7 +767,7 @@ OPTIONS
|
|
|
765
767
|
after publish and digital signature
|
|
766
768
|
```
|
|
767
769
|
|
|
768
|
-
_See code: [src/commands/npm/package/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
770
|
+
_See code: [src/commands/npm/package/release.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/npm/package/release.ts)_
|
|
769
771
|
|
|
770
772
|
## `sfdx npm:release:validate [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
771
773
|
|
|
@@ -773,7 +775,7 @@ inspects the git commits to see if there are any commits that will warrant a new
|
|
|
773
775
|
|
|
774
776
|
```
|
|
775
777
|
USAGE
|
|
776
|
-
$ sfdx npm:release:validate [--verbose] [--json] [--loglevel
|
|
778
|
+
$ sfdx npm:release:validate [--verbose] [--json] [--loglevel
|
|
777
779
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
778
780
|
|
|
779
781
|
OPTIONS
|
|
@@ -786,7 +788,7 @@ OPTIONS
|
|
|
786
788
|
(only works with --json flag)
|
|
787
789
|
```
|
|
788
790
|
|
|
789
|
-
_See code: [src/commands/npm/release/validate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
791
|
+
_See code: [src/commands/npm/release/validate.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/npm/release/validate.ts)_
|
|
790
792
|
|
|
791
793
|
## `sfdx plugins:trust:verify -n <string> [-r <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
792
794
|
|
|
@@ -794,7 +796,7 @@ validate a digital signature for a npm package
|
|
|
794
796
|
|
|
795
797
|
```
|
|
796
798
|
USAGE
|
|
797
|
-
$ sfdx plugins:trust:verify -n <string> [-r <string>] [--json] [--loglevel
|
|
799
|
+
$ sfdx plugins:trust:verify -n <string> [-r <string>] [--json] [--loglevel
|
|
798
800
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
799
801
|
|
|
800
802
|
OPTIONS
|
|
@@ -814,7 +816,7 @@ EXAMPLES
|
|
|
814
816
|
sfdx plugins:trust:verify --npm @scope/npmName
|
|
815
817
|
```
|
|
816
818
|
|
|
817
|
-
_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/v1.0
|
|
819
|
+
_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/v1.1.0/src/commands/plugins/trust/verify.ts)_
|
|
818
820
|
|
|
819
821
|
## `sfdx `
|
|
820
822
|
|
|
@@ -859,7 +861,7 @@ EXAMPLES
|
|
|
859
861
|
sfdx repositories --json | jq -r '.result[] | select(.name=="sfdx-core") | .packages[] | .url
|
|
860
862
|
```
|
|
861
863
|
|
|
862
|
-
_See code: [src/commands/repositories/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
864
|
+
_See code: [src/commands/repositories/index.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/repositories/index.ts)_
|
|
863
865
|
|
|
864
866
|
## `sfdx typescript:update [-v <string>] [-t <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
865
867
|
|
|
@@ -867,7 +869,7 @@ Runs tests with updated typescript version and ES target
|
|
|
867
869
|
|
|
868
870
|
```
|
|
869
871
|
USAGE
|
|
870
|
-
$ sfdx typescript:update [-v <string>] [-t <string>] [--json] [--loglevel
|
|
872
|
+
$ sfdx typescript:update [-v <string>] [-t <string>] [--json] [--loglevel
|
|
871
873
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
872
874
|
|
|
873
875
|
OPTIONS
|
|
@@ -886,5 +888,6 @@ OPTIONS
|
|
|
886
888
|
this command invocation
|
|
887
889
|
```
|
|
888
890
|
|
|
889
|
-
_See code: [src/commands/typescript/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.
|
|
891
|
+
_See code: [src/commands/typescript/update.ts](https://github.com/salesforcecli/plugin-release-management/blob/v2.8.1/src/commands/typescript/update.ts)_
|
|
892
|
+
|
|
890
893
|
<!-- commandsstop -->
|
|
@@ -237,17 +237,13 @@ class Npm extends Method.Base {
|
|
|
237
237
|
test() {
|
|
238
238
|
var _a;
|
|
239
239
|
const results = {};
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
: (0, shelljs_1.exec)(`${executable} --version`, { silent: true });
|
|
248
|
-
this.logger.log(chalk.dim(((_a = result.stdout) !== null && _a !== void 0 ? _a : result.stderr).replace(/\n*$/, '')));
|
|
249
|
-
results[cli] = result.code === 0;
|
|
250
|
-
}
|
|
240
|
+
const executable = path.join(this.options.directory, 'node_modules', '.bin', this.options.cli);
|
|
241
|
+
this.logger.log(`Testing ${chalk.cyan(executable)}`);
|
|
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*$/, '')));
|
|
246
|
+
results[this.options.cli] = result.code === 0;
|
|
251
247
|
return results;
|
|
252
248
|
}
|
|
253
249
|
}
|