chore: bump version (#1812)

This commit is contained in:
Himself65
2023-04-04 08:46:53 -05:00
committed by GitHub
parent 5bd3aa4a80
commit 69cd22a3b8
10 changed files with 119 additions and 285 deletions

View File

@@ -17,11 +17,11 @@
"@affine/debug": "workspace:*",
"@affine/i18n": "workspace:*",
"@affine/jotai": "workspace:*",
"@blocksuite/blocks": "0.5.0-20230326033652-70ca43c",
"@blocksuite/editor": "0.5.0-20230326033652-70ca43c",
"@blocksuite/global": "0.5.0-20230326033652-70ca43c",
"@blocksuite/blocks": "0.5.0-20230404060355-e26ee252",
"@blocksuite/editor": "0.5.0-20230404060355-e26ee252",
"@blocksuite/global": "0.5.0-20230404060355-e26ee252",
"@blocksuite/icons": "2.1.2",
"@blocksuite/store": "0.5.0-20230326033652-70ca43c",
"@blocksuite/store": "0.5.0-20230404060355-e26ee252",
"@emotion/cache": "^11.10.5",
"@emotion/react": "^11.10.6",
"@emotion/server": "^11.10.0",

View File

@@ -14,7 +14,7 @@
"./constant": "./src/constant.ts"
},
"dependencies": {
"@blocksuite/global": "0.5.0-20230326033652-70ca43c",
"@blocksuite/global": "0.5.0-20230404060355-e26ee252",
"lit": "^2.7.0"
}
}

View File

@@ -17,8 +17,8 @@
"@affine/component": "workspace:*",
"@affine/debug": "workspace:*",
"@affine/env": "workspace:*",
"@blocksuite/blocks": "0.5.0-20230326033652-70ca43c",
"@blocksuite/store": "0.5.0-20230326033652-70ca43c",
"@blocksuite/blocks": "0.5.0-20230404060355-e26ee252",
"@blocksuite/store": "0.5.0-20230404060355-e26ee252",
"@toeverything/y-indexeddb": "workspace:*",
"firebase": "^9.19.1",
"jotai": "^2.0.3",

View File

@@ -135,9 +135,12 @@ describe('ydoc sync', () => {
workspace1.doc.getMap(`space:${pageId}`).toJSON()
);
const page2 = workspace2.getPage(pageId) as Page;
page1.updateBlockById(paragraphId, {
text: new page1.Text('hello world'),
});
page1.updateBlock(
page1.getBlockById(paragraphId) as ParagraphBlockModel,
{
text: new page1.Text('hello world'),
}
);
await new Promise(resolve => setTimeout(resolve, 1000));
const paragraph2 = page2.getBlockById(paragraphId) as ParagraphBlockModel;
const text = paragraph2.text as Text;

View File

@@ -25,8 +25,8 @@
"idb": "^7.1.1"
},
"devDependencies": {
"@blocksuite/blocks": "0.5.0-20230324040005-14417c2",
"@blocksuite/store": "0.5.0-20230324040005-14417c2",
"@blocksuite/blocks": "0.5.0-20230404060355-e26ee252",
"@blocksuite/store": "0.5.0-20230404060355-e26ee252",
"vite": "^4.2.1",
"vite-plugin-dts": "^2.1.0"
},