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
Copy file name to clipboardExpand all lines: README.md
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ yarn build:packages
42
42
43
43
44
44
### Development Packages
45
-
Development packages can be published by manually triggering the `dev-packages` workflow. Development packages are versioned as `0.0.0-dev.{short-sha}`.
45
+
Development packages can be published by manually triggering the `dev-packages` workflow. Development packages are versioned as `0.0.0-{tag}-DATETIMESTAMP`.
46
46
47
47
### Production Packages
48
48
Pull requests should contain Changesets for changed packages.
@@ -52,10 +52,25 @@ Add changesets with
52
52
yarn changeset add
53
53
```
54
54
55
-
Submodule production packages should be versioned, tagged and published from their own repository. Any dependencies should be updated here (if applicable) before merging pull requests.
55
+
Merging a PR with Changesets will automatically create a PR with version bumps. That PR will be merged when releasing.
56
56
57
+
## React Native Quick SQLite Development
58
+
59
+
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.
60
+
61
+
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`.
62
+
63
+
```bash
64
+
npm install -g mtsl
65
+
```
66
+
```bash
67
+
mtsl add -s "[ource path to your react-native-quick-sqlite repo folder]" -d "[this workspaces root node_modules folder]"/@journeyapps/react-native-quick-sqlite
68
+
```
69
+
70
+
```bash
71
+
mtsl start "[the id returned from step above]"
72
+
```
57
73
58
-
Merging a PR with Changesets will automatically create a PR with version bumps. That PR will be merged when releasing.
0 commit comments