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 0.5 (#1260)
Yifeng Wang205b4a5d5476
diff --git a/apps/desktop/package.json b/apps/desktop/package.jsonindex 551c2412f0..8783717d97 100644--- a/apps/desktop/package.json+++ b/apps/desktop/package.json@@ -14,10 +14,10 @@"build:app": "tauri build"},"dependencies": {- "@blocksuite/blocks": "0.4.1-20230220214107-0a354de",- "@blocksuite/editor": "0.4.1-20230220214107-0a354de",+ "@blocksuite/blocks": "0.5.0-20230301172958-2384904",+ "@blocksuite/editor": "0.5.0-20230301172958-2384904","@blocksuite/icons": "2.0.17",- "@blocksuite/store": "0.4.1-20230220214107-0a354de",+ "@blocksuite/store": "0.5.0-20230301172958-2384904","@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 34d4c276f8..dfa530b074 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.4.1-20230220214107-0a354de",- "@blocksuite/editor": "0.4.1-20230220214107-0a354de",+ "@blocksuite/blocks": "0.5.0-20230301172958-2384904",+ "@blocksuite/editor": "0.5.0-20230301172958-2384904","@blocksuite/icons": "^2.0.17",- "@blocksuite/react": "0.4.1-20230220214107-0a354de",- "@blocksuite/store": "0.4.1-20230220214107-0a354de",+ "@blocksuite/react": "0.5.0-20230301172958-2384904",+ "@blocksuite/store": "0.5.0-20230301172958-2384904","@emotion/cache": "^11.10.5","@emotion/css": "^11.10.6","@emotion/react": "^11.10.6",diff --git a/packages/component/package.json b/packages/component/package.jsonindex 43c7c65c5c..bda65dbfdf 100644--- a/packages/component/package.json+++ b/packages/component/package.json@@ -10,12 +10,12 @@"dependencies": {"@affine/debug": "workspace:*","@affine/i18n": "workspace:*",- "@blocksuite/blocks": "0.4.1-20230220214107-0a354de",- "@blocksuite/editor": "0.4.1-20230220214107-0a354de",- "@blocksuite/global": "0.4.1-20230220214107-0a354de",+ "@blocksuite/blocks": "0.5.0-20230301172958-2384904",+ "@blocksuite/editor": "0.5.0-20230301172958-2384904",+ "@blocksuite/global": "0.5.0-20230301172958-2384904","@blocksuite/icons": "2.0.17",- "@blocksuite/react": "0.4.1-20230220214107-0a354de",- "@blocksuite/store": "0.4.1-20230220214107-0a354de",+ "@blocksuite/react": "0.5.0-20230301172958-2384904",+ "@blocksuite/store": "0.5.0-20230301172958-2384904","@emotion/react": "^11.10.6","@emotion/styled": "^11.10.6","@mui/base": "5.0.0-alpha.118",diff --git a/packages/data-center/package.json b/packages/data-center/package.jsonindex ce8fa03bf5..022a6b01ae 100644--- a/packages/data-center/package.json+++ b/packages/data-center/package.json@@ -14,8 +14,8 @@},"dependencies": {"@affine/debug": "workspace:*",- "@blocksuite/blocks": "0.4.1-20230220214107-0a354de",- "@blocksuite/store": "0.4.1-20230220214107-0a354de",+ "@blocksuite/blocks": "0.5.0-20230301172958-2384904",+ "@blocksuite/store": "0.5.0-20230301172958-2384904","@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 aab55cba06..577271aa6e 100644--- a/packages/env/package.json+++ b/packages/env/package.json@@ -7,6 +7,6 @@"zod": "^3.20.6"},"dependencies": {- "@blocksuite/global": "0.4.1-20230220214107-0a354de"+ "@blocksuite/global": "0.5.0-20230301172958-2384904"}}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 43e4b8fb34..409950209b 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -75,10 +75,10 @@ importers:apps/desktop:specifiers:- '@blocksuite/blocks': 0.4.1-20230220214107-0a354de- '@blocksuite/editor': 0.4.1-20230220214107-0a354de+ '@blocksuite/blocks': 0.5.0-20230301172958-2384904+ '@blocksuite/editor': 0.5.0-20230301172958-2384904'@blocksuite/icons': 2.0.17- '@blocksuite/store': 0.4.1-20230220214107-0a354de+ '@blocksuite/store': 0.5.0-20230301172958-2384904'@emotion/react': ^11.10.6'@emotion/styled': ^11.10.6'@tauri-apps/api': ^1.2.0@@ -107,10 +107,10 @@ importers:yjs: ^13.5.47zx: ^7.1.1dependencies:- '@blocksuite/blocks': 0.4.1-20230220214107-0a354de_txcevohh7lsyxi5mbohonudlma- '@blocksuite/editor': 0.4.1-20230220214107-0a354de_bsvfvsbxn3zjndsi6ntxj3sapa+ '@blocksuite/blocks': 0.5.0-20230301172958-2384904_4pplnunaek7i4s2rcnufg2z3km+ '@blocksuite/editor': 0.5.0-20230301172958-2384904_yxfrgk6jffeqknays3fo63pyuy'@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@@ -147,11 +147,11 @@ importers:'@affine/debug': workspace:*'@affine/env': workspace:*'@affine/i18n': workspace:*- '@blocksuite/blocks': 0.4.1-20230220214107-0a354de- '@blocksuite/editor': 0.4.1-20230220214107-0a354de+ '@blocksuite/blocks': 0.5.0-20230301172958-2384904+ '@blocksuite/editor': 0.5.0-20230301172958-2384904'@blocksuite/icons': ^2.0.17- '@blocksuite/react': 0.4.1-20230220214107-0a354de- '@blocksuite/store': 0.4.1-20230220214107-0a354de+ '@blocksuite/react': 0.5.0-20230301172958-2384904+ '@blocksuite/store': 0.5.0-20230301172958-2384904'@emotion/cache': ^11.10.5'@emotion/css': ^11.10.6'@emotion/react': ^11.10.6@@ -191,11 +191,11 @@ importers:'@affine/debug': link:../../packages/debug'@affine/env': link:../../packages/env'@affine/i18n': link:../../packages/i18n- '@blocksuite/blocks': 0.4.1-20230220214107-0a354de_txcevohh7lsyxi5mbohonudlma- '@blocksuite/editor': 0.4.1-20230220214107-0a354de_bsvfvsbxn3zjndsi6ntxj3sapa+ '@blocksuite/blocks': 0.5.0-20230301172958-2384904_4pplnunaek7i4s2rcnufg2z3km+ '@blocksuite/editor': 0.5.0-20230301172958-2384904_yxfrgk6jffeqknays3fo63pyuy'@blocksuite/icons': 2.0.17_pmekkgnqduwlme35zpnqhenc34- '@blocksuite/react': 0.4.1-20230220214107-0a354de_6bikze5nmk67qwgrvmg7puxlji- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/react': 0.5.0-20230301172958-2384904_b4m2kuw3q4uw75nnzbjfprlfii+ '@blocksuite/store': [email protected][email protected]'@emotion/cache': 11.10.5'@emotion/css': 11.10.6'@emotion/react': 11.10.6_pmekkgnqduwlme35zpnqhenc34@@ -235,12 +235,12 @@ importers:specifiers:'@affine/debug': workspace:*'@affine/i18n': workspace:*- '@blocksuite/blocks': 0.4.1-20230220214107-0a354de- '@blocksuite/editor': 0.4.1-20230220214107-0a354de- '@blocksuite/global': 0.4.1-20230220214107-0a354de+ '@blocksuite/blocks': 0.5.0-20230301172958-2384904+ '@blocksuite/editor': 0.5.0-20230301172958-2384904+ '@blocksuite/global': 0.5.0-20230301172958-2384904'@blocksuite/icons': 2.0.17- '@blocksuite/react': 0.4.1-20230220214107-0a354de- '@blocksuite/store': 0.4.1-20230220214107-0a354de+ '@blocksuite/react': 0.5.0-20230301172958-2384904+ '@blocksuite/store': 0.5.0-20230301172958-2384904'@emotion/react': ^11.10.6'@emotion/styled': ^11.10.6'@mui/base': 5.0.0-alpha.118@@ -269,12 +269,12 @@ importers:dependencies:'@affine/debug': link:../debug'@affine/i18n': link:../i18n- '@blocksuite/blocks': 0.4.1-20230220214107-0a354de_txcevohh7lsyxi5mbohonudlma- '@blocksuite/editor': 0.4.1-20230220214107-0a354de_bsvfvsbxn3zjndsi6ntxj3sapa- '@blocksuite/global': [email protected]+ '@blocksuite/blocks': 0.5.0-20230301172958-2384904_4pplnunaek7i4s2rcnufg2z3km+ '@blocksuite/editor': 0.5.0-20230301172958-2384904_yxfrgk6jffeqknays3fo63pyuy+ '@blocksuite/global': [email protected]'@blocksuite/icons': 2.0.17_pmekkgnqduwlme35zpnqhenc34- '@blocksuite/react': 0.4.1-20230220214107-0a354de_6bikze5nmk67qwgrvmg7puxlji- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/react': 0.5.0-20230301172958-2384904_b4m2kuw3q4uw75nnzbjfprlfii+ '@blocksuite/store': [email protected][email protected]'@emotion/react': 11.10.6_pmekkgnqduwlme35zpnqhenc34'@emotion/styled': 11.10.6_oouaibmszuch5k64ms7uxp2aia'@mui/base': 5.0.0-alpha.118_zula6vjvt3wdocc4mwcxqa6nzi@@ -305,8 +305,8 @@ importers:packages/data-center:specifiers:'@affine/debug': workspace:*- '@blocksuite/blocks': 0.4.1-20230220214107-0a354de- '@blocksuite/store': 0.4.1-20230220214107-0a354de+ '@blocksuite/blocks': 0.5.0-20230301172958-2384904+ '@blocksuite/store': 0.5.0-20230301172958-2384904'@tauri-apps/api': ^1.2.0encoding: ^0.1.13fake-indexeddb: 4.0.1@@ -322,8 +322,8 @@ importers:yjs: ^13.5.47dependencies:'@affine/debug': link:../debug- '@blocksuite/blocks': 0.4.1-20230220214107-0a354de_txcevohh7lsyxi5mbohonudlma- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/blocks': 0.5.0-20230301172958-2384904_4pplnunaek7i4s2rcnufg2z3km+ '@blocksuite/store': [email protected][email protected]'@tauri-apps/api': 1.2.0_nb4isgkwd3sres4g7j7rgtldsuencoding: 0.1.13firebase: [email protected]@@ -352,11 +352,11 @@ importers:packages/env:specifiers:- '@blocksuite/global': 0.4.1-20230220214107-0a354de+ '@blocksuite/global': 0.5.0-20230301172958-2384904next: ^13.2.3zod: ^3.20.6dependencies:- '@blocksuite/global': 0.4.1-20230220214107-0a354de+ '@blocksuite/global': 0.5.0-20230301172958-2384904devDependencies:next: 13.2.3_biqbaboplfbrettd7655fr4n2yzod: 3.20.6@@ -1689,43 +1689,41 @@ packages:resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}dev: true- /@blocksuite/blocks/0.4.1-20230220214107-0a354de_txcevohh7lsyxi5mbohonudlma:- resolution: {integrity: sha512-i/xuiMxzWIxexwJCGFgCRNbJ5cDeyRHZinknf3FUSCXGq1+coqAja8dnIQA8oDQTFs6nO2OgT5G6EIOYhflo9w==}+ /@blocksuite/blocks/0.5.0-20230301172958-2384904_4pplnunaek7i4s2rcnufg2z3km:+ resolution: {integrity: sha512-7FBfBW7jeHhhVGi4MPxdStKMGEZgYPbyPnvsVCF7y5iDzaOd0/vf93xL4wIXDvMtjzGAZbUWqAM4kQ4H7ywf1w==}peerDependencies:- '@blocksuite/store': 0.4.1-20230220214107-0a354de+ '@blocksuite/store': 0.5.0-20230301172958-2384904dependencies:- '@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.6- autosize: 6.0.1highlight.js: 11.7.0hotkeys-js: 3.10.1lit: 2.6.1quill: 1.3.7- quill-cursors: 4.0.2zod: 3.20.6transitivePeerDependencies:- yjsdev: false- /@blocksuite/editor/0.4.1-20230220214107-0a354de_bsvfvsbxn3zjndsi6ntxj3sapa:- resolution: {integrity: sha512-D0DjuYiStg9LO1Uyg6mVAoj5t2+fOmciPYfX8hrg7a/vfb3W+ZAd4W1Sk7K3rSpSihhzdsP7yuQEpm4cYcy9Ig==}+ /@blocksuite/editor/0.5.0-20230301172958-2384904_yxfrgk6jffeqknays3fo63pyuy:+ resolution: {integrity: sha512-ZtqSQQTa47by6UkrveDIbOqBufsvK5nB9COv/sLP1diQ5HZxucQ1W5ZIjM5HCGTroWmJJwYhZxkwUuw/Ye77aw==}peerDependencies:- '@blocksuite/blocks': 0.4.1-20230220214107-0a354de- '@blocksuite/store': 0.4.1-20230220214107-0a354de+ '@blocksuite/blocks': 0.5.0-20230301172958-2384904+ '@blocksuite/store': 0.5.0-20230301172958-2384904dependencies:- '@blocksuite/blocks': 0.4.1-20230220214107-0a354de_txcevohh7lsyxi5mbohonudlma- '@blocksuite/global': [email protected]- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/blocks': 0.5.0-20230301172958-2384904_4pplnunaek7i4s2rcnufg2z3km+ '@blocksuite/global': [email protected]+ '@blocksuite/store': [email protected][email protected]lit: 2.6.1marked: 4.2.12turndown: 7.1.1dev: false- /@blocksuite/global/0.4.1-20230220214107-0a354de:- resolution: {integrity: sha512-wC+TXvoqj5Ypx6uDj2gE+o8fclvs+K0jVtG7FnlOVJ6AZnYup5kBGGWBx1SwfhbwoXmF/ZcHOcAVZmdNsupfVA==}+ /@blocksuite/global/0.5.0-20230301172958-2384904:+ resolution: {integrity: sha512-4ZPFM4IhQHFbG6+83GKRin9zD8smEK3p0BhmgePTbT9UYkhZza990Cb9gutmRHKQcj65l/pHjeTbJUjNXrUNyw==}peerDependencies:lit: ^2.6peerDependenciesMeta:@@ -1736,8 +1734,8 @@ packages:zod: 3.20.6dev: false- /@blocksuite/global/[email protected]:- resolution: {integrity: sha512-wC+TXvoqj5Ypx6uDj2gE+o8fclvs+K0jVtG7FnlOVJ6AZnYup5kBGGWBx1SwfhbwoXmF/ZcHOcAVZmdNsupfVA==}+ /@blocksuite/global/[email protected]:+ resolution: {integrity: sha512-4ZPFM4IhQHFbG6+83GKRin9zD8smEK3p0BhmgePTbT9UYkhZza990Cb9gutmRHKQcj65l/pHjeTbJUjNXrUNyw==}peerDependencies:lit: ^2.6peerDependenciesMeta:@@ -1759,12 +1757,12 @@ packages:react: 18.2.0dev: false- /@blocksuite/phasor/[email protected][email protected]:- resolution: {integrity: sha512-VgkR3ocHgn4L1FAW6xsNgEb9Gf9Rwnc4sqfGlg67VSFm/E1wmXFo4hnjdfYzD0v94X/UoOsonlzZuBsvFSskFg==}+ /@blocksuite/phasor/[email protected][email protected]:+ resolution: {integrity: sha512-xaEkU4USGitTgPM8AbMs/NYW52y8xd0xxs4aheE86eWHuePuoEYiJpYPk846Ey86bHs+7/NseS69viy6CeFyzQ==}peerDependencies:yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]fractional-indexing: 3.2.0nanoid: 4.0.1perfect-freehand: 1.2.0@@ -1773,19 +1771,19 @@ packages:- litdev: false- /@blocksuite/react/0.4.1-20230220214107-0a354de_6bikze5nmk67qwgrvmg7puxlji:- resolution: {integrity: sha512-cZa7APlHhWK8dWMlgm2/GrSPB4qqxWY/O9SiqYq0L3m+4T0cCrg4RugadWxFXYvdeuolupHNZx09dExhdZLzGg==}+ /@blocksuite/react/0.5.0-20230301172958-2384904_b4m2kuw3q4uw75nnzbjfprlfii:+ resolution: {integrity: sha512-cjh/ZYSRdw1pggXN+8DYf8XlyMoGqBmpedZrpCVEEIL8amgcP8d1zSrXESMnqE3mF8gMbv82P454jDDNy+kxfg==}peerDependencies:- '@blocksuite/blocks': 0.4.1-20230220214107-0a354de- '@blocksuite/editor': 0.4.1-20230220214107-0a354de- '@blocksuite/store': 0.4.1-20230220214107-0a354de+ '@blocksuite/blocks': 0.5.0-20230301172958-2384904+ '@blocksuite/editor': 0.5.0-20230301172958-2384904+ '@blocksuite/store': 0.5.0-20230301172958-2384904react: '>=18.0.0'react-dom: '>=18.0.0'dependencies:- '@blocksuite/blocks': 0.4.1-20230220214107-0a354de_txcevohh7lsyxi5mbohonudlma- '@blocksuite/editor': 0.4.1-20230220214107-0a354de_bsvfvsbxn3zjndsi6ntxj3sapa- '@blocksuite/global': [email protected]- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/blocks': 0.5.0-20230301172958-2384904_4pplnunaek7i4s2rcnufg2z3km+ '@blocksuite/editor': 0.5.0-20230301172958-2384904_yxfrgk6jffeqknays3fo63pyuy+ '@blocksuite/global': [email protected]+ '@blocksuite/store': [email protected][email protected]react: 18.2.0react-dom: [email protected]zustand: [email protected]@@ -1794,13 +1792,13 @@ packages:- litdev: false- /@blocksuite/store/[email protected][email protected]:- resolution: {integrity: sha512-t97suzqVSm4z1gqQzol2T/jVuGHlpjbEb7wG8nCvcIpFOVUfl79LuLpImrFtriS0vp+kLjJzNyExH+X671/KXA==}+ /@blocksuite/store/[email protected][email protected]:+ resolution: {integrity: sha512-sVeciDFIJqE5t73qCMGeIPRfw6828+RK8hM7iQuZBYKHKchydRCWL7Z/qG+bJiGB/GiBPMroA0Ae3Z+Ma0iw7Q==}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@@ -1820,13 +1818,13 @@ packages:- utf-8-validatedev: false- /@blocksuite/virgo/[email protected][email protected]:- resolution: {integrity: sha512-maMq6ED/Nh1I2yBQluaPlHb6urKdwiLI/pyMRmELtrzFdiyje++vku1H7XGwB/2yXY9pgmymbXpGfe+B8FiCoA==}+ /@blocksuite/virgo/[email protected][email protected]:+ resolution: {integrity: sha512-f1ve17VsSV7VHt1yMMf4HDK42afyORDbDuwMoioT5u1fLxtBEB5ZNMrly5BJBg/DInDRZQxO32ARbJDLKGNvkg==}peerDependencies:lit: ^2yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]lit: 2.6.1yjs: 13.5.47zod: 3.20.6@@ -6467,10 +6465,6 @@ packages:resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}dev: true- /autosize/6.0.1:- resolution: {integrity: sha512-f86EjiUKE6Xvczc4ioP1JBlWG7FKrE13qe/DxBCpe8GCipCq2nFw73aO8QEBKHfSbYGDN5eB9jXWKen7tspDqQ==}- dev: false-/available-typed-arrays/1.0.5:resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==}engines: {node: '>= 0.4'}@@ -11839,10 +11833,6 @@ packages:engines: {node: '>=10'}dev: true- /quill-cursors/4.0.2:- resolution: {integrity: sha512-/5mEfB6rDXwBy9rt3XieMKmQE8+OMnMBi2DFwea3t06QXH6i/NsICpteEoC++WGkQ/qyurIACUNnY7eBVh4Bmg==}- dev: false-/quill-delta/3.6.3:resolution: {integrity: sha512-wdIGBlcX13tCHOXGMVnnTVFtGRLoP0imqxM696fIPwIf5ODIYUHIvHbZcyvGlZFiFhK5XzDC2lpjbxRhnM05Tg==}engines: {node: '>=0.10'}