mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-28 09:14:57 +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:
|
||||
|
||||
- `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:
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
"module": "true",
|
||||
"scripts": {
|
||||
"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",
|
||||
"build:rs-types": "zx scripts/generateTsTypingsFromJsonSchema.mjs",
|
||||
"build:web": "tsc && vite build",
|
||||
|
Loading…
Reference in New Issue
Block a user