Skip to content

Commit

Permalink
fix: rename dev-test to test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 28, 2018
1 parent b373a5c commit 2a2bf9b
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 20 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"@dxcli/command": "^0.1.22",
"@dxcli/config": "^0.1.27",
"@dxcli/engine": "^0.1.12",
"@dxcli/loader": "^0.2.8",
"@dxcli/parser": "^0.0.5",
"@dxcli/version": "^0.1.6",
"cli-ux": "^3.2.2",
Expand All @@ -22,8 +23,8 @@
},
"devDependencies": {
"@dxcli/dev": "^2.0.12",
"@dxcli/dev-test": "^0.9.12",
"@dxcli/semantic-release": "^0.3.3",
"@dxcli/test": "^0.9.15",
"@dxcli/tslint": "^0.0.23",
"@semantic-release/exec": "^2.0.0",
"@types/shelljs": "^0.7.7",
Expand Down
2 changes: 1 addition & 1 deletion src/generators/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ class App extends Generator {
'chai',
)
if (this.type !== 'base') devDependencies.push(
'@dxcli/dev-test',
'@dxcli/test',
)
}
if (this.semantic_release) devDependencies.push('@dxcli/semantic-release')
Expand Down
2 changes: 1 addition & 1 deletion templates/app/plugin/test/commands/hello.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const {expect, test} = require('@dxcli/dev-test')
const {expect, test} = require('@dxcli/test')

describe('command', () => {
test
Expand Down
2 changes: 1 addition & 1 deletion templates/app/plugin/test/commands/hello.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {expect, test} from '@dxcli/dev-test'
import {expect, test} from '@dxcli/test'

describe('command', () => {
test
Expand Down
2 changes: 1 addition & 1 deletion templates/app/plugin/test/hooks/init.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const {expect, test} = require('@dxcli/dev-test')
const {expect, test} = require('@dxcli/test')

describe('hooks', () => {
test
Expand Down
2 changes: 1 addition & 1 deletion templates/app/plugin/test/hooks/init.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {expect, test} from '@dxcli/dev-test'
import {expect, test} from '@dxcli/test'

describe('hooks', () => {
test
Expand Down
2 changes: 1 addition & 1 deletion templates/app/single/test/index.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const {expect, test} = require('@dxcli/dev-test')
const {expect, test} = require('@dxcli/test')
const cmd = require('..')

describe('command', () => {
Expand Down
2 changes: 1 addition & 1 deletion templates/app/single/test/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {expect, test} from '@dxcli/dev-test'
import {expect, test} from '@dxcli/test'

import cmd from '../src'

Expand Down
2 changes: 1 addition & 1 deletion test/run.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const {test} = require('@dxcli/dev-test')
const {test} = require('@dxcli/test')
const path = require('path')
const sh = require('shelljs')
const npmPath = require('npm-run-path')
Expand Down
22 changes: 11 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,6 @@
lodash "^4.17.4"
read-pkg "^3.0.0"

"@dxcli/dev-test@^0.9.12":
version "0.9.12"
resolved "https://registry.yarnpkg.com/@dxcli/dev-test/-/dev-test-0.9.12.tgz#a944edef971a6a9a22974936854e6c38edcdedc7"
dependencies:
fancy-test "^0.5.5"
lodash "^4.17.4"

"@dxcli/dev@^2.0.12":
version "2.0.12"
resolved "https://registry.yarnpkg.com/@dxcli/dev/-/dev-2.0.12.tgz#027bcaf96d6c67eb730aa077a1625fdf4e079379"
Expand Down Expand Up @@ -155,7 +148,7 @@
cli-ux "^3.2.1"
debug "^3.1.0"

"@dxcli/loader@^0.2.5":
"@dxcli/loader@^0.2.5", "@dxcli/loader@^0.2.8":
version "0.2.8"
resolved "https://registry.yarnpkg.com/@dxcli/loader/-/loader-0.2.8.tgz#a704e704d0682e82ab0ad2d1393cbe326986c922"
dependencies:
Expand Down Expand Up @@ -207,6 +200,13 @@
execa "^0.9.0"
semantic-release "^12.2.5"

"@dxcli/test@^0.9.15":
version "0.9.15"
resolved "https://registry.yarnpkg.com/@dxcli/test/-/test-0.9.15.tgz#fcd9be75dd4f7b26cdced6f3227ca80916fc7400"
dependencies:
fancy-test "^0.6.3"
lodash "^4.17.4"

"@dxcli/tslint@^0.0.23":
version "0.0.23"
resolved "https://registry.yarnpkg.com/@dxcli/tslint/-/tslint-0.0.23.tgz#c9877ec9927bb958c1a71edac3263007ce64b22d"
Expand Down Expand Up @@ -1888,9 +1888,9 @@ extsprintf@^1.2.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f"

fancy-test@^0.5.5:
version "0.5.5"
resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-0.5.5.tgz#e87b189a853af335c76bbcb98704db5ec8380c27"
fancy-test@^0.6.3:
version "0.6.3"
resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-0.6.3.tgz#cbcdb3bd2e969245e9885fda9d23c5874ef199e3"
dependencies:
lodash "^4.17.4"
stdout-stderr "^0.1.4"
Expand Down

0 comments on commit 2a2bf9b

Please sign in to comment.