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
refactor(editor): simplify tsconfig (#9439)
Saul-Mirone397a48380e72
diff --git a/blocksuite/affine/all/tsconfig.json b/blocksuite/affine/all/tsconfig.jsonindex c5e070d612..7b7b05aec4 100644--- a/blocksuite/affine/all/tsconfig.json+++ b/blocksuite/affine/all/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../../blocks"diff --git a/blocksuite/affine/block-attachment/tsconfig.json b/blocksuite/affine/block-attachment/tsconfig.jsonindex 622857f8c4..e6302efe20 100644--- a/blocksuite/affine/block-attachment/tsconfig.json+++ b/blocksuite/affine/block-attachment/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/block-bookmark/tsconfig.json b/blocksuite/affine/block-bookmark/tsconfig.jsonindex 54b5d3348b..19089f9715 100644--- a/blocksuite/affine/block-bookmark/tsconfig.json+++ b/blocksuite/affine/block-bookmark/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/block-code/tsconfig.json b/blocksuite/affine/block-code/tsconfig.jsonindex c1a5453aa5..e91b896c92 100644--- a/blocksuite/affine/block-code/tsconfig.json+++ b/blocksuite/affine/block-code/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/block-database/tsconfig.json b/blocksuite/affine/block-database/tsconfig.jsonindex 419ea8f164..38a17899d3 100644--- a/blocksuite/affine/block-database/tsconfig.json+++ b/blocksuite/affine/block-database/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/block-divider/tsconfig.json b/blocksuite/affine/block-divider/tsconfig.jsonindex c1a5453aa5..e91b896c92 100644--- a/blocksuite/affine/block-divider/tsconfig.json+++ b/blocksuite/affine/block-divider/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/block-edgeless-text/tsconfig.json b/blocksuite/affine/block-edgeless-text/tsconfig.jsonindex f86f39bde9..8d845ec2f7 100644--- a/blocksuite/affine/block-edgeless-text/tsconfig.json+++ b/blocksuite/affine/block-edgeless-text/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/block-embed/tsconfig.json b/blocksuite/affine/block-embed/tsconfig.jsonindex f86f39bde9..8d845ec2f7 100644--- a/blocksuite/affine/block-embed/tsconfig.json+++ b/blocksuite/affine/block-embed/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/block-frame/tsconfig.json b/blocksuite/affine/block-frame/tsconfig.jsonindex c1a5453aa5..e91b896c92 100644--- a/blocksuite/affine/block-frame/tsconfig.json+++ b/blocksuite/affine/block-frame/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/block-image/tsconfig.json b/blocksuite/affine/block-image/tsconfig.jsonindex c1a5453aa5..e91b896c92 100644--- a/blocksuite/affine/block-image/tsconfig.json+++ b/blocksuite/affine/block-image/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/block-latex/tsconfig.json b/blocksuite/affine/block-latex/tsconfig.jsonindex fd1a7c5d9c..c3a5e9a724 100644--- a/blocksuite/affine/block-latex/tsconfig.json+++ b/blocksuite/affine/block-latex/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/block-list/tsconfig.json b/blocksuite/affine/block-list/tsconfig.jsonindex c1a5453aa5..e91b896c92 100644--- a/blocksuite/affine/block-list/tsconfig.json+++ b/blocksuite/affine/block-list/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/block-note/tsconfig.json b/blocksuite/affine/block-note/tsconfig.jsonindex 622857f8c4..e6302efe20 100644--- a/blocksuite/affine/block-note/tsconfig.json+++ b/blocksuite/affine/block-note/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/block-paragraph/tsconfig.json b/blocksuite/affine/block-paragraph/tsconfig.jsonindex c1a5453aa5..e91b896c92 100644--- a/blocksuite/affine/block-paragraph/tsconfig.json+++ b/blocksuite/affine/block-paragraph/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/block-surface-ref/tsconfig.json b/blocksuite/affine/block-surface-ref/tsconfig.jsonindex c1a5453aa5..e91b896c92 100644--- a/blocksuite/affine/block-surface-ref/tsconfig.json+++ b/blocksuite/affine/block-surface-ref/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/block-surface/tsconfig.json b/blocksuite/affine/block-surface/tsconfig.jsonindex c1a5453aa5..e91b896c92 100644--- a/blocksuite/affine/block-surface/tsconfig.json+++ b/blocksuite/affine/block-surface/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/components/tsconfig.json b/blocksuite/affine/components/tsconfig.jsonindex 9a95b45230..2fc3c51a7e 100644--- a/blocksuite/affine/components/tsconfig.json+++ b/blocksuite/affine/components/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../shared"diff --git a/blocksuite/affine/data-view/tsconfig.json b/blocksuite/affine/data-view/tsconfig.jsonindex d290cc2806..0bbb2ef3fc 100644--- a/blocksuite/affine/data-view/tsconfig.json+++ b/blocksuite/affine/data-view/tsconfig.json@@ -15,13 +15,7 @@"path": "../shared"},{- "path": "../../framework/block-std"- },- {- "path": "../../framework/global"- },- {- "path": "../../framework/store"+ "path": "../../framework"}]}diff --git a/blocksuite/affine/model/tsconfig.json b/blocksuite/affine/model/tsconfig.jsonindex e2574d0ea5..6dc12160be 100644--- a/blocksuite/affine/model/tsconfig.json+++ b/blocksuite/affine/model/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"}]}diff --git a/blocksuite/affine/shared/tsconfig.json b/blocksuite/affine/shared/tsconfig.jsonindex 040a14cb04..2be2813029 100644--- a/blocksuite/affine/shared/tsconfig.json+++ b/blocksuite/affine/shared/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/widget-drag-handle/tsconfig.json b/blocksuite/affine/widget-drag-handle/tsconfig.jsonindex f1815719da..b2be9ad6b4 100644--- a/blocksuite/affine/widget-drag-handle/tsconfig.json+++ b/blocksuite/affine/widget-drag-handle/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/store"- },- {- "path": "../../framework/block-std"- },- {- "path": "../../framework/inline"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/widget-remote-selection/tsconfig.json b/blocksuite/affine/widget-remote-selection/tsconfig.jsonindex 45167e0485..515e24c087 100644--- a/blocksuite/affine/widget-remote-selection/tsconfig.json+++ b/blocksuite/affine/widget-remote-selection/tsconfig.json@@ -8,10 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/block-std"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/affine/widget-scroll-anchoring/tsconfig.json b/blocksuite/affine/widget-scroll-anchoring/tsconfig.jsonindex 45167e0485..515e24c087 100644--- a/blocksuite/affine/widget-scroll-anchoring/tsconfig.json+++ b/blocksuite/affine/widget-scroll-anchoring/tsconfig.json@@ -8,10 +8,7 @@"include": ["./src"],"references": [{- "path": "../../framework/global"- },- {- "path": "../../framework/block-std"+ "path": "../../framework"},{"path": "../model"diff --git a/blocksuite/blocks/tsconfig.json b/blocksuite/blocks/tsconfig.jsonindex 6ff641439d..bc8efc3913 100644--- a/blocksuite/blocks/tsconfig.json+++ b/blocksuite/blocks/tsconfig.json@@ -8,16 +8,7 @@"include": ["./src"],"references": [{- "path": "../framework/global"- },- {- "path": "../framework/store"- },- {- "path": "../framework/block-std"- },- {- "path": "../framework/inline"+ "path": "../framework"},{"path": "../affine/model"diff --git a/blocksuite/framework/tsconfig.json b/blocksuite/framework/tsconfig.jsonnew file mode 100644index 0000000000..dae3abee89--- /dev/null+++ b/blocksuite/framework/tsconfig.json@@ -0,0 +1,18 @@+{+ "extends": "../tsconfig.json",+ "include": [],+ "references": [+ {+ "path": "./global"+ },+ {+ "path": "./inline"+ },+ {+ "path": "./block-std"+ },+ {+ "path": "./store"+ }+ ]+}diff --git a/blocksuite/presets/tsconfig.json b/blocksuite/presets/tsconfig.jsonindex 0ddbcd9d24..dc021d6b61 100644--- a/blocksuite/presets/tsconfig.json+++ b/blocksuite/presets/tsconfig.json@@ -10,13 +10,7 @@"include": ["./src", "./src/**/*.json"],"references": [{- "path": "../framework/global"- },- {- "path": "../framework/store"- },- {- "path": "../framework/block-std"+ "path": "../framework"},{"path": "../blocks"