Skip to content

Commit 8512b26

Browse files
committed
add new @sqliteai/sqlite-sync-react-native library to the release job and to the docs
1 parent da02bee commit 8512b26

5 files changed

Lines changed: 43 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,25 @@ jobs:
351351
git add "$PKG"
352352
git commit -m "Bump sqlite-sync-dev version to ${{ steps.tag.outputs.version }}"
353353
git push origin dev
354-
354+
355+
- uses: actions/checkout@v4.2.2
356+
if: steps.tag.outputs.version != ''
357+
with:
358+
repository: sqliteai/sqlite-sync-react-native
359+
path: sqlite-sync-react-native
360+
token: ${{ secrets.PAT }}
361+
362+
- name: release sqlite-sync-react-native
363+
if: steps.tag.outputs.version != ''
364+
run: |
365+
cd sqlite-sync-react-native
366+
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
367+
git config --global user.name "$GITHUB_ACTOR"
368+
jq --arg version "${{ steps.tag.outputs.version }}" '.version = $version' package.json > package.tmp.json && mv package.tmp.json package.json
369+
git add package.json
370+
git commit -m "Bump sqlite-sync version to ${{ steps.tag.outputs.version }}"
371+
git push origin main
372+
355373
- uses: actions/setup-java@v4
356374
if: steps.tag.outputs.version != ''
357375
with:
@@ -446,6 +464,7 @@ jobs:
446464
447465
[**Node**](https://www.npmjs.com/package/@sqliteai/sqlite-sync-dev): `npm install @sqliteai/sqlite-sync-dev`
448466
[**WASM**](https://www.npmjs.com/package/@sqliteai/sqlite-wasm): `npm install @sqliteai/sqlite-wasm@dev`
467+
[**React Native**](https://www.npmjs.com/package/@sqliteai/sqlite-sync-react-native): `npm install @sqliteai/sqlite-sync-react-native`
449468
[**Expo**](https://www.npmjs.com/package/@sqliteai/sqlite-sync-expo-dev): `npm install @sqliteai/sqlite-sync-expo-dev`
450469
[**Android**](https://central.sonatype.com/artifact/ai.sqlite/sync.dev): `ai.sqlite:sync.dev:${{ steps.tag.outputs.version }}`
451470
[**Swift**](https://github.com/sqliteai/sqlite-sync-dev#swift-package): [Installation Guide](https://github.com/sqliteai/sqlite-sync-dev#swift-package)

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,16 @@ if (Platform.OS === 'ios') {
217217
}
218218
```
219219

220+
### React Native
221+
222+
Install the React Native library:
223+
224+
```bash
225+
npm install @sqliteai/sqlite-sync-react-native
226+
```
227+
228+
Then follow the instructions from the [README](https://www.npmjs.com/package/@sqliteai/sqlite-sync-react-native)
229+
220230
## Getting Started
221231

222232
Here's a quick example to get started with SQLite Sync:

docs/postgresql/CLIENT.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,16 @@ npm install @sqliteai/sqlite-sync-expo-dev
188188

189189
Then follow the instructions from the [README](https://www.npmjs.com/package/@sqliteai/sqlite-sync-expo-dev)
190190

191+
## React Native
192+
193+
Install the React Native library:
194+
195+
```
196+
npm install @sqliteai/sqlite-sync-react-native
197+
```
198+
199+
Then follow the instructions from the [README](https://www.npmjs.com/package/@sqliteai/sqlite-sync-react-native)
200+
191201
## Node -> React server-side
192202

193203
```js

packages/node/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ Error thrown when the SQLite Sync extension cannot be found for the current plat
136136

137137
## Related Projects
138138

139+
- **[@sqliteai/sqlite-sync-react-native](https://www.npmjs.com/package/@sqliteai/sqlite-sync-react-native)** - SQLite Sync for React Native
140+
- **[@sqliteai/sqlite-sync-expo-dev](https://www.npmjs.com/package/@sqliteai/sqlite-sync-expo-dev)** - SQLite Sync for Expo
139141
- **[@sqliteai/sqlite-vector](https://www.npmjs.com/package/@sqliteai/sqlite-vector)** - Vector search and similarity matching
140142
- **[@sqliteai/sqlite-ai](https://www.npmjs.com/package/@sqliteai/sqlite-ai)** - On-device AI inference and embedding generation
141143
- **[@sqliteai/sqlite-js](https://www.npmjs.com/package/@sqliteai/sqlite-js)** - Define SQLite functions in JavaScript

src/cloudsync.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
extern "C" {
1818
#endif
1919

20-
#define CLOUDSYNC_VERSION "0.9.96"
20+
#define CLOUDSYNC_VERSION "0.9.97"
2121
#define CLOUDSYNC_MAX_TABLENAME_LEN 512
2222

2323
#define CLOUDSYNC_VALUE_NOTSET -1

0 commit comments

Comments
 (0)