You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* An extension of `packages/powersync-sdk-common` which provides React Native specific implementations of abstracted features.
15
15
16
-
-`packages/journeyapps-react-native-quick-sqlite`
17
-
* A Git submodule for a fork of `react-native-quick-sqlite` this module now automatically loads the shared PowerSync Rust SQLite extension.
18
-
19
16
# Development
20
17
21
-
## Git submodules
18
+
## Git Submodules
22
19
After cloning this repo be sure to init the Git submodules
23
20
24
21
```bash
@@ -37,6 +34,41 @@ Build packages
37
34
yarn build:packages
38
35
```
39
36
37
+
38
+
## Versioning
39
+
40
+
41
+
### Development Packages
42
+
Development packages can be published by manually triggering the `dev-packages` workflow. Development packages are versioned as `0.0.0-{tag}-DATETIMESTAMP`.
43
+
44
+
### Production Packages
45
+
Pull requests should contain Changesets for changed packages.
46
+
47
+
Add changesets with
48
+
```Bash
49
+
yarn changeset add
50
+
```
51
+
52
+
Merging a PR with Changesets will automatically create a PR with version bumps. That PR will be merged when releasing.
53
+
54
+
## React Native Quick SQLite Development
55
+
56
+
Testing live development changes to `@journeyapps/react-native-quick-sqlite` will not with with standard `yarn link` commands. Metro does not work well with symlinks https://github.com/facebook/metro/issues/286.
57
+
58
+
The process of releasing development packages for `@journeyapps/react-native-quick-sqlite` for each change can be tedious and slow. A faster (and hackier) method is to use [mtsl](https://www.npmjs.com/package/mtsl) which will watch and copy the package into this workspace's `node_modules`.
59
+
60
+
```bash
61
+
npm install -g mtsl
62
+
```
63
+
```bash
64
+
mtsl add -s "[source path to your react-native-quick-sqlite repo folder]" -d "[this workspaces root node_modules folder]"/@journeyapps/react-native-quick-sqlite
0 commit comments