File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
We welcome contributions to this project.
4
4
5
+ ---
6
+
5
7
## Releasing a new version
6
8
7
9
``` bash
8
10
pnpm changeset
9
11
pnpm version-packages && grlz ' new version'
10
12
pnpm release
11
13
```
14
+ ## Testing locally
15
+
16
+ To test the changes locally, you can run the following command:
17
+
18
+ - Use an example like the Next.js one
19
+ - Change the ` package.json ` to point to the local package for ` baseai ` and ` @baseai/core ` packages.
20
+
21
+ ``` json
22
+ {
23
+ "dependencies" : {
24
+ "@baseai/core" : " workspace:*"
25
+ },
26
+ "devDependencies" : {
27
+ "baseai" : " workspace:*"
28
+ }
29
+ }
30
+ ```
31
+
32
+ Now run in the root ` pnpm clean-all && pnpm install ` and then run ` pnpm dev ` to start the development server.
33
+
34
+ By doing this, the Next.js app will use the local packages instead of the published ones.
35
+
36
+ ---
12
37
13
38
## Docs
14
39
You can’t perform that action at this time.
0 commit comments