mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-04 02:49:57 +08:00
refactor(core): move hooks to core (#5458)
* move @toeverything/hooks -> @affine/core/hooks * delete @toeverything/hooks hooks are all business-related logic and are deeply coupled with other parts. Move them into the core and then reconstruct them by feature.
This commit is contained in:
@@ -66,7 +66,6 @@
|
||||
"@affine-test/kit/*": ["./tests/kit/*"],
|
||||
"@affine-test/fixtures/*": ["./tests/fixtures/*"],
|
||||
"@toeverything/y-indexeddb": ["./packages/common/y-indexeddb/src"],
|
||||
"@toeverything/hooks/*": ["./packages/frontend/hooks/src/*"],
|
||||
"@toeverything/infra/*": ["./packages/common/infra/src/*"],
|
||||
"@affine/native": ["./packages/frontend/native/index.d.ts"],
|
||||
"@affine/native/*": ["./packages/frontend/native/*"],
|
||||
@@ -97,9 +96,6 @@
|
||||
{
|
||||
"path": "./packages/frontend/graphql"
|
||||
},
|
||||
{
|
||||
"path": "./packages/frontend/hooks"
|
||||
},
|
||||
{
|
||||
"path": "./packages/frontend/i18n"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user