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
During the preview phase, examples use monorepo dependencies (`workspace:*`) for local development and testing. After the official release, dependencies will point to published packages on npm.
5
+
To test an example, move its directory out of Evolu monorepo. Otherwise, package managers will not work correctly. Examples are meant to work in isolation.
6
+
7
+
If you are using Yarn, you must install peer dependencies manually.
6
8
7
-
To switch between development and production modes, use:
9
+
## Toggle dependencies
8
10
9
11
```bash
10
12
pnpm examples:toggle-deps
@@ -13,10 +15,4 @@ pnpm examples:toggle-deps
13
15
This script toggles all example dependencies between:
14
16
15
17
-**Development**: `workspace:*` (uses local monorepo packages)
16
-
-**Production**: `npm:@evolu/package@latest` (uses published packages)
17
-
18
-
## Testing Examples
19
-
20
-
To test an example, move its directory out of Evolu monorepo. Otherwise, package managers will not work correctly. Examples are meant to work in isolation.
21
-
22
-
If you are using Yarn, you must install peer dependencies manually.
18
+
-**Production**: `latest` (uses published packages)
0 commit comments