Skip to content

Commit

Permalink
fix: run nps build before release
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 28, 2018
1 parent 05765fa commit 0a289a1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"devDependencies": {
"@dxcli/dev": "^2.0.12",
"@dxcli/semantic-release": "^0.3.3",
"@dxcli/test": "^0.9.15",
"@dxcli/tslint": "^0.0.23",
"@dxcli/test": "^0.9.16",
"@dxcli/tslint": "^0.0.24",
"@semantic-release/exec": "^2.0.0",
"@types/shelljs": "^0.7.7",
"@types/yeoman-generator": "^2.0.1",
Expand Down
4 changes: 4 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

module.exports = {
verifyConditions: [
{
path: '@semantic-release/exec',
cmd: 'nps build',
},
'@semantic-release/changelog',
'@semantic-release/npm',
'@semantic-release/git',
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,16 @@
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"
"@dxcli/test@^0.9.16":
version "0.9.16"
resolved "https://registry.yarnpkg.com/@dxcli/test/-/test-0.9.16.tgz#831a34adcdb088169ff096714ce98155a3364f01"
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"
"@dxcli/tslint@^0.0.24":
version "0.0.24"
resolved "https://registry.yarnpkg.com/@dxcli/tslint/-/tslint-0.0.24.tgz#32c19a574828d643bcb446cbfc0b2dbbbf1c1da0"
dependencies:
tslint "^5.9.1"
tslint-xo "^0.5.0"
Expand Down

0 comments on commit 0a289a1

Please sign in to comment.