Skip to content

Commit

Permalink
fix: updated config
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 7, 2018
1 parent 04eb7dc commit a33ae15
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 37 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"bugs": "https://github.com/anycli/plugin-plugins/issues",
"dependencies": {
"@anycli/command": "^1.2.10",
"@anycli/command": "^1.2.14",
"@heroku-cli/color": "^1.1.3",
"chalk": "^2.3.0",
"cli-ux": "^3.3.18",
Expand All @@ -26,17 +26,17 @@
"yarn": "^1.3.2"
},
"devDependencies": {
"@anycli/config": "^1.3.15",
"@anycli/dev-cli": "^0.2.2",
"@anycli/config": "^1.3.29",
"@anycli/dev-cli": "^0.3.2",
"@anycli/errors": "^0.2.1",
"@anycli/plugin-help": "^0.6.5",
"@anycli/test": "^0.10.11",
"@anycli/plugin-help": "^0.6.9",
"@anycli/test": "^0.10.13",
"@anycli/tslint": "^0.2.7",
"@types/chai": "^4.1.2",
"@types/fs-extra": "^5.0.0",
"@types/load-json-file": "^2.0.7",
"@types/mocha": "^2.2.48",
"@types/node": "^9.4.0",
"@types/node": "^9.4.1",
"@types/semver": "^5.5.0",
"@types/supports-color": "^3.1.0",
"chai": "^4.1.2",
Expand Down
2 changes: 1 addition & 1 deletion src/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default class Plugins {

async add(plugin: Config.PJSON.PluginTypes) {
const pjson = await this.pjson()
pjson.anycli.plugins = uniq([...pjson.anycli.plugins || [], plugin])
pjson.anycli.plugins = uniq([...pjson.anycli.plugins || [], plugin]) as any
await this.savePJSON(pjson)
}

Expand Down
98 changes: 68 additions & 30 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,28 @@
# yarn lockfile v1


"@anycli/command@^1.2.10", "@anycli/command@^1.2.9":
version "1.2.10"
resolved "https://registry.yarnpkg.com/@anycli/command/-/command-1.2.10.tgz#6870c79a531513a31cdd12abd45f0cd2d4322b4b"
"@anycli/command@^1.2.13", "@anycli/command@^1.2.14":
version "1.2.14"
resolved "https://registry.yarnpkg.com/@anycli/command/-/command-1.2.14.tgz#de8e1be33f64143c49242c0deb7bf9a06a826813"
dependencies:
"@anycli/parser" "^3.2.6"

"@anycli/config@^1.3.10":
version "1.3.12"
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.3.12.tgz#df693d9fe6222c2c2e66d71667343f2d69f5913b"
"@anycli/config@^1.3.23", "@anycli/config@^1.3.29":
version "1.3.29"
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.3.29.tgz#ad59bc1fbc5971f85a1f6e027a8c5e0e6b1bcfaa"

"@anycli/config@^1.3.15":
version "1.3.15"
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.3.15.tgz#5c3c85929af5b6b8d19ada8c15c13dc96523c40f"

"@anycli/dev-cli@^0.2.2":
version "0.2.2"
resolved "https://registry.yarnpkg.com/@anycli/dev-cli/-/dev-cli-0.2.2.tgz#578c1041f3ae8808b0ac90c513045b8015b6bcec"
"@anycli/dev-cli@^0.3.2":
version "0.3.2"
resolved "https://registry.yarnpkg.com/@anycli/dev-cli/-/dev-cli-0.3.2.tgz#9ed9fe4994fa9ccf8ac1c77a47f6aa9cde2cb1d1"
dependencies:
"@anycli/command" "^1.2.9"
"@anycli/config" "^1.3.10"
"@anycli/errors" "^0.2.0"
"@anycli/plugin-help" "^0.6.4"
"@anycli/command" "^1.2.13"
"@anycli/config" "^1.3.23"
"@anycli/errors" "^0.2.1"
"@anycli/plugin-help" "^0.6.8"
lodash.template "^4.4.0"
normalize-package-data "^2.4.0"

"@anycli/errors@^0.2.0", "@anycli/errors@^0.2.1":
"@anycli/errors@^0.2.1":
version "0.2.1"
resolved "https://registry.yarnpkg.com/@anycli/errors/-/errors-0.2.1.tgz#719a95cd9c23838c65929da5d625a7537dd7d035"
dependencies:
Expand All @@ -39,11 +37,11 @@
version "3.2.6"
resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-3.2.6.tgz#bbd119a80709099179a9f11af0dc44b68c54575b"

"@anycli/plugin-help@^0.6.4", "@anycli/plugin-help@^0.6.5":
version "0.6.5"
resolved "https://registry.yarnpkg.com/@anycli/plugin-help/-/plugin-help-0.6.5.tgz#bd0a6b04c0668786224de86672e4531fe168e7cb"
"@anycli/plugin-help@^0.6.8", "@anycli/plugin-help@^0.6.9":
version "0.6.9"
resolved "https://registry.yarnpkg.com/@anycli/plugin-help/-/plugin-help-0.6.9.tgz#1ff4a4aac9f8e56f3d36ffc1270e50fb1c453b4d"
dependencies:
"@anycli/command" "^1.2.10"
"@anycli/command" "^1.2.14"
chalk "^2.3.0"
indent-string "^3.2.0"
lodash.template "^4.4.0"
Expand All @@ -55,9 +53,9 @@
version "0.0.3"
resolved "https://registry.yarnpkg.com/@anycli/screen/-/screen-0.0.3.tgz#f0afd970c3ed725702948a45a874ede1fdd9362e"

"@anycli/test@^0.10.11":
version "0.10.11"
resolved "https://registry.yarnpkg.com/@anycli/test/-/test-0.10.11.tgz#0d1004c8c0b34a8853ee7a3a26c90ed12ce6e42f"
"@anycli/test@^0.10.13":
version "0.10.13"
resolved "https://registry.yarnpkg.com/@anycli/test/-/test-0.10.13.tgz#216fdd942727f8049f4d310fc202dd970084071f"
dependencies:
fancy-test "^1.0.1"

Expand Down Expand Up @@ -99,9 +97,9 @@
version "2.2.48"
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-2.2.48.tgz#3523b126a0b049482e1c3c11877460f76622ffab"

"@types/node@*", "@types/node@^9.4.0":
version "9.4.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.4.0.tgz#b85a0bcf1e1cc84eb4901b7e96966aedc6f078d1"
"@types/node@*", "@types/node@^9.4.1":
version "9.4.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.4.1.tgz#0f636f7837e15d2d73a7f6f3ea0e322eb2a5ab65"

"@types/semver@^5.5.0":
version "5.5.0"
Expand Down Expand Up @@ -200,7 +198,7 @@ [email protected]:
version "1.3.0"
resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f"

builtin-modules@^1.1.1:
builtin-modules@^1.0.0, builtin-modules@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f"

Expand Down Expand Up @@ -479,6 +477,10 @@ homedir-polyfill@^1.0.1:
dependencies:
parse-passwd "^1.0.0"

hosted-git-info@^2.1.4:
version "2.5.0"
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.5.0.tgz#6d60e34b3abbc8313062c3b798ef8d901a07af3c"

http-call@^5.0.2:
version "5.0.2"
resolved "https://registry.yarnpkg.com/http-call/-/http-call-5.0.2.tgz#21bec3655f1631de128c0cdaa470777b1fbbc365"
Expand Down Expand Up @@ -513,6 +515,12 @@ is-arrayish@^0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"

is-builtin-module@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe"
dependencies:
builtin-modules "^1.0.0"

is-fullwidth-code-point@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f"
Expand Down Expand Up @@ -634,6 +642,15 @@ [email protected]:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"

normalize-package-data@^2.4.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f"
dependencies:
hosted-git-info "^2.1.4"
is-builtin-module "^1.0.0"
semver "2 || 3 || 4 || 5"
validate-npm-package-license "^3.0.1"

npm-run-path@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f"
Expand Down Expand Up @@ -714,7 +731,7 @@ safe-buffer@^5.0.1:
version "5.1.1"
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"

semver@^5.3.0, semver@^5.5.0:
"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.5.0:
version "5.5.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab"

Expand Down Expand Up @@ -746,6 +763,20 @@ spawn-command@^0.0.2-1:
version "0.0.2-1"
resolved "https://registry.yarnpkg.com/spawn-command/-/spawn-command-0.0.2-1.tgz#62f5e9466981c1b796dc5929937e11c9c6921bd0"

spdx-correct@~1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-1.0.2.tgz#4b3073d933ff51f3912f03ac5519498a4150db40"
dependencies:
spdx-license-ids "^1.0.2"

spdx-expression-parse@~1.0.0:
version "1.0.4"
resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz#9bdf2f20e1f40ed447fbe273266191fced51626c"

spdx-license-ids@^1.0.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz#c9df7a3424594ade6bd11900d596696dc06bac57"

sprintf-js@~1.0.2:
version "1.0.3"
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
Expand Down Expand Up @@ -933,6 +964,13 @@ v8flags@^3.0.0:
dependencies:
homedir-polyfill "^1.0.1"

validate-npm-package-license@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc"
dependencies:
spdx-correct "~1.0.0"
spdx-expression-parse "~1.0.0"

which@^1.2.9:
version "1.3.0"
resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
Expand Down

0 comments on commit a33ae15

Please sign in to comment.