Skip to content

Commit ae88f65

Browse files
committed
chore: release 1.0.0-beta.6
1 parent 444bdcc commit ae88f65

File tree

5 files changed

+15
-37
lines changed

5 files changed

+15
-37
lines changed

example/ios/Podfile.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -1719,8 +1719,8 @@ DEPENDENCIES:
17191719
- fmt (from `../../node_modules/react-native/third-party-podspecs/fmt.podspec`)
17201720
- glog (from `../../node_modules/react-native/third-party-podspecs/glog.podspec`)
17211721
- hermes-engine (from `../../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`)
1722-
- NitroModules (from `../../node_modules/react-native-nitro-modules`)
1723-
- QuickCrypto (from `../../node_modules/react-native-quick-crypto`)
1722+
- NitroModules (from `../node_modules/react-native-nitro-modules`)
1723+
- QuickCrypto (from `../node_modules/react-native-quick-crypto`)
17241724
- RCT-Folly (from `../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
17251725
- RCT-Folly/Fabric (from `../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
17261726
- RCTDeprecation (from `../../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation`)
@@ -1805,9 +1805,9 @@ EXTERNAL SOURCES:
18051805
:podspec: "../../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec"
18061806
:tag: hermes-2024-09-09-RNv0.76.0-db6d12e202e15f7a446d8848d6ca8f7abb3cfb32
18071807
NitroModules:
1808-
:path: "../../node_modules/react-native-nitro-modules"
1808+
:path: "../node_modules/react-native-nitro-modules"
18091809
QuickCrypto:
1810-
:path: "../../node_modules/react-native-quick-crypto"
1810+
:path: "../node_modules/react-native-quick-crypto"
18111811
RCT-Folly:
18121812
:podspec: "../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec"
18131813
RCTDeprecation:

example/package.json

+3-23
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-quick-crypto-example",
3-
"version": "1.0.0-beta.5",
3+
"version": "1.0.0-beta.6",
44
"private": true,
55
"type": "module",
66
"scripts": {
@@ -17,8 +17,7 @@
1717
"start": "react-native start",
1818
"pods": "RCT_NEW_ARCH_ENABLED=1 bundle exec pod install --project-directory=ios",
1919
"build:android": "cd android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
20-
"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",
21-
"release": "release-it"
20+
"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"
2221
},
2322
"dependencies": {
2423
"@craftzdog/react-native-buffer": "6.0.5",
@@ -37,7 +36,7 @@
3736
"react-native-bouncy-checkbox": "4.0.1",
3837
"react-native-nitro-modules": "0.18.1",
3938
"react-native-quick-base64": "2.1.2",
40-
"react-native-quick-crypto": "workspace:*",
39+
"react-native-quick-crypto": "1.0.0-beta.5",
4140
"react-native-safe-area-context": "4.14.0",
4241
"react-native-screens": "3.35.0",
4342
"react-native-vector-icons": "^10.1.0",
@@ -77,24 +76,5 @@
7776
},
7877
"engines": {
7978
"node": ">=18"
80-
},
81-
"release-it": {
82-
"npm": {
83-
"publish": false
84-
},
85-
"git": false,
86-
"github": {
87-
"release": false
88-
},
89-
"plugins": {
90-
"@release-it/bumper": {
91-
"out": {
92-
"file": "package.json",
93-
"path": [
94-
"dependencies.react-native-quick-crypto"
95-
]
96-
}
97-
}
98-
}
9979
}
10080
}

package.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
2-
"version": "1.0.0-beta.5",
2+
"version": "1.0.0-beta.6",
33
"scripts": {
44
"check-all": "./scripts/clang-format.sh",
55
"clean": "bun --filter='*' clean",
66
"specs": "bun --filter='react-native-quick-crypto' specs",
7+
"bundle-install": "bun --filter='react-native-quick-crypto-example' bundle-install",
78
"pods": "bun --filter='react-native-quick-crypto-example' pods",
89
"start": "bun --filter='react-native-quick-crypto-example' start",
910
"bootstrap": "bun install && bun pods",
@@ -34,13 +35,13 @@
3435
"release": true
3536
},
3637
"hooks": {
37-
"before:release": "bun example bundle-install && bun example pods && git add example/ios/Podfile.lock"
38+
"before:release": "bun bundle-install && bun pods && git add example/ios/Podfile.lock"
3839
},
3940
"plugins": {
4041
"@release-it/bumper": {
4142
"out": [
4243
{
43-
"file": "packages/react-native-nitro-image/package.json",
44+
"file": "packages/react-native-quick-crypto/package.json",
4445
"path": "version"
4546
},
4647
{
@@ -77,7 +78,8 @@
7778
}
7879
}
7980
}
80-
}, "workspaces": [
81+
},
82+
"workspaces": [
8183
"packages/react-native-quick-crypto",
8284
"example"
8385
]

packages/react-native-quick-crypto/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-quick-crypto",
3-
"version": "1.0.0-beta.5",
3+
"version": "1.0.0-beta.6",
44
"description": "A fast implementation of Node's `crypto` module written in C/C++ JSI",
55
"type": "module",
66
"main": "lib/commonjs/index",

scripts/release.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,8 @@ cp README.md packages/react-native-quick-crypto/README.md
88
cd packages/react-native-quick-crypto
99
bun release $@
1010

11-
echo "Bumping version on example app"
12-
cd ../../example
13-
bun release $@
14-
1511
echo "Creating a Git bump commit and GitHub release"
16-
cd ../
12+
cd ../..
1713
bun run release-it $@
1814

1915
echo "Successfully released QuickCrypto!"

0 commit comments

Comments
 (0)