[skip ci] improve lerna config

This commit is contained in:
Pooya Parsa 2018-11-18 01:52:53 +03:30
parent 3e48de906a
commit 8036009af4
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

@ -22,7 +22,7 @@
"test:unit": "jest test/unit", "test:unit": "jest test/unit",
"test:types": "tsc -p test/types", "test:types": "tsc -p test/types",
"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",