From b6e5618a2e8a92a7bc1c75ccb926bc3b1ef51283 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Wed, 19 Jul 2023 12:30:04 +0800 Subject: [PATCH] chore(core): fix missing stuff (#3302) --- .commitlintrc.json | 2 +- README.md | 6 +++--- tsconfig.json | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.commitlintrc.json b/.commitlintrc.json index 8c6ec0ca66..e0621d42ed 100644 --- a/.commitlintrc.json +++ b/.commitlintrc.json @@ -7,7 +7,7 @@ [ "electron", "server", - "web", + "core", "docs", "storybook", "component", diff --git a/README.md b/README.md index 190397a592..4305af2808 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ See https://github.com/all-?/all-contributors/issues/361#issuecomment-637166066 [![AFFiNE macOS M1/M2 Chip](https://img.shields.io/badge/-macOS_M_Chip%20%E2%86%92-black?style=flat-square&logo=apple&logoColor=white)](https://affine.pro/download) [![AFFiNE macOS x64](https://img.shields.io/badge/-macOS_x86%20%E2%86%92-black?style=flat-square&logo=apple&logoColor=white)](https://affine.pro/download) [![AFFiNE Window x64](https://img.shields.io/badge/-Windows%20%E2%86%92-blue?style=flat-square&logo=windows&logoColor=white)](https://affine.pro/download) -[![AFFiNE Linux](https://img.shields.io/badge/-Linux%20%E2%86%92-yellow?style=flat-square&logo=linux&logoColor=white)](https://affine.pro/download) +[![AFFiNE Linux](https://img.shidelds.io/badge/-Linux%20%E2%86%92-yellow?style=flat-square&logo=linux&logoColor=white)](https://affine.pro/download) [![Releases](https://img.shields.io/github/downloads/toeverything/AFFiNE/total)](https://github.com/toeverything/AFFiNE/releases/latest) [![stars-icon]](https://github.com/toeverything/AFFiNE) @@ -202,5 +202,5 @@ See [LICENSE] for details. [codecov]: https://codecov.io/gh/toeverything/affine/branch/master/graphs/badge.svg?branch=master [node-version-icon]: https://img.shields.io/badge/node-%3E=18.16.1-success [typescript-version-icon]: https://img.shields.io/github/package-json/dependency-version/toeverything/affine/dev/typescript -[react-version-icon]: https://img.shields.io/github/package-json/dependency-version/toeverything/AFFiNE/react?filename=apps%2Fweb%2Fpackage.json&color=rgb(97%2C228%2C251) -[blocksuite-icon]: https://img.shields.io/github/package-json/dependency-version/toeverything/AFFiNE/@blocksuite/store?color=6880ff&filename=apps%2Fweb%2Fpackage.json&label=blocksuite +[react-version-icon]: https://img.shields.io/github/package-json/dependency-version/toeverything/AFFiNE/react?filename=apps%2Fcore%2Fpackage.json&color=rgb(97%2C228%2C251) +[blocksuite-icon]: https://img.shields.io/github/package-json/dependency-version/toeverything/AFFiNE/@blocksuite/store?color=6880ff&filename=apps%2Fcore%2Fpackage.json&label=blocksuite diff --git a/tsconfig.json b/tsconfig.json index 88ced2bca0..cb69ec5421 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -73,10 +73,9 @@ "@affine/electron/scripts/*": ["./apps/electron/scripts/*"], "@affine-test/kit/*": ["./tests/kit/*"], "@affine-test/fixtures/*": ["./tests/fixtures/*"], - "@toeverything/infra": ["./packages/infra/src"], "@toeverything/y-indexeddb": ["./packages/y-indexeddb/src"], "@toeverything/hooks/*": ["./packages/hooks/src/*"], - "@toeverything/plugin-infra": ["./packages/plugin-infra/src"], + "@toeverything/infra/*": ["./packages/infra/src/*"], "@toeverything/plugin-infra/*": ["./packages/plugin-infra/src/*"], "@affine/native": ["./packages/native/index.d.ts"], "@affine/native/*": ["./packages/native/*"],