mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
add simple release script
This commit is contained in:
parent
16c5b892fa
commit
0f28f9cdb6
@ -4,7 +4,6 @@
|
|||||||
"useWorkspaces": true,
|
"useWorkspaces": true,
|
||||||
"conventionalCommits": true,
|
"conventionalCommits": true,
|
||||||
"exact": true,
|
"exact": true,
|
||||||
"noPush": true,
|
|
||||||
"packages": [
|
"packages": [
|
||||||
"packages/*",
|
"packages/*",
|
||||||
"distributions/*"
|
"distributions/*"
|
||||||
|
@ -21,8 +21,7 @@
|
|||||||
"test:lint": "yarn lint",
|
"test:lint": "yarn lint",
|
||||||
"test:unit": "jest test/unit",
|
"test:unit": "jest test/unit",
|
||||||
"postinstall": "lerna link && yarn dev",
|
"postinstall": "lerna link && yarn dev",
|
||||||
"prepublish": "yarn build",
|
"release": "./scripts/release"
|
||||||
"release": "lerna version"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.1.6",
|
"@babel/core": "^7.1.6",
|
||||||
|
5
scripts/release
Executable file
5
scripts/release
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
yarn lerna version
|
||||||
|
yarn build
|
||||||
|
./scripts/workspace-run npm publish -q
|
Loading…
Reference in New Issue
Block a user