Skip to content

Commit

Permalink
chore: bump lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Dec 13, 2018
1 parent 2ad898e commit 1e47a09
Show file tree
Hide file tree
Showing 3 changed files with 1,462 additions and 181 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"register-vuepress": "lerna exec --scope vuepress -- yarn link",
"lint": "eslint packages --fix --ext .js,.vue",
"release": "yarn --pure-lockfile && yarn tsc && node scripts/release.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 2",
"test": "node scripts/test.js",
"tsc": "lerna run tsc"
},
Expand All @@ -36,7 +36,7 @@
"eslint": "^4.19.1",
"eslint-plugin-jest": "^21.15.1",
"eslint-plugin-vue-libs": "^3.0.0",
"lerna": "^2.11.0",
"lerna": "^3.6.0",
"lint-staged": "^7.0.4",
"minimist": "^1.2.0",
"yorkie": "^1.0.3",
Expand Down
3 changes: 1 addition & 2 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ const release = async () => {

const releaseArguments = [
'publish',
'--repo-version',
version,
'--force-publish',
'--npm-tag',
Expand All @@ -112,7 +111,7 @@ const release = async () => {

console.log(`lerna ${releaseArguments.join(' ')}`)

await execa(require.resolve('lerna/bin/lerna'), releaseArguments, { stdio: 'inherit' })
await execa(require.resolve('lerna/cli'), releaseArguments, { stdio: 'inherit' })

await execa('yarn', ['changelog'])
await execa('git', ['add', '-A'], { stdio: 'inherit' })
Expand Down
Loading

0 comments on commit 1e47a09

Please sign in to comment.