feat: bump blocksuite (#5812)

This commit is contained in:
Flrande 2024-02-08 08:18:03 +08:00 committed by GitHub
parent a84a91d896
commit 2e3ffeced9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
14 changed files with 161 additions and 158 deletions

View File

@ -3,8 +3,8 @@
"private": true,
"type": "module",
"devDependencies": {
"@blocksuite/global": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/global": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/store": "0.12.0-canary-202402062232-9a8554c",
"react": "18.2.0",
"react-dom": "18.2.0",
"vitest": "1.2.2"

View File

@ -17,9 +17,9 @@
"@affine/debug": "workspace:*",
"@affine/env": "workspace:*",
"@affine/templates": "workspace:*",
"@blocksuite/blocks": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/global": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/blocks": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/global": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/store": "0.12.0-canary-202402062232-9a8554c",
"foxact": "^0.2.20",
"jotai": "^2.5.1",
"jotai-effect": "^0.5.0",
@ -33,8 +33,8 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine/templates": "workspace:*",
"@blocksuite/lit": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/presets": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/lit": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/presets": "0.12.0-canary-202402062232-9a8554c",
"@testing-library/react": "^14.0.0",
"async-call-rpc": "^6.3.1",
"react": "^18.2.0",

View File

@ -32,14 +32,14 @@
}
},
"dependencies": {
"@blocksuite/global": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/global": "0.12.0-canary-202402062232-9a8554c",
"idb": "^8.0.0",
"nanoid": "^5.0.3",
"y-provider": "workspace:*"
},
"devDependencies": {
"@blocksuite/blocks": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/blocks": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/store": "0.12.0-canary-202402062232-9a8554c",
"fake-indexeddb": "^5.0.0",
"vite": "^5.0.6",
"vite-plugin-dts": "3.7.2",

View File

@ -24,7 +24,7 @@
"build": "vite build"
},
"devDependencies": {
"@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/store": "0.12.0-canary-202402062232-9a8554c",
"vite": "^5.0.6",
"vite-plugin-dts": "3.7.2",
"vitest": "1.2.2",

View File

@ -72,12 +72,12 @@
"uuid": "^9.0.1"
},
"devDependencies": {
"@blocksuite/blocks": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/global": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/blocks": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/global": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/icons": "2.1.44",
"@blocksuite/lit": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/presets": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/lit": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/presets": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/store": "0.12.0-canary-202402062232-9a8554c",
"@storybook/addon-actions": "^7.5.3",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-interactions": "^7.5.3",

View File

@ -25,14 +25,14 @@
"@affine/i18n": "workspace:*",
"@affine/templates": "workspace:*",
"@affine/workspace-impl": "workspace:*",
"@blocksuite/block-std": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/blocks": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/global": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/block-std": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/blocks": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/global": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/icons": "2.1.44",
"@blocksuite/inline": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/lit": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/presets": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/inline": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/lit": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/presets": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/store": "0.12.0-canary-202402062232-9a8554c",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^8.0.0",
"@emotion/cache": "^11.11.0",

View File

@ -111,7 +111,6 @@ const getOrCreateShellWorkspace = (workspaceId: string) => {
const blobStorage = new AffineCloudBlobStorage(workspaceId);
workspace = new Workspace({
id: workspaceId,
providerCreators: [],
blobStorages: [
() => ({
crud: blobStorage,

View File

@ -48,7 +48,7 @@ interface BlocksuiteEditorContainerProps {
// mimic the interface of the webcomponent and expose slots & host
type BlocksuiteEditorContainerRef = Pick<
(typeof AffineEditorContainer)['prototype'],
'mode' | 'page' | 'model' | 'slots' | 'host'
'mode' | 'page' | 'slots' | 'host'
> &
HTMLDivElement;

View File

@ -37,24 +37,14 @@ export type EditorProps = {
className?: string;
};
/**
* TODO: Defined async cache to support suspense, instead of reflect symbol to provider persistent error cache.
*/
const PAGE_LOAD_KEY = Symbol('PAGE_LOAD');
const PAGE_ROOT_KEY = Symbol('PAGE_ROOT');
function usePageRoot(page: Page) {
let load$ = Reflect.get(page, PAGE_LOAD_KEY);
if (!load$) {
load$ = page.load();
Reflect.set(page, PAGE_LOAD_KEY, load$);
if (!page.ready) {
use(page.load());
}
use(load$);
if (!page.root) {
let root$: Promise<void> | undefined = Reflect.get(page, PAGE_ROOT_KEY);
if (!root$) {
root$ = new Promise((resolve, reject) => {
use(
new Promise<void>((resolve, reject) => {
const disposable = page.slots.rootAdded.once(() => {
resolve();
});
@ -62,10 +52,8 @@ function usePageRoot(page: Page) {
disposable.dispose();
reject(new NoPageRootError(page));
}, 20 * 1000);
});
Reflect.set(page, PAGE_ROOT_KEY, root$);
}
use(root$);
})
);
}
return page.root;

View File

@ -1,10 +1,12 @@
import type { BlockServiceOptions, BlockSpec } from '@blocksuite/block-std';
import type { ParagraphService } from '@blocksuite/blocks';
import type { BlockSpec } from '@blocksuite/block-std';
import type { PageService, ParagraphService } from '@blocksuite/blocks';
import {
AttachmentService,
CanvasTextFonts,
DocEditorBlockSpecs,
DocPageService,
EdgelessEditorBlockSpecs,
PageService,
EdgelessPageService,
} from '@blocksuite/blocks';
import bytes from 'bytes';
import { html, unsafeStatic } from 'lit/static-html.js';
@ -18,23 +20,28 @@ class CustomAttachmentService extends AttachmentService {
}
}
class CustomPageService extends PageService {
constructor(opt: BlockServiceOptions) {
super(opt);
const officialDomains = new Set(['affine.pro', 'affine.fail']);
const load = this.fontLoader.load.bind(this.fontLoader);
this.fontLoader.load = function (fonts) {
if (!officialDomains.has(window.location.host)) {
return load(
fonts.map(f => ({
...f,
// self-hosted fonts are served from /assets
url: '/assets' + new URL(f.url).pathname.split('/').pop(),
}))
);
}
return load(fonts);
};
function customLoadFonts(service: PageService): void {
const officialDomains = new Set(['affine.pro', 'affine.fail']);
if (!officialDomains.has(window.location.host)) {
const fonts = CanvasTextFonts.map(font => ({
...font,
// self-hosted fonts are served from /assets
url: '/assets' + new URL(font.url).pathname.split('/').pop(),
}));
service.fontLoader.load(fonts);
} else {
service.fontLoader.load(CanvasTextFonts);
}
}
class CustomDocPageService extends DocPageService {
override loadFonts(): void {
customLoadFonts(this);
}
}
class CustomEdgelessPageService extends EdgelessPageService {
override loadFonts(): void {
customLoadFonts(this);
}
}
@ -100,7 +107,7 @@ export const docModeSpecs = DocEditorBlockSpecs.map(spec => {
if (spec.schema.model.flavour === 'affine:page') {
return {
...spec,
service: CustomPageService,
service: CustomDocPageService,
};
}
return spec;
@ -112,5 +119,11 @@ export const edgelessModeSpecs = EdgelessEditorBlockSpecs.map(spec => {
service: CustomAttachmentService,
};
}
if (spec.schema.model.flavour === 'affine:page') {
return {
...spec,
service: CustomEdgelessPageService,
};
}
return spec;
});

View File

@ -25,10 +25,10 @@
"@affine-test/kit": "workspace:*",
"@affine/env": "workspace:*",
"@affine/native": "workspace:*",
"@blocksuite/blocks": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/lit": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/presets": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/blocks": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/lit": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/presets": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/store": "0.12.0-canary-202402062232-9a8554c",
"@electron-forge/cli": "^7.2.0",
"@electron-forge/core": "^7.2.0",
"@electron-forge/core-utils": "^7.2.0",

View File

@ -315,6 +315,7 @@ test('assert the recent browse pages are on the recent list', async ({
{
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.waitForTimeout(200);
await title.pressSequentially('affine is the best', { delay: 100 });
await expect(title).toHaveText('affine is the best', { timeout: 500 });
}
@ -419,7 +420,9 @@ test('can use cmdk to search page content and scroll to it, then the block will
page.locator('[data-affine-editor-container]').getByText('123456')
);
expect(isVisitable).toBe(true);
const selectionElement = page.locator('affine-block-selection');
const selectionElement = page.locator(
'affine-block-selection[style*="display: block;"]'
);
await expect(selectionElement).toBeVisible();
});

View File

@ -22,14 +22,14 @@
"storybook-addon-react-router-v6": "^2.0.10"
},
"devDependencies": {
"@blocksuite/block-std": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/blocks": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/global": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/block-std": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/blocks": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/global": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/icons": "2.1.44",
"@blocksuite/inline": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/lit": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/presets": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/inline": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/lit": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/presets": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/store": "0.12.0-canary-202402062232-9a8554c",
"@storybook/addon-actions": "^7.5.3",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-interactions": "^7.5.3",

164
yarn.lock
View File

@ -195,12 +195,12 @@ __metadata:
"@affine/electron-api": "workspace:*"
"@affine/graphql": "workspace:*"
"@affine/i18n": "workspace:*"
"@blocksuite/blocks": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/blocks": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/icons": "npm:2.1.44"
"@blocksuite/lit": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/presets": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/lit": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/presets": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c"
"@dnd-kit/core": "npm:^6.0.8"
"@dnd-kit/modifiers": "npm:^7.0.0"
"@dnd-kit/sortable": "npm:^8.0.0"
@ -297,14 +297,14 @@ __metadata:
"@affine/templates": "workspace:*"
"@affine/workspace-impl": "workspace:*"
"@aws-sdk/client-s3": "npm:3.504.0"
"@blocksuite/block-std": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/blocks": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/block-std": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/blocks": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/icons": "npm:2.1.44"
"@blocksuite/inline": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/lit": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/presets": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/inline": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/lit": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/presets": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c"
"@dnd-kit/core": "npm:^6.0.8"
"@dnd-kit/sortable": "npm:^8.0.0"
"@emotion/cache": "npm:^11.11.0"
@ -431,10 +431,10 @@ __metadata:
"@affine-test/kit": "workspace:*"
"@affine/env": "workspace:*"
"@affine/native": "workspace:*"
"@blocksuite/blocks": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/lit": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/presets": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/blocks": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/lit": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/presets": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c"
"@electron-forge/cli": "npm:^7.2.0"
"@electron-forge/core": "npm:^7.2.0"
"@electron-forge/core-utils": "npm:^7.2.0"
@ -482,8 +482,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "@affine/env@workspace:packages/common/env"
dependencies:
"@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c"
lit: "npm:^3.0.2"
react: "npm:18.2.0"
react-dom: "npm:18.2.0"
@ -730,14 +730,14 @@ __metadata:
"@affine/component": "workspace:*"
"@affine/i18n": "workspace:*"
"@affine/workspace-impl": "workspace:*"
"@blocksuite/block-std": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/blocks": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/block-std": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/blocks": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/icons": "npm:2.1.44"
"@blocksuite/inline": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/lit": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/presets": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/inline": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/lit": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/presets": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c"
"@dnd-kit/sortable": "npm:^8.0.0"
"@storybook/addon-actions": "npm:^7.5.3"
"@storybook/addon-essentials": "npm:^7.5.3"
@ -3405,29 +3405,29 @@ __metadata:
languageName: node
linkType: hard
"@blocksuite/block-std@npm:0.12.0-canary-202402010557-e8d6e1d":
version: 0.12.0-canary-202402010557-e8d6e1d
resolution: "@blocksuite/block-std@npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/block-std@npm:0.12.0-canary-202402062232-9a8554c":
version: 0.12.0-canary-202402062232-9a8554c
resolution: "@blocksuite/block-std@npm:0.12.0-canary-202402062232-9a8554c"
dependencies:
"@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"
lz-string: "npm:^1.5.0"
w3c-keyname: "npm:^2.2.8"
zod: "npm:^3.22.4"
peerDependencies:
"@blocksuite/store": 0.12.0-canary-202402010557-e8d6e1d
checksum: 10/e671e3f7541ed2038ed1ff970b7eb013af481af764e5a7d293bae14e658e4aa0d3a1eac843f19f4433c9a1f165716ab8386aad7e6b1b81fc3377aba24814c711
"@blocksuite/store": 0.12.0-canary-202402062232-9a8554c
checksum: 10/69c327e6ca9b9c383b32eaabe78535be5f4832c6b66699ac080378cdd48fa3c11a49ec0f2c6ebb40a571f403325a6d54a3bdd297cb8399099a03bdb038c0038a
languageName: node
linkType: hard
"@blocksuite/blocks@npm:0.12.0-canary-202402010557-e8d6e1d":
version: 0.12.0-canary-202402010557-e8d6e1d
resolution: "@blocksuite/blocks@npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/blocks@npm:0.12.0-canary-202402062232-9a8554c":
version: 0.12.0-canary-202402062232-9a8554c
resolution: "@blocksuite/blocks@npm:0.12.0-canary-202402062232-9a8554c"
dependencies:
"@blocksuite/block-std": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/inline": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/lit": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/block-std": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/inline": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/lit": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c"
"@floating-ui/dom": "npm:^1.5.4"
"@toeverything/theme": "npm:^0.7.27"
"@types/hast": "npm:^3.0.3"
@ -3461,16 +3461,16 @@ __metadata:
unified: "npm:^11.0.4"
webfontloader: "npm:^1.6.28"
zod: "npm:^3.22.4"
checksum: 10/8be2f24604ab35c3c889985c40f6adc4a863fe7cfd985aaf75772e5dfa4a597d75793397d6727dc73ecfd412bce3f396cb7a98c1f85eef34f81329514a8d9dbd
checksum: 10/99b1f0d062dbd03e7ae55ed6704c71238fe21ab35cfbd035cef322509e4fa6878714458b9f159c5ed10befce3fe6b65e22dda7c7e9b9f05d52dae2dbf3c8b709
languageName: node
linkType: hard
"@blocksuite/global@npm:0.12.0-canary-202402010557-e8d6e1d":
version: 0.12.0-canary-202402010557-e8d6e1d
resolution: "@blocksuite/global@npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/global@npm:0.12.0-canary-202402062232-9a8554c":
version: 0.12.0-canary-202402062232-9a8554c
resolution: "@blocksuite/global@npm:0.12.0-canary-202402062232-9a8554c"
dependencies:
zod: "npm:^3.22.4"
checksum: 10/2382f30d55583393dc3a2e365d09790767dca72d269bcbac6afdc8f41b3d053ab6402c5bc4dfc521c9478719d77ff73cadc77a8344f3e63751407647705a519b
checksum: 10/f615c394856a6851a3e031065179331ca695f8a5fa190fe38228c8a1254f5a8419b6dc7c4800bf9bfe0287e7432cdbff4de5783fa2c61fe9e7610f2ea5977149
languageName: node
linkType: hard
@ -3484,58 +3484,58 @@ __metadata:
languageName: node
linkType: hard
"@blocksuite/inline@npm:0.12.0-canary-202402010557-e8d6e1d":
version: 0.12.0-canary-202402010557-e8d6e1d
resolution: "@blocksuite/inline@npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/inline@npm:0.12.0-canary-202402062232-9a8554c":
version: 0.12.0-canary-202402062232-9a8554c
resolution: "@blocksuite/inline@npm:0.12.0-canary-202402062232-9a8554c"
dependencies:
"@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"
zod: "npm:^3.22.4"
peerDependencies:
lit: ^3.1.1
yjs: ^13
checksum: 10/e806f03834e9f53348503153699dab4eba8fd5c60a04cf202a8474e789a4bf54b0be116a4a222df1782b18ed7146ea2234bc0bee21ae517042b4869b119b1522
checksum: 10/84ffebd5b9a81b8bfcadddccb546c363a34dc4aa5f4c156a4c668fd5df3023997f35a25aa290537a8c8f20a0351bce4ee2bf2a878e2fa4e2ba98e03b4f5157b4
languageName: node
linkType: hard
"@blocksuite/lit@npm:0.12.0-canary-202402010557-e8d6e1d":
version: 0.12.0-canary-202402010557-e8d6e1d
resolution: "@blocksuite/lit@npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/lit@npm:0.12.0-canary-202402062232-9a8554c":
version: 0.12.0-canary-202402062232-9a8554c
resolution: "@blocksuite/lit@npm:0.12.0-canary-202402062232-9a8554c"
dependencies:
"@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/inline": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/inline": "npm:0.12.0-canary-202402062232-9a8554c"
lit: "npm:^3.1.1"
peerDependencies:
"@blocksuite/block-std": 0.12.0-canary-202402010557-e8d6e1d
"@blocksuite/store": 0.12.0-canary-202402010557-e8d6e1d
checksum: 10/d68a543279119cbb43991f78a5d44be2393d5e1e05818a0192ab0724f34a01de747fddc942871942845299bdd5b19b5730ada17513caaff0931ed0cce73b433d
"@blocksuite/block-std": 0.12.0-canary-202402062232-9a8554c
"@blocksuite/store": 0.12.0-canary-202402062232-9a8554c
checksum: 10/aab794043925d1e3eec5f73148f77dd26f3ccdd2ffb0889e5e48c5df0a851c95ff25efaefacc3220bdc17da3ae737e3bea80cffa84576caa02bd420ef015ac94
languageName: node
linkType: hard
"@blocksuite/presets@npm:0.12.0-canary-202402010557-e8d6e1d":
version: 0.12.0-canary-202402010557-e8d6e1d
resolution: "@blocksuite/presets@npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/presets@npm:0.12.0-canary-202402062232-9a8554c":
version: 0.12.0-canary-202402062232-9a8554c
resolution: "@blocksuite/presets@npm:0.12.0-canary-202402062232-9a8554c"
dependencies:
"@blocksuite/block-std": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/blocks": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/inline": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/lit": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/block-std": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/blocks": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/inline": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/lit": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c"
"@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.1"
openai: "npm:^4.25.0"
checksum: 10/7e0b5577175a7a939b5f545c41c0bbe793909583473b00274478c5e6d88489804ced579c659101516db1944f6c763ef72a3e25c7a4c6947077fa67960ec08668
checksum: 10/9b1c274b73392a4fac0dc3f66755d55ca00b94a3e8aa524495c605eca383cb03a98f9f37291576018c8961ef316dc71f749280f15c56b649c492c943de681667
languageName: node
linkType: hard
"@blocksuite/store@npm:0.12.0-canary-202402010557-e8d6e1d":
version: 0.12.0-canary-202402010557-e8d6e1d
resolution: "@blocksuite/store@npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/store@npm:0.12.0-canary-202402062232-9a8554c":
version: 0.12.0-canary-202402062232-9a8554c
resolution: "@blocksuite/store@npm:0.12.0-canary-202402062232-9a8554c"
dependencies:
"@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/inline": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/inline": "npm:0.12.0-canary-202402062232-9a8554c"
"@types/flexsearch": "npm:^0.7.6"
flexsearch: "npm:0.7.43"
idb-keyval: "npm:^6.2.1"
@ -3548,7 +3548,7 @@ __metadata:
peerDependencies:
async-call-rpc: ^6
yjs: ^13
checksum: 10/908f2c4a940c4119c35f2d25ee94177af455d8edd34aae3de07caafe55a6482bf726faa2abe12d9a4ba1d36ff1fb14f5b997589e1140c20ac33e838226fb900a
checksum: 10/2d10e6b227e70a1520fce6db67b60e332aae71bfa10c905f76ec2bb9abfb10503abf0667ebbfbe9a88b7df3a1bc7418b15eb0df31afd5b5b0056f9dc54d0f5df
languageName: node
linkType: hard
@ -13068,11 +13068,11 @@ __metadata:
"@affine/debug": "workspace:*"
"@affine/env": "workspace:*"
"@affine/templates": "workspace:*"
"@blocksuite/blocks": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/lit": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/presets": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/blocks": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/lit": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/presets": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c"
"@testing-library/react": "npm:^14.0.0"
async-call-rpc: "npm:^6.3.1"
foxact: "npm:^0.2.20"
@ -13122,9 +13122,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@toeverything/y-indexeddb@workspace:packages/common/y-indexeddb"
dependencies:
"@blocksuite/blocks": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/global": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/blocks": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/global": "npm:0.12.0-canary-202402062232-9a8554c"
"@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c"
fake-indexeddb: "npm:^5.0.0"
idb: "npm:^8.0.0"
nanoid: "npm:^5.0.3"
@ -35462,7 +35462,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "y-provider@workspace:packages/common/y-provider"
dependencies:
"@blocksuite/store": "npm:0.12.0-canary-202402010557-e8d6e1d"
"@blocksuite/store": "npm:0.12.0-canary-202402062232-9a8554c"
vite: "npm:^5.0.6"
vite-plugin-dts: "npm:3.7.2"
vitest: "npm:1.2.2"