refactor(core): migrate ai preset to AFFiNE (#7219)

## TL;DR
Move `@blocksuite/presets/ai` to AFFiNE. After this PR is merged, you can use AI features from `@affine/core/blocksuite/presets/ai`.
This commit is contained in:
L-Sun
2024-06-18 07:31:06 +00:00
parent 0fe672efa5
commit b3ec3a2b3e
84 changed files with 17228 additions and 30 deletions

View File

@@ -152,6 +152,7 @@ export const createConfiguration: (
},
alias: {
yjs: require.resolve('yjs'),
lit: join(workspaceRoot, 'node_modules', 'lit'),
'@blocksuite/block-std': blocksuiteBaseDir
? join(blocksuiteBaseDir, 'packages', 'framework', 'block-std', 'src')
: join(