|
1 | 1 | { |
2 | 2 | "name": "react-native-sensitive-info", |
3 | | - "version": "6.1.0", |
| 3 | + "version": "6.1.1", |
4 | 4 | "description": "🔐 React Native secure storage, rebuilt with Nitro Modules ⚡️ Biometric-ready, StrongBox-aware, and metadata-rich for modern mobile apps", |
5 | 5 | "main": "./lib/commonjs/index.js", |
6 | 6 | "module": "./lib/module/index.js", |
|
50 | 50 | "scripts": { |
51 | 51 | "typecheck": "tsc --noEmit", |
52 | 52 | "clean": "git clean -dfX", |
53 | | - "release": "semantic-release", |
54 | | - "release:it": "release-it --config .release-it.json", |
| 53 | + "release": "release-it", |
55 | 54 | "build": "npm run typecheck && bob build", |
56 | 55 | "codegen": "nitrogen --logLevel=\"debug\" && npm run build && node post-script.js", |
57 | 56 | "lint": "biome check --write .", |
|
109 | 108 | }, |
110 | 109 | "devDependencies": { |
111 | 110 | "@biomejs/biome": "^2.4.13", |
112 | | - "@semantic-release/changelog": "^6.0.3", |
113 | | - "@semantic-release/git": "^10.0.1", |
| 111 | + "@release-it/conventional-changelog": "^11.0.0", |
114 | 112 | "@testing-library/dom": "^10.4.1", |
115 | 113 | "@testing-library/react": "^16.3.2", |
116 | 114 | "@types/jest": "^30.0.0", |
117 | 115 | "@types/react": "19.2.x", |
118 | 116 | "babel-plugin-react-compiler": "^1.0.0", |
119 | | - "conventional-changelog-cli": "^5.0.0", |
120 | 117 | "conventional-changelog-conventionalcommits": "^9.3.1", |
121 | 118 | "jest": "^30.3.0", |
122 | 119 | "jest-environment-jsdom": "^30.3.0", |
|
128 | 125 | "react-native-builder-bob": "^0.41.0", |
129 | 126 | "react-native-nitro-modules": "0.35.6", |
130 | 127 | "release-it": "^20.0.1", |
131 | | - "semantic-release": "^25.0.3", |
132 | 128 | "ts-jest": "^29.4.9", |
133 | 129 | "ts-node": "^10.9.2", |
134 | 130 | "typescript": "^6.0.3" |
|
164 | 160 | ] |
165 | 161 | ] |
166 | 162 | }, |
| 163 | + "release-it": { |
| 164 | + "git": { |
| 165 | + "commitMessage": "chore(release): v${version}", |
| 166 | + "tagName": "v${version}", |
| 167 | + "tagAnnotation": "Release v${version}", |
| 168 | + "requireCleanWorkingDir": true, |
| 169 | + "requireBranch": [ |
| 170 | + "master", |
| 171 | + "next" |
| 172 | + ], |
| 173 | + "requireUpstream": false, |
| 174 | + "push": true, |
| 175 | + "pushArgs": [ |
| 176 | + "--follow-tags" |
| 177 | + ] |
| 178 | + }, |
| 179 | + "npm": { |
| 180 | + "publish": true, |
| 181 | + "verifyAccess": true, |
| 182 | + "tokenRef": "NPM_TOKEN" |
| 183 | + }, |
| 184 | + "github": { |
| 185 | + "release": true, |
| 186 | + "releaseName": "v${version}", |
| 187 | + "tokenRef": "GITHUB_TOKEN" |
| 188 | + }, |
| 189 | + "hooks": { |
| 190 | + "before:init": [ |
| 191 | + "npm run typecheck", |
| 192 | + "npm run build" |
| 193 | + ] |
| 194 | + }, |
| 195 | + "plugins": { |
| 196 | + "@release-it/conventional-changelog": { |
| 197 | + "preset": { |
| 198 | + "name": "conventionalcommits", |
| 199 | + "types": [ |
| 200 | + { |
| 201 | + "type": "feat", |
| 202 | + "section": "✨ Features" |
| 203 | + }, |
| 204 | + { |
| 205 | + "type": "fix", |
| 206 | + "section": "🐛 Bug Fixes" |
| 207 | + }, |
| 208 | + { |
| 209 | + "type": "perf", |
| 210 | + "section": "💨 Performance Improvements" |
| 211 | + }, |
| 212 | + { |
| 213 | + "type": "refactor", |
| 214 | + "section": "🔄 Code Refactors" |
| 215 | + }, |
| 216 | + { |
| 217 | + "type": "docs", |
| 218 | + "section": "📚 Documentation" |
| 219 | + }, |
| 220 | + { |
| 221 | + "type": "chore", |
| 222 | + "section": "🛠️ Other changes" |
| 223 | + } |
| 224 | + ] |
| 225 | + }, |
| 226 | + "infile": "CHANGELOG.md", |
| 227 | + "header": "# Changelog" |
| 228 | + } |
| 229 | + } |
| 230 | + }, |
167 | 231 | "packageManager": "yarn@4.10.3" |
168 | 232 | } |
0 commit comments