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.

chore: add circular check (#4334)

Alex Yang5e0fd0b839c6
diff --git a/package.json b/package.json
index da9f8ad864..2c171ac9c8 100644
--- a/package.json
+++ b/package.json
@@ -43,7 +43,7 @@
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"notify": "node scripts/notify.mjs",
- "circular": "madge --circular --ts-config ./tsconfig.json ./apps/core/src/pages/**/*.tsx",
+ "circular": "madge --circular --ts-config ./tsconfig.json ./apps/core/src/pages/**/*.tsx ./apps/core/src/index.tsx ./apps/electron/src/*/index.ts",
"typecheck": "tsc -b tsconfig.json --diagnostics",
"postinstall": "node ./scripts/check-version.mjs && yarn i18n-codegen gen && yarn husky install"
},