refactor: plugin loading logic (#3448)

This commit is contained in:
Alex Yang
2023-07-28 19:43:52 -07:00
committed by GitHub
parent 4cb1bf6a9f
commit 9f43c0ddc8
14 changed files with 332 additions and 138 deletions

View File

@@ -12,7 +12,8 @@
"tests/fixtures",
"tests/kit",
"tests/affine-legacy/*",
"tests/affine-local"
"tests/affine-local",
"tests/affine-plugin"
],
"engines": {
"node": ">=18.16.1 <19.0.0"
@@ -20,7 +21,6 @@
"scripts": {
"dev": "dev-core",
"dev:electron": "yarn workspace @affine/electron dev:app",
"dev:plugins": "./apps/electron/scripts/plugins/dev-plugins.mjs",
"build": "yarn nx build @affine/core",
"build:electron": "yarn nx build @affine/electron",
"build:storage": "yarn nx run-many -t build -p @affine/storage",