Skip to content

Commit 5984b4d

Browse files
committed
chore: release 0.7.11
1 parent 8894983 commit 5984b4d

File tree

7 files changed

+42
-42
lines changed

7 files changed

+42
-42
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.DS_Store
22
node_modules/
33
tsconfig.tsbuildinfo
4+
package-lock.json

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.7.10",
2+
"version": "0.7.11",
33
"scripts": {
44
"clean": "bun --filter='*' clean",
55
"deepclean": "bun --filter='*' deepclean && del-cli node_modules",

packages/example/ios/Podfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ PODS:
323323
- react-native-quick-base64 (2.1.2):
324324
- RCT-Folly (= 2021.07.22.00)
325325
- React-Core
326-
- react-native-quick-crypto (0.7.10):
326+
- react-native-quick-crypto (0.7.11):
327327
- OpenSSL-Universal
328328
- RCT-Folly (= 2021.07.22.00)
329329
- React
@@ -628,7 +628,7 @@ SPEC CHECKSUMS:
628628
React-logger: 8edc785c47c8686c7962199a307015e2ce9a0e4f
629629
react-native-fast-encoder: 6f59e9b08e2bc5a8bf1f36e1630cdcfd66dd18af
630630
react-native-quick-base64: 61228d753294ae643294a75fece8e0e80b7558a6
631-
react-native-quick-crypto: 84ea28f8b6ec521ac49bf3fc87d64473b676a2ad
631+
react-native-quick-crypto: 5f87e8eb8386abb34e2a446fa1eca4101bf2eb2e
632632
react-native-safe-area-context: 141eca0fd4e4191288dfc8b96a7c7e1c2983447a
633633
React-NativeModulesApple: b6868ee904013a7923128892ee4a032498a1024a
634634
React-perflogger: 31ea61077185eb1428baf60c0db6e2886f141a5a

packages/example/package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
22
"name": "react-native-quick-crypto-example",
33
"description": "Example app for react-native-quick-crypto",
4-
"version": "0.7.10",
4+
"version": "0.7.11",
55
"private": true,
66
"packageManager": "[email protected]",
77
"scripts": {
8-
"clean": "del-cli android/app/build ios/build ios/Pods",
9-
"deepclean": "del-cli node_modules",
108
"android": "react-native run-android",
119
"ios": "react-native run-ios",
10+
"clean": "del-cli android/app/build ios/build ios/Pods",
11+
"deepclean": "del-cli node_modules",
12+
"bundle-install": "bundle install",
1213
"tsc": "tsc --noEmit",
1314
"typescript": "tsc --noEmit",
1415
"lint": "eslint \"**/*.{js,ts,tsx}\"",
@@ -32,7 +33,7 @@
3233
"react-native": "0.72.7",
3334
"react-native-fast-encoder": "^0.1.12",
3435
"react-native-quick-base64": "^2.1.2",
35-
"react-native-quick-crypto": "workspace:*",
36+
"react-native-quick-crypto": "0.7.11",
3637
"react-native-safe-area-context": "^4.5.0",
3738
"react-native-screens": "^3.20.0",
3839
"readable-stream": "^4.5.2",

packages/react-native-quick-crypto/.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ lint/tmp/
152152
.npmrc
153153

154154
# v1.x and higher stuff
155-
example0/
156155
tsconfig.tsbuildinfo
157156
package-lock.json
158-
packages/*
159157
yarn.lock
160158
.java-version
159+
160+
README.md

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

+14-33
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-quick-crypto",
3-
"version": "0.7.10",
3+
"version": "0.7.11",
44
"description": "A fast implementation of Node's `crypto` module written in C/C++ JSI",
55
"packageManager": "[email protected]",
66
"main": "lib/commonjs/index",
@@ -97,46 +97,27 @@
9797
"typescript-eslint": "8.19.0"
9898
},
9999
"release-it": {
100-
"git": {
101-
"commitMessage": "chore: release ${version}",
102-
"tagName": "v${version}"
103-
},
104100
"npm": {
105101
"publish": true
106102
},
103+
"git": false,
107104
"github": {
108-
"release": true
105+
"release": false
109106
},
110107
"hooks": {
111-
"before:release": "bun install && bun pods && git add example/ios/Podfile.lock"
108+
"after:bump": "bun tsc && bun lint && bun format && bun prepare"
112109
},
113110
"plugins": {
114-
"@release-it/conventional-changelog": {
115-
"preset": {
116-
"name": "conventionalcommits",
117-
"types": [
118-
{
119-
"type": "feat",
120-
"section": "✨ Features"
121-
},
122-
{
123-
"type": "fix",
124-
"section": "🐛 Bug Fixes"
125-
},
126-
{
127-
"type": "perf",
128-
"section": "💨 Performance Improvements"
129-
},
130-
{
131-
"type": "chore(deps)",
132-
"section": "🛠️ Dependency Upgrades"
133-
},
134-
{
135-
"type": "docs",
136-
"section": "📚 Documentation"
137-
}
138-
]
139-
}
111+
"@release-it/bumper": {
112+
"out": [
113+
{
114+
"file": "../../packages/example/package.json",
115+
"path": [
116+
"version",
117+
"dependencies.react-native-quick-crypto"
118+
]
119+
}
120+
]
140121
}
141122
}
142123
},

scripts/release.sh

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
echo "Starting the release process..."
6+
echo "Provided options: $@"
7+
8+
echo "Publishing 'react-native-quick-crypto' to NPM"
9+
cp README.md packages/react-native-quick-crypto/README.md
10+
cd packages/react-native-quick-crypto
11+
bun release $@
12+
13+
echo "Creating a Git bump commit and GitHub release"
14+
cd ../..
15+
bun run release-it $@
16+
17+
echo "\nSuccessfully released QuickCrypto!"

0 commit comments

Comments
 (0)