mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
chore: tweak release it
This commit is contained in:
+33
-3
@@ -1,17 +1,47 @@
|
||||
{
|
||||
"hooks": {
|
||||
"before:init": ["yarn typecheck", "yarn test", "yarn lint"],
|
||||
"after:bump": "yarn build",
|
||||
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
|
||||
},
|
||||
"git": {
|
||||
"commitMessage": "chore: release ${version}",
|
||||
"commitMessage": "chore: release v${version}",
|
||||
"tagName": "v${version}"
|
||||
},
|
||||
"npm": {
|
||||
"publish": true
|
||||
},
|
||||
"github": {
|
||||
"release": true
|
||||
"release": true,
|
||||
"releaseName": "v${version}"
|
||||
},
|
||||
"plugins": {
|
||||
"@release-it/conventional-changelog": {
|
||||
"preset": "angular"
|
||||
"preset": {
|
||||
"name": "conventionalcommits",
|
||||
"types": [
|
||||
{
|
||||
"type": "feat",
|
||||
"section": "✨ Features"
|
||||
},
|
||||
{
|
||||
"type": "perf",
|
||||
"section": "💨 Performance Improvements"
|
||||
},
|
||||
{
|
||||
"type": "fix",
|
||||
"section": "🐛 Bug Fixes"
|
||||
},
|
||||
{
|
||||
"type": "chore(deps)",
|
||||
"section": "🛠️ Dependency Upgrades"
|
||||
},
|
||||
{
|
||||
"type": "docs",
|
||||
"section": "📚 Documentation"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
"build:js": "babel src --out-dir build --extensions \".js,.ts,.jsx,.tsx\" --source-maps --ignore \"**/__tests__/**\"",
|
||||
"build:ts": "tsc --build tsconfig.release.json",
|
||||
"build": "yarn clean && yarn build:js && yarn build:ts && yarn copy-flowtypes",
|
||||
"publish": "yarn build && release-it"
|
||||
"release": "release-it"
|
||||
},
|
||||
"files": [
|
||||
"build/",
|
||||
|
||||
Reference in New Issue
Block a user