chore: bump version (#4434)
This commit is contained in:
@@ -54,12 +54,12 @@
|
||||
"rxjs": "^7.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/blocks": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/editor": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/blocks": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/editor": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/icons": "^2.1.33",
|
||||
"@blocksuite/lit": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/lit": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@types/react": "^18.2.21",
|
||||
"@types/react-datepicker": "^4.15.0",
|
||||
"@types/react-dnd": "^3.0.2",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import type { BlockHub } from '@blocksuite/blocks';
|
||||
import { EditorContainer } from '@blocksuite/editor';
|
||||
import { assertExists } from '@blocksuite/global/utils';
|
||||
import type { LitBlockSpec } from '@blocksuite/lit';
|
||||
import type { Page } from '@blocksuite/store';
|
||||
import { Skeleton } from '@mui/material';
|
||||
import { use } from 'foxact/use';
|
||||
@@ -23,8 +22,6 @@ export type EditorProps = {
|
||||
onLoad?: (page: Page, editor: EditorContainer) => () => void;
|
||||
style?: CSSProperties;
|
||||
className?: string;
|
||||
pagePreset?: LitBlockSpec[];
|
||||
edgelessPreset?: LitBlockSpec[];
|
||||
};
|
||||
|
||||
export type ErrorBoundaryProps = {
|
||||
@@ -50,11 +47,6 @@ const BlockSuiteEditorImpl = (props: EditorProps): ReactElement => {
|
||||
editorRef.current = new EditorContainer();
|
||||
editorRef.current.autofocus = true;
|
||||
globalThis.currentEditor = editorRef.current;
|
||||
|
||||
// set page preset
|
||||
if (props.pagePreset) editorRef.current.pagePreset = props.pagePreset;
|
||||
if (props.edgelessPreset)
|
||||
editorRef.current.edgelessPreset = props.edgelessPreset;
|
||||
}
|
||||
const editor = editorRef.current;
|
||||
assertExists(editorRef, 'editorRef.current should not be null');
|
||||
|
||||
2
packages/env/package.json
vendored
2
packages/env/package.json
vendored
@@ -5,7 +5,7 @@
|
||||
"main": "./src/index.ts",
|
||||
"module": "./src/index.ts",
|
||||
"devDependencies": {
|
||||
"@blocksuite/global": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"zod": "^3.22.2"
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
"devDependencies": {
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/y-provider": "workspace:*",
|
||||
"@blocksuite/block-std": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/blocks": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/editor": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/lit": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/block-std": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/blocks": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/editor": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/lit": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@types/lodash.debounce": "^4.0.7"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -50,15 +50,15 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@affine/sdk": "workspace:*",
|
||||
"@blocksuite/blocks": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/blocks": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"jotai": "^2.4.1",
|
||||
"zod": "^3.22.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/editor": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/lit": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/editor": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/lit": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"async-call-rpc": "^6.3.1",
|
||||
"electron": "link:../../apps/electron/node_modules/electron",
|
||||
"react": "^18.2.0",
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@blocksuite/blocks": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/blocks": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/global": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"jotai": "^2.4.1",
|
||||
"zod": "^3.22.2"
|
||||
},
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@affine/y-provider": "workspace:*",
|
||||
"@blocksuite/blocks": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230913110404-34f93652-nightly",
|
||||
"@blocksuite/blocks": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"@blocksuite/store": "0.0.0-20230921053452-d014310e-nightly",
|
||||
"vite": "^4.4.9",
|
||||
"vite-plugin-dts": "3.5.3",
|
||||
"y-indexeddb": "^9.0.11"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/store": "0.0.0-20230913110404-34f93652-nightly"
|
||||
"@blocksuite/store": "0.0.0-20230921053452-d014310e-nightly"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"yjs": "^13.5.51"
|
||||
|
||||
Reference in New Issue
Block a user