mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-28 19:12:07 +03:00
chore: build rs-type before start dev
This commit is contained in:
parent
d6dfd9b6ac
commit
1cd17ea31b
@ -23,7 +23,7 @@ We will provide its binary binding soon, to replace the git-submodule, before Oc
|
|||||||
On this folder:
|
On this folder:
|
||||||
|
|
||||||
- `pnpm dev:app` will start a vite server
|
- `pnpm dev:app` will start a vite server
|
||||||
- `pnpm build:prerequisite` will link the Octobase and prepare affine dist html and tauri preload script
|
- `pnpm build:prerequisite` will link the Octobase and prepare affine dist html and tauri preload script, also will generate ts type from rs. You should run this before start your first development time.
|
||||||
|
|
||||||
On project root folder:
|
On project root folder:
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"module": "true",
|
"module": "true",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev:app": "cross-env NODE_ENV=development tauri dev",
|
"dev:app": "cross-env NODE_ENV=development tauri dev",
|
||||||
"build:prerequisite": "pnpm build:submodules && pnpm build:affine && pnpm build:preload",
|
"build:prerequisite": "pnpm build:submodules && pnpm build:rs-types && pnpm build:affine && pnpm build:preload",
|
||||||
"dev:web": "vite",
|
"dev:web": "vite",
|
||||||
"build:rs-types": "zx scripts/generateTsTypingsFromJsonSchema.mjs",
|
"build:rs-types": "zx scripts/generateTsTypingsFromJsonSchema.mjs",
|
||||||
"build:web": "tsc && vite build",
|
"build:web": "tsc && vite build",
|
||||||
|
Loading…
Reference in New Issue
Block a user