Skip to content

Commit a005ce2

Browse files
updated readme with versioning instructions
1 parent ce11947 commit a005ce2

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Monorepo for all things React Native and PowerSync.
44

5-
## Monorepo structure
5+
## Monorepo Structure
66

77
- `apps/supabase-todolist`
88
* An Expo React native app using Supabase.
@@ -18,7 +18,7 @@ Monorepo for all things React Native and PowerSync.
1818

1919
# Development
2020

21-
## Git submodules
21+
## Git Submodules
2222
After cloning this repo be sure to init the Git submodules
2323

2424
```bash
@@ -37,6 +37,22 @@ Build packages
3737
yarn build:packages
3838
```
3939

40+
41+
## Versioning
42+
43+
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}`. Submodule packages are checked out, versioned and published by default, but this can be disabled if using submodule packages which are published from it's own repository.
46+
47+
### Production Packages
48+
Packages should be versioned with Lerna after PR approval.
49+
50+
```bash
51+
lerna version --no-private
52+
```
53+
54+
The versioned and tagged changes should then be merged to `main` where production packages will be deployed via the `build-packages` workflow.
55+
4056
## Testing Supabase example app
4157

4258
``` bash

0 commit comments

Comments
 (0)