refactor(editor): rename block-std to std (#11250)

Closes: BS-2946
This commit is contained in:
Saul-Mirone
2025-03-28 07:20:34 +00:00
parent 4498676a96
commit 205cd7a86d
1029 changed files with 1580 additions and 1698 deletions

View File

@@ -10,8 +10,8 @@
"author": "toeverything",
"license": "MIT",
"dependencies": {
"@blocksuite/block-std": "workspace:*",
"@blocksuite/global": "workspace:*",
"@blocksuite/std": "workspace:*",
"@blocksuite/store": "workspace:*",
"rxjs": "^7.8.1"
},

View File

@@ -1,5 +1,5 @@
import type { GfxBlockComponent } from '@blocksuite/block-std';
import { createIdentifier } from '@blocksuite/global/di';
import type { GfxBlockComponent } from '@blocksuite/std';
import { Extension } from '@blocksuite/store';
import type { BlockLayout, Rect } from '../types';

View File

@@ -1,9 +1,9 @@
import type { EditorHost, GfxBlockComponent } from '@blocksuite/block-std';
import type { EditorHost, GfxBlockComponent } from '@blocksuite/std';
import {
GfxBlockElementModel,
GfxControllerIdentifier,
type Viewport,
} from '@blocksuite/block-std/gfx';
} from '@blocksuite/std/gfx';
import { BlockLayoutHandlersIdentifier } from './layout/block-layout-provider';
import type { BlockLayout, RenderingState, ViewportLayout } from './types';

View File

@@ -1,12 +1,12 @@
import { ConfigExtensionFactory } from '@blocksuite/block-std';
import type { Container } from '@blocksuite/global/di';
import { DisposableGroup } from '@blocksuite/global/disposable';
import { ConfigExtensionFactory } from '@blocksuite/std';
import {
type GfxController,
GfxExtension,
GfxExtensionIdentifier,
type GfxViewportElement,
} from '@blocksuite/block-std/gfx';
import type { Container } from '@blocksuite/global/di';
import { DisposableGroup } from '@blocksuite/global/disposable';
} from '@blocksuite/std/gfx';
import {
BehaviorSubject,
distinctUntilChanged,

View File

@@ -7,8 +7,8 @@
},
"include": ["./src"],
"references": [
{ "path": "../../../framework/block-std" },
{ "path": "../../../framework/global" },
{ "path": "../../../framework/std" },
{ "path": "../../../framework/store" }
]
}