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: bump version (#937)
Himself651824ce1e80ba
diff --git a/packages/app/package.json b/packages/app/package.jsonindex 3a1f655483..45187e271a 100644--- a/packages/app/package.json+++ b/packages/app/package.json@@ -12,10 +12,10 @@"@affine/component": "workspace:*","@affine/datacenter": "workspace:*","@affine/i18n": "workspace:*",- "@blocksuite/blocks": "0.4.0-alpha.3",- "@blocksuite/editor": "0.4.0-alpha.3",+ "@blocksuite/blocks": "0.4.0-20230209191848-0a912e3",+ "@blocksuite/editor": "0.4.0-20230209191848-0a912e3","@blocksuite/icons": "^2.0.2",- "@blocksuite/store": "0.4.0-alpha.3",+ "@blocksuite/store": "0.4.0-20230209191848-0a912e3","@emotion/css": "^11.10.5","@emotion/react": "^11.10.5","@emotion/server": "^11.10.0",diff --git a/packages/component/package.json b/packages/component/package.jsonindex 4117e52f4c..6f717692c8 100644--- a/packages/component/package.json+++ b/packages/component/package.json@@ -8,7 +8,7 @@},"dependencies": {"@affine/i18n": "workspace:*",- "@blocksuite/editor": "0.4.0-alpha.3",+ "@blocksuite/editor": "0.4.0-20230209191848-0a912e3","@blocksuite/icons": "^2.0.2","@emotion/react": "^11.10.5","@emotion/styled": "^11.10.5",diff --git a/packages/data-center/package.json b/packages/data-center/package.jsonindex 9ee7ef4942..1fceb10d61 100644--- a/packages/data-center/package.json+++ b/packages/data-center/package.json@@ -27,8 +27,8 @@"yjs": "^13.5.45"},"dependencies": {- "@blocksuite/blocks": "0.4.0-alpha.3",- "@blocksuite/store": "0.4.0-alpha.3",+ "@blocksuite/blocks": "0.4.0-20230209191848-0a912e3",+ "@blocksuite/store": "0.4.0-20230209191848-0a912e3","debug": "^4.3.4","encoding": "^0.1.13","firebase": "^9.15.0",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 3caffd7e8c..7b43fdb020 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -52,10 +52,10 @@ importers:'@affine/component': workspace:*'@affine/datacenter': workspace:*'@affine/i18n': workspace:*- '@blocksuite/blocks': 0.4.0-alpha.3- '@blocksuite/editor': 0.4.0-alpha.3+ '@blocksuite/blocks': 0.4.0-20230209191848-0a912e3+ '@blocksuite/editor': 0.4.0-20230209191848-0a912e3'@blocksuite/icons': ^2.0.2- '@blocksuite/store': 0.4.0-alpha.3+ '@blocksuite/store': 0.4.0-20230209191848-0a912e3'@emotion/css': ^11.10.5'@emotion/react': ^11.10.5'@emotion/server': ^11.10.0@@ -94,10 +94,10 @@ importers:'@affine/component': link:../component'@affine/datacenter': link:../data-center'@affine/i18n': link:../i18n- '@blocksuite/blocks': [email protected]- '@blocksuite/editor': [email protected]+ '@blocksuite/blocks': [email protected]+ '@blocksuite/editor': [email protected]'@blocksuite/icons': 2.0.4_w5j4k42lgipnm43s3brx6h3c34- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/store': [email protected][email protected]'@emotion/css': 11.10.5'@emotion/react': 11.10.5_w5j4k42lgipnm43s3brx6h3c34'@emotion/server': 11.10.0_@[email protected]@@ -137,7 +137,7 @@ importers:packages/component:specifiers:'@affine/i18n': workspace:*- '@blocksuite/editor': 0.4.0-alpha.3+ '@blocksuite/editor': 0.4.0-20230209191848-0a912e3'@blocksuite/icons': ^2.0.2'@emotion/react': ^11.10.5'@emotion/styled': ^11.10.5@@ -161,7 +161,7 @@ importers:webpack: ^5.75.0dependencies:'@affine/i18n': link:../i18n- '@blocksuite/editor': 0.4.0-alpha.3+ '@blocksuite/editor': 0.4.0-20230209191848-0a912e3'@blocksuite/icons': 2.0.4_3stiutgnnbnfnf3uowm5cip22i'@emotion/react': 11.10.5_3stiutgnnbnfnf3uowm5cip22i'@emotion/styled': 11.10.5_jrh5enlbqfbnumycmktdqgd6se@@ -187,8 +187,8 @@ importers:packages/data-center:specifiers:- '@blocksuite/blocks': 0.4.0-alpha.3- '@blocksuite/store': 0.4.0-alpha.3+ '@blocksuite/blocks': 0.4.0-20230209191848-0a912e3+ '@blocksuite/store': 0.4.0-20230209191848-0a912e3'@playwright/test': ^1.29.1'@types/debug': ^4.1.7debug: ^4.3.4@@ -206,8 +206,8 @@ importers:y-protocols: ^1.0.5yjs: ^13.5.45dependencies:- '@blocksuite/blocks': [email protected]- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/blocks': [email protected]+ '@blocksuite/store': [email protected][email protected]debug: 4.3.4encoding: 0.1.13firebase: [email protected]@@ -2620,13 +2620,13 @@ packages:resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}dev: true- /@blocksuite/blocks/0.4.0-alpha.3:- resolution: {integrity: sha512-DKRWJmNhaCLQSMYRdVMR6okuWRjvU3o+NZcrnXitNzEH2jes7gl9DxpCI4kfAWTGHKLtblDqkMwRtKJhhxE8ng==}+ /@blocksuite/blocks/0.4.0-20230209191848-0a912e3:+ resolution: {integrity: sha512-OnGaBTdLVAapQ0DzO6CeqYOZff1yB+IIb2BFNydOu6mkZpwJwp3wRUwSAi5dLiMOETzCq4Z7eojW2IadqWhdyw==}dependencies:- '@blocksuite/global': [email protected]- '@blocksuite/phasor': [email protected]- '@blocksuite/store': [email protected]- '@blocksuite/virgo': [email protected]+ '@blocksuite/global': [email protected]+ '@blocksuite/phasor': [email protected]+ '@blocksuite/store': [email protected]+ '@blocksuite/virgo': [email protected]'@popperjs/core': 2.11.6autosize: 5.0.2highlight.js: 11.7.0@@ -2634,7 +2634,7 @@ packages:lit: 2.6.1quill: 1.3.7quill-cursors: 4.0.2- zod: 3.20.5+ zod: 3.20.6transitivePeerDependencies:- bufferutil- supports-color@@ -2642,13 +2642,13 @@ packages:- yjsdev: false- /@blocksuite/blocks/[email protected]:- resolution: {integrity: sha512-DKRWJmNhaCLQSMYRdVMR6okuWRjvU3o+NZcrnXitNzEH2jes7gl9DxpCI4kfAWTGHKLtblDqkMwRtKJhhxE8ng==}+ /@blocksuite/blocks/[email protected]:+ resolution: {integrity: sha512-OnGaBTdLVAapQ0DzO6CeqYOZff1yB+IIb2BFNydOu6mkZpwJwp3wRUwSAi5dLiMOETzCq4Z7eojW2IadqWhdyw==}dependencies:- '@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.6autosize: 5.0.2highlight.js: 11.7.0@@ -2656,7 +2656,7 @@ packages:lit: 2.6.1quill: 1.3.7quill-cursors: 4.0.2- zod: 3.20.5+ zod: 3.20.6transitivePeerDependencies:- bufferutil- supports-color@@ -2664,12 +2664,12 @@ packages:- yjsdev: false- /@blocksuite/editor/0.4.0-alpha.3:- resolution: {integrity: sha512-PLF8apMEOzvwS8sliZFRyHrgWKwR5XgpeIoqZ3CTUXvmkZ2cX6d8UP+GjS6GWKZarbpGJNtvuABYTFraJycMig==}+ /@blocksuite/editor/0.4.0-20230209191848-0a912e3:+ resolution: {integrity: sha512-xKD+zdgPIO9JGauVLqwJOaDaOQj56P+ksIkSu5bi6/mXbemk9D4eDiEAK++cAOOwNUTHJUM3JcGBSHt5ripd5A==}dependencies:- '@blocksuite/blocks': 0.4.0-alpha.3- '@blocksuite/global': [email protected]- '@blocksuite/store': [email protected]+ '@blocksuite/blocks': 0.4.0-20230209191848-0a912e3+ '@blocksuite/global': [email protected]+ '@blocksuite/store': [email protected]lit: 2.6.1marked: 4.2.12turndown: 7.1.1@@ -2680,12 +2680,12 @@ packages:- yjsdev: false- /@blocksuite/editor/[email protected]:- resolution: {integrity: sha512-PLF8apMEOzvwS8sliZFRyHrgWKwR5XgpeIoqZ3CTUXvmkZ2cX6d8UP+GjS6GWKZarbpGJNtvuABYTFraJycMig==}+ /@blocksuite/editor/[email protected]:+ resolution: {integrity: sha512-xKD+zdgPIO9JGauVLqwJOaDaOQj56P+ksIkSu5bi6/mXbemk9D4eDiEAK++cAOOwNUTHJUM3JcGBSHt5ripd5A==}dependencies:- '@blocksuite/blocks': [email protected]- '@blocksuite/global': [email protected]- '@blocksuite/store': [email protected][email protected]+ '@blocksuite/blocks': [email protected]+ '@blocksuite/global': [email protected]+ '@blocksuite/store': [email protected][email protected]lit: 2.6.1marked: 4.2.12turndown: 7.1.1@@ -2696,8 +2696,8 @@ packages:- yjsdev: false- /@blocksuite/global/[email protected]:- resolution: {integrity: sha512-nCxWV8PoZNgoIMQjBX/c9x7BrvivCabY712bHy89K/QSNgXlKsPT0KN3tuLHdm96/q+3Suf6RhvB60SurPYv1g==}+ /@blocksuite/global/[email protected]:+ resolution: {integrity: sha512-ILUBzQ+sgD46GyGTEK9KyqkqcmCHxyHIrc3Y/q1oPtbN4yO3jJtEM1kmrfJ31oDT8PjjklqCiNHYtYsWuxuuug==}peerDependencies:lit: ^2.6peerDependenciesMeta:@@ -2706,7 +2706,7 @@ packages:dependencies:ansi-colors: 4.1.3lit: 2.6.1- zod: 3.20.5+ zod: 3.20.6dev: false/@blocksuite/icons/2.0.4_3stiutgnnbnfnf3uowm5cip22i:@@ -2729,12 +2729,12 @@ packages:react: 18.2.0dev: false- /@blocksuite/phasor/[email protected]:- resolution: {integrity: sha512-GLw+LPK5avc/fXZk9fxtAQtYxovTHMPrEs48OJtSlrVqvTAJwGQpK3W2BL7HKBhgHlsbOcaBQ2pAaqKAFypwEw==}+ /@blocksuite/phasor/[email protected]:+ resolution: {integrity: sha512-7plV7v9F4KoqbGUZCyyI78HzxfZlP6jNZ9I8PEEap+JlUtsmryxHrEVC/oEta4FW6kBflmtQm46YOAlz3bBQFw==}peerDependencies:yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]fractional-indexing: 3.2.0nanoid: 4.0.1perfect-freehand: 1.2.0@@ -2742,12 +2742,12 @@ packages:- litdev: false- /@blocksuite/phasor/[email protected][email protected]:- resolution: {integrity: sha512-GLw+LPK5avc/fXZk9fxtAQtYxovTHMPrEs48OJtSlrVqvTAJwGQpK3W2BL7HKBhgHlsbOcaBQ2pAaqKAFypwEw==}+ /@blocksuite/phasor/[email protected][email protected]:+ resolution: {integrity: sha512-7plV7v9F4KoqbGUZCyyI78HzxfZlP6jNZ9I8PEEap+JlUtsmryxHrEVC/oEta4FW6kBflmtQm46YOAlz3bBQFw==}peerDependencies:yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]fractional-indexing: 3.2.0nanoid: 4.0.1perfect-freehand: 1.2.0@@ -2756,12 +2756,12 @@ packages:- litdev: false- /@blocksuite/store/[email protected]:- resolution: {integrity: sha512-Ib8vjhMIC4PeWrbfz7usiXKIgw0VYPujfWwDZ3fDq+OWHbb2KzfnXBQ93W5oDZhv0tVpxoT2RYCtVSvrh7sY5A==}+ /@blocksuite/store/[email protected]:+ resolution: {integrity: sha512-QMUWLW6VR+XGN9ENlRy7DvGQgDKMDKpQeRdc3XYvQKE1h3TAkeh4mQw5fWKN0c8tj45W7orzU1PIXATmHT0/FQ==}peerDependencies:yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]'@types/flexsearch': 0.7.3buffer: 6.0.3flexsearch: 0.7.21@@ -2772,7 +2772,7 @@ packages:nanoid: 4.0.1y-protocols: 1.0.5y-webrtc: 10.2.4- zod: 3.20.5+ zod: 3.20.6transitivePeerDependencies:- bufferutil- lit@@ -2780,12 +2780,12 @@ packages:- utf-8-validatedev: false- /@blocksuite/store/[email protected][email protected]:- resolution: {integrity: sha512-Ib8vjhMIC4PeWrbfz7usiXKIgw0VYPujfWwDZ3fDq+OWHbb2KzfnXBQ93W5oDZhv0tVpxoT2RYCtVSvrh7sY5A==}+ /@blocksuite/store/[email protected][email protected]:+ resolution: {integrity: sha512-QMUWLW6VR+XGN9ENlRy7DvGQgDKMDKpQeRdc3XYvQKE1h3TAkeh4mQw5fWKN0c8tj45W7orzU1PIXATmHT0/FQ==}peerDependencies:yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]'@types/flexsearch': 0.7.3buffer: 6.0.3flexsearch: 0.7.21@@ -2797,7 +2797,7 @@ packages:y-protocols: 1.0.5y-webrtc: 10.2.4yjs: 13.5.45- zod: 3.20.5+ zod: 3.20.6transitivePeerDependencies:- bufferutil- lit@@ -2805,25 +2805,27 @@ packages:- utf-8-validatedev: false- /@blocksuite/virgo/[email protected]:- resolution: {integrity: sha512-uEa2bH2XCNI5whF3LUJAOogmv+5gux4m80dge7dXslw+6UfbdS6tDTP268a0k7FCPiV7suAcGbT/y5wZUbJ0ow==}+ /@blocksuite/virgo/[email protected]:+ resolution: {integrity: sha512-KSIVFf+xfwDoPKcw8OCD1HmCsOXGpuZoP1FgCSGsCWtYoG/jOseF//1VPCrM3A9uL0fOd3mdXRUBYXFFVgdxow==}peerDependencies:lit: ^2yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]lit: 2.6.1+ zod: 3.20.6dev: false- /@blocksuite/virgo/[email protected][email protected]:- resolution: {integrity: sha512-uEa2bH2XCNI5whF3LUJAOogmv+5gux4m80dge7dXslw+6UfbdS6tDTP268a0k7FCPiV7suAcGbT/y5wZUbJ0ow==}+ /@blocksuite/virgo/[email protected][email protected]:+ resolution: {integrity: sha512-KSIVFf+xfwDoPKcw8OCD1HmCsOXGpuZoP1FgCSGsCWtYoG/jOseF//1VPCrM3A9uL0fOd3mdXRUBYXFFVgdxow==}peerDependencies:lit: ^2yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]lit: 2.6.1yjs: 13.5.45+ zod: 3.20.6dev: false/@changesets/apply-release-plan/6.1.3:@@ -18177,8 +18179,8 @@ packages:engines: {node: '>=10'}dev: true- /zod/3.20.5:- resolution: {integrity: sha512-BTAAliwfoB9dWf2hC+TXlyWKk/YTqRGZjHQR0WLC2A2pzierWo7KuQ1ebjS4SNaFaxg/lDItzl9/QTgLjcHbgw==}+ /zod/3.20.6:+ resolution: {integrity: sha512-oyu0m54SGCtzh6EClBVqDDlAYRz4jrVtKwQ7ZnsEmMI9HnzuZFj8QFwAY1M5uniIYACdGvv0PBWPF2kO0aNofA==}dev: false/zwitch/1.0.5:diff --git a/scripts/upgrade-blocksuite.sh b/scripts/upgrade-blocksuite.shindex 4a25a65986..e197be434f 100755--- a/scripts/upgrade-blocksuite.sh+++ b/scripts/upgrade-blocksuite.sh@@ -1,6 +1,11 @@#!/usr/bin/env bash# Usage:-# ./scripts/upgrade-blocksuite.sh# ./scripts/upgrade-blocksuite.sh --latest+# ./scripts/upgrade-blocksuite.sh 0.4.0-20230209191848-0a912e3++if [ "$1" == "--latest" ]; then+ pnpm up "@blocksuite/*" "!@blocksuite/icons" -r -i --latest+else+ pnpm up "@blocksuite/*@${1}" "!@blocksuite/icons" -r+fi-pnpm up "@blocksuite/*" "!@blocksuite/icons" -r -i "$@"