There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
chore: build rs-type before start dev
Lin Onetwo1cd17ea31b34
diff --git a/client-app/README.md b/client-app/README.mdindex 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 OcOn 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.jsonindex 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",