fix(core): plugin (#3307)

This commit is contained in:
Alex Yang 2023-07-19 15:00:42 +08:00 committed by GitHub
parent f4aa249138
commit 8e9535dd27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 1 deletions

View File

@ -12,6 +12,7 @@
"@affine-test/fixtures": "workspace:*",
"@affine/bookmark-block": "workspace:*",
"@affine/component": "workspace:*",
"@affine/copilot": "workspace:*",
"@affine/debug": "workspace:*",
"@affine/env": "workspace:*",
"@affine/graphql": "workspace:*",

View File

@ -1,3 +1,6 @@
import('@affine/bookmark-block');
if (runtimeConfig.enablePlugin) {
import('@affine/copilot');
}
export {};

View File

@ -45,6 +45,14 @@
{
"path": "../../packages/workspace"
},
{
"path": "../../plugins/bookmark-block"
},
{
"path": "../../plugins/copilot"
},
{
"path": "./tsconfig.node.json"
},

View File

@ -6,6 +6,7 @@
"jotai": "^2.2.2"
},
"devDependencies": {
"@blocksuite/block-std": "0.0.0-20230718155514-65ea63b4-nightly",
"@blocksuite/blocks": "0.0.0-20230718155514-65ea63b4-nightly",
"@blocksuite/editor": "0.0.0-20230718155514-65ea63b4-nightly",
"@blocksuite/global": "0.0.0-20230718155514-65ea63b4-nightly",
@ -14,6 +15,7 @@
"lottie-web": "^5.12.2"
},
"peerDependencies": {
"@blocksuite/block-std": "*",
"@blocksuite/blocks": "*",
"@blocksuite/editor": "*",
"@blocksuite/global": "*",

View File

@ -158,7 +158,7 @@ __metadata:
languageName: unknown
linkType: soft
"@affine/copilot@workspace:plugins/copilot":
"@affine/copilot@workspace:*, @affine/copilot@workspace:plugins/copilot":
version: 0.0.0-use.local
resolution: "@affine/copilot@workspace:plugins/copilot"
dependencies:
@ -189,6 +189,7 @@ __metadata:
"@affine-test/fixtures": "workspace:*"
"@affine/bookmark-block": "workspace:*"
"@affine/component": "workspace:*"
"@affine/copilot": "workspace:*"
"@affine/debug": "workspace:*"
"@affine/env": "workspace:*"
"@affine/graphql": "workspace:*"
@ -389,6 +390,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@affine/jotai@workspace:packages/jotai"
dependencies:
"@blocksuite/block-std": 0.0.0-20230718155514-65ea63b4-nightly
"@blocksuite/blocks": 0.0.0-20230718155514-65ea63b4-nightly
"@blocksuite/editor": 0.0.0-20230718155514-65ea63b4-nightly
"@blocksuite/global": 0.0.0-20230718155514-65ea63b4-nightly
@ -397,6 +399,7 @@ __metadata:
jotai: ^2.2.2
lottie-web: ^5.12.2
peerDependencies:
"@blocksuite/block-std": "*"
"@blocksuite/blocks": "*"
"@blocksuite/editor": "*"
"@blocksuite/global": "*"