@oclif/plugin-version 1.1.2 → 1.1.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.
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const core_1 = require("@oclif/core");
4
- const node_os_1 = require("node:os");
4
+ // eslint-disable-next-line unicorn/prefer-node-protocol
5
+ const os_1 = require("os");
5
6
  class Version extends core_1.Command {
6
7
  async run() {
7
8
  const { flags } = await this.parse(Version);
@@ -15,7 +16,7 @@ class Version extends core_1.Command {
15
16
  pluginVersions.push(`${this.getFriendlyName(plugin.name)} ${plugin.version} (${plugin.type}) ${plugin.type === 'link' ? plugin.root : ''}`.trim());
16
17
  }
17
18
  }
18
- const osVersion = `${(0, node_os_1.type)()} ${(0, node_os_1.release)()}`;
19
+ const osVersion = `${(0, os_1.type)()} ${(0, os_1.release)()}`;
19
20
  versionDetail.pluginVersions = pluginVersions;
20
21
  versionDetail.osVersion = osVersion;
21
22
  versionDetail.shell = this.config.shell;
@@ -30,7 +31,7 @@ class Version extends core_1.Command {
30
31
  \t${nodeVersion}
31
32
 
32
33
  Plugin Version:
33
- \t${pluginVersions.join(`${node_os_1.EOL}\t`)}
34
+ \t${pluginVersions.join(`${os_1.EOL}\t`)}
34
35
 
35
36
  OS and Version:
36
37
  \t${osVersion}
@@ -1 +1 @@
1
- {"version":"1.1.2","commands":{"version":{"id":"version","strict":true,"pluginName":"@oclif/plugin-version","pluginAlias":"@oclif/plugin-version","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"verbose":{"name":"verbose","type":"boolean","summary":"Show additional information about the CLI.","description":"Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.","allowNo":false}},"args":[],"_enableJsonFlag":true,"_globalFlags":{"json":{"description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false,"type":"boolean"}}}}}
1
+ {"version":"1.1.3","commands":{"version":{"id":"version","strict":true,"pluginName":"@oclif/plugin-version","pluginAlias":"@oclif/plugin-version","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"verbose":{"name":"verbose","type":"boolean","summary":"Show additional information about the CLI.","description":"Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.","allowNo":false}},"args":[],"_enableJsonFlag":true,"_globalFlags":{"json":{"description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false,"type":"boolean"}}}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/plugin-version",
3
3
  "description": "A command that shows the CLI version",
4
- "version": "1.1.2",
4
+ "version": "1.1.3",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-version/issues",
7
7
  "dependencies": {
@@ -60,4 +60,4 @@
60
60
  "version": "oclif readme && git add README.md"
61
61
  },
62
62
  "types": "lib/index.d.ts"
63
- }
63
+ }
package/CHANGELOG.md DELETED
@@ -1,341 +0,0 @@
1
- # Changelog
2
-
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
-
5
- ### [1.1.2](https://github.com/oclif/plugin-version/compare/v1.1.1...v1.1.2) (2022-08-18)
6
-
7
-
8
- ### Bug Fixes
9
-
10
- * bump some versions ([c2d19d6](https://github.com/oclif/plugin-version/commit/c2d19d68bbb755fd844efff3ab9edb1469cd222b))
11
- * export the Version command and the VersionDetail interface. Enhance the verbose details to include the shell and root path. ([fcf6aaf](https://github.com/oclif/plugin-version/commit/fcf6aafdfb7336e982d246753a0f2f72c5383629))
12
- * relax the unit test expecations ([a6c913b](https://github.com/oclif/plugin-version/commit/a6c913b523962b95d1b9fc121be2f2d1a575c55f))
13
-
14
- ### [1.1.1](https://github.com/oclif/plugin-version/compare/v1.1.0...v1.1.1) (2022-06-27)
15
-
16
-
17
- ### Bug Fixes
18
-
19
- * add --json flag ([47d7105](https://github.com/oclif/plugin-version/commit/47d7105a4bd36f8bed8d4772485c4f5eef0fdacd))
20
- * suggestions on how to improve PR [#70](https://github.com/oclif/plugin-version/issues/70) ([4023f70](https://github.com/oclif/plugin-version/commit/4023f708204ca940b905cf98e43c0fce72a97307))
21
-
22
- ## [1.1.0](https://github.com/oclif/plugin-version/compare/v1.0.4...v1.1.0) (2022-06-13)
23
-
24
-
25
- ### Features
26
-
27
- * allow getting more info from version command ([b47a1fd](https://github.com/oclif/plugin-version/commit/b47a1fd83cc09f179e1594e94291051a043caaa8))
28
-
29
-
30
- ### Bug Fixes
31
-
32
- * unit tests & lint ([a7037af](https://github.com/oclif/plugin-version/commit/a7037af4220d06f0f1ff63e09d837e2fe06568e5))
33
-
34
- ### [1.0.4](https://github.com/oclif/plugin-version/compare/v1.0.3...v1.0.4) (2022-01-06)
35
-
36
-
37
- ### Bug Fixes
38
-
39
- * bump @oclif/core ([8e841bd](https://github.com/oclif/plugin-version/commit/8e841bd1a77fa3a6d6f450dfa5c5f06f80ebd87f))
40
-
41
- ### [1.0.3](https://github.com/oclif/plugin-version/compare/v1.0.2...v1.0.3) (2021-12-08)
42
-
43
-
44
- ### Bug Fixes
45
-
46
- * bump demps ([f2098c8](https://github.com/oclif/plugin-version/commit/f2098c819b7265eac440f2863de7d95377735ae1))
47
-
48
- ### [1.0.2](https://github.com/oclif/plugin-version/compare/v1.0.1...v1.0.2) (2021-12-02)
49
-
50
- ### [1.0.1](https://github.com/oclif/plugin-version/compare/v1.0.0...v1.0.1) (2021-12-01)
51
-
52
-
53
- ### Bug Fixes
54
-
55
- * remove cli-ux dependency ([7d0930e](https://github.com/oclif/plugin-version/commit/7d0930ee98353ba99b899c59b6b6ff56a0467d6b))
56
-
57
- ## [1.0.0](https://github.com/oclif/plugin-version/compare/v0.1.34...v1.0.0) (2021-12-01)
58
-
59
-
60
- ### Features
61
-
62
- * revive plugin-version ([3f2e733](https://github.com/oclif/plugin-version/commit/3f2e7332686547fbd92428b90931cd436a25e748))
63
-
64
- <a name="0.1.34"></a>
65
- ## [0.1.34](https://github.com/anycli/plugin-version/compare/cc4973888155762576863aed3cccec98c8a779e4...v0.1.34) (2018-02-03)
66
-
67
-
68
- ### Bug Fixes
69
-
70
- * remove hook in favor of flag ([13e347b](https://github.com/anycli/plugin-version/commit/13e347b))
71
-
72
- <a name="0.1.33"></a>
73
- ## [0.1.33](https://github.com/anycli/plugin-version/compare/f600072af0ccf146f3b53aad58f701f82235521e...v0.1.33) (2018-02-03)
74
-
75
-
76
- ### Bug Fixes
77
-
78
- * fixed manifest command ([cc49738](https://github.com/anycli/plugin-version/commit/cc49738))
79
- * updated anycli-dev ([499b120](https://github.com/anycli/plugin-version/commit/499b120))
80
-
81
- <a name="0.1.32"></a>
82
- ## [0.1.32](https://github.com/anycli/plugin-version/compare/cfb1acffbfcf1d727362d0f9c6ee4b8d688e470f...v0.1.32) (2018-02-03)
83
-
84
-
85
- ### Bug Fixes
86
-
87
- * bump deps ([f600072](https://github.com/anycli/plugin-version/commit/f600072))
88
-
89
- <a name="0.1.31"></a>
90
- ## [0.1.31](https://github.com/anycli/plugin-version/compare/1ebf772d2e592f3cf2f4cf4b939b0cfccf1203ac...v0.1.31) (2018-02-03)
91
-
92
-
93
- ### Bug Fixes
94
-
95
- * updated config ([cfb1acf](https://github.com/anycli/plugin-version/commit/cfb1acf))
96
-
97
- <a name="0.1.30"></a>
98
- ## [0.1.30](https://github.com/anycli/plugin-version/compare/c762f2694487ceff0221e6181458fce7609aa5f5...v0.1.30) (2018-02-02)
99
-
100
-
101
- ### Bug Fixes
102
-
103
- * fixing manifest ([1ebf772](https://github.com/anycli/plugin-version/commit/1ebf772))
104
-
105
- <a name="0.1.29"></a>
106
- ## [0.1.29](https://github.com/anycli/plugin-version/compare/082699f73f6fb582ebfdfed9ef55de223d0bf568...v0.1.29) (2018-02-02)
107
-
108
-
109
- ### Bug Fixes
110
-
111
- * clear cache ([c762f26](https://github.com/anycli/plugin-version/commit/c762f26))
112
-
113
- <a name="0.1.28"></a>
114
- ## [0.1.28](https://github.com/anycli/plugin-version/compare/1635e114e0f0f416dca4a4353c6e59f0f33b98b3...v0.1.28) (2018-02-02)
115
-
116
-
117
- ### Bug Fixes
118
-
119
- * updated dev-cli ([082699f](https://github.com/anycli/plugin-version/commit/082699f))
120
-
121
- <a name="0.1.27"></a>
122
- ## [0.1.27](https://github.com/anycli/plugin-version/compare/8b4c3a960687a1e49e1eb11a35983255a8ca5b83...v0.1.27) (2018-02-02)
123
-
124
-
125
- ### Bug Fixes
126
-
127
- * testing release ([1635e11](https://github.com/anycli/plugin-version/commit/1635e11))
128
-
129
- <a name="0.1.26"></a>
130
- ## [0.1.26](https://github.com/anycli/plugin-version/compare/v0.1.25...v0.1.26) (2018-02-02)
131
-
132
-
133
- ### Bug Fixes
134
-
135
- * testing release ([8b4c3a9](https://github.com/anycli/plugin-version/commit/8b4c3a9))
136
-
137
- <a name="0.1.23"></a>
138
- ## [0.1.23](https://github.com/anycli/plugin-version/compare/81ad2def21146ca848a0277ce5790b807e0592e4...v0.1.23) (2018-02-02)
139
-
140
-
141
- ### Bug Fixes
142
-
143
- * fixed manifest location ([0526abd](https://github.com/anycli/plugin-version/commit/0526abd))
144
-
145
- <a name="0.1.22"></a>
146
- ## [0.1.22](https://github.com/anycli/plugin-version/compare/2203a5fb396ec00a53f10fc9fa7516245b4b75b8...v0.1.22) (2018-02-02)
147
-
148
-
149
- ### Bug Fixes
150
-
151
- * fixed manifest location ([81ad2de](https://github.com/anycli/plugin-version/commit/81ad2de))
152
-
153
- <a name="0.1.21"></a>
154
- ## [0.1.21](https://github.com/anycli/plugin-version/compare/948427739fcb15375415515c320846e4a68e9e0b...v0.1.21) (2018-02-02)
155
-
156
-
157
- ### Bug Fixes
158
-
159
- * add plugin manifest ([2203a5f](https://github.com/anycli/plugin-version/commit/2203a5f))
160
-
161
- <a name="0.1.20"></a>
162
- ## [0.1.20](https://github.com/anycli/plugin-version/compare/fcd0d6c0fb2a7c1ff2882451c8bec76d734b6e9a...v0.1.20) (2018-02-02)
163
-
164
-
165
- ### Bug Fixes
166
-
167
- * ran generator ([9484277](https://github.com/anycli/plugin-version/commit/9484277))
168
-
169
- <a name="0.1.19"></a>
170
- ## [0.1.19](https://github.com/anycli/version/compare/b97d3525ee6fa2fd89846fc1989177f9096f379e...v0.1.19) (2018-02-01)
171
-
172
-
173
- ### Bug Fixes
174
-
175
- * updated command ([8a2f219](https://github.com/anycli/version/commit/8a2f219))
176
-
177
- <a name="0.1.18"></a>
178
- ## [0.1.18](https://github.com/anycli/version/compare/eb3925513fc4c79a689ca741bca161ac25e1e6a4...v0.1.18) (2018-01-31)
179
-
180
-
181
- ### Bug Fixes
182
-
183
- * updated command ([b97d352](https://github.com/anycli/version/commit/b97d352))
184
-
185
- <a name="0.1.17"></a>
186
- ## [0.1.17](https://github.com/anycli/version/compare/59156f63ac82a9e31c00ce7489c339a3f094ed78...v0.1.17) (2018-01-31)
187
-
188
-
189
- ### Bug Fixes
190
-
191
- * updated engine ([eb39255](https://github.com/anycli/version/commit/eb39255))
192
-
193
- <a name="0.1.16"></a>
194
- ## [0.1.16](https://github.com/anycli/version/compare/399ae7ca19b17a77b14c5ca65b273bad74b7aedf...v0.1.16) (2018-01-31)
195
-
196
-
197
- ### Bug Fixes
198
-
199
- * typescript 2.7 ([59156f6](https://github.com/anycli/version/commit/59156f6))
200
-
201
- <a name="0.1.15"></a>
202
- ## [0.1.15](https://github.com/anycli/version/compare/bc360cfe7554494e0ae437c15d8f8c346d25987c...v0.1.15) (2018-01-31)
203
-
204
-
205
- ### Bug Fixes
206
-
207
- * updated engine ([399ae7c](https://github.com/anycli/version/commit/399ae7c))
208
-
209
- <a name="0.1.14"></a>
210
- ## [0.1.14](https://github.com/anycli/version/compare/13ab8aac7b7a5b4063edf24f34ed5956c816d658...v0.1.14) (2018-01-31)
211
-
212
-
213
- ### Bug Fixes
214
-
215
- * anycli rename ([bc360cf](https://github.com/anycli/version/commit/bc360cf))
216
-
217
- <a name="0.1.13"></a>
218
- ## [0.1.13](https://github.com/dxcli/version/compare/36a7faf38dd1f8fe7817c6c7b18c528d9511623b...v0.1.13) (2018-01-29)
219
-
220
-
221
- ### Bug Fixes
222
-
223
- * ran generator ([19d3a46](https://github.com/dxcli/version/commit/19d3a46))
224
-
225
- <a name="0.1.12"></a>
226
- ## [0.1.12](https://github.com/dxcli/version/compare/d620e6ea18e72bd715b3cd0cab8a5ac04a1caf21...v0.1.12) (2018-01-28)
227
-
228
-
229
- ### Bug Fixes
230
-
231
- * updated deps and moved config to peer ([36a7faf](https://github.com/dxcli/version/commit/36a7faf))
232
-
233
- <a name="0.1.11"></a>
234
- ## [0.1.11](https://github.com/dxcli/version/compare/b48ae5bfcc901e0de0a45f510e7faa764a79b9f0...v0.1.11) (2018-01-28)
235
-
236
-
237
- ### Bug Fixes
238
-
239
- * bump deps ([d620e6e](https://github.com/dxcli/version/commit/d620e6e))
240
-
241
- <a name="0.1.10"></a>
242
- ## [0.1.10](https://github.com/dxcli/version/compare/bdc00c1cf6868eb0fe665805546b20949ea5debc...v0.1.10) (2018-01-28)
243
-
244
-
245
- ### Bug Fixes
246
-
247
- * move some deps to peer ([83d27be](https://github.com/dxcli/version/commit/83d27be))
248
-
249
- <a name="0.1.9"></a>
250
- ## [0.1.9](https://github.com/dxcli/version/compare/61722bdbbbfcb9406a2434529d6774fe3eb5f33b...v0.1.9) (2018-01-28)
251
-
252
-
253
- ### Bug Fixes
254
-
255
- * updated cli-ux ([bdc00c1](https://github.com/dxcli/version/commit/bdc00c1))
256
-
257
- <a name="0.1.8"></a>
258
- ## [0.1.8](https://github.com/dxcli/version/compare/f5632a2f3e12745a5dc9d531aa4e6f4c18b58b76...v0.1.8) (2018-01-28)
259
-
260
-
261
- ### Bug Fixes
262
-
263
- * updated deps ([61722bd](https://github.com/dxcli/version/commit/61722bd))
264
-
265
- <a name="0.1.7"></a>
266
- ## [0.1.7](https://github.com/dxcli/version/compare/5b57dc75115af5894f9bd120eae4b355b32ecb63...v0.1.7) (2018-01-28)
267
-
268
-
269
- ### Bug Fixes
270
-
271
- * ran generator ([f5632a2](https://github.com/dxcli/version/commit/f5632a2))
272
-
273
- <a name="0.1.6"></a>
274
- ## [0.1.6](https://github.com/dxcli/version/compare/a99fd98219bcd1959315d46df8f521381e623a5a...v0.1.6) (2018-01-27)
275
-
276
-
277
- ### Bug Fixes
278
-
279
- * updated deps ([5b57dc7](https://github.com/dxcli/version/commit/5b57dc7))
280
-
281
- <a name="0.1.5"></a>
282
- ## [0.1.5](https://github.com/dxcli/version/compare/b4eadb4a3206fedc9dde7e288c7815de5561623f...v0.1.5) (2018-01-25)
283
-
284
-
285
- ### Bug Fixes
286
-
287
- * updated deps ([a99fd98](https://github.com/dxcli/version/commit/a99fd98))
288
-
289
- <a name="0.1.4"></a>
290
- ## [0.1.4](https://github.com/dxcli/version/compare/681e3cd66ff10beb93819cc746cf4327e74fe121...v0.1.4) (2018-01-20)
291
-
292
-
293
- ### Bug Fixes
294
-
295
- * update deps ([b4eadb4](https://github.com/dxcli/version/commit/b4eadb4))
296
-
297
- <a name="0.1.3"></a>
298
- ## [0.1.3](https://github.com/dxcli/version/compare/cd2303ba1653a6911779234a4f2842379104ddb9...v0.1.3) (2018-01-20)
299
-
300
-
301
- ### Bug Fixes
302
-
303
- * update deps ([681e3cd](https://github.com/dxcli/version/commit/681e3cd))
304
-
305
- <a name="0.1.2"></a>
306
- ## [0.1.2](https://github.com/dxcli/version/compare/389957984170a73c8ea461271eb4131ebd018415...v0.1.2) (2018-01-19)
307
-
308
-
309
- ### Bug Fixes
310
-
311
- * set dirname ([cd2303b](https://github.com/dxcli/version/commit/cd2303b))
312
- * updated command ([1045140](https://github.com/dxcli/version/commit/1045140))
313
-
314
- <a name="0.1.1"></a>
315
- ## [0.1.1](https://github.com/dxcli/version/compare/10782d6afe883a9f28b77f75ac8e3fc8d205b01d...v0.1.1) (2018-01-19)
316
-
317
-
318
- ### Bug Fixes
319
-
320
- * added hook test ([3899579](https://github.com/dxcli/version/commit/3899579))
321
-
322
- <a name="0.1.0"></a>
323
- # [0.1.0](https://github.com/dxcli/version/compare/dc31042ddccbd4a62321288c983ed2f73fda4a53...v0.1.0) (2018-01-19)
324
-
325
-
326
- ### Bug Fixes
327
-
328
- * updated deps ([10782d6](https://github.com/dxcli/version/commit/10782d6))
329
-
330
-
331
- ### Features
332
-
333
- * added hook ([c363677](https://github.com/dxcli/version/commit/c363677))
334
-
335
- <a name="0.0.1"></a>
336
- ## [0.0.1](https://github.com/dxcli/version/compare/0b57148487e34e668625f1233fc955e93e43f5a3...v0.0.1) (2018-01-19)
337
-
338
-
339
- ### Bug Fixes
340
-
341
- * updated command ([dc31042](https://github.com/dxcli/version/commit/dc31042))