[skip ci] improve lerna config

This commit is contained in:
Pooya Parsa 2018-11-18 01:52:53 +03:30
parent c3318644c1
commit 1aae085da5
3 changed files with 3 additions and 4 deletions

View File

@ -117,7 +117,7 @@ jobs:
command: | command: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
yarn release yarn release --yes
PACKAGE_SUFFIX=edge yarn build PACKAGE_SUFFIX=edge yarn build
./scripts/workspace-run npm publish ./scripts/workspace-run npm publish

View File

@ -3,9 +3,8 @@
"npmClient": "yarn", "npmClient": "yarn",
"useWorkspaces": true, "useWorkspaces": true,
"conventionalCommits": true, "conventionalCommits": true,
"yes": true, "exact": true,
"noPush": true, "noPush": true,
"gitTagVersion": false,
"packages": [ "packages": [
"packages/*", "packages/*",
"distributions/*" "distributions/*"

View File

@ -21,7 +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",
"release": "lerna version --exact" "release": "lerna version"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.1.6", "@babel/core": "^7.1.6",