Skip to content

Commit

Permalink
fix: updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 27, 2018
1 parent 3ab4905 commit 5b57dc7
Show file tree
Hide file tree
Showing 4 changed files with 172 additions and 126 deletions.
31 changes: 7 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,16 @@
"author": "Jeff Dickey @jdxcode",
"bugs": "https://github.com/jdxcode/version/issues",
"dependencies": {
"@dxcli/command": "^0.1.13",
"@dxcli/config": "^0.1.22",
"cli-ux": "^3.1.5"
"@dxcli/command": "^0.1.19",
"@dxcli/config": "^0.1.26",
"cli-ux": "^3.2.1"
},
"devDependencies": {
"@dxcli/dev-nyc-config": "^0.0.3",
"@dxcli/dev-semantic-release": "^0.1.0",
"@dxcli/dev-test": "^0.9.2",
"@dxcli/dev-tslint": "^0.0.15",
"@dxcli/engine": "^0.1.5",
"@types/chai": "^4.1.2",
"@types/mocha": "^2.2.47",
"@types/nock": "^9.1.2",
"@types/node": "^9.3.0",
"@types/read-pkg": "^3.0.0",
"chai": "^4.1.2",
"cross-env": "^5.1.3",
"eslint": "^4.16.0",
"eslint-config-dxcli": "^1.1.4",
"@dxcli/dev": "^2.0.3",
"@dxcli/dev-test": "^0.9.11",
"@dxcli/engine": "^0.1.12",
"husky": "^0.14.3",
"mocha": "^5.0.0",
"mocha-junit-reporter": "^1.16.0",
"nps": "^5.7.1",
"nps-utils": "^1.5.0",
"nyc": "^11.4.1",
"ts-node": "^4.1.0",
"typescript": "^2.6.2"
"nps-utils": "^1.5.0"
},
"dxcli": {
"commands": "./lib/commands",
Expand Down
2 changes: 1 addition & 1 deletion test/commands/version.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const pjson = require('../../package.json')
describe('version', () => {
const stdout = `@dxcli/version/${pjson.version} (${process.platform}-${process.arch}) node-${process.version}\n`

test()
test
.stdout()
.command('version')
.end('runs version', output => {
Expand Down
6 changes: 3 additions & 3 deletions test/hooks/init.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ const pjson = require('../../package.json')
describe('hooks:init', () => {
const stdout = `@dxcli/version/${pjson.version} (${process.platform}-${process.arch}) node-${process.version}\n`

test()
test
.stdout()
.hook('init', {id: '-v'})
.exit(0)
.end('catches -v', output => {
expect(output.stdout).to.equal(stdout)
})

test()
test
.stdout()
.hook('init', {id: '--version'})
.exit(0)
.end('catches --version', output => {
expect(output.stdout).to.equal(stdout)
})

test()
test
.stdout()
.hook('init', {id: 'foobar'})
.end('does nothing', output => {
Expand Down
Loading

0 comments on commit 5b57dc7

Please sign in to comment.