Merge pull request #433 from webzard-io/chore/gitadd

fix bug: fail to release pacakge because of commitlint
This commit is contained in:
tanbowensg 2022-06-09 17:46:49 +08:00 committed by GitHub
commit 9d2af48058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 12 deletions

View File

@ -7,8 +7,8 @@
"test:ci": "jest -c config/jest.ci.config.js",
"lint": "eslint packages --ext .ts --ext .tsx",
"fix-lint": "eslint --fix packages --ext .ts --ext .tsx",
"release": "lerna publish",
"release:canary": "branch=$(git rev-parse --abbrev-ref HEAD); lerna publish --canary --preid $branch",
"release": "lerna publish -m 'chore(*): publish'",
"release:canary": "branch=$(git rev-parse --abbrev-ref HEAD); lerna publish --canary --preid $branch -m 'chore(*): publish'",
"commit": "git cz",
"prepare": "husky install"
},
@ -43,8 +43,7 @@
"lint-staged": {
"*.{ts,tsx,html}": [
"prettier --write",
"eslint --fix",
"git add"
"eslint --fix"
]
}
}

View File

@ -69,8 +69,7 @@
"lint-staged": {
"*.{ts,tsx,html}": [
"prettier --write",
"eslint --fix",
"git add"
"eslint --fix"
]
},
"peerDependencies": {

View File

@ -55,8 +55,7 @@
"lint-staged": {
"*.{ts,tsx,html}": [
"prettier --write",
"eslint --fix",
"git add"
"eslint --fix"
]
},
"peerDependencies": {

View File

@ -88,8 +88,7 @@
"lint-staged": {
"*.{ts,tsx,html}": [
"prettier --write",
"eslint --fix",
"git add"
"eslint --fix"
]
},
"peerDependencies": {

View File

@ -41,8 +41,7 @@
"lint-staged": {
"*.{ts,tsx,html}": [
"prettier --write",
"eslint --fix",
"git add"
"eslint --fix"
]
},
"peerDependencies": {