mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-09 13:15:51 +08:00
feat: bump blocksuite (#5286)
Co-authored-by: donteatfriedrice <huisheng.chen7788@outlook.com>
This commit is contained in:
Vendored
+2
-2
@@ -3,8 +3,8 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312150424-f13b992",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312150424-f13b992",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"vitest": "0.34.6",
|
||||
|
||||
Vendored
-1
@@ -6,7 +6,6 @@ import { isDesktop, isServer } from './constant.js';
|
||||
import { UaHelper } from './ua-helper.js';
|
||||
|
||||
export const blockSuiteFeatureFlags = z.object({
|
||||
enable_transformer_clipboard: z.boolean(),
|
||||
enable_expand_database_block: z.boolean(),
|
||||
enable_bultin_ledits: z.boolean(),
|
||||
});
|
||||
|
||||
@@ -57,9 +57,9 @@
|
||||
"@affine/debug": "workspace:*",
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/sdk": "workspace:*",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312150424-f13b992",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312150424-f13b992",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312150424-f13b992",
|
||||
"jotai": "^2.5.1",
|
||||
"jotai-effect": "^0.2.3",
|
||||
"tinykeys": "^2.1.0",
|
||||
@@ -68,8 +68,8 @@
|
||||
"devDependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
"@affine/templates": "workspace:*",
|
||||
"@blocksuite/lit": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/lit": "0.11.0-nightly-202312150424-f13b992",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312150424-f13b992",
|
||||
"@testing-library/react": "^14.0.0",
|
||||
"async-call-rpc": "^6.3.1",
|
||||
"electron": "link:../../frontend/electron/node_modules/electron",
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312150424-f13b992",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312150424-f13b992",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312150424-f13b992",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312150424-f13b992",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312150424-f13b992",
|
||||
"jotai": "^2.5.1",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { BaseSelection } from '@blocksuite/block-std';
|
||||
import type { EditorContainer } from '@blocksuite/presets';
|
||||
import type { AffineEditorContainer } from '@blocksuite/presets';
|
||||
import type { Page } from '@blocksuite/store';
|
||||
import type { Workspace } from '@blocksuite/store';
|
||||
import type { Atom, getDefaultStore } from 'jotai/vanilla';
|
||||
@@ -10,7 +10,7 @@ export type Part = 'headerItem' | 'editor' | 'setting' | 'formatBar';
|
||||
|
||||
export type CallbackMap = {
|
||||
headerItem: (root: HTMLElement) => () => void;
|
||||
editor: (root: HTMLElement, editor: EditorContainer) => () => void;
|
||||
editor: (root: HTMLElement, editor: AffineEditorContainer) => () => void;
|
||||
setting: (root: HTMLElement) => () => void;
|
||||
formatBar: (
|
||||
root: HTMLElement,
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
"y-provider": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312150424-f13b992",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312150424-f13b992",
|
||||
"fake-indexeddb": "^5.0.0",
|
||||
"vite": "^5.0.6",
|
||||
"vite-plugin-dts": "3.6.0",
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"build": "vite build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312150424-f13b992",
|
||||
"vite": "^5.0.6",
|
||||
"vite-plugin-dts": "3.6.0",
|
||||
"vitest": "0.34.6",
|
||||
|
||||
Reference in New Issue
Block a user