Skip to content

Commit

Permalink
fix: updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jun 12, 2018
1 parent 79fbf96 commit 11a059f
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 19 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"bugs": "https://github.com/oclif/plugin-update/issues",
"dependencies": {
"@heroku-cli/color": "^1.1.5",
"@oclif/command": "^1.4.32",
"@oclif/command": "^1.4.33",
"@oclif/config": "^1.6.27",
"@oclif/errors": "^1.1.2",
"@types/semver": "^5.5.0",
"cli-ux": "^4.6.0",
"cli-ux": "^4.6.2",
"cross-spawn": "^6.0.5",
"debug": "^3.1.0",
"filesize": "^3.6.1",
Expand All @@ -22,24 +22,24 @@
},
"devDependencies": {
"@oclif/dev-cli": "^1.13.30",
"@oclif/plugin-help": "^2.0.4",
"@oclif/plugin-help": "^2.0.5",
"@oclif/test": "^1.0.9",
"@oclif/tslint": "^1.1.2",
"@types/chai": "^4.1.3",
"@types/cross-spawn": "^6.0.0",
"@types/execa": "^0.9.0",
"@types/fs-extra": "^5.0.2",
"@types/fs-extra": "^5.0.3",
"@types/glob": "^5.0.35",
"@types/lodash": "^4.14.109",
"@types/mocha": "^5.2.1",
"@types/node": "^10.3.0",
"@types/node": "^10.3.2",
"@types/supports-color": "^5.3.0",
"@types/write-json-file": "^2.2.1",
"chai": "^4.1.2",
"globby": "^8.0.1",
"mocha": "^5.2.0",
"qqjs": "^0.3.10",
"ts-node": "^6.0.5",
"ts-node": "^6.1.0",
"tslib": "^1.9.2",
"tslint": "^5.10.0",
"typescript": "^2.9.1"
Expand Down
4 changes: 2 additions & 2 deletions test/commands/update.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('update', () => {
process.env.YARN_CACHE_FOLDER = path.resolve('tmp', 'yarn')
await qq.rm(process.env.YARN_CACHE_FOLDER)
const pjson = await qq.readJSON('package.json')
pjson.oclif.bin = `s3-update-example-cli-${Math.floor(Math.random() * 100000)}`
pjson.oclif.bin = pjson.name = `s3-update-example-cli-${Math.floor(Math.random() * 100000)}`
delete pjson.dependencies['@oclif/plugin-update']
await qq.writeJSON('package.json', pjson)

Expand All @@ -33,7 +33,7 @@ describe('update', () => {
await qq.x('./node_modules/.bin/oclif-dev publish')
}
const checkVersion = async (version: string, nodeVersion = pjson.oclif.update.node.version) => {
const stdout = await qq.x.stdout('./tmp/example-cli/bin/example-cli', ['version'])
const stdout = await qq.x.stdout(`./tmp/${pjson.oclif.bin}/bin/${pjson.oclif.bin}`, ['version'])
expect(stdout).to.equal(`${pjson.oclif.bin}/${version} ${process.platform}-${process.arch} node-v${nodeVersion}`)
}
const update = async (channel?: string) => {
Expand Down
80 changes: 69 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@
debug "^3.1.0"
semver "^5.5.0"

"@oclif/command@^1.4.33":
version "1.4.33"
resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.4.33.tgz#40a48e7384d6b4394c2ca20e5c05ff45541087f5"
dependencies:
"@oclif/errors" "^1.1.2"
"@oclif/parser" "^3.5.1"
debug "^3.1.0"
semver "^5.5.0"

"@oclif/config@^1.6.27":
version "1.6.27"
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.6.27.tgz#d3de1cff71301784c8e4ee3903d3f7db21a18c3f"
Expand Down Expand Up @@ -114,6 +123,13 @@
"@oclif/linewrap" "^1.0.0"
chalk "^2.4.1"

"@oclif/parser@^3.5.1":
version "3.5.1"
resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.5.1.tgz#2f60ac9773565786b6e1afff967b36a6399defcc"
dependencies:
"@oclif/linewrap" "^1.0.0"
chalk "^2.4.1"

"@oclif/plugin-help@^2.0.4":
version "2.0.4"
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-2.0.4.tgz#32cf1dc7696f626a6065109a17b0f061adb14243"
Expand All @@ -126,6 +142,18 @@
widest-line "^2.0.0"
wrap-ansi "^3.0.1"

"@oclif/plugin-help@^2.0.5":
version "2.0.5"
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-2.0.5.tgz#98084286099b44c8c6ed6214e3589f32525f4827"
dependencies:
"@oclif/command" "^1.4.30"
chalk "^2.4.1"
indent-string "^3.2.0"
lodash.template "^4.4.0"
string-width "^2.1.1"
widest-line "^2.0.0"
wrap-ansi "^3.0.1"

"@oclif/screen@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-1.0.2.tgz#c9d7c84b0ea60ecec8dd7a9b22c012ba9967aed8"
Expand Down Expand Up @@ -162,9 +190,9 @@
dependencies:
"@types/node" "*"

"@types/fs-extra@^5.0.2":
version "5.0.2"
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-5.0.2.tgz#235a7e2b56452cc0a6a4809b53e1d1eaffff9c96"
"@types/fs-extra@^5.0.3":
version "5.0.3"
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-5.0.3.tgz#feb31d55eeae3ccd5f92dbce806344a6c777a713"
dependencies:
"@types/node" "*"

Expand Down Expand Up @@ -206,6 +234,10 @@
version "10.3.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.3.0.tgz#078516315a84d56216b5d4fed8f75d59d3b16cac"

"@types/node@^10.3.2":
version "10.3.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.3.2.tgz#3840ec6c12556fdda6e0e6d036df853101d732a4"

"@types/semver@^5.5.0":
version "5.5.0"
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-5.5.0.tgz#146c2a29ee7d3bae4bf2fcb274636e264c813c45"
Expand Down Expand Up @@ -353,6 +385,10 @@ [email protected]:
version "1.3.1"
resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60"

buffer-from@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.0.tgz#87fcaa3a298358e0ade6e442cfce840740d1ad04"

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 @@ -466,6 +502,28 @@ cli-ux@^4.6.0:
supports-color "^5.4.0"
supports-hyperlinks "^1.0.1"

cli-ux@^4.6.2:
version "4.6.2"
resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-4.6.2.tgz#77a4eeb93ffb40c697e4f1d60975804134ba7a5a"
dependencies:
"@oclif/linewrap" "^1.0.0"
"@oclif/screen" "^1.0.2"
ansi-styles "^3.2.1"
cardinal "^2.1.1"
chalk "^2.4.1"
clean-stack "^1.3.0"
extract-stack "^1.0.0"
fs-extra "^6.0.1"
hyperlinker "^1.0.0"
indent-string "^3.2.0"
is-wsl "^1.1.0"
lodash "^4.17.10"
password-prompt "^1.0.6"
semver "^5.5.0"
strip-ansi "^4.0.0"
supports-color "^5.4.0"
supports-hyperlinks "^1.0.1"

collection-visit@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0"
Expand Down Expand Up @@ -1536,10 +1594,11 @@ source-map-resolve@^0.5.0:
source-map-url "^0.4.0"
urix "^0.1.0"

source-map-support@^0.5.3:
version "0.5.4"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.4.tgz#54456efa89caa9270af7cd624cc2f123e51fbae8"
source-map-support@^0.5.6:
version "0.5.6"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.6.tgz#4435cee46b1aab62b8e8610ce60f788091c51c13"
dependencies:
buffer-from "^1.0.0"
source-map "^0.6.0"

source-map-url@^0.4.0:
Expand Down Expand Up @@ -1696,17 +1755,16 @@ to-regex@^3.0.1, to-regex@^3.0.2:
regex-not "^1.0.2"
safe-regex "^1.1.0"

ts-node@^6.0.5:
version "6.0.5"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-6.0.5.tgz#977c1c931da7a2b09ae2930101f0104a5c2271e9"
ts-node@^6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-6.1.0.tgz#a2c37a11fdb58e60eca887a1269b025cf4d2f8b8"
dependencies:
arrify "^1.0.0"
chalk "^2.3.0"
diff "^3.1.0"
make-error "^1.1.1"
minimist "^1.2.0"
mkdirp "^0.5.1"
source-map-support "^0.5.3"
source-map-support "^0.5.6"
yn "^2.0.0"

[email protected], tslib@^1.7.1, tslib@^1.8.0, tslib@^1.8.1:
Expand Down

0 comments on commit 11a059f

Please sign in to comment.