Skip to content

Commit 5314932

Browse files
committedFeb 6, 2018
fix: use @anycli/errors
1 parent 0f6b73a commit 5314932

File tree

3 files changed

+43
-13
lines changed

3 files changed

+43
-13
lines changed
 

‎bin/run

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/usr/bin/env node
22

33
require('@anycli/command').run()
4+
.catch(require('@anycli/errors/handle'))

‎package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
},
1313
"bugs": "https://github.com/anycli/plugin-plugins/issues",
1414
"dependencies": {
15-
"@anycli/command": "^1.2.6",
15+
"@anycli/command": "^1.2.9",
1616
"@heroku-cli/color": "^1.1.3",
1717
"chalk": "^2.3.0",
18-
"cli-ux": "^3.3.16",
18+
"cli-ux": "^3.3.18",
1919
"debug": "^3.1.0",
2020
"fs-extra": "^5.0.0",
2121
"http-call": "^5.0.2",
@@ -26,11 +26,12 @@
2626
"yarn": "^1.3.2"
2727
},
2828
"devDependencies": {
29-
"@anycli/config": "^1.2.3",
29+
"@anycli/config": "^1.3.10",
3030
"@anycli/dev-cli": "^0.1.6",
31+
"@anycli/errors": "^0.2.0",
3132
"@anycli/plugin-help": "^0.6.3",
3233
"@anycli/test": "^0.10.11",
33-
"@anycli/tslint": "^0.2.5",
34+
"@anycli/tslint": "^0.2.6",
3435
"@types/chai": "^4.1.2",
3536
"@types/fs-extra": "^5.0.0",
3637
"@types/load-json-file": "^2.0.7",

‎yarn.lock

+37-9
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,26 @@
22
# yarn lockfile v1
33

44

5-
"@anycli/command@^1.2.5", "@anycli/command@^1.2.6":
5+
"@anycli/command@^1.2.5":
66
version "1.2.6"
77
resolved "https://registry.yarnpkg.com/@anycli/command/-/command-1.2.6.tgz#0e7d2d1856055c31ded61468c2c34c77260fd441"
88
dependencies:
99
"@anycli/parser" "^3.2.4"
1010

11-
"@anycli/config@^1.1.8", "@anycli/config@^1.2.3":
11+
"@anycli/command@^1.2.9":
12+
version "1.2.9"
13+
resolved "https://registry.yarnpkg.com/@anycli/command/-/command-1.2.9.tgz#6db08fbb3537c8cc2f616415fcd6360043750f38"
14+
dependencies:
15+
"@anycli/parser" "^3.2.5"
16+
17+
"@anycli/config@^1.1.8":
1218
version "1.2.3"
1319
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.2.3.tgz#6bedf5111146c5563f74fde4fc89d74da7920c5a"
1420

21+
"@anycli/config@^1.3.10":
22+
version "1.3.10"
23+
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.3.10.tgz#8d821fe8a60ec400dd49d9b1a12f7062e590dd4f"
24+
1525
"@anycli/dev-cli@^0.1.6":
1626
version "0.1.6"
1727
resolved "https://registry.yarnpkg.com/@anycli/dev-cli/-/dev-cli-0.1.6.tgz#bb27980fe2cfb26f889768006c26735350fdfe28"
@@ -20,10 +30,24 @@
2030
"@anycli/config" "^1.1.8"
2131
"@anycli/plugin-help" "^0.6.2"
2232

33+
"@anycli/errors@^0.2.0":
34+
version "0.2.0"
35+
resolved "https://registry.yarnpkg.com/@anycli/errors/-/errors-0.2.0.tgz#ee421115dcdb499d76de9d4853718c06e1c5d5f0"
36+
dependencies:
37+
clean-stack "^1.3.0"
38+
fs-extra "^5.0.0"
39+
indent-string "^3.2.0"
40+
strip-ansi "^4.0.0"
41+
wrap-ansi "^3.0.1"
42+
2343
"@anycli/parser@^3.2.4":
2444
version "3.2.4"
2545
resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-3.2.4.tgz#30297ac2fa225b37efaab5c0062bf189988b3ce8"
2646

47+
"@anycli/parser@^3.2.5":
48+
version "3.2.5"
49+
resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-3.2.5.tgz#d0e7ddb14945cb84377fa69095009ca6005e6b6d"
50+
2751
"@anycli/plugin-help@^0.6.2", "@anycli/plugin-help@^0.6.3":
2852
version "0.6.3"
2953
resolved "https://registry.yarnpkg.com/@anycli/plugin-help/-/plugin-help-0.6.3.tgz#e365947b69ce232cbd49fcda934dd53852d2503f"
@@ -46,9 +70,9 @@
4670
dependencies:
4771
fancy-test "^1.0.1"
4872

49-
"@anycli/tslint@^0.2.5":
50-
version "0.2.5"
51-
resolved "https://registry.yarnpkg.com/@anycli/tslint/-/tslint-0.2.5.tgz#63feeb981b11f36326e0cb745c62f51d55c2ed67"
73+
"@anycli/tslint@^0.2.6":
74+
version "0.2.6"
75+
resolved "https://registry.yarnpkg.com/@anycli/tslint/-/tslint-0.2.6.tgz#4251f4cb3744dc577309b4351d2c2e8b65072de2"
5276
dependencies:
5377
tslint "^5.9.1"
5478
tslint-xo "^0.6.0"
@@ -243,9 +267,9 @@ clean-stack@^1.3.0:
243267
version "1.3.0"
244268
resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-1.3.0.tgz#9e821501ae979986c46b1d66d2d432db2fd4ae31"
245269

246-
cli-ux@^3.3.16:
247-
version "3.3.16"
248-
resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-3.3.16.tgz#b542f781c89b03467d5417b7510bbce96559c325"
270+
cli-ux@^3.3.18:
271+
version "3.3.18"
272+
resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-3.3.18.tgz#e14419abb33824b905507fa2e892adf79aeee16f"
249273
dependencies:
250274
"@anycli/screen" "^0.0.3"
251275
"@heroku/linewrap" "^1.0.0"
@@ -256,7 +280,7 @@ cli-ux@^3.3.16:
256280
extract-stack "^1.0.0"
257281
fs-extra "^5.0.0"
258282
indent-string "^3.2.0"
259-
lodash "^4.17.4"
283+
lodash "^4.17.5"
260284
password-prompt "^1.0.4"
261285
semver "^5.5.0"
262286
strip-ansi "^4.0.0"
@@ -569,6 +593,10 @@ lodash@^4.17.4, lodash@^4.5.1:
569593
version "4.17.4"
570594
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
571595

596+
lodash@^4.17.5:
597+
version "4.17.5"
598+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"
599+
572600
lru-cache@^4.0.1:
573601
version "4.1.1"
574602
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55"

0 commit comments

Comments
 (0)
Please sign in to comment.