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 (#1553)
Yifeng Wangaae10d44e889
diff --git a/apps/desktop/package.json b/apps/desktop/package.jsonindex be2cfcf72d..ae87cf7faf 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-20230312174558-52c15ca",- "@blocksuite/editor": "0.5.0-20230312174558-52c15ca",+ "@blocksuite/blocks": "0.5.0-20230313100532-099b92b",+ "@blocksuite/editor": "0.5.0-20230313100532-099b92b","@blocksuite/icons": "2.0.17",- "@blocksuite/store": "0.5.0-20230312174558-52c15ca",+ "@blocksuite/store": "0.5.0-20230313100532-099b92b","@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 2d2bd82f74..965594ddd1 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-20230312174558-52c15ca",- "@blocksuite/editor": "0.5.0-20230312174558-52c15ca",+ "@blocksuite/blocks": "0.5.0-20230313100532-099b92b",+ "@blocksuite/editor": "0.5.0-20230313100532-099b92b","@blocksuite/icons": "2.0.23",- "@blocksuite/react": "0.5.0-20230312174558-52c15ca",- "@blocksuite/store": "0.5.0-20230312174558-52c15ca",+ "@blocksuite/react": "0.5.0-20230313100532-099b92b",+ "@blocksuite/store": "0.5.0-20230313100532-099b92b","@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 18bf0b2e9b..db17573a83 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-20230312174558-52c15ca",- "@blocksuite/editor": "0.5.0-20230312174558-52c15ca",- "@blocksuite/global": "0.5.0-20230312174558-52c15ca",+ "@blocksuite/blocks": "0.5.0-20230313100532-099b92b",+ "@blocksuite/editor": "0.5.0-20230313100532-099b92b",+ "@blocksuite/global": "0.5.0-20230313100532-099b92b","@blocksuite/icons": "2.0.17",- "@blocksuite/react": "0.5.0-20230312174558-52c15ca",- "@blocksuite/store": "0.5.0-20230312174558-52c15ca",+ "@blocksuite/react": "0.5.0-20230313100532-099b92b",+ "@blocksuite/store": "0.5.0-20230313100532-099b92b","@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 b46802dac3..4e80a03e26 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-20230312174558-52c15ca",- "@blocksuite/store": "0.5.0-20230312174558-52c15ca",+ "@blocksuite/blocks": "0.5.0-20230313100532-099b92b",+ "@blocksuite/store": "0.5.0-20230313100532-099b92b","@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 79f0050e1f..d2932591fb 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-20230312174558-52c15ca",+ "@blocksuite/global": "0.5.0-20230313100532-099b92b","lit": "^2.6.1"}}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex dad297aab2..bb9194424c 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -83,10 +83,10 @@ importers:apps/desktop:specifiers:- '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca- '@blocksuite/editor': 0.5.0-20230312174558-52c15ca+ '@blocksuite/blocks': 0.5.0-20230313100532-099b92b+ '@blocksuite/editor': 0.5.0-20230313100532-099b92b'@blocksuite/icons': 2.0.17- '@blocksuite/store': 0.5.0-20230312174558-52c15ca+ '@blocksuite/store': 0.5.0-20230313100532-099b92b'@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-20230312174558-52c15ca_ikrkp4fjqrjq3ea32ihyw57hsi- '@blocksuite/editor': 0.5.0-20230312174558-52c15ca_4thb5zwhszi3fz7pt4lipepovm+ '@blocksuite/blocks': 0.5.0-20230313100532-099b92b_mzmkwvwfdgdo6do3worf3gxh6y+ '@blocksuite/editor': 0.5.0-20230313100532-099b92b_p3x5lbosopz6spgnnj7v5jib7y'@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-20230312174558-52c15ca- '@blocksuite/editor': 0.5.0-20230312174558-52c15ca+ '@blocksuite/blocks': 0.5.0-20230313100532-099b92b+ '@blocksuite/editor': 0.5.0-20230313100532-099b92b'@blocksuite/icons': 2.0.23- '@blocksuite/react': 0.5.0-20230312174558-52c15ca- '@blocksuite/store': 0.5.0-20230312174558-52c15ca+ '@blocksuite/react': 0.5.0-20230313100532-099b92b+ '@blocksuite/store': 0.5.0-20230313100532-099b92b'@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-20230312174558-52c15ca_ikrkp4fjqrjq3ea32ihyw57hsi- '@blocksuite/editor': 0.5.0-20230312174558-52c15ca_4thb5zwhszi3fz7pt4lipepovm+ '@blocksuite/blocks': 0.5.0-20230313100532-099b92b_mzmkwvwfdgdo6do3worf3gxh6y+ '@blocksuite/editor': 0.5.0-20230313100532-099b92b_p3x5lbosopz6spgnnj7v5jib7y'@blocksuite/icons': 2.0.23_pmekkgnqduwlme35zpnqhenc34- '@blocksuite/react': 0.5.0-20230312174558-52c15ca_nga4y4g22avv2k3ynqkqumpp7e- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/react': 0.5.0-20230313100532-099b92b_htlf2ip4cscjsuf3ta3pqbrgdq+ '@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-20230312174558-52c15ca- '@blocksuite/editor': 0.5.0-20230312174558-52c15ca- '@blocksuite/global': 0.5.0-20230312174558-52c15ca+ '@blocksuite/blocks': 0.5.0-20230313100532-099b92b+ '@blocksuite/editor': 0.5.0-20230313100532-099b92b+ '@blocksuite/global': 0.5.0-20230313100532-099b92b'@blocksuite/icons': 2.0.17- '@blocksuite/react': 0.5.0-20230312174558-52c15ca- '@blocksuite/store': 0.5.0-20230312174558-52c15ca+ '@blocksuite/react': 0.5.0-20230313100532-099b92b+ '@blocksuite/store': 0.5.0-20230313100532-099b92b'@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-20230312174558-52c15ca_ikrkp4fjqrjq3ea32ihyw57hsi- '@blocksuite/editor': 0.5.0-20230312174558-52c15ca_4thb5zwhszi3fz7pt4lipepovm- '@blocksuite/global': [email protected]+ '@blocksuite/blocks': 0.5.0-20230313100532-099b92b_mzmkwvwfdgdo6do3worf3gxh6y+ '@blocksuite/editor': 0.5.0-20230313100532-099b92b_p3x5lbosopz6spgnnj7v5jib7y+ '@blocksuite/global': [email protected]'@blocksuite/icons': 2.0.17_pmekkgnqduwlme35zpnqhenc34- '@blocksuite/react': 0.5.0-20230312174558-52c15ca_nga4y4g22avv2k3ynqkqumpp7e- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/react': 0.5.0-20230313100532-099b92b_htlf2ip4cscjsuf3ta3pqbrgdq+ '@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-20230312174558-52c15ca- '@blocksuite/store': 0.5.0-20230312174558-52c15ca+ '@blocksuite/blocks': 0.5.0-20230313100532-099b92b+ '@blocksuite/store': 0.5.0-20230313100532-099b92b'@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-20230312174558-52c15ca_ikrkp4fjqrjq3ea32ihyw57hsi- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/blocks': 0.5.0-20230313100532-099b92b_mzmkwvwfdgdo6do3worf3gxh6y+ '@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-20230312174558-52c15ca+ '@blocksuite/global': 0.5.0-20230313100532-099b92blit: ^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@@ -1788,15 +1788,15 @@ packages:resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}dev: true- /@blocksuite/blocks/0.5.0-20230312174558-52c15ca_ikrkp4fjqrjq3ea32ihyw57hsi:- resolution: {integrity: sha512-p+KDd8nebMf3ldfGHThiLWxUqOA/PDv/YYB7WNh3fQi15P4TgV1LhbbGG0YslfY3dMlBExGnxX8mTUKKZOW7Ww==}+ /@blocksuite/blocks/0.5.0-20230313100532-099b92b_mzmkwvwfdgdo6do3worf3gxh6y:+ resolution: {integrity: sha512-QdOaznHu5RAoeQsR44dv2kr5SnH7iaPyAt0RNym8XpSMiykv1Ib26tUaYueLEv7Ljcls/OVn9ajxPloD4bxBhg==}peerDependencies:- '@blocksuite/store': 0.5.0-20230312174558-52c15ca+ '@blocksuite/store': 0.5.0-20230313100532-099b92bdependencies:- '@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@@ -1807,22 +1807,22 @@ packages:- yjsdev: false- /@blocksuite/editor/0.5.0-20230312174558-52c15ca_4thb5zwhszi3fz7pt4lipepovm:- resolution: {integrity: sha512-ljAEMO+xWaoPAMpZoq7uT4DBLq0KyCAVW0nnWsVaSzFsbcTR1oLWY+bU0f3/qyOWKXMdGN2EzF0sLTiCOoYsCQ==}+ /@blocksuite/editor/0.5.0-20230313100532-099b92b_p3x5lbosopz6spgnnj7v5jib7y:+ resolution: {integrity: sha512-6eE9isk4Qp9CAKKzDscMH0fh12aqN4KMAshDYN5s7r30NWb0NGux6B4T2nQc6igcgGcTYYyBLqpey4QtT5zu1g==}peerDependencies:- '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca- '@blocksuite/store': 0.5.0-20230312174558-52c15ca+ '@blocksuite/blocks': 0.5.0-20230313100532-099b92b+ '@blocksuite/store': 0.5.0-20230313100532-099b92bdependencies:- '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca_ikrkp4fjqrjq3ea32ihyw57hsi- '@blocksuite/global': [email protected]- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/blocks': 0.5.0-20230313100532-099b92b_mzmkwvwfdgdo6do3worf3gxh6y+ '@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-/5mFwVqc2yy/exxT0IkI7SmKLl86Hs7ESgWhDPm1zSYUbdl4ENAX+fAqZ55JEYasaQiiu18VyHWm637Ri6SNww==}+ /@blocksuite/global/[email protected]:+ resolution: {integrity: sha512-G+kDQ5DZC7XP+xLeC/w16Zu/s/hPg+Hd1DvTb3RgY5MNOxeIN8Lu8C+AHiqd61tS6PCn4I3ZoUwnNcjGo7jkCQ==}peerDependencies:lit: ^2.6peerDependenciesMeta:@@ -1854,12 +1854,12 @@ packages:react: 18.2.0dev: false- /@blocksuite/phasor/[email protected][email protected]:- resolution: {integrity: sha512-l0Yg/IMOivzFGD03l+Yp6+r2jLJncnWKoW1U7AlU6QbKRbnbzXkkvQbrsYE0RfRqHknJr3t9ma42nwyxtdoxXQ==}+ /@blocksuite/phasor/[email protected][email protected]:+ resolution: {integrity: sha512-WqMSzFXM3AsufsaJgTxylBFSFv9ZjUE3XP2mzExpLakYCkSxxHeg1KMTjDYvp4Cv+4hW45ncxxEXsEIvR8mf1A==}peerDependencies:yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]fractional-indexing: 3.2.0nanoid: 4.0.1perfect-freehand: 1.2.0@@ -1868,19 +1868,19 @@ packages:- litdev: false- /@blocksuite/react/0.5.0-20230312174558-52c15ca_nga4y4g22avv2k3ynqkqumpp7e:- resolution: {integrity: sha512-WLfIa8qiwllyqs6/m53AXUFG3PEAwYaGk7P94rYCAYDfJgvZ9i3UAfs9paHFla7OF0hrsdPNMPLQRBRBHjRo+w==}+ /@blocksuite/react/0.5.0-20230313100532-099b92b_htlf2ip4cscjsuf3ta3pqbrgdq:+ resolution: {integrity: sha512-MonYkAuFgKvztX2PnDy+prtv1f7r9jI28EB7IONXZIyPX6xJBxo1wGG1sFWfWkW2rsSnQjnnhs5iFpM0Nncqyg==}peerDependencies:- '@blocksuite/blocks': 0.5.0-20230312174558-52c15ca- '@blocksuite/editor': 0.5.0-20230312174558-52c15ca- '@blocksuite/store': 0.5.0-20230312174558-52c15ca+ '@blocksuite/blocks': 0.5.0-20230313100532-099b92b+ '@blocksuite/editor': 0.5.0-20230313100532-099b92b+ '@blocksuite/store': 0.5.0-20230313100532-099b92breact: '>=18.0.0'react-dom: '>=18.0.0'dependencies:- '@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]+ '@blocksuite/blocks': 0.5.0-20230313100532-099b92b_mzmkwvwfdgdo6do3worf3gxh6y+ '@blocksuite/editor': 0.5.0-20230313100532-099b92b_p3x5lbosopz6spgnnj7v5jib7y+ '@blocksuite/global': [email protected]+ '@blocksuite/store': [email protected][email protected]react: 18.2.0react-dom: [email protected]zustand: [email protected]@@ -1889,13 +1889,13 @@ packages:- litdev: false- /@blocksuite/store/[email protected][email protected]:- resolution: {integrity: sha512-oN/ox9GutodrICdo9MOrhxijrwjZTxO3N2XOTSf0a5Abmf7ZhqagXx3oSnDyiRIF4bavBhvt+uWsbZqVJ8LuoQ==}+ /@blocksuite/store/[email protected][email protected]:+ resolution: {integrity: sha512-DZe/qxiic5Hkx5leFgNoRpVHGZwgeoZ0LXOICGtK2ugm5TxWpPLB7I+FcMI+n/mzMB0Mu5v1h1Q66dcljfdcFA==}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.21@@ -1915,14 +1915,15 @@ packages:- utf-8-validatedev: false- /@blocksuite/virgo/[email protected][email protected]:- resolution: {integrity: sha512-piiq5oF/m0OGD+F1pAqhytszPQzHjg/0wnj9ZYMKHSW1yTCnG0Ou6jWUShmATyv/ULPcdRfyEZX3TXu4T9WQWA==}+ /@blocksuite/virgo/[email protected][email protected]:+ resolution: {integrity: sha512-xGezudrkVra13mWD+84oVPrhaheiJfWwXAUJrxFgv+CRvaXLurEbucFY6QtTQYHsL2pLakcBVeoK9oQ+9LRswA==}peerDependencies:lit: ^2yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]lit: 2.6.1+ scroll-into-view-if-needed: 3.0.6yjs: 13.5.48zod: 3.21.4dev: false@@ -7211,6 +7212,10 @@ packages:- supports-colordev: true+ /compute-scroll-into-view/3.0.0:+ resolution: {integrity: sha512-Yk1An4qzo5++Cu6peT9PsmRKIU8tALpmdoE09n//AfGQFcPfx21/tMGMsmKYmLJWaBJrGOJ5Jz5hoU+7cZZUWQ==}+ dev: false+/concat-map/0.0.1:resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}@@ -12951,6 +12956,12 @@ packages:ajv-keywords: [email protected]dev: true+ /scroll-into-view-if-needed/3.0.6:+ resolution: {integrity: sha512-x+CW0kOzlFNOnseF0DBr0AJ5m+TgGmSOdEZwyiZW0gV87XBvxQKw5A8DvFFgabznA68XqLgVX+PwPX8OzsFvRA==}+ dependencies:+ compute-scroll-into-view: 3.0.0+ dev: false+/semver/5.7.1:resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==}hasBin: true