feat: bump blocksuite (#5624)

This commit is contained in:
regischen 2024-01-18 17:26:31 +08:00 committed by GitHub
parent c3fda80599
commit 8b1b5b2e93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
17 changed files with 168 additions and 168 deletions

View File

@ -3,8 +3,8 @@
"private": true, "private": true,
"type": "module", "type": "module",
"devDependencies": { "devDependencies": {
"@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"vitest": "1.1.3" "vitest": "1.1.3"

View File

@ -13,9 +13,9 @@
"@affine/debug": "workspace:*", "@affine/debug": "workspace:*",
"@affine/env": "workspace:*", "@affine/env": "workspace:*",
"@affine/templates": "workspace:*", "@affine/templates": "workspace:*",
"@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
"jotai": "^2.5.1", "jotai": "^2.5.1",
"jotai-effect": "^0.2.3", "jotai-effect": "^0.2.3",
"nanoid": "^5.0.3", "nanoid": "^5.0.3",
@ -26,8 +26,8 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine/templates": "workspace:*", "@affine/templates": "workspace:*",
"@blocksuite/lit": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/lit": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/presets": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/presets": "0.12.0-nightly-202401180838-f0c45fd",
"async-call-rpc": "^6.3.1", "async-call-rpc": "^6.3.1",
"react": "^18.2.0", "react": "^18.2.0",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",

View File

@ -32,14 +32,14 @@
} }
}, },
"dependencies": { "dependencies": {
"@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"idb": "^8.0.0", "idb": "^8.0.0",
"nanoid": "^5.0.3", "nanoid": "^5.0.3",
"y-provider": "workspace:*" "y-provider": "workspace:*"
}, },
"devDependencies": { "devDependencies": {
"@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
"fake-indexeddb": "^5.0.0", "fake-indexeddb": "^5.0.0",
"vite": "^5.0.6", "vite": "^5.0.6",
"vite-plugin-dts": "3.7.0", "vite-plugin-dts": "3.7.0",

View File

@ -24,7 +24,7 @@
"build": "vite build" "build": "vite build"
}, },
"devDependencies": { "devDependencies": {
"@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
"vite": "^5.0.6", "vite": "^5.0.6",
"vite-plugin-dts": "3.7.0", "vite-plugin-dts": "3.7.0",
"vitest": "1.1.3", "vitest": "1.1.3",

View File

@ -72,12 +72,12 @@
"uuid": "^9.0.1" "uuid": "^9.0.1"
}, },
"devDependencies": { "devDependencies": {
"@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/icons": "2.1.41", "@blocksuite/icons": "2.1.41",
"@blocksuite/lit": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/lit": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/presets": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/presets": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
"@storybook/addon-actions": "^7.5.3", "@storybook/addon-actions": "^7.5.3",
"@storybook/addon-essentials": "^7.5.3", "@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-interactions": "^7.5.3", "@storybook/addon-interactions": "^7.5.3",

View File

@ -26,14 +26,14 @@
"@affine/templates": "workspace:*", "@affine/templates": "workspace:*",
"@affine/workspace": "workspace:*", "@affine/workspace": "workspace:*",
"@affine/workspace-impl": "workspace:*", "@affine/workspace-impl": "workspace:*",
"@blocksuite/block-std": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/block-std": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/icons": "2.1.41", "@blocksuite/icons": "2.1.41",
"@blocksuite/inline": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/inline": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/lit": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/lit": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/presets": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/presets": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
"@dnd-kit/core": "^6.0.8", "@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^8.0.0", "@dnd-kit/sortable": "^8.0.0",
"@emotion/cache": "^11.11.0", "@emotion/cache": "^11.11.0",

View File

@ -1,9 +1,9 @@
import { import {
registerFramePanelComponents, registerFramePanelComponents,
registerTOCPanelComponents, registerOutlinePanelComponents,
} from '@blocksuite/presets'; } from '@blocksuite/presets';
registerTOCPanelComponents(components => { registerOutlinePanelComponents(components => {
for (const compName in components) { for (const compName in components) {
if (window.customElements.get(compName)) continue; if (window.customElements.get(compName)) continue;

View File

@ -1,7 +1,7 @@
import { useActiveBlocksuiteEditor } from '@affine/core/hooks/use-block-suite-editor'; import { useActiveBlocksuiteEditor } from '@affine/core/hooks/use-block-suite-editor';
import { assertExists } from '@blocksuite/global/utils'; import { assertExists } from '@blocksuite/global/utils';
import { TocIcon } from '@blocksuite/icons'; import { TocIcon } from '@blocksuite/icons';
import { TOCPanel } from '@blocksuite/presets'; import { OutlinePanel } from '@blocksuite/presets';
import { useCallback, useRef } from 'react'; import { useCallback, useRef } from 'react';
import type { EditorExtension } from '../types'; import type { EditorExtension } from '../types';
@ -9,13 +9,13 @@ import * as styles from './outline.css';
// A wrapper for TOCNotesPanel // A wrapper for TOCNotesPanel
const EditorOutline = () => { const EditorOutline = () => {
const tocPanelRef = useRef<TOCPanel | null>(null); const outlinePanelRef = useRef<OutlinePanel | null>(null);
const [editor] = useActiveBlocksuiteEditor(); const [editor] = useActiveBlocksuiteEditor();
const onRefChange = useCallback((container: HTMLDivElement | null) => { const onRefChange = useCallback((container: HTMLDivElement | null) => {
if (container) { if (container) {
assertExists(tocPanelRef.current, 'toc panel should be initialized'); assertExists(outlinePanelRef.current, 'toc panel should be initialized');
container.append(tocPanelRef.current); container.append(outlinePanelRef.current);
} }
}, []); }, []);
@ -23,13 +23,13 @@ const EditorOutline = () => {
return; return;
} }
if (!tocPanelRef.current) { if (!outlinePanelRef.current) {
tocPanelRef.current = new TOCPanel(); outlinePanelRef.current = new OutlinePanel();
} }
if (editor !== tocPanelRef.current?.editor) { if (editor !== outlinePanelRef.current?.editor) {
(tocPanelRef.current as TOCPanel).editor = editor; (outlinePanelRef.current as OutlinePanel).editor = editor;
(tocPanelRef.current as TOCPanel).fitPadding = [20, 20, 20, 20]; (outlinePanelRef.current as OutlinePanel).fitPadding = [20, 20, 20, 20];
} }
return <div className={styles.root} ref={onRefChange} />; return <div className={styles.root} ref={onRefChange} />;

View File

@ -25,10 +25,10 @@
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@affine/env": "workspace:*", "@affine/env": "workspace:*",
"@affine/native": "workspace:*", "@affine/native": "workspace:*",
"@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/lit": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/lit": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/presets": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/presets": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
"@electron-forge/cli": "^7.2.0", "@electron-forge/cli": "^7.2.0",
"@electron-forge/core": "^7.2.0", "@electron-forge/core": "^7.2.0",
"@electron-forge/core-utils": "^7.2.0", "@electron-forge/core-utils": "^7.2.0",

View File

@ -9,10 +9,10 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/block-std": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
"@playwright/test": "^1.39.0", "@playwright/test": "^1.39.0",
"express": "^4.18.2", "express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1", "http-proxy-middleware": "^3.0.0-beta.1",

View File

@ -9,10 +9,10 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/block-std": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
"@playwright/test": "^1.39.0", "@playwright/test": "^1.39.0",
"express": "^4.18.2", "express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1", "http-proxy-middleware": "^3.0.0-beta.1",

View File

@ -9,10 +9,10 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/block-std": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
"@playwright/test": "^1.39.0", "@playwright/test": "^1.39.0",
"express": "^4.18.2", "express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1", "http-proxy-middleware": "^3.0.0-beta.1",

View File

@ -9,10 +9,10 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/block-std": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
"@playwright/test": "^1.39.0", "@playwright/test": "^1.39.0",
"express": "^4.18.2", "express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1", "http-proxy-middleware": "^3.0.0-beta.1",

View File

@ -7,10 +7,10 @@
"devDependencies": { "devDependencies": {
"@affine-test/fixtures": "workspace:*", "@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*", "@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/block-std": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
"@playwright/test": "^1.39.0" "@playwright/test": "^1.39.0"
}, },
"version": "0.11.0" "version": "0.11.0"

View File

@ -32,7 +32,7 @@ export async function type(page: Page, content: string, delay = 50) {
export const createLinkedPage = async (page: Page, pageName?: string) => { export const createLinkedPage = async (page: Page, pageName?: string) => {
await page.keyboard.type('@', { delay: 50 }); await page.keyboard.type('@', { delay: 50 });
const linkedPagePopover = page.locator('.linked-page-popover'); const linkedPagePopover = page.locator('.linked-doc-popover');
await expect(linkedPagePopover).toBeVisible(); await expect(linkedPagePopover).toBeVisible();
if (pageName) { if (pageName) {
await type(page, pageName); await type(page, pageName);

View File

@ -21,14 +21,14 @@
"storybook-addon-react-router-v6": "^2.0.10" "storybook-addon-react-router-v6": "^2.0.10"
}, },
"devDependencies": { "devDependencies": {
"@blocksuite/block-std": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/block-std": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/icons": "2.1.41", "@blocksuite/icons": "2.1.41",
"@blocksuite/inline": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/inline": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/lit": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/lit": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/presets": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/presets": "0.12.0-nightly-202401180838-f0c45fd",
"@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd",
"@storybook/addon-actions": "^7.5.3", "@storybook/addon-actions": "^7.5.3",
"@storybook/addon-essentials": "^7.5.3", "@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-interactions": "^7.5.3", "@storybook/addon-interactions": "^7.5.3",

204
yarn.lock
View File

@ -25,10 +25,10 @@ __metadata:
dependencies: dependencies:
"@affine-test/fixtures": "workspace:*" "@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*" "@affine-test/kit": "workspace:*"
"@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@playwright/test": "npm:^1.39.0" "@playwright/test": "npm:^1.39.0"
express: "npm:^4.18.2" express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1" http-proxy-middleware: "npm:^3.0.0-beta.1"
@ -42,10 +42,10 @@ __metadata:
dependencies: dependencies:
"@affine-test/fixtures": "workspace:*" "@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*" "@affine-test/kit": "workspace:*"
"@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@playwright/test": "npm:^1.39.0" "@playwright/test": "npm:^1.39.0"
express: "npm:^4.18.2" express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1" http-proxy-middleware: "npm:^3.0.0-beta.1"
@ -59,10 +59,10 @@ __metadata:
dependencies: dependencies:
"@affine-test/fixtures": "workspace:*" "@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*" "@affine-test/kit": "workspace:*"
"@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@playwright/test": "npm:^1.39.0" "@playwright/test": "npm:^1.39.0"
express: "npm:^4.18.2" express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1" http-proxy-middleware: "npm:^3.0.0-beta.1"
@ -76,10 +76,10 @@ __metadata:
dependencies: dependencies:
"@affine-test/fixtures": "workspace:*" "@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*" "@affine-test/kit": "workspace:*"
"@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@playwright/test": "npm:^1.39.0" "@playwright/test": "npm:^1.39.0"
express: "npm:^4.18.2" express: "npm:^4.18.2"
http-proxy-middleware: "npm:^3.0.0-beta.1" http-proxy-middleware: "npm:^3.0.0-beta.1"
@ -139,10 +139,10 @@ __metadata:
dependencies: dependencies:
"@affine-test/fixtures": "workspace:*" "@affine-test/fixtures": "workspace:*"
"@affine-test/kit": "workspace:*" "@affine-test/kit": "workspace:*"
"@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@playwright/test": "npm:^1.39.0" "@playwright/test": "npm:^1.39.0"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@ -206,12 +206,12 @@ __metadata:
"@affine/graphql": "workspace:*" "@affine/graphql": "workspace:*"
"@affine/i18n": "workspace:*" "@affine/i18n": "workspace:*"
"@affine/workspace": "workspace:*" "@affine/workspace": "workspace:*"
"@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/icons": "npm:2.1.41" "@blocksuite/icons": "npm:2.1.41"
"@blocksuite/lit": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/lit": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/presets": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/presets": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@dnd-kit/core": "npm:^6.0.8" "@dnd-kit/core": "npm:^6.0.8"
"@dnd-kit/modifiers": "npm:^7.0.0" "@dnd-kit/modifiers": "npm:^7.0.0"
"@dnd-kit/sortable": "npm:^8.0.0" "@dnd-kit/sortable": "npm:^8.0.0"
@ -309,14 +309,14 @@ __metadata:
"@affine/workspace": "workspace:*" "@affine/workspace": "workspace:*"
"@affine/workspace-impl": "workspace:*" "@affine/workspace-impl": "workspace:*"
"@aws-sdk/client-s3": "npm:3.485.0" "@aws-sdk/client-s3": "npm:3.485.0"
"@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/icons": "npm:2.1.41" "@blocksuite/icons": "npm:2.1.41"
"@blocksuite/inline": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/inline": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/lit": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/lit": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/presets": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/presets": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@dnd-kit/core": "npm:^6.0.8" "@dnd-kit/core": "npm:^6.0.8"
"@dnd-kit/sortable": "npm:^8.0.0" "@dnd-kit/sortable": "npm:^8.0.0"
"@emotion/cache": "npm:^11.11.0" "@emotion/cache": "npm:^11.11.0"
@ -443,10 +443,10 @@ __metadata:
"@affine-test/kit": "workspace:*" "@affine-test/kit": "workspace:*"
"@affine/env": "workspace:*" "@affine/env": "workspace:*"
"@affine/native": "workspace:*" "@affine/native": "workspace:*"
"@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/lit": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/lit": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/presets": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/presets": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@electron-forge/cli": "npm:^7.2.0" "@electron-forge/cli": "npm:^7.2.0"
"@electron-forge/core": "npm:^7.2.0" "@electron-forge/core": "npm:^7.2.0"
"@electron-forge/core-utils": "npm:^7.2.0" "@electron-forge/core-utils": "npm:^7.2.0"
@ -495,8 +495,8 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@affine/env@workspace:packages/common/env" resolution: "@affine/env@workspace:packages/common/env"
dependencies: dependencies:
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
lit: "npm:^3.0.2" lit: "npm:^3.0.2"
react: "npm:18.2.0" react: "npm:18.2.0"
react-dom: "npm:18.2.0" react-dom: "npm:18.2.0"
@ -741,14 +741,14 @@ __metadata:
dependencies: dependencies:
"@affine/component": "workspace:*" "@affine/component": "workspace:*"
"@affine/i18n": "workspace:*" "@affine/i18n": "workspace:*"
"@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/icons": "npm:2.1.41" "@blocksuite/icons": "npm:2.1.41"
"@blocksuite/inline": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/inline": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/lit": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/lit": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/presets": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/presets": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@dnd-kit/sortable": "npm:^8.0.0" "@dnd-kit/sortable": "npm:^8.0.0"
"@storybook/addon-actions": "npm:^7.5.3" "@storybook/addon-actions": "npm:^7.5.3"
"@storybook/addon-essentials": "npm:^7.5.3" "@storybook/addon-essentials": "npm:^7.5.3"
@ -3393,29 +3393,29 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/block-std@npm:0.12.0-nightly-202401120404-4219e86": "@blocksuite/block-std@npm:0.12.0-nightly-202401180838-f0c45fd":
version: 0.12.0-nightly-202401120404-4219e86 version: 0.12.0-nightly-202401180838-f0c45fd
resolution: "@blocksuite/block-std@npm:0.12.0-nightly-202401120404-4219e86" resolution: "@blocksuite/block-std@npm:0.12.0-nightly-202401180838-f0c45fd"
dependencies: dependencies:
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
lz-string: "npm:^1.5.0" lz-string: "npm:^1.5.0"
w3c-keyname: "npm:^2.2.8" w3c-keyname: "npm:^2.2.8"
zod: "npm:^3.22.4" zod: "npm:^3.22.4"
peerDependencies: peerDependencies:
"@blocksuite/store": 0.12.0-nightly-202401120404-4219e86 "@blocksuite/store": 0.12.0-nightly-202401180838-f0c45fd
checksum: 370f1f940399fa4ce7c0700b8ccd2fc27d14a6778bac119311af826ac927e3c177c26de1e16568032dc4e0ce856b4c95a991813fbdae17531bf4b8f38038e17b checksum: 85c1f12cf25f160a2bad40dbbcc4c7559120d6d3943a9686109fe4aa8e91a62cf1e07a5bd9bcc7a790c422afaf1aad0889aff743cac55fbe755e3b03d282ff43
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/blocks@npm:0.12.0-nightly-202401120404-4219e86": "@blocksuite/blocks@npm:0.12.0-nightly-202401180838-f0c45fd":
version: 0.12.0-nightly-202401120404-4219e86 version: 0.12.0-nightly-202401180838-f0c45fd
resolution: "@blocksuite/blocks@npm:0.12.0-nightly-202401120404-4219e86" resolution: "@blocksuite/blocks@npm:0.12.0-nightly-202401180838-f0c45fd"
dependencies: dependencies:
"@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/inline": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/inline": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/lit": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/lit": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@floating-ui/dom": "npm:^1.5.4" "@floating-ui/dom": "npm:^1.5.4"
"@toeverything/theme": "npm:^0.7.27" "@toeverything/theme": "npm:^0.7.27"
"@types/hast": "npm:^3.0.3" "@types/hast": "npm:^3.0.3"
@ -3449,16 +3449,16 @@ __metadata:
unified: "npm:^11.0.4" unified: "npm:^11.0.4"
webfontloader: "npm:^1.6.28" webfontloader: "npm:^1.6.28"
zod: "npm:^3.22.4" zod: "npm:^3.22.4"
checksum: d26daebf5cdf9f863d5a03e72bf764d0c97975abe9f37acf38d55eb5070a722568ee4d044df5cfebe5ffe9785df1b1392194ee6c816ff74a5408ec54403e59b8 checksum: a27d5ff4bcc359f11da4378a50fa797ac158a86703fa9c5cedd5188e22a54bbcce9be8551ae0b22caba26daa71790f54be6d3e7d6b0a1ba63ddca6f3e0fcc620
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/global@npm:0.12.0-nightly-202401120404-4219e86": "@blocksuite/global@npm:0.12.0-nightly-202401180838-f0c45fd":
version: 0.12.0-nightly-202401120404-4219e86 version: 0.12.0-nightly-202401180838-f0c45fd
resolution: "@blocksuite/global@npm:0.12.0-nightly-202401120404-4219e86" resolution: "@blocksuite/global@npm:0.12.0-nightly-202401180838-f0c45fd"
dependencies: dependencies:
zod: "npm:^3.22.4" zod: "npm:^3.22.4"
checksum: 247d7d6475936289720d8f7a4fa8b0dcb375c3a74115da4b8c9456d2df45a3e71ee073a2c0b5488cdf25dfe6b0eb9dfba21958e0a2066776c93850c292b904bd checksum: a628e888350a483a7d858a3df3de0280e7d5b726de9da999f447cd25cf6e3f786981988a07dbb8a9abb4d4b92e25e4ce4e8a0da517aa1836c2aa7b7454752872
languageName: node languageName: node
linkType: hard linkType: hard
@ -3472,58 +3472,58 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/inline@npm:0.12.0-nightly-202401120404-4219e86": "@blocksuite/inline@npm:0.12.0-nightly-202401180838-f0c45fd":
version: 0.12.0-nightly-202401120404-4219e86 version: 0.12.0-nightly-202401180838-f0c45fd
resolution: "@blocksuite/inline@npm:0.12.0-nightly-202401120404-4219e86" resolution: "@blocksuite/inline@npm:0.12.0-nightly-202401180838-f0c45fd"
dependencies: dependencies:
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
zod: "npm:^3.22.4" zod: "npm:^3.22.4"
peerDependencies: peerDependencies:
lit: ^3.0.2 lit: ^3.0.2
yjs: ^13 yjs: ^13
checksum: 1c38558f5a7e9fac84a6130207618e2a75c29591c6dc264cd5e2eddee4a7dfc02964c66c8945ea4a8a6b3c468242e4c5b7d8ea639d77bd82cd5e59c87c5b1171 checksum: 083e733b76c9eeb7bc83597d44864a4538c49521f5222ec70d91b465b7783e0b877eab2b6ba0a23be6dbc5353932dceb5d5e70a93ac3d3d7a943a487641ac5b5
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/lit@npm:0.12.0-nightly-202401120404-4219e86": "@blocksuite/lit@npm:0.12.0-nightly-202401180838-f0c45fd":
version: 0.12.0-nightly-202401120404-4219e86 version: 0.12.0-nightly-202401180838-f0c45fd
resolution: "@blocksuite/lit@npm:0.12.0-nightly-202401120404-4219e86" resolution: "@blocksuite/lit@npm:0.12.0-nightly-202401180838-f0c45fd"
dependencies: dependencies:
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/inline": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/inline": "npm:0.12.0-nightly-202401180838-f0c45fd"
lit: "npm:^3.1.0" lit: "npm:^3.1.0"
peerDependencies: peerDependencies:
"@blocksuite/block-std": 0.12.0-nightly-202401120404-4219e86 "@blocksuite/block-std": 0.12.0-nightly-202401180838-f0c45fd
"@blocksuite/store": 0.12.0-nightly-202401120404-4219e86 "@blocksuite/store": 0.12.0-nightly-202401180838-f0c45fd
checksum: 2b1df051a77f58376df1b88301041721588dd4b2f06c6bcde807316bdf8f1c311d53a9cb81254ef52a5e67bebc378cb4ea512ddefd16b1ad868c1d87fc47c958 checksum: 4d6f9e7df682fdbac0f02d52ce71966f8978c017d857b4d9f28e722c6b9f825780b789fa9aa3d6d7a80124b6c3bf1902868c45e88cf442dbea09c95e0d7a5bc2
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/presets@npm:0.12.0-nightly-202401120404-4219e86": "@blocksuite/presets@npm:0.12.0-nightly-202401180838-f0c45fd":
version: 0.12.0-nightly-202401120404-4219e86 version: 0.12.0-nightly-202401180838-f0c45fd
resolution: "@blocksuite/presets@npm:0.12.0-nightly-202401120404-4219e86" resolution: "@blocksuite/presets@npm:0.12.0-nightly-202401180838-f0c45fd"
dependencies: dependencies:
"@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/inline": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/inline": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/lit": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/lit": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@fal-ai/serverless-client": "npm:^0.7.4" "@fal-ai/serverless-client": "npm:^0.7.4"
"@floating-ui/dom": "npm:^1.5.4" "@floating-ui/dom": "npm:^1.5.4"
"@toeverything/theme": "npm:^0.7.27" "@toeverything/theme": "npm:^0.7.27"
lit: "npm:^3.1.0" lit: "npm:^3.1.0"
openai: "npm:^4.24.1" openai: "npm:^4.24.1"
checksum: b4d04692f34bd02cf312ca23aa03d294cc04d69e72d9b0a190d6c433aefc460aa37256ba8c8bead6fd900a0273831ae3e252d4ada9af48f4abcc96fa193b409a checksum: 5a717c7bf4af53077de0c3a3e30bf0edf2daffcb067997e8cbd779d78dc7ac96e708166f0f951628a3e202b1e7e39b1aeaf9e827303983e2193db99ace6a8c47
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/store@npm:0.12.0-nightly-202401120404-4219e86": "@blocksuite/store@npm:0.12.0-nightly-202401180838-f0c45fd":
version: 0.12.0-nightly-202401120404-4219e86 version: 0.12.0-nightly-202401180838-f0c45fd
resolution: "@blocksuite/store@npm:0.12.0-nightly-202401120404-4219e86" resolution: "@blocksuite/store@npm:0.12.0-nightly-202401180838-f0c45fd"
dependencies: dependencies:
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/inline": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/inline": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@types/flexsearch": "npm:^0.7.6" "@types/flexsearch": "npm:^0.7.6"
flexsearch: "npm:0.7.43" flexsearch: "npm:0.7.43"
idb-keyval: "npm:^6.2.1" idb-keyval: "npm:^6.2.1"
@ -3536,7 +3536,7 @@ __metadata:
peerDependencies: peerDependencies:
async-call-rpc: ^6 async-call-rpc: ^6
yjs: ^13 yjs: ^13
checksum: 8cd32c49fcaf9cefa4e4211cba392a9f1c8f1d14c1d601aa4758d4d4b88ca5cf2543032e28d486ef4f7de9a109d3c6b1eaca2bb5d5e81d772b1d702600674475 checksum: 0e125e13a27b70b895bdca4512276eca6191050e00e95d235f4e67b9b5b69618da2dc003af25d7ab9e6351300f7e51263011d77e69c68f3657b7c251be0c3d11
languageName: node languageName: node
linkType: hard linkType: hard
@ -12850,11 +12850,11 @@ __metadata:
"@affine/debug": "workspace:*" "@affine/debug": "workspace:*"
"@affine/env": "workspace:*" "@affine/env": "workspace:*"
"@affine/templates": "workspace:*" "@affine/templates": "workspace:*"
"@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/lit": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/lit": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/presets": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/presets": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
async-call-rpc: "npm:^6.3.1" async-call-rpc: "npm:^6.3.1"
jotai: "npm:^2.5.1" jotai: "npm:^2.5.1"
jotai-effect: "npm:^0.2.3" jotai-effect: "npm:^0.2.3"
@ -12901,9 +12901,9 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@toeverything/y-indexeddb@workspace:packages/common/y-indexeddb" resolution: "@toeverything/y-indexeddb@workspace:packages/common/y-indexeddb"
dependencies: dependencies:
"@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd"
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
fake-indexeddb: "npm:^5.0.0" fake-indexeddb: "npm:^5.0.0"
idb: "npm:^8.0.0" idb: "npm:^8.0.0"
nanoid: "npm:^5.0.3" nanoid: "npm:^5.0.3"
@ -35307,7 +35307,7 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "y-provider@workspace:packages/common/y-provider" resolution: "y-provider@workspace:packages/common/y-provider"
dependencies: dependencies:
"@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd"
vite: "npm:^5.0.6" vite: "npm:^5.0.6"
vite-plugin-dts: "npm:3.7.0" vite-plugin-dts: "npm:3.7.0"
vitest: "npm:1.1.3" vitest: "npm:1.1.3"