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

@@ -46,4 +46,4 @@
"dev": "node --loader ts-node/esm/transpile-only.mjs ./src/bin/dev.ts"
},
"version": "0.14.0"
}
}

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(