chore(lerna): allow branch next

This commit is contained in:
yuqi.pyq 2019-11-12 15:48:15 +08:00
parent 00493b81e6
commit 6af4c961e3
2 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,8 @@
"verifyRegistry": false, "verifyRegistry": false,
"allowBranch": [ "allowBranch": [
"master", "master",
"develop" "develop",
"next"
], ],
"message": "chore: publish" "message": "chore: publish"
} }

View File

@ -98,7 +98,7 @@
"site:deploy": "npm run site:build && gh-pages -d public", "site:deploy": "npm run site:build && gh-pages -d public",
"prebuild": "run-p tsc lint", "prebuild": "run-p tsc lint",
"build": "lerna exec --parallel 'BABEL_ENV=build babel src --root-mode upward --out-dir dist --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments'", "build": "lerna exec --parallel 'BABEL_ENV=build babel src --root-mode upward --out-dir dist --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments'",
"postbuild": "yarn build:declarations", "todo:postbuild": "yarn build:declarations",
"fix": "run-p -c 'lint:ts-* --fix'", "fix": "run-p -c 'lint:ts-* --fix'",
"lint:css": "stylelint 'packages/**/*.ts{,x}'", "lint:css": "stylelint 'packages/**/*.ts{,x}'",
"lint:ts-prod": "tslint --config tslint.prod.json 'packages/**/*.ts{,x}'", "lint:ts-prod": "tslint --config tslint.prod.json 'packages/**/*.ts{,x}'",