Skip to content

Commit 1e47a09

Browse files
committed
chore: bump lerna
1 parent 2ad898e commit 1e47a09

File tree

3 files changed

+1462
-181
lines changed

3 files changed

+1462
-181
lines changed

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"register-vuepress": "lerna exec --scope vuepress -- yarn link",
1919
"lint": "eslint packages --fix --ext .js,.vue",
2020
"release": "yarn --pure-lockfile && yarn tsc && node scripts/release.js",
21-
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
21+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 2",
2222
"test": "node scripts/test.js",
2323
"tsc": "lerna run tsc"
2424
},
@@ -36,7 +36,7 @@
3636
"eslint": "^4.19.1",
3737
"eslint-plugin-jest": "^21.15.1",
3838
"eslint-plugin-vue-libs": "^3.0.0",
39-
"lerna": "^2.11.0",
39+
"lerna": "^3.6.0",
4040
"lint-staged": "^7.0.4",
4141
"minimist": "^1.2.0",
4242
"yorkie": "^1.0.3",

Diff for: scripts/release.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ const release = async () => {
102102

103103
const releaseArguments = [
104104
'publish',
105-
'--repo-version',
106105
version,
107106
'--force-publish',
108107
'--npm-tag',
@@ -112,7 +111,7 @@ const release = async () => {
112111

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

115-
await execa(require.resolve('lerna/bin/lerna'), releaseArguments, { stdio: 'inherit' })
114+
await execa(require.resolve('lerna/cli'), releaseArguments, { stdio: 'inherit' })
116115

117116
await execa('yarn', ['changelog'])
118117
await execa('git', ['add', '-A'], { stdio: 'inherit' })

0 commit comments

Comments
 (0)