There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
chore: update blocksuite (#1545)
Yifeng Wange5173d04abbd
diff --git a/apps/desktop/package.json b/apps/desktop/package.jsonindex 4298888ab3..be2cfcf72d 100644--- a/apps/desktop/package.json+++ b/apps/desktop/package.json@@ -14,10 +14,10 @@"build:app": "tauri build"},"dependencies": {- "@blocksuite/blocks": "0.5.0-20230310095333-5202fb9",- "@blocksuite/editor": "0.5.0-20230310095333-5202fb9",+ "@blocksuite/blocks": "0.5.0-20230312174558-52c15ca",+ "@blocksuite/editor": "0.5.0-20230312174558-52c15ca","@blocksuite/icons": "2.0.17",- "@blocksuite/store": "0.5.0-20230310095333-5202fb9",+ "@blocksuite/store": "0.5.0-20230312174558-52c15ca","@emotion/react": "^11.10.6","@emotion/styled": "^11.10.6","@tauri-apps/api": "^1.2.0",diff --git a/apps/web/package.json b/apps/web/package.jsonindex 3b8bdbe859..2d2bd82f74 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -14,11 +14,11 @@"@affine/debug": "workspace:*","@affine/env": "workspace:*","@affine/i18n": "workspace:*",- "@blocksuite/blocks": "0.5.0-20230310095333-5202fb9",- "@blocksuite/editor": "0.5.0-20230310095333-5202fb9",+ "@blocksuite/blocks": "0.5.0-20230312174558-52c15ca",+ "@blocksuite/editor": "0.5.0-20230312174558-52c15ca","@blocksuite/icons": "2.0.23",- "@blocksuite/react": "0.5.0-20230310095333-5202fb9",- "@blocksuite/store": "0.5.0-20230310095333-5202fb9",+ "@blocksuite/react": "0.5.0-20230312174558-52c15ca",+ "@blocksuite/store": "0.5.0-20230312174558-52c15ca","@emotion/cache": "^11.10.5","@emotion/react": "^11.10.6","@emotion/server": "^11.10.0",diff --git a/packages/component/package.json b/packages/component/package.jsonindex d4f93c1e6a..18bf0b2e9b 100644--- a/packages/component/package.json+++ b/packages/component/package.json@@ -15,12 +15,12 @@"dependencies": {"@affine/debug": "workspace:*","@affine/i18n": "workspace:*",- "@blocksuite/blocks": "0.5.0-20230310095333-5202fb9",- "@blocksuite/editor": "0.5.0-20230310095333-5202fb9",- "@blocksuite/global": "0.5.0-20230310095333-5202fb9",+ "@blocksuite/blocks": "0.5.0-20230312174558-52c15ca",+ "@blocksuite/editor": "0.5.0-20230312174558-52c15ca",+ "@blocksuite/global": "0.5.0-20230312174558-52c15ca","@blocksuite/icons": "2.0.17",- "@blocksuite/react": "0.5.0-20230310095333-5202fb9",- "@blocksuite/store": "0.5.0-20230310095333-5202fb9",+ "@blocksuite/react": "0.5.0-20230312174558-52c15ca",+ "@blocksuite/store": "0.5.0-20230312174558-52c15ca","@emotion/cache": "^11.10.5","@emotion/react": "^11.10.6","@emotion/server": "^11.10.0",diff --git a/packages/data-center/package.json b/packages/data-center/package.jsonindex 7569f9b39e..b46802dac3 100644--- a/packages/data-center/package.json+++ b/packages/data-center/package.json@@ -14,8 +14,8 @@},"dependencies": {"@affine/debug": "workspace:*",- "@blocksuite/blocks": "0.5.0-20230310095333-5202fb9",- "@blocksuite/store": "0.5.0-20230310095333-5202fb9",+ "@blocksuite/blocks": "0.5.0-20230312174558-52c15ca",+ "@blocksuite/store": "0.5.0-20230312174558-52c15ca","@tauri-apps/api": "^1.2.0","encoding": "^0.1.13","firebase": "^9.17.1",diff --git a/packages/env/package.json b/packages/env/package.jsonindex 4c6443bcc9..79f0050e1f 100644--- a/packages/env/package.json+++ b/packages/env/package.json@@ -9,7 +9,7 @@"zod": "^3.21.3"},"dependencies": {- "@blocksuite/global": "0.5.0-20230310095333-5202fb9",+ "@blocksuite/global": "0.5.0-20230312174558-52c15ca","lit": "^2.6.1"}}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex e7400d7042..dad297aab2 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -83,10 +83,10 @@ importers:apps/desktop:specifiers:- '@blocksuite/blocks': 0.5.0-20230310095333-5202fb9- '@blocksuite/editor': 0.5.0-20230310095333-5202fb9+ '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca+ '@blocksuite/editor': 0.5.0-20230312174558-52c15ca'@blocksuite/icons': 2.0.17- '@blocksuite/store': 0.5.0-20230310095333-5202fb9+ '@blocksuite/store': 0.5.0-20230312174558-52c15ca'@emotion/react': ^11.10.6'@emotion/styled': ^11.10.6'@tauri-apps/api': ^1.2.0@@ -110,10 +110,10 @@ importers:yjs: ^13.5.48zx: ^7.2.0dependencies:- '@blocksuite/blocks': 0.5.0-20230310095333-5202fb9_drzymngwd6jphn35wvxq7gdjei- '@blocksuite/editor': 0.5.0-20230310095333-5202fb9_4ud5vxai67vanesbejuucwr7r4+ '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca_ikrkp4fjqrjq3ea32ihyw57hsi+ '@blocksuite/editor': 0.5.0-20230312174558-52c15ca_4thb5zwhszi3fz7pt4lipepovm'@blocksuite/icons': 2.0.17_pmekkgnqduwlme35zpnqhenc34- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/store': [email protected][email protected]'@emotion/react': 11.10.6_pmekkgnqduwlme35zpnqhenc34'@emotion/styled': 11.10.6_oouaibmszuch5k64ms7uxp2aia'@tauri-apps/api': 1.2.0_nb4isgkwd3sres4g7j7rgtldsu@@ -145,11 +145,11 @@ importers:'@affine/debug': workspace:*'@affine/env': workspace:*'@affine/i18n': workspace:*- '@blocksuite/blocks': 0.5.0-20230310095333-5202fb9- '@blocksuite/editor': 0.5.0-20230310095333-5202fb9+ '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca+ '@blocksuite/editor': 0.5.0-20230312174558-52c15ca'@blocksuite/icons': 2.0.23- '@blocksuite/react': 0.5.0-20230310095333-5202fb9- '@blocksuite/store': 0.5.0-20230310095333-5202fb9+ '@blocksuite/react': 0.5.0-20230312174558-52c15ca+ '@blocksuite/store': 0.5.0-20230312174558-52c15ca'@emotion/cache': ^11.10.5'@emotion/react': ^11.10.6'@emotion/server': ^11.10.0@@ -195,11 +195,11 @@ importers:'@affine/debug': link:../../packages/debug'@affine/env': link:../../packages/env'@affine/i18n': link:../../packages/i18n- '@blocksuite/blocks': 0.5.0-20230310095333-5202fb9_drzymngwd6jphn35wvxq7gdjei- '@blocksuite/editor': 0.5.0-20230310095333-5202fb9_4ud5vxai67vanesbejuucwr7r4+ '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca_ikrkp4fjqrjq3ea32ihyw57hsi+ '@blocksuite/editor': 0.5.0-20230312174558-52c15ca_4thb5zwhszi3fz7pt4lipepovm'@blocksuite/icons': 2.0.23_pmekkgnqduwlme35zpnqhenc34- '@blocksuite/react': 0.5.0-20230310095333-5202fb9_5okw4mthg2szwuuuuek7xtgyxy- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/react': 0.5.0-20230312174558-52c15ca_nga4y4g22avv2k3ynqkqumpp7e+ '@blocksuite/store': [email protected][email protected]'@emotion/cache': 11.10.5'@emotion/react': 11.10.6_pmekkgnqduwlme35zpnqhenc34'@emotion/server': 11.10.0@@ -245,12 +245,12 @@ importers:specifiers:'@affine/debug': workspace:*'@affine/i18n': workspace:*- '@blocksuite/blocks': 0.5.0-20230310095333-5202fb9- '@blocksuite/editor': 0.5.0-20230310095333-5202fb9- '@blocksuite/global': 0.5.0-20230310095333-5202fb9+ '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca+ '@blocksuite/editor': 0.5.0-20230312174558-52c15ca+ '@blocksuite/global': 0.5.0-20230312174558-52c15ca'@blocksuite/icons': 2.0.17- '@blocksuite/react': 0.5.0-20230310095333-5202fb9- '@blocksuite/store': 0.5.0-20230310095333-5202fb9+ '@blocksuite/react': 0.5.0-20230312174558-52c15ca+ '@blocksuite/store': 0.5.0-20230312174558-52c15ca'@emotion/cache': ^11.10.5'@emotion/react': ^11.10.6'@emotion/server': ^11.10.0@@ -284,12 +284,12 @@ importers:dependencies:'@affine/debug': link:../debug'@affine/i18n': link:../i18n- '@blocksuite/blocks': 0.5.0-20230310095333-5202fb9_drzymngwd6jphn35wvxq7gdjei- '@blocksuite/editor': 0.5.0-20230310095333-5202fb9_4ud5vxai67vanesbejuucwr7r4- '@blocksuite/global': [email protected]+ '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca_ikrkp4fjqrjq3ea32ihyw57hsi+ '@blocksuite/editor': 0.5.0-20230312174558-52c15ca_4thb5zwhszi3fz7pt4lipepovm+ '@blocksuite/global': [email protected]'@blocksuite/icons': 2.0.17_pmekkgnqduwlme35zpnqhenc34- '@blocksuite/react': 0.5.0-20230310095333-5202fb9_5okw4mthg2szwuuuuek7xtgyxy- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/react': 0.5.0-20230312174558-52c15ca_nga4y4g22avv2k3ynqkqumpp7e+ '@blocksuite/store': [email protected][email protected]'@emotion/cache': 11.10.5'@emotion/react': 11.10.6_pmekkgnqduwlme35zpnqhenc34'@emotion/server': 11.10.0@@ -325,8 +325,8 @@ importers:packages/data-center:specifiers:'@affine/debug': workspace:*- '@blocksuite/blocks': 0.5.0-20230310095333-5202fb9- '@blocksuite/store': 0.5.0-20230310095333-5202fb9+ '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca+ '@blocksuite/store': 0.5.0-20230312174558-52c15ca'@tauri-apps/api': ^1.2.0encoding: ^0.1.13fake-indexeddb: 4.0.1@@ -342,8 +342,8 @@ importers:yjs: ^13.5.48dependencies:'@affine/debug': link:../debug- '@blocksuite/blocks': 0.5.0-20230310095333-5202fb9_drzymngwd6jphn35wvxq7gdjei- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca_ikrkp4fjqrjq3ea32ihyw57hsi+ '@blocksuite/store': [email protected][email protected]'@tauri-apps/api': 1.2.0_nb4isgkwd3sres4g7j7rgtldsuencoding: 0.1.13firebase: [email protected]@@ -372,14 +372,14 @@ importers:packages/env:specifiers:- '@blocksuite/global': 0.5.0-20230310095333-5202fb9+ '@blocksuite/global': 0.5.0-20230312174558-52c15calit: ^2.6.1next: ^13.2.3react: ^18.2.0react-dom: ^18.2.0zod: ^3.21.3dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]lit: 2.6.1devDependencies:next: 13.2.3_biqbaboplfbrettd7655fr4n2y@@ -414,6 +414,9 @@ importers:ts-node: 10.9.1_oboltcrkaqheaa54woelu7cdsatypescript: 4.9.5+ packages/templates:+ specifiers: {}+packages:/@adobe/css-tools/4.2.0:@@ -1785,15 +1788,15 @@ packages:resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}dev: true- /@blocksuite/blocks/0.5.0-20230310095333-5202fb9_drzymngwd6jphn35wvxq7gdjei:- resolution: {integrity: sha512-9g7De+KqsOW2Yp/wvU8TUqi1dPzxgsJLBHzjWQctyRghcu/jpdU2DjZ40+ZLnYb+Pl3PyRsEs1GVHOfRA12nUw==}+ /@blocksuite/blocks/0.5.0-20230312174558-52c15ca_ikrkp4fjqrjq3ea32ihyw57hsi:+ resolution: {integrity: sha512-p+KDd8nebMf3ldfGHThiLWxUqOA/PDv/YYB7WNh3fQi15P4TgV1LhbbGG0YslfY3dMlBExGnxX8mTUKKZOW7Ww==}peerDependencies:- '@blocksuite/store': 0.5.0-20230310095333-5202fb9+ '@blocksuite/store': 0.5.0-20230312174558-52c15cadependencies:- '@blocksuite/global': [email protected]- '@blocksuite/phasor': [email protected][email protected]- '@blocksuite/store': [email protected][email protected]- '@blocksuite/virgo': [email protected][email protected]+ '@blocksuite/global': [email protected]+ '@blocksuite/phasor': [email protected][email protected]+ '@blocksuite/store': [email protected][email protected]+ '@blocksuite/virgo': [email protected][email protected]'@popperjs/core': 2.11.6highlight.js: 11.7.0hotkeys-js: 3.10.1@@ -1804,22 +1807,22 @@ packages:- yjsdev: false- /@blocksuite/editor/0.5.0-20230310095333-5202fb9_4ud5vxai67vanesbejuucwr7r4:- resolution: {integrity: sha512-jnCSumI0NmqnK0GAES6HMzepZyEZR+mH1vUh0FvFDol2UKfOzEQeF5dO34SdP6AhrP8Mv/RcT5hWMPlXSbMAoQ==}+ /@blocksuite/editor/0.5.0-20230312174558-52c15ca_4thb5zwhszi3fz7pt4lipepovm:+ resolution: {integrity: sha512-ljAEMO+xWaoPAMpZoq7uT4DBLq0KyCAVW0nnWsVaSzFsbcTR1oLWY+bU0f3/qyOWKXMdGN2EzF0sLTiCOoYsCQ==}peerDependencies:- '@blocksuite/blocks': 0.5.0-20230310095333-5202fb9- '@blocksuite/store': 0.5.0-20230310095333-5202fb9+ '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca+ '@blocksuite/store': 0.5.0-20230312174558-52c15cadependencies:- '@blocksuite/blocks': 0.5.0-20230310095333-5202fb9_drzymngwd6jphn35wvxq7gdjei- '@blocksuite/global': [email protected]- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca_ikrkp4fjqrjq3ea32ihyw57hsi+ '@blocksuite/global': [email protected]+ '@blocksuite/store': [email protected][email protected]lit: 2.6.1marked: 4.2.12turndown: 7.1.1dev: false- /@blocksuite/global/[email protected]:- resolution: {integrity: sha512-F97kB3xJyfJO1IlEbG5+EUaQ21LZ6Qvh1eaiFGUPjBXoldBRX/ip/V4w8qMPTQfZFtgrcaV9JlsNLwRNAV5dLA==}+ /@blocksuite/global/[email protected]:+ resolution: {integrity: sha512-/5mFwVqc2yy/exxT0IkI7SmKLl86Hs7ESgWhDPm1zSYUbdl4ENAX+fAqZ55JEYasaQiiu18VyHWm637Ri6SNww==}peerDependencies:lit: ^2.6peerDependenciesMeta:@@ -1851,12 +1854,12 @@ packages:react: 18.2.0dev: false- /@blocksuite/phasor/[email protected][email protected]:- resolution: {integrity: sha512-lP1KMizNnCM0SzbLVy8pieiSGb4QBPNFhADtMK4eoB1Jar3Y5L7bmjxmruFi0eHPP3ZrADRJYIukc+PhpUO27w==}+ /@blocksuite/phasor/[email protected][email protected]:+ resolution: {integrity: sha512-l0Yg/IMOivzFGD03l+Yp6+r2jLJncnWKoW1U7AlU6QbKRbnbzXkkvQbrsYE0RfRqHknJr3t9ma42nwyxtdoxXQ==}peerDependencies:yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]fractional-indexing: 3.2.0nanoid: 4.0.1perfect-freehand: 1.2.0@@ -1865,19 +1868,19 @@ packages:- litdev: false- /@blocksuite/react/0.5.0-20230310095333-5202fb9_5okw4mthg2szwuuuuek7xtgyxy:- resolution: {integrity: sha512-4VwycK8gTJFGkCQWPnyx+YfQcXq5uI87xrwK19Aa7lfeGg7tn5avjEBvlCPL5xqILV1xQr4nK3r90VgCPPuhyA==}+ /@blocksuite/react/0.5.0-20230312174558-52c15ca_nga4y4g22avv2k3ynqkqumpp7e:+ resolution: {integrity: sha512-WLfIa8qiwllyqs6/m53AXUFG3PEAwYaGk7P94rYCAYDfJgvZ9i3UAfs9paHFla7OF0hrsdPNMPLQRBRBHjRo+w==}peerDependencies:- '@blocksuite/blocks': 0.5.0-20230310095333-5202fb9- '@blocksuite/editor': 0.5.0-20230310095333-5202fb9- '@blocksuite/store': 0.5.0-20230310095333-5202fb9+ '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca+ '@blocksuite/editor': 0.5.0-20230312174558-52c15ca+ '@blocksuite/store': 0.5.0-20230312174558-52c15careact: '>=18.0.0'react-dom: '>=18.0.0'dependencies:- '@blocksuite/blocks': 0.5.0-20230310095333-5202fb9_drzymngwd6jphn35wvxq7gdjei- '@blocksuite/editor': 0.5.0-20230310095333-5202fb9_4ud5vxai67vanesbejuucwr7r4- '@blocksuite/global': [email protected]- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca_ikrkp4fjqrjq3ea32ihyw57hsi+ '@blocksuite/editor': 0.5.0-20230312174558-52c15ca_4thb5zwhszi3fz7pt4lipepovm+ '@blocksuite/global': [email protected]+ '@blocksuite/store': [email protected][email protected]react: 18.2.0react-dom: [email protected]zustand: [email protected]@@ -1886,19 +1889,19 @@ packages:- litdev: false- /@blocksuite/store/[email protected][email protected]:- resolution: {integrity: sha512-xZLAf3XEfUCu6T5XePDf6XDdXixaM73zC8q4UNh42q4p1uXoHpP582ceJ5fdnbxEE3bMHXvKckrW2+F3spztZQ==}+ /@blocksuite/store/[email protected][email protected]:+ resolution: {integrity: sha512-oN/ox9GutodrICdo9MOrhxijrwjZTxO3N2XOTSf0a5Abmf7ZhqagXx3oSnDyiRIF4bavBhvt+uWsbZqVJ8LuoQ==}peerDependencies:yjs: ^13dependencies:- '@blocksuite/global': [email protected]- '@blocksuite/virgo': [email protected][email protected]+ '@blocksuite/global': [email protected]+ '@blocksuite/virgo': [email protected][email protected]'@types/flexsearch': 0.7.3buffer: 6.0.3flexsearch: 0.7.21idb-keyval: 6.2.0ky: 0.33.2- lib0: 0.2.65+ lib0: 0.2.64merge: 2.1.1nanoid: 4.0.1y-protocols: 1.0.5@@ -1912,13 +1915,13 @@ packages:- utf-8-validatedev: false- /@blocksuite/virgo/[email protected][email protected]:- resolution: {integrity: sha512-Y69r4nCtb+oLl2TnWsvo/OuWj1vm/g3nOnRrwgoDMWFJXxnLwzKnZ1UAFQi1mQFXugrqDpOb8xajZOG03Xcb9A==}+ /@blocksuite/virgo/[email protected][email protected]:+ resolution: {integrity: sha512-piiq5oF/m0OGD+F1pAqhytszPQzHjg/0wnj9ZYMKHSW1yTCnG0Ou6jWUShmATyv/ULPcdRfyEZX3TXu4T9WQWA==}peerDependencies:lit: ^2yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]lit: 2.6.1yjs: 13.5.48zod: 3.21.4@@ -4887,7 +4890,7 @@ packages:ts-dedent: 2.2.0util-deprecate: 1.0.2watchpack: 2.4.0- ws: 8.12.1+ ws: 8.13.0transitivePeerDependencies:- bufferutil- encoding@@ -10903,8 +10906,8 @@ packages:dependencies:isomorphic.js: 0.2.5- /lib0/0.2.65:- resolution: {integrity: sha512-avDor/VGaIMqNTZ40NIsH+/O1jFUYJGB+Z30KQnNlx0NlcElQKVAg+wv2lfbnYjY6HjXW/cKvwrrZfLBoFIObA==}+ /lib0/0.2.66:+ resolution: {integrity: sha512-h63Jt0nmFGmE4aXMPHUuRBpDgkdr1gfeVn+epJJ8m6+gPK0AozP6akJ8rp9IqBP8RC/peLi+pwaOx/qpgAvqgA==}engines: {node: '>=14'}hasBin: truedependencies:@@ -14714,8 +14717,8 @@ packages:dev: falseoptional: true- /ws/8.12.1:- resolution: {integrity: sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew==}+ /ws/8.13.0:+ resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==}engines: {node: '>=10.0.0'}peerDependencies:bufferutil: ^4.0.1@@ -14763,7 +14766,7 @@ packages:engines: {node: '>=12'}hasBin: truedependencies:- lib0: 0.2.65+ lib0: 0.2.66simple-peer: 9.11.1y-protocols: 1.0.5optionalDependencies: