feat: create clis with plugin-help v3
MODIFY
package.json
package.json
"bin": "./bin/run",
"bugs": "https://github.com/oclif/oclif/issues",
"dependencies": {
- "@oclif/command": "^1.5.8",
+ "@oclif/command": "^1.6",
"@oclif/config": "^1.12.6",
"@oclif/errors": "^1.2.2",
"@oclif/fixpack": "^2.3.0",
- "@oclif/plugin-help": "^2.1.6",
+ "@oclif/plugin-help": "^3",
"@oclif/plugin-not-found": "^1.2.2",
"@oclif/plugin-warn-if-update-available": "^1.5.4",
"debug": "^4.1.1",
"shelljs": "^0.8.3",
"tmp": "^0.0.33",
"ts-node": "^8.0.2",
- "typescript": "^3.3.3"
+ "typescript": "^3.7"
},
"engines": {
"node": ">=8.0.0"

MODIFY
src/generators/app.ts
src/generators/app.ts
@@ -446,7 +446,7 @@ class App extends Generator {
dependencies.push(
'@oclif/config@^1',
'@oclif/command@^1',
- '@oclif/plugin-help@^2',
+ '@oclif/plugin-help@^3',
)
devDependencies.push(
'@oclif/dev-cli@^1',
@@ -459,7 +459,7 @@ class App extends Generator {
)
devDependencies.push(
'@oclif/dev-cli@^1',
- '@oclif/plugin-help@^2',
+ '@oclif/plugin-help@^3',
'globby@^10',
)
break
@@ -467,7 +467,7 @@ class App extends Generator {
dependencies.push(
'@oclif/config@^1',
'@oclif/command@^1',
- '@oclif/plugin-help@^2',
+ '@oclif/plugin-help@^3',
)
devDependencies.push(
'@oclif/dev-cli@^1',

MODIFY
yarn.lock
yarn.lock
supports-color "^5.4.0"
tslib "^1"
-"@oclif/command@^1.5.1", "@oclif/command@^1.5.10", "@oclif/command@^1.5.13", "@oclif/command@^1.5.3", "@oclif/command@^1.5.8":
+"@oclif/command@^1.5.1", "@oclif/command@^1.5.10", "@oclif/command@^1.5.3":
version "1.5.19"
resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.5.19.tgz#13f472450eb83bd6c6871a164c03eadb5e1a07ed"
integrity sha512-6+iaCMh/JXJaB2QWikqvGE9//wLEVYYwZd5sud8aLoLKog1Q75naZh2vlGVtg5Mq/NqpqGQvdIjJb3Bm+64AUQ==
debug "^4.1.1"
semver "^5.6.0"
-"@oclif/config@^1", "@oclif/config@^1.12.12", "@oclif/config@^1.12.6", "@oclif/config@^1.12.8":
+"@oclif/command@^1.5.13", "@oclif/command@^1.5.20", "@oclif/command@^1.6":
+ version "1.6.0"
+ resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.6.0.tgz#89a4d8466243ce014ccf9f2bdf84b0ec4305c117"
+ integrity sha512-jHLlsi8WzCNTlbSWFBkpNkYdhg7tOV7aV4Kfig+2hbFxuwgf8HTRVzVKBLDmhySWdbzjg1Z7yOpne8rU4hVc8g==
+ dependencies:
+ "@oclif/config" "^1.15.1"
+ "@oclif/errors" "^1.2.2"
+ "@oclif/parser" "^3.8.3"
+ "@oclif/plugin-help" "^3"
+ debug "^4.1.1"
+ semver "^5.6.0"
+
+"@oclif/config@^1", "@oclif/config@^1.12.6", "@oclif/config@^1.15.1":
+ version "1.15.1"
+ resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.15.1.tgz#39950c70811ab82d75bb3cdb33679ed0a4c21c57"
+ integrity sha512-GdyHpEZuWlfU8GSaZoiywtfVBsPcfYn1KuSLT1JTfvZGpPG6vShcGr24YZ3HG2jXUFlIuAqDcYlTzOrqOdTPNQ==
+ dependencies:
+ "@oclif/errors" "^1.0.0"
+ "@oclif/parser" "^3.8.0"
+ debug "^4.1.1"
+ tslib "^1.9.3"
+
+"@oclif/config@^1.12.12", "@oclif/config@^1.12.8":
version "1.13.3"
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.13.3.tgz#1b13e18d0e4242ddbd9cbd100f0eec819aa2bf8c"
integrity sha512-qs5XvGRw+1M41abOKCjd0uoeHCgsMxa2MurD2g2K8CtQlzlMXl0rW5idVeimIg5208LLuxkfzQo8TKAhhRCWLg==
qqjs "^0.3.10"
tslib "^1.9.3"
-"@oclif/errors@^1.2.1", "@oclif/errors@^1.2.2":
+"@oclif/errors@^1.0.0", "@oclif/errors@^1.2.1", "@oclif/errors@^1.2.2":
version "1.2.2"
resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.2.2.tgz#9d8f269b15f13d70aa93316fed7bebc24688edc2"
integrity sha512-Eq8BFuJUQcbAPVofDxwdE0bL14inIiwt5EaKRVY9ZDIG11jwdXZqiQEECJx0VfnLyUZdYfRd/znDI/MytdJoKg==
chalk "^2.4.2"
tslib "^1.9.3"
-"@oclif/plugin-help@^2", "@oclif/plugin-help@^2.1.6":
+"@oclif/plugin-help@^2":
+ version "2.2.3"
+ resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-2.2.3.tgz#b993041e92047f0e1762668aab04d6738ac06767"
+ integrity sha512-bGHUdo5e7DjPJ0vTeRBMIrfqTRDBfyR5w0MP41u0n3r7YG5p14lvMmiCXxi6WDaP2Hw5nqx3PnkAIntCKZZN7g==
+ dependencies:
+ "@oclif/command" "^1.5.13"
+ chalk "^2.4.1"
+ indent-string "^4.0.0"
+ lodash.template "^4.4.0"
+ string-width "^3.0.0"
+ strip-ansi "^5.0.0"
+ widest-line "^2.0.1"
+ wrap-ansi "^4.0.0"
+
+"@oclif/plugin-help@^2.1.6":
version "2.2.1"
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-2.2.1.tgz#cb4d23e453b19340b07c48fb299948b7c74366d3"
integrity sha512-psEA3t41MSGBErLk6xCaAq2jKrRtx3Br+kHpd43vZeGEeZ7Gos4wgK0JAaHBbvhvUQskCHg8dzoqv4XEeTWeVQ==
widest-line "^2.0.1"
wrap-ansi "^4.0.0"
+"@oclif/plugin-help@^3":
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-3.0.0.tgz#7d6433d74b0473a43797c6e0468b503470f23b50"
+ integrity sha512-mrV1O1VXy+ssW0kmIvFYkuEEPYZWKpyqydyHbKa316esAHatsZlrw6cRItf3TuKHTAqeGuXPctPV4mO2e21F9w==
+ dependencies:
+ "@oclif/command" "^1.5.20"
+ "@oclif/config" "^1.15.1"
+ chalk "^2.4.1"
+ indent-string "^4.0.0"
+ lodash.template "^4.4.0"
+ string-width "^3.0.0"
+ strip-ansi "^5.0.0"
+ widest-line "^2.0.1"
+ wrap-ansi "^4.0.0"
+
"@oclif/plugin-not-found@^1.2.2":
version "1.2.3"
resolved "https://registry.yarnpkg.com/@oclif/plugin-not-found/-/plugin-not-found-1.2.3.tgz#00f9e7a0a793a5e2f616d8280075f4592de8f079"
@@ -2246,6 +2297,11 @@ indent-string@^3.2.0:
resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289"
integrity sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=
+indent-string@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251"
+ integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==
+
inflight@^1.0.4:
version "1.0.6"
resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
@@ -4476,10 +4532,10 @@ typedarray-to-buffer@^3.1.5:
dependencies:
is-typedarray "^1.0.0"
-typescript@^3.3.3:
- version "3.3.3"
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.3.3.tgz#f1657fc7daa27e1a8930758ace9ae8da31403221"
- integrity sha512-Y21Xqe54TBVp+VDSNbuDYdGw0BpoR/Q6wo/+35M8PAU0vipahnyduJWirxxdxjsAkS7hue53x2zp8gz7F05u0A==
+typescript@^3.7:
+ version "3.8.3"
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
+ integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==
union-value@^1.0.0:
version "1.0.1"

feat: create clis with plugin-help v3 (#343)