Skip to content

Commit

Permalink
chore: updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Sep 14, 2018
1 parent ed040ab commit 0ac1f26
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 125 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Expand Up @@ -14,8 +14,8 @@ jobs:
keys:
- v3-yarn-{{checksum ".circleci/config.yml"}}-{{ checksum "yarn.lock"}}
- v3-yarn-{{checksum ".circleci/config.yml"}}
- run: .circleci/greenkeeper
- run: yarn add -D nyc@11 @oclif/nyc-config@1 mocha-junit-reporter@1
- run: yarn
- run: yarn add -D nyc@13 @oclif/nyc-config@1 mocha-junit-reporter@1
- run: ./bin/run --help
- run: |
mkdir -p reports
Expand Down
25 changes: 0 additions & 25 deletions .circleci/greenkeeper

This file was deleted.

16 changes: 8 additions & 8 deletions package.json
Expand Up @@ -8,8 +8,8 @@
"@oclif/color": "^0.0.0",
"@oclif/command": "^1.5.0",
"chalk": "^2.4.1",
"cli-ux": "^4.8.1",
"debug": "^3.1.0",
"cli-ux": "^4.8.2",
"debug": "^4.0.1",
"fs-extra": "^7.0.0",
"http-call": "^5.2.2",
"load-json-file": "^5.0.0",
Expand All @@ -19,12 +19,12 @@
"yarn": "^1.9.4"
},
"devDependencies": {
"@oclif/config": "^1.7.2",
"@oclif/dev-cli": "^1.17.0",
"@oclif/config": "^1.7.6",
"@oclif/dev-cli": "^1.18.0",
"@oclif/errors": "^1.2.0",
"@oclif/plugin-help": "^2.1.0",
"@oclif/test": "^1.2.0",
"@oclif/tslint": "^2.0.0",
"@oclif/plugin-help": "^2.1.2",
"@oclif/test": "^1.2.1",
"@oclif/tslint": "^3.1.0",
"@types/chai": "^4.1.4",
"@types/fs-extra": "^5.0.4",
"@types/load-json-file": "^2.0.7",
Expand All @@ -33,7 +33,7 @@
"@types/semver": "^5.5.0",
"@types/supports-color": "^5.3.0",
"chai": "^4.1.2",
"fancy-test": "^1.3.0",
"fancy-test": "^1.4.1",
"globby": "^8.0.1",
"mocha": "^5.2.0",
"ts-node": "^7.0.1",
Expand Down
72 changes: 36 additions & 36 deletions test/commands/plugins/index.test.ts
Expand Up @@ -2,46 +2,46 @@ import {expect, test} from '../../test'

describe('command', () => {
test
.command(['plugins:install', '@oclif/example-plugin-ts'], {reset: true})
.stdout()
.command(['plugins'], {reset: true})
.do(output => expect(output.stdout).to.contain('@oclif/example-plugin-ts '))
.stdout()
.command(['hello'], {reset: true})
.do(output => expect(output.stdout).to.contain('hello world'))
.command(['plugins:uninstall', '@heroku-cli/plugin-@oclif/example-plugin-ts'])
.stdout()
.command(['plugins'], {reset: true})
.do(output => expect(output.stdout).to.equal('no plugins installed\n'))
.it('installs and uninstalls @oclif/example-plugin-ts')
.command(['plugins:install', '@oclif/example-plugin-ts'], {reset: true})
.stdout()
.command(['plugins'], {reset: true})
.do(output => expect(output.stdout).to.contain('@oclif/example-plugin-ts '))
.stdout()
.command(['hello'], {reset: true})
.do(output => expect(output.stdout).to.contain('hello world'))
.command(['plugins:uninstall', '@heroku-cli/plugin-@oclif/example-plugin-ts'])
.stdout()
.command(['plugins'], {reset: true})
.do(output => expect(output.stdout).to.equal('no plugins installed\n'))
.it('installs and uninstalls @oclif/example-plugin-ts')

test
.command(['plugins:install', 'aliasme'], {reset: true})
.stdout()
.command(['plugins'], {reset: true})
.do(output => expect(output.stdout).to.contain('oclif-debug'))
.stdout()
.command(['debug'], {reset: true})
.do(output => expect(output.stdout).to.contain('debug'))
.command(['plugins:uninstall', 'oclif-debug'])
.stdout()
.command(['plugins'], {reset: true})
.do(output => expect(output.stdout).to.equal('no plugins installed\n'))
.it('installs via an alias')
.command(['plugins:install', 'aliasme'], {reset: true})
.stdout()
.command(['plugins'], {reset: true})
.do(output => expect(output.stdout).to.contain('oclif-debug'))
.stdout()
.command(['debug'], {reset: true})
.do(output => expect(output.stdout).to.contain('debug'))
.command(['plugins:uninstall', 'oclif-debug'])
.stdout()
.command(['plugins'], {reset: true})
.do(output => expect(output.stdout).to.equal('no plugins installed\n'))
.it('installs via an alias')

test
.command(['plugins:install', 'jdxcode/oclif-debug'], {reset: true})
.stdout()
.command(['plugins'], {reset: true})
.do(output => expect(output.stdout).to.contain('oclif-debug'))
.stdout()
.command(['debug'], {reset: true})
.do(output => expect(output.stdout).to.contain('debug'))
.command(['plugins:uninstall', 'oclif-debug'])
.stdout()
.command(['plugins'], {reset: true})
.do(output => expect(output.stdout).to.equal('no plugins installed\n'))
.it('installs and uninstalls jdxcode/oclif-debug')
.command(['plugins:install', 'jdxcode/oclif-debug'], {reset: true})
.stdout()
.command(['plugins'], {reset: true})
.do(output => expect(output.stdout).to.contain('oclif-debug'))
.stdout()
.command(['debug'], {reset: true})
.do(output => expect(output.stdout).to.contain('debug'))
.command(['plugins:uninstall', 'oclif-debug'])
.stdout()
.command(['plugins'], {reset: true})
.do(output => expect(output.stdout).to.equal('no plugins installed\n'))
.it('installs and uninstalls jdxcode/oclif-debug')
// test
// .command(['plugins:install', 'heroku-debug@beta'], {reset: true})
// .stdout()
Expand Down
6 changes: 3 additions & 3 deletions test/commands/plugins/uninstall.test.ts
Expand Up @@ -2,7 +2,7 @@ import {test} from '../../test'

describe('command', () => {
test
.command(['plugins:uninstall', 'foobar'], {reset: true})
.catch(/foobar is not installed/)
.it('uninstall non-existent plugin')
.command(['plugins:uninstall', 'foobar'], {reset: true})
.catch(/foobar is not installed/)
.it('uninstall non-existent plugin')
})

0 comments on commit 0ac1f26

Please sign in to comment.