diff --git a/client-app/README.md b/client-app/README.md index be71ac4c4a..cac1cfff2b 100644 --- a/client-app/README.md +++ b/client-app/README.md @@ -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: diff --git a/client-app/package.json b/client-app/package.json index e1875f5a0c..052a8166c3 100644 --- a/client-app/package.json +++ b/client-app/package.json @@ -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",