oclif 2.1.1 → 2.1.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/.oclif.manifest.json +1 -1
- package/CHANGELOG.md +7 -0
- package/README.md +12 -12
- package/package.json +6 -1
package/.oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.1.
|
|
1
|
+
{"version":"2.1.2","commands":{"generate":{"id":"generate","description":"generate a new CLI\nThis will clone the template repo 'oclif/hello-world' and update package properties","strict":true,"pluginName":"oclif","pluginAlias":"oclif","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"name","description":"directory name of new project","required":true}]},"manifest":{"id":"manifest","description":"generates plugin manifest json","strict":true,"pluginName":"oclif","pluginAlias":"oclif","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"path to plugin","default":"."}]},"promote":{"id":"promote","description":"promote CLI builds to a S3 release channel","strict":true,"pluginName":"oclif","pluginAlias":"oclif","pluginType":"core","aliases":[],"flags":{"root":{"name":"root","type":"option","char":"r","description":"path to the oclif CLI project root","required":true,"multiple":false,"default":"."},"version":{"name":"version","type":"option","description":"semantic version of the CLI to promote","required":true,"multiple":false},"sha":{"name":"sha","type":"option","description":"7-digit short git commit SHA of the CLI to promote","required":true,"multiple":false},"channel":{"name":"channel","type":"option","description":"which channel to promote to","required":true,"multiple":false,"default":"stable"},"targets":{"name":"targets","type":"option","char":"t","description":"comma-separated targets to promote (e.g.: linux-arm,win32-x64)","multiple":false,"default":"linux-x64,linux-arm,win32-x64,win32-x86,darwin-x64,darwin-arm64"},"deb":{"name":"deb","type":"boolean","char":"d","description":"promote debian artifacts","allowNo":false},"macos":{"name":"macos","type":"boolean","char":"m","description":"promote macOS pkg","allowNo":false},"win":{"name":"win","type":"boolean","char":"w","description":"promote Windows exe","allowNo":false},"max-age":{"name":"max-age","type":"option","char":"a","description":"cache control max-age in seconds","multiple":false,"default":"86400"},"xz":{"name":"xz","type":"boolean","description":"also upload xz","allowNo":true},"indexes":{"name":"indexes","type":"boolean","description":"append the promoted urls into the index files","allowNo":false}},"args":[]},"readme":{"id":"readme","description":"adds commands to README.md in current directory\nThe readme must have any of the following tags inside of it for it to be replaced or else it will do nothing:\n# Usage\n<!-- usage -->\n# Commands\n<!-- commands -->\n\nCustomize the code URL prefix by setting oclif.repositoryPrefix in package.json.\n","strict":true,"pluginName":"oclif","pluginAlias":"oclif","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","description":"output directory for multi docs","required":true,"multiple":false,"default":"docs"},"multi":{"name":"multi","type":"boolean","description":"create a different markdown page for each topic","allowNo":false}},"args":[]},"pack:deb":{"id":"pack:deb","description":"pack CLI into debian package","strict":true,"pluginName":"oclif","pluginAlias":"oclif","pluginType":"core","aliases":[],"flags":{"root":{"name":"root","type":"option","char":"r","description":"path to oclif CLI root","required":true,"multiple":false,"default":"."}},"args":[]},"pack:macos":{"id":"pack:macos","description":"pack CLI into macOS .pkg","strict":true,"pluginName":"oclif","pluginAlias":"oclif","pluginType":"core","aliases":[],"flags":{"root":{"name":"root","type":"option","char":"r","description":"path to oclif CLI root","required":true,"multiple":false,"default":"."},"additional-cli":{"name":"additional-cli","type":"option","description":"an Oclif CLI other than the one listed in config.bin that should be made available to the user\nthe CLI should already exist in a directory named after the CLI that is the root of the tarball produced by \"oclif pack:tarballs\"","hidden":true,"multiple":false}},"args":[]},"pack:tarballs":{"id":"pack:tarballs","description":"packages oclif CLI into tarballs\n\nThis can be used to create oclif CLIs that use the system node or that come preloaded with a node binary.\n","strict":true,"pluginName":"oclif","pluginAlias":"oclif","pluginType":"core","aliases":[],"flags":{"root":{"name":"root","type":"option","char":"r","description":"path to oclif CLI root","required":true,"multiple":false,"default":"."},"targets":{"name":"targets","type":"option","char":"t","description":"comma-separated targets to pack (e.g.: linux-arm,win32-x64)","multiple":false,"default":"linux-x64,linux-arm,win32-x64,win32-x86,darwin-x64,darwin-arm64"},"xz":{"name":"xz","type":"boolean","description":"also build xz","allowNo":true}},"args":[]},"pack:win":{"id":"pack:win","description":"create windows installer from oclif CLI\n\n This command requires WINDOWS_SIGNING (prefixed with the name of your executable, e.g. OCLIF_WINDOWS_SIGNING_PASS) to be set in the environment","strict":true,"pluginName":"oclif","pluginAlias":"oclif","pluginType":"core","aliases":[],"flags":{"root":{"name":"root","type":"option","char":"r","description":"path to oclif CLI root","required":true,"multiple":false,"default":"."},"additional-cli":{"name":"additional-cli","type":"option","description":"an Oclif CLI other than the one listed in config.bin that should be made available to the user\nthe CLI should already exist in a directory named after the CLI that is the root of the tarball produced by \"oclif pack:tarballs\"","hidden":true,"multiple":false}},"args":[]},"upload:deb":{"id":"upload:deb","description":"upload deb package built with pack:deb","strict":true,"pluginName":"oclif","pluginAlias":"oclif","pluginType":"core","aliases":[],"flags":{"root":{"name":"root","type":"option","char":"r","description":"path to oclif CLI root","required":true,"multiple":false,"default":"."}},"args":[]},"upload:macos":{"id":"upload:macos","description":"upload macos installers built with pack:macos","strict":true,"pluginName":"oclif","pluginAlias":"oclif","pluginType":"core","aliases":[],"flags":{"root":{"name":"root","type":"option","char":"r","description":"path to oclif CLI root","required":true,"multiple":false,"default":"."}},"args":[]},"upload:tarballs":{"id":"upload:tarballs","description":"upload an oclif CLI to S3\n\n\"aws-sdk\" will need to be installed as a devDependency to upload.\n","strict":true,"pluginName":"oclif","pluginAlias":"oclif","pluginType":"core","aliases":[],"flags":{"root":{"name":"root","type":"option","char":"r","description":"path to oclif CLI root","required":true,"multiple":false,"default":"."},"targets":{"name":"targets","type":"option","char":"t","description":"comma-separated targets to upload (e.g.: linux-arm,win32-x64)","multiple":false,"default":"linux-x64,linux-arm,win32-x64,win32-x86,darwin-x64,darwin-arm64"},"xz":{"name":"xz","type":"boolean","description":"also upload xz","allowNo":true}},"args":[]},"upload:win":{"id":"upload:win","description":"upload windows installers built with pack:win","strict":true,"pluginName":"oclif","pluginAlias":"oclif","pluginType":"core","aliases":[],"flags":{"root":{"name":"root","type":"option","char":"r","description":"path to oclif CLI root","required":true,"multiple":false,"default":"."}},"args":[]}}}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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.1.2](https://github.com/oclif/oclif/compare/v2.1.1...v2.1.2) (2022-01-08)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* add override for colors ([8bb26b0](https://github.com/oclif/oclif/commit/8bb26b01859165de8759529f8b61ae28cf25b748))
|
|
11
|
+
|
|
5
12
|
### [2.1.1](https://github.com/oclif/oclif/compare/v2.1.0...v2.1.1) (2022-01-08)
|
|
6
13
|
|
|
7
14
|
|
package/README.md
CHANGED
|
@@ -121,7 +121,7 @@ DESCRIPTION
|
|
|
121
121
|
This will clone the template repo 'oclif/hello-world' and update package properties
|
|
122
122
|
```
|
|
123
123
|
|
|
124
|
-
_See code: [src/commands/generate.ts](https://github.com/oclif/oclif/blob/v2.1.
|
|
124
|
+
_See code: [src/commands/generate.ts](https://github.com/oclif/oclif/blob/v2.1.1/src/commands/generate.ts)_
|
|
125
125
|
|
|
126
126
|
## `oclif help [COMMAND]`
|
|
127
127
|
|
|
@@ -158,7 +158,7 @@ DESCRIPTION
|
|
|
158
158
|
generates plugin manifest json
|
|
159
159
|
```
|
|
160
160
|
|
|
161
|
-
_See code: [src/commands/manifest.ts](https://github.com/oclif/oclif/blob/v2.1.
|
|
161
|
+
_See code: [src/commands/manifest.ts](https://github.com/oclif/oclif/blob/v2.1.1/src/commands/manifest.ts)_
|
|
162
162
|
|
|
163
163
|
## `oclif pack:deb`
|
|
164
164
|
|
|
@@ -175,7 +175,7 @@ DESCRIPTION
|
|
|
175
175
|
pack CLI into debian package
|
|
176
176
|
```
|
|
177
177
|
|
|
178
|
-
_See code: [src/commands/pack/deb.ts](https://github.com/oclif/oclif/blob/v2.1.
|
|
178
|
+
_See code: [src/commands/pack/deb.ts](https://github.com/oclif/oclif/blob/v2.1.1/src/commands/pack/deb.ts)_
|
|
179
179
|
|
|
180
180
|
## `oclif pack:macos`
|
|
181
181
|
|
|
@@ -192,7 +192,7 @@ DESCRIPTION
|
|
|
192
192
|
pack CLI into macOS .pkg
|
|
193
193
|
```
|
|
194
194
|
|
|
195
|
-
_See code: [src/commands/pack/macos.ts](https://github.com/oclif/oclif/blob/v2.1.
|
|
195
|
+
_See code: [src/commands/pack/macos.ts](https://github.com/oclif/oclif/blob/v2.1.1/src/commands/pack/macos.ts)_
|
|
196
196
|
|
|
197
197
|
## `oclif pack:tarballs`
|
|
198
198
|
|
|
@@ -214,7 +214,7 @@ DESCRIPTION
|
|
|
214
214
|
This can be used to create oclif CLIs that use the system node or that come preloaded with a node binary.
|
|
215
215
|
```
|
|
216
216
|
|
|
217
|
-
_See code: [src/commands/pack/tarballs.ts](https://github.com/oclif/oclif/blob/v2.1.
|
|
217
|
+
_See code: [src/commands/pack/tarballs.ts](https://github.com/oclif/oclif/blob/v2.1.1/src/commands/pack/tarballs.ts)_
|
|
218
218
|
|
|
219
219
|
## `oclif pack:win`
|
|
220
220
|
|
|
@@ -234,7 +234,7 @@ DESCRIPTION
|
|
|
234
234
|
be set in the environment
|
|
235
235
|
```
|
|
236
236
|
|
|
237
|
-
_See code: [src/commands/pack/win.ts](https://github.com/oclif/oclif/blob/v2.1.
|
|
237
|
+
_See code: [src/commands/pack/win.ts](https://github.com/oclif/oclif/blob/v2.1.1/src/commands/pack/win.ts)_
|
|
238
238
|
|
|
239
239
|
## `oclif promote`
|
|
240
240
|
|
|
@@ -263,7 +263,7 @@ DESCRIPTION
|
|
|
263
263
|
promote CLI builds to a S3 release channel
|
|
264
264
|
```
|
|
265
265
|
|
|
266
|
-
_See code: [src/commands/promote.ts](https://github.com/oclif/oclif/blob/v2.1.
|
|
266
|
+
_See code: [src/commands/promote.ts](https://github.com/oclif/oclif/blob/v2.1.1/src/commands/promote.ts)_
|
|
267
267
|
|
|
268
268
|
## `oclif readme`
|
|
269
269
|
|
|
@@ -293,7 +293,7 @@ DESCRIPTION
|
|
|
293
293
|
Customize the code URL prefix by setting oclif.repositoryPrefix in package.json.
|
|
294
294
|
```
|
|
295
295
|
|
|
296
|
-
_See code: [src/commands/readme.ts](https://github.com/oclif/oclif/blob/v2.1.
|
|
296
|
+
_See code: [src/commands/readme.ts](https://github.com/oclif/oclif/blob/v2.1.1/src/commands/readme.ts)_
|
|
297
297
|
|
|
298
298
|
## `oclif upload:deb`
|
|
299
299
|
|
|
@@ -310,7 +310,7 @@ DESCRIPTION
|
|
|
310
310
|
upload deb package built with pack:deb
|
|
311
311
|
```
|
|
312
312
|
|
|
313
|
-
_See code: [src/commands/upload/deb.ts](https://github.com/oclif/oclif/blob/v2.1.
|
|
313
|
+
_See code: [src/commands/upload/deb.ts](https://github.com/oclif/oclif/blob/v2.1.1/src/commands/upload/deb.ts)_
|
|
314
314
|
|
|
315
315
|
## `oclif upload:macos`
|
|
316
316
|
|
|
@@ -327,7 +327,7 @@ DESCRIPTION
|
|
|
327
327
|
upload macos installers built with pack:macos
|
|
328
328
|
```
|
|
329
329
|
|
|
330
|
-
_See code: [src/commands/upload/macos.ts](https://github.com/oclif/oclif/blob/v2.1.
|
|
330
|
+
_See code: [src/commands/upload/macos.ts](https://github.com/oclif/oclif/blob/v2.1.1/src/commands/upload/macos.ts)_
|
|
331
331
|
|
|
332
332
|
## `oclif upload:tarballs`
|
|
333
333
|
|
|
@@ -349,7 +349,7 @@ DESCRIPTION
|
|
|
349
349
|
"aws-sdk" will need to be installed as a devDependency to upload.
|
|
350
350
|
```
|
|
351
351
|
|
|
352
|
-
_See code: [src/commands/upload/tarballs.ts](https://github.com/oclif/oclif/blob/v2.1.
|
|
352
|
+
_See code: [src/commands/upload/tarballs.ts](https://github.com/oclif/oclif/blob/v2.1.1/src/commands/upload/tarballs.ts)_
|
|
353
353
|
|
|
354
354
|
## `oclif upload:win`
|
|
355
355
|
|
|
@@ -366,7 +366,7 @@ DESCRIPTION
|
|
|
366
366
|
upload windows installers built with pack:win
|
|
367
367
|
```
|
|
368
368
|
|
|
369
|
-
_See code: [src/commands/upload/win.ts](https://github.com/oclif/oclif/blob/v2.1.
|
|
369
|
+
_See code: [src/commands/upload/win.ts](https://github.com/oclif/oclif/blob/v2.1.1/src/commands/upload/win.ts)_
|
|
370
370
|
<!-- commandsstop -->
|
|
371
371
|
|
|
372
372
|
# 🏭 Related Repositories
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oclif",
|
|
3
3
|
"description": "oclif: create your own CLI",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.2",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"oclif": "bin/run"
|
|
@@ -18,9 +18,11 @@
|
|
|
18
18
|
"find-yarn-workspace-root": "^2.0.0",
|
|
19
19
|
"fs-extra": "^8.1",
|
|
20
20
|
"github-slugger": "^1.2.1",
|
|
21
|
+
"global": "^4.4.0",
|
|
21
22
|
"lodash": "^4.17.11",
|
|
22
23
|
"normalize-package-data": "^3.0.3",
|
|
23
24
|
"nps-utils": "^1.7.0",
|
|
25
|
+
"oclif": "^2.1.1",
|
|
24
26
|
"qqjs": "^0.3.10",
|
|
25
27
|
"semver": "^7.3.5",
|
|
26
28
|
"sort-pjson": "^1.0.3",
|
|
@@ -67,6 +69,9 @@
|
|
|
67
69
|
"resolutions": {
|
|
68
70
|
"colors": "1.4.0"
|
|
69
71
|
},
|
|
72
|
+
"overrides": {
|
|
73
|
+
"colors": "1.4.0"
|
|
74
|
+
},
|
|
70
75
|
"engines": {
|
|
71
76
|
"node": ">=12.0.0"
|
|
72
77
|
},
|