Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages/*/types
examples/*/types
/.pnp
.pnp.js

tsconfig.tsbuildinfo
# testing
coverage

Expand Down
11 changes: 5 additions & 6 deletions examples/editor/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
// "paths": {
// "@blocknote/core": ["../../packages/core/src"]
// }
"jsx": "react-jsx",
"composite": true
},
"include": ["src"],
"references": [
{ "path": "./tsconfig.node.json" }
// { "path": "../../packages/core/tsconfig.json" }
{ "path": "./tsconfig.node.json" },
{ "path": "../../packages/core/" },
{ "path": "../../packages/react/" }
]
}
8 changes: 5 additions & 3 deletions examples/vanilla/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
"jsx": "react-jsx",
"composite": true
// "paths": {
// "@blocknote/core": ["../../packages/core/src"]
// }
},
"include": ["src"],
"references": [
{ "path": "./tsconfig.node.json" }
// { "path": "../../packages/core/tsconfig.json" }
{ "path": "./tsconfig.node.json" },
{ "path": "../../packages/core/" },
{ "path": "../../packages/react/" }
]
}
7 changes: 6 additions & 1 deletion packages/react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@
"composite": true,
"skipLibCheck": true
},
"include": ["src"]
"include": ["src"],
"references": [
{
"path": "../core"
}
]
}
4 changes: 3 additions & 1 deletion packages/website/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"skipLibCheck": true,
"paths": {
"@theme/*": ["./docs/.vitepress/theme/*"]
}
},
"composite": true
},
"include": [
"src",
Expand All @@ -28,5 +29,6 @@
// Also need to explicitly include Markdown files to have TS intellisense work with Volar
"docs/**/*.md"
],
"references": [{ "path": "../core/" }, { "path": "../react/" }],
"exclude": ["node_modules/"]
}