mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
add simple release script
This commit is contained in:
parent
16c5b892fa
commit
0f28f9cdb6
@ -4,7 +4,6 @@
|
||||
"useWorkspaces": true,
|
||||
"conventionalCommits": true,
|
||||
"exact": true,
|
||||
"noPush": true,
|
||||
"packages": [
|
||||
"packages/*",
|
||||
"distributions/*"
|
||||
|
@ -21,8 +21,7 @@
|
||||
"test:lint": "yarn lint",
|
||||
"test:unit": "jest test/unit",
|
||||
"postinstall": "lerna link && yarn dev",
|
||||
"prepublish": "yarn build",
|
||||
"release": "lerna version"
|
||||
"release": "./scripts/release"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@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