Skip to content

Commit

Permalink
chore: release 1.0.0-beta.6
Browse files Browse the repository at this point in the history
  • Loading branch information
boorad committed Dec 3, 2024
1 parent 444bdcc commit ae88f65
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 37 deletions.
8 changes: 4 additions & 4 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1719,8 +1719,8 @@ DEPENDENCIES:
- fmt (from `../../node_modules/react-native/third-party-podspecs/fmt.podspec`)
- glog (from `../../node_modules/react-native/third-party-podspecs/glog.podspec`)
- hermes-engine (from `../../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`)
- NitroModules (from `../../node_modules/react-native-nitro-modules`)
- QuickCrypto (from `../../node_modules/react-native-quick-crypto`)
- NitroModules (from `../node_modules/react-native-nitro-modules`)
- QuickCrypto (from `../node_modules/react-native-quick-crypto`)
- RCT-Folly (from `../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
- RCT-Folly/Fabric (from `../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
- RCTDeprecation (from `../../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation`)
Expand Down Expand Up @@ -1805,9 +1805,9 @@ EXTERNAL SOURCES:
:podspec: "../../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec"
:tag: hermes-2024-09-09-RNv0.76.0-db6d12e202e15f7a446d8848d6ca8f7abb3cfb32
NitroModules:
:path: "../../node_modules/react-native-nitro-modules"
:path: "../node_modules/react-native-nitro-modules"
QuickCrypto:
:path: "../../node_modules/react-native-quick-crypto"
:path: "../node_modules/react-native-quick-crypto"
RCT-Folly:
:podspec: "../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec"
RCTDeprecation:
Expand Down
26 changes: 3 additions & 23 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-quick-crypto-example",
"version": "1.0.0-beta.5",
"version": "1.0.0-beta.6",
"private": true,
"type": "module",
"scripts": {
Expand All @@ -17,8 +17,7 @@
"start": "react-native start",
"pods": "RCT_NEW_ARCH_ENABLED=1 bundle exec pod install --project-directory=ios",
"build:android": "cd android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
"build:ios": "cd ios && xcodebuild -workspace QuickCrytpExample.xcworkspace -scheme QuickCrytpExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO",
"release": "release-it"
"build:ios": "cd ios && xcodebuild -workspace QuickCrytpExample.xcworkspace -scheme QuickCrytpExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO"
},
"dependencies": {
"@craftzdog/react-native-buffer": "6.0.5",
Expand All @@ -37,7 +36,7 @@
"react-native-bouncy-checkbox": "4.0.1",
"react-native-nitro-modules": "0.18.1",
"react-native-quick-base64": "2.1.2",
"react-native-quick-crypto": "workspace:*",
"react-native-quick-crypto": "1.0.0-beta.5",
"react-native-safe-area-context": "4.14.0",
"react-native-screens": "3.35.0",
"react-native-vector-icons": "^10.1.0",
Expand Down Expand Up @@ -77,24 +76,5 @@
},
"engines": {
"node": ">=18"
},
"release-it": {
"npm": {
"publish": false
},
"git": false,
"github": {
"release": false
},
"plugins": {
"@release-it/bumper": {
"out": {
"file": "package.json",
"path": [
"dependencies.react-native-quick-crypto"
]
}
}
}
}
}
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"version": "1.0.0-beta.5",
"version": "1.0.0-beta.6",
"scripts": {
"check-all": "./scripts/clang-format.sh",
"clean": "bun --filter='*' clean",
"specs": "bun --filter='react-native-quick-crypto' specs",
"bundle-install": "bun --filter='react-native-quick-crypto-example' bundle-install",
"pods": "bun --filter='react-native-quick-crypto-example' pods",
"start": "bun --filter='react-native-quick-crypto-example' start",
"bootstrap": "bun install && bun pods",
Expand Down Expand Up @@ -34,13 +35,13 @@
"release": true
},
"hooks": {
"before:release": "bun example bundle-install && bun example pods && git add example/ios/Podfile.lock"
"before:release": "bun bundle-install && bun pods && git add example/ios/Podfile.lock"
},
"plugins": {
"@release-it/bumper": {
"out": [
{
"file": "packages/react-native-nitro-image/package.json",
"file": "packages/react-native-quick-crypto/package.json",
"path": "version"
},
{
Expand Down Expand Up @@ -77,7 +78,8 @@
}
}
}
}, "workspaces": [
},
"workspaces": [
"packages/react-native-quick-crypto",
"example"
]
Expand Down
2 changes: 1 addition & 1 deletion 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": "1.0.0-beta.5",
"version": "1.0.0-beta.6",
"description": "A fast implementation of Node's `crypto` module written in C/C++ JSI",
"type": "module",
"main": "lib/commonjs/index",
Expand Down
6 changes: 1 addition & 5 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ cp README.md packages/react-native-quick-crypto/README.md
cd packages/react-native-quick-crypto
bun release $@

echo "Bumping version on example app"
cd ../../example
bun release $@

echo "Creating a Git bump commit and GitHub release"
cd ../
cd ../..
bun run release-it $@

echo "Successfully released QuickCrypto!"

0 comments on commit ae88f65

Please sign in to comment.