diff --git a/blocksuite/presets/tsconfig.json b/blocksuite/presets/tsconfig.json index 494e4a1244..c2b15de309 100644 --- a/blocksuite/presets/tsconfig.json +++ b/blocksuite/presets/tsconfig.json @@ -7,6 +7,7 @@ }, "include": ["./src", "./src/**/*.json"], "references": [ + { "path": "../affine/block-note" }, { "path": "../affine/block-surface" }, { "path": "../affine/model" }, { "path": "../affine/shared" }, diff --git a/tools/utils/src/workspace.gen.ts b/tools/utils/src/workspace.gen.ts index e1f3f2db50..0140f38ed1 100644 --- a/tools/utils/src/workspace.gen.ts +++ b/tools/utils/src/workspace.gen.ts @@ -432,6 +432,7 @@ export const PackageList = [ location: 'blocksuite/presets', name: '@blocksuite/presets', workspaceDependencies: [ + 'blocksuite/affine/block-note', 'blocksuite/affine/block-surface', 'blocksuite/affine/model', 'blocksuite/affine/shared',