Skip to content

Commit

Permalink
refactor(editor): simplify tsconfig (#9439)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saul-Mirone committed Dec 30, 2024
1 parent 8d269c8 commit 397a483
Show file tree
Hide file tree
Showing 26 changed files with 43 additions and 232 deletions.
11 changes: 1 addition & 10 deletions blocksuite/affine/all/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../../blocks"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-attachment/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-bookmark/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-code/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-database/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-divider/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-edgeless-text/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-embed/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-frame/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-image/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-latex/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-list/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-note/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-paragraph/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-surface-ref/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/block-surface/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/components/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../shared"
Expand Down
8 changes: 1 addition & 7 deletions blocksuite/affine/data-view/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@
"path": "../shared"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
"path": "../../framework"
}
]
}
11 changes: 1 addition & 10 deletions blocksuite/affine/model/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
}
]
}
11 changes: 1 addition & 10 deletions blocksuite/affine/shared/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
11 changes: 1 addition & 10 deletions blocksuite/affine/widget-drag-handle/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/store"
},
{
"path": "../../framework/block-std"
},
{
"path": "../../framework/inline"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
5 changes: 1 addition & 4 deletions blocksuite/affine/widget-remote-selection/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/block-std"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
5 changes: 1 addition & 4 deletions blocksuite/affine/widget-scroll-anchoring/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
"include": ["./src"],
"references": [
{
"path": "../../framework/global"
},
{
"path": "../../framework/block-std"
"path": "../../framework"
},
{
"path": "../model"
Expand Down
Loading

0 comments on commit 397a483

Please sign in to comment.