Skip to content

Commit

Permalink
fix: use @anycli/errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 6, 2018
1 parent 0f6b73a commit 5314932
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 13 deletions.
1 change: 1 addition & 0 deletions bin/run
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env node

require('@anycli/command').run()
.catch(require('@anycli/errors/handle'))
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
},
"bugs": "https://github.com/anycli/plugin-plugins/issues",
"dependencies": {
"@anycli/command": "^1.2.6",
"@anycli/command": "^1.2.9",
"@heroku-cli/color": "^1.1.3",
"chalk": "^2.3.0",
"cli-ux": "^3.3.16",
"cli-ux": "^3.3.18",
"debug": "^3.1.0",
"fs-extra": "^5.0.0",
"http-call": "^5.0.2",
Expand All @@ -26,11 +26,12 @@
"yarn": "^1.3.2"
},
"devDependencies": {
"@anycli/config": "^1.2.3",
"@anycli/config": "^1.3.10",
"@anycli/dev-cli": "^0.1.6",
"@anycli/errors": "^0.2.0",
"@anycli/plugin-help": "^0.6.3",
"@anycli/test": "^0.10.11",
"@anycli/tslint": "^0.2.5",
"@anycli/tslint": "^0.2.6",
"@types/chai": "^4.1.2",
"@types/fs-extra": "^5.0.0",
"@types/load-json-file": "^2.0.7",
Expand Down
46 changes: 37 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,26 @@
# yarn lockfile v1


"@anycli/command@^1.2.5", "@anycli/command@^1.2.6":
"@anycli/command@^1.2.5":
version "1.2.6"
resolved "https://registry.yarnpkg.com/@anycli/command/-/command-1.2.6.tgz#0e7d2d1856055c31ded61468c2c34c77260fd441"
dependencies:
"@anycli/parser" "^3.2.4"

"@anycli/config@^1.1.8", "@anycli/config@^1.2.3":
"@anycli/command@^1.2.9":
version "1.2.9"
resolved "https://registry.yarnpkg.com/@anycli/command/-/command-1.2.9.tgz#6db08fbb3537c8cc2f616415fcd6360043750f38"
dependencies:
"@anycli/parser" "^3.2.5"

"@anycli/config@^1.1.8":
version "1.2.3"
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.2.3.tgz#6bedf5111146c5563f74fde4fc89d74da7920c5a"

"@anycli/config@^1.3.10":
version "1.3.10"
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.3.10.tgz#8d821fe8a60ec400dd49d9b1a12f7062e590dd4f"

"@anycli/dev-cli@^0.1.6":
version "0.1.6"
resolved "https://registry.yarnpkg.com/@anycli/dev-cli/-/dev-cli-0.1.6.tgz#bb27980fe2cfb26f889768006c26735350fdfe28"
Expand All @@ -20,10 +30,24 @@
"@anycli/config" "^1.1.8"
"@anycli/plugin-help" "^0.6.2"

"@anycli/errors@^0.2.0":
version "0.2.0"
resolved "https://registry.yarnpkg.com/@anycli/errors/-/errors-0.2.0.tgz#ee421115dcdb499d76de9d4853718c06e1c5d5f0"
dependencies:
clean-stack "^1.3.0"
fs-extra "^5.0.0"
indent-string "^3.2.0"
strip-ansi "^4.0.0"
wrap-ansi "^3.0.1"

"@anycli/parser@^3.2.4":
version "3.2.4"
resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-3.2.4.tgz#30297ac2fa225b37efaab5c0062bf189988b3ce8"

"@anycli/parser@^3.2.5":
version "3.2.5"
resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-3.2.5.tgz#d0e7ddb14945cb84377fa69095009ca6005e6b6d"

"@anycli/plugin-help@^0.6.2", "@anycli/plugin-help@^0.6.3":
version "0.6.3"
resolved "https://registry.yarnpkg.com/@anycli/plugin-help/-/plugin-help-0.6.3.tgz#e365947b69ce232cbd49fcda934dd53852d2503f"
Expand All @@ -46,9 +70,9 @@
dependencies:
fancy-test "^1.0.1"

"@anycli/tslint@^0.2.5":
version "0.2.5"
resolved "https://registry.yarnpkg.com/@anycli/tslint/-/tslint-0.2.5.tgz#63feeb981b11f36326e0cb745c62f51d55c2ed67"
"@anycli/tslint@^0.2.6":
version "0.2.6"
resolved "https://registry.yarnpkg.com/@anycli/tslint/-/tslint-0.2.6.tgz#4251f4cb3744dc577309b4351d2c2e8b65072de2"
dependencies:
tslint "^5.9.1"
tslint-xo "^0.6.0"
Expand Down Expand Up @@ -243,9 +267,9 @@ clean-stack@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-1.3.0.tgz#9e821501ae979986c46b1d66d2d432db2fd4ae31"

cli-ux@^3.3.16:
version "3.3.16"
resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-3.3.16.tgz#b542f781c89b03467d5417b7510bbce96559c325"
cli-ux@^3.3.18:
version "3.3.18"
resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-3.3.18.tgz#e14419abb33824b905507fa2e892adf79aeee16f"
dependencies:
"@anycli/screen" "^0.0.3"
"@heroku/linewrap" "^1.0.0"
Expand All @@ -256,7 +280,7 @@ cli-ux@^3.3.16:
extract-stack "^1.0.0"
fs-extra "^5.0.0"
indent-string "^3.2.0"
lodash "^4.17.4"
lodash "^4.17.5"
password-prompt "^1.0.4"
semver "^5.5.0"
strip-ansi "^4.0.0"
Expand Down Expand Up @@ -569,6 +593,10 @@ lodash@^4.17.4, lodash@^4.5.1:
version "4.17.4"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"

lodash@^4.17.5:
version "4.17.5"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"

lru-cache@^4.0.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55"
Expand Down

0 comments on commit 5314932

Please sign in to comment.