ci: add circular import detect (#2475)

Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
LongYinan
2023-05-22 12:53:55 +08:00
committed by GitHub
parent 41a3d6f62f
commit 2e23a4830b
12 changed files with 772 additions and 56 deletions
+2
View File
@@ -19,6 +19,7 @@
"build:client": "yarn workspace @affine/client-app build:app",
"build:storybook": "yarn workspace @affine/component build-storybook",
"bump:nightly": "./scripts/bump-blocksuite.sh",
"circular": "madge --circular --ts-config ./tsconfig.json ./apps/web/src/pages/**/*.tsx",
"export": "yarn workspace @affine/web export",
"start": "yarn workspace @affine/web start",
"start:storybook": "yarn exec serve packages/component/storybook-static -l 6006",
@@ -75,6 +76,7 @@
"happy-dom": "^9.18.3",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"madge": "^6.0.0",
"msw": "^1.2.1",
"nanoid": "^4.0.2",
"nyc": "^15.1.0",