Skip to content

Commit 44a4f24

Browse files
committed
Script
1 parent d7a160f commit 44a4f24

2 files changed

Lines changed: 47 additions & 1 deletion

File tree

‎example/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"lint-ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/github-actions",
1010
"start": "react-native start",
1111
"test": "jest",
12+
"bundle-install": "bundle install",
1213
"pods": "bundle install && cd ios && bundle exec pod install",
1314
"build:android-release": "cd android && ./gradlew assembleRelease --no-daemon"
1415
},

‎package.json‎

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,53 @@
2121
"devDependencies": {
2222
"@jamesacarr/eslint-formatter-github-actions": "^0.2.0",
2323
"@release-it-plugins/workspaces": "^4.2.1",
24-
"@release-it/bumper": "^6.0.1",
2524
"@release-it/conventional-changelog": "^8.0.2",
2625
"release-it": "^19.0.4"
26+
},
27+
28+
"release-it": {
29+
"npm": {
30+
"publish": false
31+
},
32+
"git": {
33+
"commitMessage": "chore: release ${version}",
34+
"tagName": "v${version}",
35+
"requireCleanWorkingDir": false
36+
},
37+
"github": {
38+
"release": true
39+
},
40+
"hooks": {
41+
"before:release": "bun i && bun mmkv build && bun nitro-test build && bun example bundle-install && bun example pods && git add example/ios/Podfile.lock"
42+
},
43+
"plugins": {
44+
"@release-it/conventional-changelog": {
45+
"preset": {
46+
"name": "conventionalcommits",
47+
"types": [
48+
{
49+
"type": "feat",
50+
"section": "✨ Features"
51+
},
52+
{
53+
"type": "perf",
54+
"section": "💨 Performance Improvements"
55+
},
56+
{
57+
"type": "fix",
58+
"section": "🐛 Bug Fixes"
59+
},
60+
{
61+
"type": "chore(deps)",
62+
"section": "🛠️ Dependency Upgrades"
63+
},
64+
{
65+
"type": "docs",
66+
"section": "📚 Documentation"
67+
}
68+
]
69+
}
70+
}
71+
}
2772
}
2873
}

0 commit comments

Comments
 (0)