Skip to content

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.

fix(tools): should always run affine script in project root (#9391)

liuyi0d98eb5e8316
diff --git a/package.json b/package.json
index 13d2af7cfd..1e46adc00c 100644
--- a/package.json
+++ b/package.json
@@ -18,8 +18,8 @@
"node": "<21.0.0"
},
"scripts": {
- "affine": "yarn workspace @affine-tools/cli affine",
- "af": "yarn workspace @affine-tools/cli affine",
+ "affine": "r affine.ts",
+ "af": "r affine.ts",
"dev": "yarn affine dev",
"build": "yarn affine build",
"lint:eslint": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" eslint --report-unused-disable-directives-severity=off . --cache",