-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
42 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.DS_Store | ||
node_modules/ | ||
tsconfig.tsbuildinfo | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
{ | ||
"name": "react-native-quick-crypto-example", | ||
"description": "Example app for react-native-quick-crypto", | ||
"version": "0.7.10", | ||
"version": "0.7.11", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"clean": "del-cli android/app/build ios/build ios/Pods", | ||
"deepclean": "del-cli node_modules", | ||
"android": "react-native run-android", | ||
"ios": "react-native run-ios", | ||
"clean": "del-cli android/app/build ios/build ios/Pods", | ||
"deepclean": "del-cli node_modules", | ||
"bundle-install": "bundle install", | ||
"tsc": "tsc --noEmit", | ||
"typescript": "tsc --noEmit", | ||
"lint": "eslint \"**/*.{js,ts,tsx}\"", | ||
|
@@ -32,7 +33,7 @@ | |
"react-native": "0.72.7", | ||
"react-native-fast-encoder": "^0.1.12", | ||
"react-native-quick-base64": "^2.1.2", | ||
"react-native-quick-crypto": "workspace:*", | ||
"react-native-quick-crypto": "0.7.11", | ||
"react-native-safe-area-context": "^4.5.0", | ||
"react-native-screens": "^3.20.0", | ||
"readable-stream": "^4.5.2", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "react-native-quick-crypto", | ||
"version": "0.7.10", | ||
"version": "0.7.11", | ||
"description": "A fast implementation of Node's `crypto` module written in C/C++ JSI", | ||
"packageManager": "[email protected]", | ||
"main": "lib/commonjs/index", | ||
|
@@ -97,46 +97,27 @@ | |
"typescript-eslint": "8.19.0" | ||
}, | ||
"release-it": { | ||
"git": { | ||
"commitMessage": "chore: release ${version}", | ||
"tagName": "v${version}" | ||
}, | ||
"npm": { | ||
"publish": true | ||
}, | ||
"git": false, | ||
"github": { | ||
"release": true | ||
"release": false | ||
}, | ||
"hooks": { | ||
"before:release": "bun install && bun pods && git add example/ios/Podfile.lock" | ||
"after:bump": "bun tsc && bun lint && bun format && bun prepare" | ||
}, | ||
"plugins": { | ||
"@release-it/conventional-changelog": { | ||
"preset": { | ||
"name": "conventionalcommits", | ||
"types": [ | ||
{ | ||
"type": "feat", | ||
"section": "✨ Features" | ||
}, | ||
{ | ||
"type": "fix", | ||
"section": "🐛 Bug Fixes" | ||
}, | ||
{ | ||
"type": "perf", | ||
"section": "💨 Performance Improvements" | ||
}, | ||
{ | ||
"type": "chore(deps)", | ||
"section": "🛠️ Dependency Upgrades" | ||
}, | ||
{ | ||
"type": "docs", | ||
"section": "📚 Documentation" | ||
} | ||
] | ||
} | ||
"@release-it/bumper": { | ||
"out": [ | ||
{ | ||
"file": "../../packages/example/package.json", | ||
"path": [ | ||
"version", | ||
"dependencies.react-native-quick-crypto" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
echo "Starting the release process..." | ||
echo "Provided options: $@" | ||
|
||
echo "Publishing 'react-native-quick-crypto' to NPM" | ||
cp README.md packages/react-native-quick-crypto/README.md | ||
cd packages/react-native-quick-crypto | ||
bun release $@ | ||
|
||
echo "Creating a Git bump commit and GitHub release" | ||
cd ../.. | ||
bun run release-it $@ | ||
|
||
echo "\nSuccessfully released QuickCrypto!" |