mirror of
https://github.com/wahyd4/vuepress.git
synced 2026-08-09 05:16:23 +10:00
chore: bump lerna
This commit is contained in:
+2
-2
@@ -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"
|
||||
},
|
||||
@@ -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",
|
||||
|
||||
+1
-2
@@ -102,7 +102,6 @@ const release = async () => {
|
||||
|
||||
const releaseArguments = [
|
||||
'publish',
|
||||
'--repo-version',
|
||||
version,
|
||||
'--force-publish',
|
||||
'--npm-tag',
|
||||
@@ -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' })
|
||||
|
||||
Reference in New Issue
Block a user