From c566952e09f186eafb56af3bab83a3b06c63ebf3 Mon Sep 17 00:00:00 2001 From: Chen <99816898+donteatfriedrice@users.noreply.github.com> Date: Wed, 24 Jan 2024 15:13:12 +0800 Subject: [PATCH] feat: bump blocksuite (#5673) --- packages/common/env/package.json | 4 +- packages/common/infra/package.json | 10 +- .../src/blocksuite/initialization/index.ts | 2 +- packages/common/y-indexeddb/package.json | 6 +- packages/common/y-provider/package.json | 2 +- packages/frontend/component/package.json | 10 +- packages/frontend/core/package.json | 14 +- .../cloud/share-header-right-item/present.tsx | 12 +- packages/frontend/electron/package.json | 8 +- tests/affine-legacy/0.6.1-beta.1/package.json | 8 +- .../0.7.0-canary.18/package.json | 8 +- .../affine-legacy/0.8.0-canary.7/package.json | 8 +- tests/affine-legacy/0.8.4/package.json | 8 +- tests/affine-migration/package.json | 8 +- tests/storybook/package.json | 14 +- yarn.lock | 260 +++++++++--------- 16 files changed, 190 insertions(+), 192 deletions(-) diff --git a/packages/common/env/package.json b/packages/common/env/package.json index adb844f2f6b09..c7a5e96011480 100644 --- a/packages/common/env/package.json +++ b/packages/common/env/package.json @@ -3,8 +3,8 @@ "private": true, "type": "module", "devDependencies": { - "@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/global": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/store": "0.12.0-nightly-202401240410-02f373e", "react": "18.2.0", "react-dom": "18.2.0", "vitest": "1.1.3" diff --git a/packages/common/infra/package.json b/packages/common/infra/package.json index 0c655c353010b..6eb8a434a367e 100644 --- a/packages/common/infra/package.json +++ b/packages/common/infra/package.json @@ -13,9 +13,9 @@ "@affine/debug": "workspace:*", "@affine/env": "workspace:*", "@affine/templates": "workspace:*", - "@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/global": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/store": "0.12.0-nightly-202401240410-02f373e", "jotai": "^2.5.1", "jotai-effect": "^0.2.3", "nanoid": "^5.0.3", @@ -26,8 +26,8 @@ "devDependencies": { "@affine-test/fixtures": "workspace:*", "@affine/templates": "workspace:*", - "@blocksuite/lit": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/presets": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/lit": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/presets": "0.12.0-nightly-202401240410-02f373e", "async-call-rpc": "^6.3.1", "react": "^18.2.0", "rxjs": "^7.8.1", diff --git a/packages/common/infra/src/blocksuite/initialization/index.ts b/packages/common/infra/src/blocksuite/initialization/index.ts index 518afcf5ff17a..04423b2389e2a 100644 --- a/packages/common/infra/src/blocksuite/initialization/index.ts +++ b/packages/common/infra/src/blocksuite/initialization/index.ts @@ -52,7 +52,7 @@ export async function buildShowcaseWorkspace( if (payload.type === 'page') { workspace.schema.upgradePage( info?.pageVersion ?? 0, - info?.blockVersions ?? {}, + {}, payload.page.spaceDoc ); } diff --git a/packages/common/y-indexeddb/package.json b/packages/common/y-indexeddb/package.json index df5b123642726..938f2cf123934 100644 --- a/packages/common/y-indexeddb/package.json +++ b/packages/common/y-indexeddb/package.json @@ -32,14 +32,14 @@ } }, "dependencies": { - "@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/global": "0.12.0-nightly-202401240410-02f373e", "idb": "^8.0.0", "nanoid": "^5.0.3", "y-provider": "workspace:*" }, "devDependencies": { - "@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/store": "0.12.0-nightly-202401240410-02f373e", "fake-indexeddb": "^5.0.0", "vite": "^5.0.6", "vite-plugin-dts": "3.7.0", diff --git a/packages/common/y-provider/package.json b/packages/common/y-provider/package.json index 401a500f288ab..b2e7fe0e48e90 100644 --- a/packages/common/y-provider/package.json +++ b/packages/common/y-provider/package.json @@ -24,7 +24,7 @@ "build": "vite build" }, "devDependencies": { - "@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/store": "0.12.0-nightly-202401240410-02f373e", "vite": "^5.0.6", "vite-plugin-dts": "3.7.0", "vitest": "1.1.3", diff --git a/packages/frontend/component/package.json b/packages/frontend/component/package.json index 0b428c73a09cd..947ec1283538f 100644 --- a/packages/frontend/component/package.json +++ b/packages/frontend/component/package.json @@ -73,12 +73,12 @@ "uuid": "^9.0.1" }, "devDependencies": { - "@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/global": "0.12.0-nightly-202401240410-02f373e", "@blocksuite/icons": "2.1.42", - "@blocksuite/lit": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/presets": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/lit": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/presets": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/store": "0.12.0-nightly-202401240410-02f373e", "@storybook/addon-actions": "^7.5.3", "@storybook/addon-essentials": "^7.5.3", "@storybook/addon-interactions": "^7.5.3", diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json index 0e21e08586a8d..941476a3a9bb4 100644 --- a/packages/frontend/core/package.json +++ b/packages/frontend/core/package.json @@ -26,14 +26,14 @@ "@affine/templates": "workspace:*", "@affine/workspace": "workspace:*", "@affine/workspace-impl": "workspace:*", - "@blocksuite/block-std": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/block-std": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/global": "0.12.0-nightly-202401240410-02f373e", "@blocksuite/icons": "2.1.42", - "@blocksuite/inline": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/lit": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/presets": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/inline": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/lit": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/presets": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/store": "0.12.0-nightly-202401240410-02f373e", "@dnd-kit/core": "^6.0.8", "@dnd-kit/sortable": "^8.0.0", "@emotion/cache": "^11.11.0", diff --git a/packages/frontend/core/src/components/cloud/share-header-right-item/present.tsx b/packages/frontend/core/src/components/cloud/share-header-right-item/present.tsx index 25db7b79aaf6a..f14f21cf88d15 100644 --- a/packages/frontend/core/src/components/cloud/share-header-right-item/present.tsx +++ b/packages/frontend/core/src/components/cloud/share-header-right-item/present.tsx @@ -31,17 +31,15 @@ export const PresentButton = () => { const editorRoot = document.querySelector('editor-host'); if (!editorRoot) return; - // TODO: use surfaceService subAtom - const surfaceService = editorRoot?.spec.getService( - 'affine:surface' - ) as SurfaceService; + const edgelessPage = editorRoot?.querySelector('affine-edgeless-page'); + if (!edgelessPage) return; - surfaceService.slots.edgelessToolUpdated.on(() => { - setIsPresent(surfaceService?.currentTool?.type === 'frameNavigator'); + edgelessPage.slots.edgelessToolUpdated.on(() => { + setIsPresent(edgelessPage.edgelessTool.type === 'frameNavigator'); }); return () => { - surfaceService.slots.edgelessToolUpdated.dispose(); + edgelessPage.slots.edgelessToolUpdated.dispose(); }; }, [isPresent]); diff --git a/packages/frontend/electron/package.json b/packages/frontend/electron/package.json index bdd8d3a621cf3..009fd5e5c89ad 100644 --- a/packages/frontend/electron/package.json +++ b/packages/frontend/electron/package.json @@ -25,10 +25,10 @@ "@affine-test/kit": "workspace:*", "@affine/env": "workspace:*", "@affine/native": "workspace:*", - "@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/lit": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/presets": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/lit": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/presets": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/store": "0.12.0-nightly-202401240410-02f373e", "@electron-forge/cli": "^7.2.0", "@electron-forge/core": "^7.2.0", "@electron-forge/core-utils": "^7.2.0", diff --git a/tests/affine-legacy/0.6.1-beta.1/package.json b/tests/affine-legacy/0.6.1-beta.1/package.json index 58d07fe52f7d6..794993c22cff8 100644 --- a/tests/affine-legacy/0.6.1-beta.1/package.json +++ b/tests/affine-legacy/0.6.1-beta.1/package.json @@ -9,10 +9,10 @@ "devDependencies": { "@affine-test/fixtures": "workspace:*", "@affine-test/kit": "workspace:*", - "@blocksuite/block-std": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/block-std": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/global": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/store": "0.12.0-nightly-202401240410-02f373e", "@playwright/test": "^1.41.0", "express": "^4.18.2", "http-proxy-middleware": "^3.0.0-beta.1", diff --git a/tests/affine-legacy/0.7.0-canary.18/package.json b/tests/affine-legacy/0.7.0-canary.18/package.json index 45e41e1ebce96..70a39c21e0034 100644 --- a/tests/affine-legacy/0.7.0-canary.18/package.json +++ b/tests/affine-legacy/0.7.0-canary.18/package.json @@ -9,10 +9,10 @@ "devDependencies": { "@affine-test/fixtures": "workspace:*", "@affine-test/kit": "workspace:*", - "@blocksuite/block-std": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/block-std": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/global": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/store": "0.12.0-nightly-202401240410-02f373e", "@playwright/test": "^1.41.0", "express": "^4.18.2", "http-proxy-middleware": "^3.0.0-beta.1", diff --git a/tests/affine-legacy/0.8.0-canary.7/package.json b/tests/affine-legacy/0.8.0-canary.7/package.json index add5a22b8b22a..bf16b0a2cdb94 100644 --- a/tests/affine-legacy/0.8.0-canary.7/package.json +++ b/tests/affine-legacy/0.8.0-canary.7/package.json @@ -9,10 +9,10 @@ "devDependencies": { "@affine-test/fixtures": "workspace:*", "@affine-test/kit": "workspace:*", - "@blocksuite/block-std": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/block-std": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/global": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/store": "0.12.0-nightly-202401240410-02f373e", "@playwright/test": "^1.41.0", "express": "^4.18.2", "http-proxy-middleware": "^3.0.0-beta.1", diff --git a/tests/affine-legacy/0.8.4/package.json b/tests/affine-legacy/0.8.4/package.json index 2737a2df6167f..6a341f8d3dac9 100644 --- a/tests/affine-legacy/0.8.4/package.json +++ b/tests/affine-legacy/0.8.4/package.json @@ -9,10 +9,10 @@ "devDependencies": { "@affine-test/fixtures": "workspace:*", "@affine-test/kit": "workspace:*", - "@blocksuite/block-std": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/block-std": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/global": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/store": "0.12.0-nightly-202401240410-02f373e", "@playwright/test": "^1.41.0", "express": "^4.18.2", "http-proxy-middleware": "^3.0.0-beta.1", diff --git a/tests/affine-migration/package.json b/tests/affine-migration/package.json index f900949d95800..a132d8125e039 100644 --- a/tests/affine-migration/package.json +++ b/tests/affine-migration/package.json @@ -7,10 +7,10 @@ "devDependencies": { "@affine-test/fixtures": "workspace:*", "@affine-test/kit": "workspace:*", - "@blocksuite/block-std": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/block-std": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/global": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/store": "0.12.0-nightly-202401240410-02f373e", "@playwright/test": "^1.41.0" }, "version": "0.11.0" diff --git a/tests/storybook/package.json b/tests/storybook/package.json index 5f349bfb3a630..6c744cd2a8b16 100644 --- a/tests/storybook/package.json +++ b/tests/storybook/package.json @@ -21,14 +21,14 @@ "storybook-addon-react-router-v6": "^2.0.10" }, "devDependencies": { - "@blocksuite/block-std": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/block-std": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/global": "0.12.0-nightly-202401240410-02f373e", "@blocksuite/icons": "2.1.42", - "@blocksuite/inline": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/lit": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/presets": "0.12.0-nightly-202401190708-4e2c95a", - "@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a", + "@blocksuite/inline": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/lit": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/presets": "0.12.0-nightly-202401240410-02f373e", + "@blocksuite/store": "0.12.0-nightly-202401240410-02f373e", "@storybook/addon-actions": "^7.5.3", "@storybook/addon-essentials": "^7.5.3", "@storybook/addon-interactions": "^7.5.3", diff --git a/yarn.lock b/yarn.lock index f4c8b060b0a36..d11d232f91c5e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -25,10 +25,10 @@ __metadata: dependencies: "@affine-test/fixtures": "workspace:*" "@affine-test/kit": "workspace:*" - "@blocksuite/block-std": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" "@playwright/test": "npm:^1.41.0" express: "npm:^4.18.2" http-proxy-middleware: "npm:^3.0.0-beta.1" @@ -42,10 +42,10 @@ __metadata: dependencies: "@affine-test/fixtures": "workspace:*" "@affine-test/kit": "workspace:*" - "@blocksuite/block-std": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" "@playwright/test": "npm:^1.41.0" express: "npm:^4.18.2" http-proxy-middleware: "npm:^3.0.0-beta.1" @@ -59,10 +59,10 @@ __metadata: dependencies: "@affine-test/fixtures": "workspace:*" "@affine-test/kit": "workspace:*" - "@blocksuite/block-std": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" "@playwright/test": "npm:^1.41.0" express: "npm:^4.18.2" http-proxy-middleware: "npm:^3.0.0-beta.1" @@ -76,10 +76,10 @@ __metadata: dependencies: "@affine-test/fixtures": "workspace:*" "@affine-test/kit": "workspace:*" - "@blocksuite/block-std": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" "@playwright/test": "npm:^1.41.0" express: "npm:^4.18.2" http-proxy-middleware: "npm:^3.0.0-beta.1" @@ -139,10 +139,10 @@ __metadata: dependencies: "@affine-test/fixtures": "workspace:*" "@affine-test/kit": "workspace:*" - "@blocksuite/block-std": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" "@playwright/test": "npm:^1.41.0" languageName: unknown linkType: soft @@ -206,12 +206,12 @@ __metadata: "@affine/graphql": "workspace:*" "@affine/i18n": "workspace:*" "@affine/workspace": "workspace:*" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" "@blocksuite/icons": "npm:2.1.42" - "@blocksuite/lit": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/presets": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/lit": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/presets": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" "@dnd-kit/core": "npm:^6.0.8" "@dnd-kit/modifiers": "npm:^7.0.0" "@dnd-kit/sortable": "npm:^8.0.0" @@ -309,14 +309,14 @@ __metadata: "@affine/workspace": "workspace:*" "@affine/workspace-impl": "workspace:*" "@aws-sdk/client-s3": "npm:3.485.0" - "@blocksuite/block-std": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" "@blocksuite/icons": "npm:2.1.42" - "@blocksuite/inline": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/lit": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/presets": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/inline": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/lit": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/presets": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" "@dnd-kit/core": "npm:^6.0.8" "@dnd-kit/sortable": "npm:^8.0.0" "@emotion/cache": "npm:^11.11.0" @@ -443,10 +443,10 @@ __metadata: "@affine-test/kit": "workspace:*" "@affine/env": "workspace:*" "@affine/native": "workspace:*" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/lit": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/presets": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/lit": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/presets": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" "@electron-forge/cli": "npm:^7.2.0" "@electron-forge/core": "npm:^7.2.0" "@electron-forge/core-utils": "npm:^7.2.0" @@ -495,8 +495,8 @@ __metadata: version: 0.0.0-use.local resolution: "@affine/env@workspace:packages/common/env" dependencies: - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" lit: "npm:^3.0.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" @@ -740,14 +740,14 @@ __metadata: dependencies: "@affine/component": "workspace:*" "@affine/i18n": "workspace:*" - "@blocksuite/block-std": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" "@blocksuite/icons": "npm:2.1.42" - "@blocksuite/inline": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/lit": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/presets": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/inline": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/lit": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/presets": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" "@dnd-kit/sortable": "npm:^8.0.0" "@storybook/addon-actions": "npm:^7.5.3" "@storybook/addon-essentials": "npm:^7.5.3" @@ -3392,41 +3392,41 @@ __metadata: languageName: node linkType: hard -"@blocksuite/block-std@npm:0.12.0-nightly-202401190708-4e2c95a": - version: 0.12.0-nightly-202401190708-4e2c95a - resolution: "@blocksuite/block-std@npm:0.12.0-nightly-202401190708-4e2c95a" +"@blocksuite/block-std@npm:0.12.0-nightly-202401240410-02f373e": + version: 0.12.0-nightly-202401240410-02f373e + resolution: "@blocksuite/block-std@npm:0.12.0-nightly-202401240410-02f373e" dependencies: - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" lz-string: "npm:^1.5.0" w3c-keyname: "npm:^2.2.8" zod: "npm:^3.22.4" peerDependencies: - "@blocksuite/store": 0.12.0-nightly-202401190708-4e2c95a - checksum: 4f6c8ec553e93bc5485f97a8d490ea9318927564f73e60a2f0ceafc9c9cd84af558068a315693b228a491cafddcea3235661b16b28163906e819dee6c77ee9fe + "@blocksuite/store": 0.12.0-nightly-202401240410-02f373e + checksum: aa1ca1003366b785ffbc291d022456be7119a00140036e2f000fdbc233b7b0d8252ec26f70dd45a47057c1b9d6954c103888846c9076e0a3e9caad5781155a9c languageName: node linkType: hard -"@blocksuite/blocks@npm:0.12.0-nightly-202401190708-4e2c95a": - version: 0.12.0-nightly-202401190708-4e2c95a - resolution: "@blocksuite/blocks@npm:0.12.0-nightly-202401190708-4e2c95a" +"@blocksuite/blocks@npm:0.12.0-nightly-202401240410-02f373e": + version: 0.12.0-nightly-202401240410-02f373e + resolution: "@blocksuite/blocks@npm:0.12.0-nightly-202401240410-02f373e" dependencies: - "@blocksuite/block-std": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/inline": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/lit": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/inline": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/lit": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" "@floating-ui/dom": "npm:^1.5.4" "@toeverything/theme": "npm:^0.7.27" "@types/hast": "npm:^3.0.3" "@types/mdast": "npm:^4.0.3" "@types/webfontloader": "npm:^1.6.38" buffer: "npm:^6.0.3" - date-fns: "npm:^3.1.0" + date-fns: "npm:^3.3.0" file-type: "npm:^16.5.4" fractional-indexing: "npm:^3.2.0" html2canvas: "npm:^1.4.1" jszip: "npm:^3.10.1" - lit: "npm:^3.1.0" + lit: "npm:^3.1.1" mdast-util-gfm-autolink-literal: "npm:^2.0.0" mdast-util-gfm-strikethrough: "npm:^2.0.0" mdast-util-gfm-table: "npm:^2.0.0" @@ -3444,20 +3444,20 @@ __metadata: remark-parse: "npm:^11.0.0" remark-stringify: "npm:^11.0.0" shiki: "npm:^0.14.7" - sortablejs: "npm:^1.15.1" + sortablejs: "npm:^1.15.2" unified: "npm:^11.0.4" webfontloader: "npm:^1.6.28" zod: "npm:^3.22.4" - checksum: 0a65989bdda023e533edc6b5ac77ba5f1fa7c6072dbc63dcbb56a5e563dd37a7621be6180179266fa604a6253cfa8d77a0db1762d5336e11e27bef4100ccc6a3 + checksum: d3a3b65ddda48c710ef253452f0ae51ee5953643505d3250f7af0c0342e5eaedb2249966f6336b13fc813874a0d28de15a09cb9c5fa87b97c2468eaa5eb5d404 languageName: node linkType: hard -"@blocksuite/global@npm:0.12.0-nightly-202401190708-4e2c95a": - version: 0.12.0-nightly-202401190708-4e2c95a - resolution: "@blocksuite/global@npm:0.12.0-nightly-202401190708-4e2c95a" +"@blocksuite/global@npm:0.12.0-nightly-202401240410-02f373e": + version: 0.12.0-nightly-202401240410-02f373e + resolution: "@blocksuite/global@npm:0.12.0-nightly-202401240410-02f373e" dependencies: zod: "npm:^3.22.4" - checksum: a77240b3cd9a51cb409912660142a34f8fbb84e2916cf7426d2d34232f84252b45d8752a9713a668d27db9b34260b35827062d9c20d5bfe652e9d42004c2969d + checksum: 4cc43d78d853ad65a1a6ca86555eea53da9598da0021cc0b7b404dddb724abe823108a5cf663c5ae517a97276b5f83c51ae0c1006980713466f770048341b269 languageName: node linkType: hard @@ -3471,58 +3471,58 @@ __metadata: languageName: node linkType: hard -"@blocksuite/inline@npm:0.12.0-nightly-202401190708-4e2c95a": - version: 0.12.0-nightly-202401190708-4e2c95a - resolution: "@blocksuite/inline@npm:0.12.0-nightly-202401190708-4e2c95a" +"@blocksuite/inline@npm:0.12.0-nightly-202401240410-02f373e": + version: 0.12.0-nightly-202401240410-02f373e + resolution: "@blocksuite/inline@npm:0.12.0-nightly-202401240410-02f373e" dependencies: - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" zod: "npm:^3.22.4" peerDependencies: - lit: ^3.0.2 + lit: ^3.1.1 yjs: ^13 - checksum: 60056214168eebcc072c00137c469708f78579d75ac27961d17973e66796d8551b618fcb99fa677bbe5406aae8e0d7d314f6ea699c7fddb3abbef604763adabb + checksum: 9c218173e199493939d4abdd4254cc9a76883b6169e9c948de872bdbdc85976f54fd16d970bed4a4fe73b6c127fd376ec3330d6a29cc090e5db97e3bcc0a1134 languageName: node linkType: hard -"@blocksuite/lit@npm:0.12.0-nightly-202401190708-4e2c95a": - version: 0.12.0-nightly-202401190708-4e2c95a - resolution: "@blocksuite/lit@npm:0.12.0-nightly-202401190708-4e2c95a" +"@blocksuite/lit@npm:0.12.0-nightly-202401240410-02f373e": + version: 0.12.0-nightly-202401240410-02f373e + resolution: "@blocksuite/lit@npm:0.12.0-nightly-202401240410-02f373e" dependencies: - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/inline": "npm:0.12.0-nightly-202401190708-4e2c95a" - lit: "npm:^3.1.0" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/inline": "npm:0.12.0-nightly-202401240410-02f373e" + lit: "npm:^3.1.1" peerDependencies: - "@blocksuite/block-std": 0.12.0-nightly-202401190708-4e2c95a - "@blocksuite/store": 0.12.0-nightly-202401190708-4e2c95a - checksum: 03ffba5f388f978c9051bbdceb37d0ee0b669e8624385b84191e5e37a339d652dd993cec2d1914f67c874ebe769c4e719b8ab39f259399c7163f6ef12f1655e4 + "@blocksuite/block-std": 0.12.0-nightly-202401240410-02f373e + "@blocksuite/store": 0.12.0-nightly-202401240410-02f373e + checksum: 2baf2d48a92d95d5048299aca9998beddd620e3031b0b642b4d46c603a1cba935e1e2670935091960063b92435d71915bdeb845d3df5b4ee45dab9fd1a321166 languageName: node linkType: hard -"@blocksuite/presets@npm:0.12.0-nightly-202401190708-4e2c95a": - version: 0.12.0-nightly-202401190708-4e2c95a - resolution: "@blocksuite/presets@npm:0.12.0-nightly-202401190708-4e2c95a" +"@blocksuite/presets@npm:0.12.0-nightly-202401240410-02f373e": + version: 0.12.0-nightly-202401240410-02f373e + resolution: "@blocksuite/presets@npm:0.12.0-nightly-202401240410-02f373e" dependencies: - "@blocksuite/block-std": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/inline": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/lit": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@fal-ai/serverless-client": "npm:^0.7.4" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/inline": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/lit": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" + "@fal-ai/serverless-client": "npm:^0.8.2" "@floating-ui/dom": "npm:^1.5.4" "@toeverything/theme": "npm:^0.7.27" - lit: "npm:^3.1.0" - openai: "npm:^4.24.1" - checksum: ef61ac739432aa96e28a5d7d321b8b5f6973f38e6485d0499b2890746a13b7137d30ea622d520c075fedda2e91bc4f1fb18330a0a8890e63b5d999ea9f473ed8 + lit: "npm:^3.1.1" + openai: "npm:^4.25.0" + checksum: 42cd6c8328df82fe0abc22075333d463c75a7b8311431472fc9c953e00927859098bff52a79aee51bc4b2cfff83c2710f72b0d127b8032c2c844b565929873b2 languageName: node linkType: hard -"@blocksuite/store@npm:0.12.0-nightly-202401190708-4e2c95a": - version: 0.12.0-nightly-202401190708-4e2c95a - resolution: "@blocksuite/store@npm:0.12.0-nightly-202401190708-4e2c95a" +"@blocksuite/store@npm:0.12.0-nightly-202401240410-02f373e": + version: 0.12.0-nightly-202401240410-02f373e + resolution: "@blocksuite/store@npm:0.12.0-nightly-202401240410-02f373e" dependencies: - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/inline": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/inline": "npm:0.12.0-nightly-202401240410-02f373e" "@types/flexsearch": "npm:^0.7.6" flexsearch: "npm:0.7.43" idb-keyval: "npm:^6.2.1" @@ -3535,7 +3535,7 @@ __metadata: peerDependencies: async-call-rpc: ^6 yjs: ^13 - checksum: 9831ae011ac03e3891a423d02373da5610b21345ee95a9f1792fffa40ddde4b4132e15a69f500fd84984b83e9e41352c2a60a2974073dae0d2aad06363524906 + checksum: 4675519c075f8543d74fa9bcdd99d12150b10ff05c42ef365efeac2920ad04afc842d72bc8ceb65d77cd167f633161e8a80e3f33470c0a5e40ad805d58daf905 languageName: node linkType: hard @@ -5186,14 +5186,14 @@ __metadata: languageName: node linkType: hard -"@fal-ai/serverless-client@npm:^0.7.4": - version: 0.7.4 - resolution: "@fal-ai/serverless-client@npm:0.7.4" +"@fal-ai/serverless-client@npm:^0.8.2": + version: 0.8.2 + resolution: "@fal-ai/serverless-client@npm:0.8.2" dependencies: "@msgpack/msgpack": "npm:^3.0.0-beta2" robot3: "npm:^0.4.1" uuid-random: "npm:^1.3.2" - checksum: 2df2a3de60b637b2cfe57e08429f79e0ac7f604777f7e761839b28795be049e714f3f1f338c4fb35a18e575d4c58b82c7244680877adf5d83094ba6625de4851 + checksum: 296b2cb406837c0dbb28b0f3361e0a43bb7a14496016b220984f302aebc6dec004a6a0df7067eff2ac583e3334f17e91fec7b46ea397386782dd1b93d2e4be7c languageName: node linkType: hard @@ -12807,11 +12807,11 @@ __metadata: "@affine/debug": "workspace:*" "@affine/env": "workspace:*" "@affine/templates": "workspace:*" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/lit": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/presets": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/lit": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/presets": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" async-call-rpc: "npm:^6.3.1" jotai: "npm:^2.5.1" jotai-effect: "npm:^0.2.3" @@ -12858,9 +12858,9 @@ __metadata: version: 0.0.0-use.local resolution: "@toeverything/y-indexeddb@workspace:packages/common/y-indexeddb" dependencies: - "@blocksuite/blocks": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/global": "npm:0.12.0-nightly-202401190708-4e2c95a" - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/global": "npm:0.12.0-nightly-202401240410-02f373e" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" fake-indexeddb: "npm:^5.0.0" idb: "npm:^8.0.0" nanoid: "npm:^5.0.3" @@ -18166,10 +18166,10 @@ __metadata: languageName: node linkType: hard -"date-fns@npm:^3.1.0": - version: 3.2.0 - resolution: "date-fns@npm:3.2.0" - checksum: 2f36cb9165a066ae90c0b6f0c25b3c70eb75bc52e64ba6dd8680964ebda144851a244ff4ed0b2afb4a6bab796a1af6a0e6c7c2814529d04c72fa434f931d4e81 +"date-fns@npm:^3.3.0": + version: 3.3.1 + resolution: "date-fns@npm:3.3.1" + checksum: 98231936765dfb6fc6897676319b500a06a39f051b2c3ecbdd541a07ce9b1344b770277b8bfb1049fb7a2f70bf365ac8e6f1e2bb452b10e1a8101d518ca7f95d languageName: node linkType: hard @@ -24857,14 +24857,14 @@ __metadata: languageName: node linkType: hard -"lit@npm:^3.0.2, lit@npm:^3.1.0": - version: 3.1.0 - resolution: "lit@npm:3.1.0" +"lit@npm:^3.0.2, lit@npm:^3.1.1": + version: 3.1.1 + resolution: "lit@npm:3.1.1" dependencies: "@lit/reactive-element": "npm:^2.0.0" lit-element: "npm:^4.0.0" lit-html: "npm:^3.1.0" - checksum: cf46959d909a5dce2ac4bff3d9f8aa942be223c30ce1d4e86e66eda55d53f2886e4ae6092f9ab825c1a26d56d1a57c360981040cb579d53a73869d07ec04bad9 + checksum: 9194acc073c9dd5635ae173f255c58af54c4400d50573e77ebda2b2d6f689aee091835c1c513e4c02cb7e2dd58fcbd2a20b85128be97be339eb9b05f42dd5680 languageName: node linkType: hard @@ -28025,9 +28025,9 @@ __metadata: languageName: node linkType: hard -"openai@npm:^4.24.1": - version: 4.24.4 - resolution: "openai@npm:4.24.4" +"openai@npm:^4.25.0": + version: 4.25.0 + resolution: "openai@npm:4.25.0" dependencies: "@types/node": "npm:^18.11.18" "@types/node-fetch": "npm:^2.6.4" @@ -28040,7 +28040,7 @@ __metadata: web-streams-polyfill: "npm:^3.2.1" bin: openai: bin/cli - checksum: d3c83b03a5680fb9fd539b08c27b7b66ab405b400b068c18a71714b8f241abe6acaf957dfb733485a497e418e3c0488d4ef43e219d9fdffa0146bb383fcacb8a + checksum: 58e05f25b4ee8ffa048d92257c6696734b75997ecfdc56d99d6a43ce6bdf2db994d4343439d2d2832710a257af481c08f0ad4bd34f664e99b01286c67aac2d10 languageName: node linkType: hard @@ -31771,10 +31771,10 @@ __metadata: languageName: node linkType: hard -"sortablejs@npm:^1.15.1": - version: 1.15.1 - resolution: "sortablejs@npm:1.15.1" - checksum: c4ccbc60e7936321eee0e07448e04b1f4481fed727ed1ace86866f49f9929e3acda2b7b825894e7ece5b8bc41f3c135eb4d00d09a287de1ee896d8256a0a84df +"sortablejs@npm:^1.15.2": + version: 1.15.2 + resolution: "sortablejs@npm:1.15.2" + checksum: d149dd04bb05904ea20ca477d97cdfbbbd46edf7ede8c80958f2ad881dd6d7b1633cce31665992b341e0ea01fc7ef9d7571ccb7eb995baf01f9418b44e935eac languageName: node linkType: hard @@ -35255,7 +35255,7 @@ __metadata: version: 0.0.0-use.local resolution: "y-provider@workspace:packages/common/y-provider" dependencies: - "@blocksuite/store": "npm:0.12.0-nightly-202401190708-4e2c95a" + "@blocksuite/store": "npm:0.12.0-nightly-202401240410-02f373e" vite: "npm:^5.0.6" vite-plugin-dts: "npm:3.7.0" vitest: "npm:1.1.3"