File tree Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -340,22 +340,13 @@ Missing features that aren't currently planned:
340
340
In one terminal, run:
341
341
342
342
``` sh
343
- npm install
344
- cd example
345
- npm install
346
- # Involves signing into Convex if necessary and deploying to a Convex.
347
- npm run dev:convex
343
+ npm run setup
344
+ npm run example
348
345
```
349
346
350
- And in another terminal, run the frontend:
351
-
352
- ``` sh
353
- cd example
354
- npm run dev:frontend
355
- ```
356
-
357
- Or both:
347
+ To make changes to the component and rebuild automatically:
358
348
359
349
``` sh
350
+ npm run setup
360
351
npm run dev
361
352
```
Original file line number Diff line number Diff line change 20
20
],
21
21
"type" : " module" ,
22
22
"scripts" : {
23
- "example" : " npm run setup && cd example && npm run dev" ,
23
+ "example" : " cd example && npm run dev" ,
24
24
"dev" : " run-p 'example' 'build:watch'" ,
25
- "setup" : " npm i && npm run build && cd example && npm i" ,
25
+ "setup" : " npm i && npm run build && cd example && npm i && npx convex dev --once " ,
26
26
"build" : " npm run build:esm && npm run build:cjs" ,
27
27
"build:watch" : " cd src && npx chokidar '../tsconfig.json' '*.ts' 'blocknote/**/*.ts' 'tiptap/**/*.ts' 'react/**/*.ts' 'component/**/*.ts' 'client/**/*.ts' -c 'npm run build' --initial" ,
28
28
"build:esm" : " tsc --project ./esm.json && npm run copy:dts:esm && echo '{\\ n \" type\" : \" module\"\\ n}' > dist/esm/package.json" ,
You can’t perform that action at this time.
0 commit comments