@oclif/plugin-version 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,289 @@
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.0.0](https://github.com/oclif/plugin-version/compare/v0.1.34...v1.0.0) (2021-12-01)
6
+
7
+
8
+ ### Features
9
+
10
+ * revive plugin-version ([3f2e733](https://github.com/oclif/plugin-version/commit/3f2e7332686547fbd92428b90931cd436a25e748))
11
+
12
+ <a name="0.1.34"></a>
13
+ ## [0.1.34](https://github.com/anycli/plugin-version/compare/cc4973888155762576863aed3cccec98c8a779e4...v0.1.34) (2018-02-03)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * remove hook in favor of flag ([13e347b](https://github.com/anycli/plugin-version/commit/13e347b))
19
+
20
+ <a name="0.1.33"></a>
21
+ ## [0.1.33](https://github.com/anycli/plugin-version/compare/f600072af0ccf146f3b53aad58f701f82235521e...v0.1.33) (2018-02-03)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * fixed manifest command ([cc49738](https://github.com/anycli/plugin-version/commit/cc49738))
27
+ * updated anycli-dev ([499b120](https://github.com/anycli/plugin-version/commit/499b120))
28
+
29
+ <a name="0.1.32"></a>
30
+ ## [0.1.32](https://github.com/anycli/plugin-version/compare/cfb1acffbfcf1d727362d0f9c6ee4b8d688e470f...v0.1.32) (2018-02-03)
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * bump deps ([f600072](https://github.com/anycli/plugin-version/commit/f600072))
36
+
37
+ <a name="0.1.31"></a>
38
+ ## [0.1.31](https://github.com/anycli/plugin-version/compare/1ebf772d2e592f3cf2f4cf4b939b0cfccf1203ac...v0.1.31) (2018-02-03)
39
+
40
+
41
+ ### Bug Fixes
42
+
43
+ * updated config ([cfb1acf](https://github.com/anycli/plugin-version/commit/cfb1acf))
44
+
45
+ <a name="0.1.30"></a>
46
+ ## [0.1.30](https://github.com/anycli/plugin-version/compare/c762f2694487ceff0221e6181458fce7609aa5f5...v0.1.30) (2018-02-02)
47
+
48
+
49
+ ### Bug Fixes
50
+
51
+ * fixing manifest ([1ebf772](https://github.com/anycli/plugin-version/commit/1ebf772))
52
+
53
+ <a name="0.1.29"></a>
54
+ ## [0.1.29](https://github.com/anycli/plugin-version/compare/082699f73f6fb582ebfdfed9ef55de223d0bf568...v0.1.29) (2018-02-02)
55
+
56
+
57
+ ### Bug Fixes
58
+
59
+ * clear cache ([c762f26](https://github.com/anycli/plugin-version/commit/c762f26))
60
+
61
+ <a name="0.1.28"></a>
62
+ ## [0.1.28](https://github.com/anycli/plugin-version/compare/1635e114e0f0f416dca4a4353c6e59f0f33b98b3...v0.1.28) (2018-02-02)
63
+
64
+
65
+ ### Bug Fixes
66
+
67
+ * updated dev-cli ([082699f](https://github.com/anycli/plugin-version/commit/082699f))
68
+
69
+ <a name="0.1.27"></a>
70
+ ## [0.1.27](https://github.com/anycli/plugin-version/compare/8b4c3a960687a1e49e1eb11a35983255a8ca5b83...v0.1.27) (2018-02-02)
71
+
72
+
73
+ ### Bug Fixes
74
+
75
+ * testing release ([1635e11](https://github.com/anycli/plugin-version/commit/1635e11))
76
+
77
+ <a name="0.1.26"></a>
78
+ ## [0.1.26](https://github.com/anycli/plugin-version/compare/v0.1.25...v0.1.26) (2018-02-02)
79
+
80
+
81
+ ### Bug Fixes
82
+
83
+ * testing release ([8b4c3a9](https://github.com/anycli/plugin-version/commit/8b4c3a9))
84
+
85
+ <a name="0.1.23"></a>
86
+ ## [0.1.23](https://github.com/anycli/plugin-version/compare/81ad2def21146ca848a0277ce5790b807e0592e4...v0.1.23) (2018-02-02)
87
+
88
+
89
+ ### Bug Fixes
90
+
91
+ * fixed manifest location ([0526abd](https://github.com/anycli/plugin-version/commit/0526abd))
92
+
93
+ <a name="0.1.22"></a>
94
+ ## [0.1.22](https://github.com/anycli/plugin-version/compare/2203a5fb396ec00a53f10fc9fa7516245b4b75b8...v0.1.22) (2018-02-02)
95
+
96
+
97
+ ### Bug Fixes
98
+
99
+ * fixed manifest location ([81ad2de](https://github.com/anycli/plugin-version/commit/81ad2de))
100
+
101
+ <a name="0.1.21"></a>
102
+ ## [0.1.21](https://github.com/anycli/plugin-version/compare/948427739fcb15375415515c320846e4a68e9e0b...v0.1.21) (2018-02-02)
103
+
104
+
105
+ ### Bug Fixes
106
+
107
+ * add plugin manifest ([2203a5f](https://github.com/anycli/plugin-version/commit/2203a5f))
108
+
109
+ <a name="0.1.20"></a>
110
+ ## [0.1.20](https://github.com/anycli/plugin-version/compare/fcd0d6c0fb2a7c1ff2882451c8bec76d734b6e9a...v0.1.20) (2018-02-02)
111
+
112
+
113
+ ### Bug Fixes
114
+
115
+ * ran generator ([9484277](https://github.com/anycli/plugin-version/commit/9484277))
116
+
117
+ <a name="0.1.19"></a>
118
+ ## [0.1.19](https://github.com/anycli/version/compare/b97d3525ee6fa2fd89846fc1989177f9096f379e...v0.1.19) (2018-02-01)
119
+
120
+
121
+ ### Bug Fixes
122
+
123
+ * updated command ([8a2f219](https://github.com/anycli/version/commit/8a2f219))
124
+
125
+ <a name="0.1.18"></a>
126
+ ## [0.1.18](https://github.com/anycli/version/compare/eb3925513fc4c79a689ca741bca161ac25e1e6a4...v0.1.18) (2018-01-31)
127
+
128
+
129
+ ### Bug Fixes
130
+
131
+ * updated command ([b97d352](https://github.com/anycli/version/commit/b97d352))
132
+
133
+ <a name="0.1.17"></a>
134
+ ## [0.1.17](https://github.com/anycli/version/compare/59156f63ac82a9e31c00ce7489c339a3f094ed78...v0.1.17) (2018-01-31)
135
+
136
+
137
+ ### Bug Fixes
138
+
139
+ * updated engine ([eb39255](https://github.com/anycli/version/commit/eb39255))
140
+
141
+ <a name="0.1.16"></a>
142
+ ## [0.1.16](https://github.com/anycli/version/compare/399ae7ca19b17a77b14c5ca65b273bad74b7aedf...v0.1.16) (2018-01-31)
143
+
144
+
145
+ ### Bug Fixes
146
+
147
+ * typescript 2.7 ([59156f6](https://github.com/anycli/version/commit/59156f6))
148
+
149
+ <a name="0.1.15"></a>
150
+ ## [0.1.15](https://github.com/anycli/version/compare/bc360cfe7554494e0ae437c15d8f8c346d25987c...v0.1.15) (2018-01-31)
151
+
152
+
153
+ ### Bug Fixes
154
+
155
+ * updated engine ([399ae7c](https://github.com/anycli/version/commit/399ae7c))
156
+
157
+ <a name="0.1.14"></a>
158
+ ## [0.1.14](https://github.com/anycli/version/compare/13ab8aac7b7a5b4063edf24f34ed5956c816d658...v0.1.14) (2018-01-31)
159
+
160
+
161
+ ### Bug Fixes
162
+
163
+ * anycli rename ([bc360cf](https://github.com/anycli/version/commit/bc360cf))
164
+
165
+ <a name="0.1.13"></a>
166
+ ## [0.1.13](https://github.com/dxcli/version/compare/36a7faf38dd1f8fe7817c6c7b18c528d9511623b...v0.1.13) (2018-01-29)
167
+
168
+
169
+ ### Bug Fixes
170
+
171
+ * ran generator ([19d3a46](https://github.com/dxcli/version/commit/19d3a46))
172
+
173
+ <a name="0.1.12"></a>
174
+ ## [0.1.12](https://github.com/dxcli/version/compare/d620e6ea18e72bd715b3cd0cab8a5ac04a1caf21...v0.1.12) (2018-01-28)
175
+
176
+
177
+ ### Bug Fixes
178
+
179
+ * updated deps and moved config to peer ([36a7faf](https://github.com/dxcli/version/commit/36a7faf))
180
+
181
+ <a name="0.1.11"></a>
182
+ ## [0.1.11](https://github.com/dxcli/version/compare/b48ae5bfcc901e0de0a45f510e7faa764a79b9f0...v0.1.11) (2018-01-28)
183
+
184
+
185
+ ### Bug Fixes
186
+
187
+ * bump deps ([d620e6e](https://github.com/dxcli/version/commit/d620e6e))
188
+
189
+ <a name="0.1.10"></a>
190
+ ## [0.1.10](https://github.com/dxcli/version/compare/bdc00c1cf6868eb0fe665805546b20949ea5debc...v0.1.10) (2018-01-28)
191
+
192
+
193
+ ### Bug Fixes
194
+
195
+ * move some deps to peer ([83d27be](https://github.com/dxcli/version/commit/83d27be))
196
+
197
+ <a name="0.1.9"></a>
198
+ ## [0.1.9](https://github.com/dxcli/version/compare/61722bdbbbfcb9406a2434529d6774fe3eb5f33b...v0.1.9) (2018-01-28)
199
+
200
+
201
+ ### Bug Fixes
202
+
203
+ * updated cli-ux ([bdc00c1](https://github.com/dxcli/version/commit/bdc00c1))
204
+
205
+ <a name="0.1.8"></a>
206
+ ## [0.1.8](https://github.com/dxcli/version/compare/f5632a2f3e12745a5dc9d531aa4e6f4c18b58b76...v0.1.8) (2018-01-28)
207
+
208
+
209
+ ### Bug Fixes
210
+
211
+ * updated deps ([61722bd](https://github.com/dxcli/version/commit/61722bd))
212
+
213
+ <a name="0.1.7"></a>
214
+ ## [0.1.7](https://github.com/dxcli/version/compare/5b57dc75115af5894f9bd120eae4b355b32ecb63...v0.1.7) (2018-01-28)
215
+
216
+
217
+ ### Bug Fixes
218
+
219
+ * ran generator ([f5632a2](https://github.com/dxcli/version/commit/f5632a2))
220
+
221
+ <a name="0.1.6"></a>
222
+ ## [0.1.6](https://github.com/dxcli/version/compare/a99fd98219bcd1959315d46df8f521381e623a5a...v0.1.6) (2018-01-27)
223
+
224
+
225
+ ### Bug Fixes
226
+
227
+ * updated deps ([5b57dc7](https://github.com/dxcli/version/commit/5b57dc7))
228
+
229
+ <a name="0.1.5"></a>
230
+ ## [0.1.5](https://github.com/dxcli/version/compare/b4eadb4a3206fedc9dde7e288c7815de5561623f...v0.1.5) (2018-01-25)
231
+
232
+
233
+ ### Bug Fixes
234
+
235
+ * updated deps ([a99fd98](https://github.com/dxcli/version/commit/a99fd98))
236
+
237
+ <a name="0.1.4"></a>
238
+ ## [0.1.4](https://github.com/dxcli/version/compare/681e3cd66ff10beb93819cc746cf4327e74fe121...v0.1.4) (2018-01-20)
239
+
240
+
241
+ ### Bug Fixes
242
+
243
+ * update deps ([b4eadb4](https://github.com/dxcli/version/commit/b4eadb4))
244
+
245
+ <a name="0.1.3"></a>
246
+ ## [0.1.3](https://github.com/dxcli/version/compare/cd2303ba1653a6911779234a4f2842379104ddb9...v0.1.3) (2018-01-20)
247
+
248
+
249
+ ### Bug Fixes
250
+
251
+ * update deps ([681e3cd](https://github.com/dxcli/version/commit/681e3cd))
252
+
253
+ <a name="0.1.2"></a>
254
+ ## [0.1.2](https://github.com/dxcli/version/compare/389957984170a73c8ea461271eb4131ebd018415...v0.1.2) (2018-01-19)
255
+
256
+
257
+ ### Bug Fixes
258
+
259
+ * set dirname ([cd2303b](https://github.com/dxcli/version/commit/cd2303b))
260
+ * updated command ([1045140](https://github.com/dxcli/version/commit/1045140))
261
+
262
+ <a name="0.1.1"></a>
263
+ ## [0.1.1](https://github.com/dxcli/version/compare/10782d6afe883a9f28b77f75ac8e3fc8d205b01d...v0.1.1) (2018-01-19)
264
+
265
+
266
+ ### Bug Fixes
267
+
268
+ * added hook test ([3899579](https://github.com/dxcli/version/commit/3899579))
269
+
270
+ <a name="0.1.0"></a>
271
+ # [0.1.0](https://github.com/dxcli/version/compare/dc31042ddccbd4a62321288c983ed2f73fda4a53...v0.1.0) (2018-01-19)
272
+
273
+
274
+ ### Bug Fixes
275
+
276
+ * updated deps ([10782d6](https://github.com/dxcli/version/commit/10782d6))
277
+
278
+
279
+ ### Features
280
+
281
+ * added hook ([c363677](https://github.com/dxcli/version/commit/c363677))
282
+
283
+ <a name="0.0.1"></a>
284
+ ## [0.0.1](https://github.com/dxcli/version/compare/0b57148487e34e668625f1233fc955e93e43f5a3...v0.0.1) (2018-01-19)
285
+
286
+
287
+ ### Bug Fixes
288
+
289
+ * updated command ([dc31042](https://github.com/dxcli/version/commit/dc31042))
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Salesforce.com
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ @oclif/plugin-version
2
+ ======================
3
+
4
+ An oclif command that shows the CLI version
5
+
6
+ [![Version](https://img.shields.io/npm/v/@oclif/plugin-version.svg)](https://npmjs.org/package/@oclif/plugin-version)
7
+ [![CircleCI](https://circleci.com/gh/anycli/plugin-version/tree/main.svg?style=svg)](https://circleci.com/gh/anycli/plugin-version/tree/main)
8
+ [![Downloads/week](https://img.shields.io/npm/dw/@oclif/plugin-version.svg)](https://npmjs.org/package/@oclif/plugin-version)
9
+ [![License](https://img.shields.io/npm/l/@oclif/plugin-version.svg)](https://github.com/anycli/plugin-version/blob/main/package.json)
@@ -0,0 +1,4 @@
1
+ import { Command } from '@oclif/core';
2
+ export default class Version extends Command {
3
+ run(): Promise<void>;
4
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const core_1 = require("@oclif/core");
4
+ const cli_ux_1 = require("cli-ux");
5
+ class Version extends core_1.Command {
6
+ async run() {
7
+ cli_ux_1.cli.log(this.config.userAgent);
8
+ }
9
+ }
10
+ exports.default = Version;
package/lib/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
package/lib/index.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {};
@@ -0,0 +1 @@
1
+ {"version":"1.0.0","commands":{"version":{"id":"version","strict":true,"pluginName":"@oclif/plugin-version","pluginAlias":"@oclif/plugin-version","pluginType":"core","aliases":[],"flags":{},"args":[]}}}
package/package.json ADDED
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "@oclif/plugin-version",
3
+ "description": "A command that shows the CLI version",
4
+ "version": "1.0.0",
5
+ "author": "Salesforce",
6
+ "bugs": "https://github.com/oclif/plugin-version/issues",
7
+ "dependencies": {
8
+ "@oclif/core": "^1.0.4",
9
+ "cli-ux": "^6"
10
+ },
11
+ "devDependencies": {
12
+ "@commitlint/config-conventional": "^12.1.4",
13
+ "@oclif/plugin-help": "^5.1.4",
14
+ "@oclif/test": "^2.0.1",
15
+ "@types/chai": "^4.1.7",
16
+ "@types/mocha": "^8.0.0",
17
+ "@types/node": "^14.0.26",
18
+ "chai": "^4.2.0",
19
+ "commitlint": "^12.1.4",
20
+ "eslint": "^7.3.1",
21
+ "eslint-config-oclif": "^4",
22
+ "eslint-config-oclif-typescript": "^1.0.2",
23
+ "husky": "6",
24
+ "mocha": "^8.2.1",
25
+ "oclif": "2.0.0-main.11",
26
+ "ts-node": "^10.4.0",
27
+ "typescript": "4.4.3"
28
+ },
29
+ "engines": {
30
+ "node": ">=12.0.0"
31
+ },
32
+ "files": [
33
+ "oclif.manifest.json",
34
+ "/lib"
35
+ ],
36
+ "homepage": "https://github.com/oclif/plugin-version",
37
+ "keywords": [
38
+ "oclif-plugin"
39
+ ],
40
+ "license": "MIT",
41
+ "main": "lib/index.js",
42
+ "oclif": {
43
+ "commands": "./lib/commands",
44
+ "devPlugins": [
45
+ "@oclif/plugin-help"
46
+ ]
47
+ },
48
+ "repository": "oclif/plugin-version",
49
+ "scripts": {
50
+ "build": "rm -rf lib && tsc",
51
+ "commitlint": "commitlint",
52
+ "clean": "rm -f oclif.manifest.json",
53
+ "lint": "eslint . --ext .ts --config .eslintrc",
54
+ "pretest": "yarn build",
55
+ "test": "mocha --forbid-only \"test/**/*.test.ts\"",
56
+ "posttest": "yarn lint",
57
+ "prepublishOnly": "yarn run build && oclif manifest . && oclif readme",
58
+ "postpublish": "yarn run clean",
59
+ "preversion": "yarn run clean",
60
+ "version": "oclif readme && git add README.md"
61
+ },
62
+ "types": "lib/index.d.ts"
63
+ }