Skip to content

Commit

Permalink
chore: release 0.7.11
Browse files Browse the repository at this point in the history
  • Loading branch information
boorad committed Jan 2, 2025
1 parent 8894983 commit 5984b4d
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 42 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
node_modules/
tsconfig.tsbuildinfo
package-lock.json
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.7.10",
"version": "0.7.11",
"scripts": {
"clean": "bun --filter='*' clean",
"deepclean": "bun --filter='*' deepclean && del-cli node_modules",
Expand Down
4 changes: 2 additions & 2 deletions packages/example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ PODS:
- react-native-quick-base64 (2.1.2):
- RCT-Folly (= 2021.07.22.00)
- React-Core
- react-native-quick-crypto (0.7.10):
- react-native-quick-crypto (0.7.11):
- OpenSSL-Universal
- RCT-Folly (= 2021.07.22.00)
- React
Expand Down Expand Up @@ -628,7 +628,7 @@ SPEC CHECKSUMS:
React-logger: 8edc785c47c8686c7962199a307015e2ce9a0e4f
react-native-fast-encoder: 6f59e9b08e2bc5a8bf1f36e1630cdcfd66dd18af
react-native-quick-base64: 61228d753294ae643294a75fece8e0e80b7558a6
react-native-quick-crypto: 84ea28f8b6ec521ac49bf3fc87d64473b676a2ad
react-native-quick-crypto: 5f87e8eb8386abb34e2a446fa1eca4101bf2eb2e
react-native-safe-area-context: 141eca0fd4e4191288dfc8b96a7c7e1c2983447a
React-NativeModulesApple: b6868ee904013a7923128892ee4a032498a1024a
React-perflogger: 31ea61077185eb1428baf60c0db6e2886f141a5a
Expand Down
9 changes: 5 additions & 4 deletions packages/example/package.json
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}\"",
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-quick-crypto/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ lint/tmp/
.npmrc

# v1.x and higher stuff
example0/
tsconfig.tsbuildinfo
package-lock.json
packages/*
yarn.lock
.java-version

README.md
47 changes: 14 additions & 33 deletions packages/react-native-quick-crypto/package.json
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",
Expand Down Expand Up @@ -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"
]
}
]
}
}
},
Expand Down
17 changes: 17 additions & 0 deletions scripts/release.sh
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!"

0 comments on commit 5984b4d

Please sign in to comment.