Skip to content

Commit

Permalink
feat: bump blocksuite (toeverything#5673)
Browse files Browse the repository at this point in the history
  • Loading branch information
donteatfriedrice authored Jan 24, 2024
1 parent 151a53c commit c566952
Show file tree
Hide file tree
Showing 16 changed files with 190 additions and 192 deletions.
4 changes: 2 additions & 2 deletions packages/common/env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"private": true,
"type": "module",
"devDependencies": {
"@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/global": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/store": "0.12.0-nightly-202401240410-02f373e",
"react": "18.2.0",
"react-dom": "18.2.0",
"vitest": "1.1.3"
Expand Down
10 changes: 5 additions & 5 deletions packages/common/infra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"@affine/debug": "workspace:*",
"@affine/env": "workspace:*",
"@affine/templates": "workspace:*",
"@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/global": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/store": "0.12.0-nightly-202401240410-02f373e",
"jotai": "^2.5.1",
"jotai-effect": "^0.2.3",
"nanoid": "^5.0.3",
Expand All @@ -26,8 +26,8 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine/templates": "workspace:*",
"@blocksuite/lit": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/presets": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/lit": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/presets": "0.12.0-nightly-202401240410-02f373e",
"async-call-rpc": "^6.3.1",
"react": "^18.2.0",
"rxjs": "^7.8.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export async function buildShowcaseWorkspace(
if (payload.type === 'page') {
workspace.schema.upgradePage(
info?.pageVersion ?? 0,
info?.blockVersions ?? {},
{},
payload.page.spaceDoc
);
}
Expand Down
6 changes: 3 additions & 3 deletions packages/common/y-indexeddb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
}
},
"dependencies": {
"@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/global": "0.12.0-nightly-202401240410-02f373e",
"idb": "^8.0.0",
"nanoid": "^5.0.3",
"y-provider": "workspace:*"
},
"devDependencies": {
"@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/store": "0.12.0-nightly-202401240410-02f373e",
"fake-indexeddb": "^5.0.0",
"vite": "^5.0.6",
"vite-plugin-dts": "3.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/y-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"build": "vite build"
},
"devDependencies": {
"@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/store": "0.12.0-nightly-202401240410-02f373e",
"vite": "^5.0.6",
"vite-plugin-dts": "3.7.0",
"vitest": "1.1.3",
Expand Down
10 changes: 5 additions & 5 deletions packages/frontend/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@
"uuid": "^9.0.1"
},
"devDependencies": {
"@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/global": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/icons": "2.1.42",
"@blocksuite/lit": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/presets": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/lit": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/presets": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/store": "0.12.0-nightly-202401240410-02f373e",
"@storybook/addon-actions": "^7.5.3",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-interactions": "^7.5.3",
Expand Down
14 changes: 7 additions & 7 deletions packages/frontend/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
"@affine/templates": "workspace:*",
"@affine/workspace": "workspace:*",
"@affine/workspace-impl": "workspace:*",
"@blocksuite/block-std": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/block-std": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/global": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/icons": "2.1.42",
"@blocksuite/inline": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/lit": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/presets": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/inline": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/lit": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/presets": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/store": "0.12.0-nightly-202401240410-02f373e",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^8.0.0",
"@emotion/cache": "^11.11.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,15 @@ export const PresentButton = () => {
const editorRoot = document.querySelector('editor-host');
if (!editorRoot) return;

// TODO: use surfaceService subAtom
const surfaceService = editorRoot?.spec.getService(
'affine:surface'
) as SurfaceService;
const edgelessPage = editorRoot?.querySelector('affine-edgeless-page');
if (!edgelessPage) return;

surfaceService.slots.edgelessToolUpdated.on(() => {
setIsPresent(surfaceService?.currentTool?.type === 'frameNavigator');
edgelessPage.slots.edgelessToolUpdated.on(() => {
setIsPresent(edgelessPage.edgelessTool.type === 'frameNavigator');
});

return () => {
surfaceService.slots.edgelessToolUpdated.dispose();
edgelessPage.slots.edgelessToolUpdated.dispose();
};
}, [isPresent]);

Expand Down
8 changes: 4 additions & 4 deletions packages/frontend/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"@affine-test/kit": "workspace:*",
"@affine/env": "workspace:*",
"@affine/native": "workspace:*",
"@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/lit": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/presets": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/lit": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/presets": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/store": "0.12.0-nightly-202401240410-02f373e",
"@electron-forge/cli": "^7.2.0",
"@electron-forge/core": "^7.2.0",
"@electron-forge/core-utils": "^7.2.0",
Expand Down
8 changes: 4 additions & 4 deletions tests/affine-legacy/0.6.1-beta.1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/block-std": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/global": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/store": "0.12.0-nightly-202401240410-02f373e",
"@playwright/test": "^1.41.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
Expand Down
8 changes: 4 additions & 4 deletions tests/affine-legacy/0.7.0-canary.18/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/block-std": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/global": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/store": "0.12.0-nightly-202401240410-02f373e",
"@playwright/test": "^1.41.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
Expand Down
8 changes: 4 additions & 4 deletions tests/affine-legacy/0.8.0-canary.7/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/block-std": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/global": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/store": "0.12.0-nightly-202401240410-02f373e",
"@playwright/test": "^1.41.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
Expand Down
8 changes: 4 additions & 4 deletions tests/affine-legacy/0.8.4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/block-std": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/global": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/store": "0.12.0-nightly-202401240410-02f373e",
"@playwright/test": "^1.41.0",
"express": "^4.18.2",
"http-proxy-middleware": "^3.0.0-beta.1",
Expand Down
8 changes: 4 additions & 4 deletions tests/affine-migration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine-test/kit": "workspace:*",
"@blocksuite/block-std": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/block-std": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/global": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/store": "0.12.0-nightly-202401240410-02f373e",
"@playwright/test": "^1.41.0"
},
"version": "0.11.0"
Expand Down
14 changes: 7 additions & 7 deletions tests/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"storybook-addon-react-router-v6": "^2.0.10"
},
"devDependencies": {
"@blocksuite/block-std": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/blocks": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/global": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/block-std": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/blocks": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/global": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/icons": "2.1.42",
"@blocksuite/inline": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/lit": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/presets": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/store": "0.12.0-nightly-202401190708-4e2c95a",
"@blocksuite/inline": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/lit": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/presets": "0.12.0-nightly-202401240410-02f373e",
"@blocksuite/store": "0.12.0-nightly-202401240410-02f373e",
"@storybook/addon-actions": "^7.5.3",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-interactions": "^7.5.3",
Expand Down
Loading

0 comments on commit c566952

Please sign in to comment.