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
himself6579a9f0ee46f9
diff --git a/packages/app/package.json b/packages/app/package.jsonindex fdd8586437..2e707d5f1d 100644--- a/packages/app/package.json+++ b/packages/app/package.json@@ -11,10 +11,10 @@"dependencies": {"@affine/datacenter": "workspace:*","@affine/i18n": "workspace:*",- "@blocksuite/blocks": "0.4.0-20230205175611-17a62e3",- "@blocksuite/editor": "0.4.0-20230205175611-17a62e3",+ "@blocksuite/blocks": "0.4.0-alpha.2",+ "@blocksuite/editor": "0.4.0-alpha.2","@blocksuite/icons": "^2.0.2",- "@blocksuite/store": "0.4.0-20230205175611-17a62e3",+ "@blocksuite/store": "0.4.0-alpha.2","@emotion/css": "^11.10.0","@emotion/react": "^11.10.4","@emotion/server": "^11.10.0",diff --git a/packages/data-center/package.json b/packages/data-center/package.jsonindex 0f5a56ca79..1ebffa9a28 100644--- a/packages/data-center/package.json+++ b/packages/data-center/package.json@@ -26,8 +26,8 @@"yjs": "^13.5.44"},"dependencies": {- "@blocksuite/blocks": "0.4.0-20230205175611-17a62e3",- "@blocksuite/store": "0.4.0-20230205175611-17a62e3",+ "@blocksuite/blocks": "0.4.0-alpha.2",+ "@blocksuite/store": "0.4.0-alpha.2","debug": "^4.3.4","encoding": "^0.1.13","firebase": "^9.15.0",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex d58b2a44ff..0623f86888 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -48,10 +48,10 @@ importers:specifiers:'@affine/datacenter': workspace:*'@affine/i18n': workspace:*- '@blocksuite/blocks': 0.4.0-20230205175611-17a62e3- '@blocksuite/editor': 0.4.0-20230205175611-17a62e3+ '@blocksuite/blocks': 0.4.0-alpha.2+ '@blocksuite/editor': 0.4.0-alpha.2'@blocksuite/icons': ^2.0.2- '@blocksuite/store': 0.4.0-20230205175611-17a62e3+ '@blocksuite/store': 0.4.0-alpha.2'@emotion/babel-plugin': ^11.10.5'@emotion/css': ^11.10.0'@emotion/react': ^11.10.4@@ -90,10 +90,10 @@ importers:dependencies:'@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.0'@emotion/react': 11.10.4_w5j4k42lgipnm43s3brx6h3c34'@emotion/server': 11.10.0_@[email protected]@@ -133,8 +133,8 @@ importers:packages/data-center:specifiers:- '@blocksuite/blocks': 0.4.0-20230205175611-17a62e3- '@blocksuite/store': 0.4.0-20230205175611-17a62e3+ '@blocksuite/blocks': 0.4.0-alpha.2+ '@blocksuite/store': 0.4.0-alpha.2'@playwright/test': ^1.29.1'@types/debug': ^4.1.7debug: ^4.3.4@@ -150,8 +150,8 @@ importers:y-protocols: ^1.0.5yjs: ^13.5.44dependencies:- '@blocksuite/blocks': [email protected]- '@blocksuite/store': [email protected]+ '@blocksuite/blocks': [email protected]+ '@blocksuite/store': [email protected]debug: 4.3.4encoding: 0.1.13firebase: [email protected]@@ -1464,13 +1464,13 @@ packages:to-fast-properties: 2.0.0dev: true- /@blocksuite/blocks/[email protected]:- resolution: {integrity: sha512-LZHvoLXEViDoWLoxNwbV1yeFCyC07LOmBft5ql79PDep3uTo7nse21Sk7ChjHBbx1rOyXKsp8El8wpcEcrG+3g==}+ /@blocksuite/blocks/[email protected]:+ resolution: {integrity: sha512-rsG1wXNmZpZrCQeADLYkJyFQJ6tTW5QutmN9kr5e1HI3cZgV6n1szcDBh+/32xp6xFn1q1RgknYVNS6jHsbd+A==}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@@ -1486,12 +1486,12 @@ packages:- yjsdev: false- /@blocksuite/editor/[email protected]:- resolution: {integrity: sha512-PcdUGxfc9wKu/rMi3/oN/Z9PmnHPEnP2lFNiVAKHVo54+rZOsLy9vzn33AaAmRRrn9EbDCDBuUDGVjziVdWR8w==}+ /@blocksuite/editor/[email protected]:+ resolution: {integrity: sha512-77+uY8ljus+W70sf3J5sjzS6jzfLXeA5wBnPVALtq7LBIzkQesFZ/FCewpPPaqDy3Up8rnq4mvWDB2GCbpmwuA==}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@@ -1502,8 +1502,8 @@ packages:- yjsdev: false- /@blocksuite/global/0.4.0-20230205175611-17a62e3:- resolution: {integrity: sha512-Oai1+yzyrGafdvUY6TU5cRON268awp0jNwIQpH4Bg23V4FYhamgxSb7JT//ZaBEeIA64xv+3PVXmtXOFBsNGlQ==}+ /@blocksuite/global/0.4.0-alpha.2:+ resolution: {integrity: sha512-LS58Itk+rrHmU51rEl6X4yqVpNRW9GCZBSrlLnlxSBaqqOwa7aE57vF2zfDiamjBXmCnwbcdAlucyMoHcuqrGA==}peerDependencies:lit: ^2.6peerDependenciesMeta:@@ -1514,8 +1514,8 @@ packages:zod: 3.20.2dev: false- /@blocksuite/global/[email protected]:- resolution: {integrity: sha512-Oai1+yzyrGafdvUY6TU5cRON268awp0jNwIQpH4Bg23V4FYhamgxSb7JT//ZaBEeIA64xv+3PVXmtXOFBsNGlQ==}+ /@blocksuite/global/[email protected]:+ resolution: {integrity: sha512-LS58Itk+rrHmU51rEl6X4yqVpNRW9GCZBSrlLnlxSBaqqOwa7aE57vF2zfDiamjBXmCnwbcdAlucyMoHcuqrGA==}peerDependencies:lit: ^2.6peerDependenciesMeta:@@ -1527,8 +1527,8 @@ packages:zod: 3.20.2dev: false- /@blocksuite/global/[email protected]:- resolution: {integrity: sha512-Oai1+yzyrGafdvUY6TU5cRON268awp0jNwIQpH4Bg23V4FYhamgxSb7JT//ZaBEeIA64xv+3PVXmtXOFBsNGlQ==}+ /@blocksuite/global/[email protected]:+ resolution: {integrity: sha512-LS58Itk+rrHmU51rEl6X4yqVpNRW9GCZBSrlLnlxSBaqqOwa7aE57vF2zfDiamjBXmCnwbcdAlucyMoHcuqrGA==}peerDependencies:lit: ^2.6peerDependenciesMeta:@@ -1550,34 +1550,34 @@ packages:react: 18.2.0dev: false- /@blocksuite/phasor/[email protected][email protected]:- resolution: {integrity: sha512-JQcwQa5a5MG1U1Zxzbp+/GkQN/8tHLJ11nST1GlYTbKkWm1LMO+AfCytgt5622m/OHszw3+R6Uu4663Tg/94og==}+ /@blocksuite/phasor/[email protected][email protected]:+ resolution: {integrity: sha512-+T9hXOyadQh5A2TpzOvY7KntBImzt8fVMfgq0McGnPQP8whSDmgKmGn0N442ObUM09X9XwzmF1i2claYIiPW+g==}peerDependencies:yjs: ^13dependencies:- '@blocksuite/global': [email protected]- fractional-indexing: 3.1.0- nanoid: 4.0.0+ '@blocksuite/global': [email protected]+ fractional-indexing: 3.2.0+ nanoid: 4.0.1perfect-freehand: 1.2.0yjs: 13.5.44transitivePeerDependencies:- litdev: false- /@blocksuite/store/[email protected][email protected]:- resolution: {integrity: sha512-VT2dFJgJ0ebzgI0RF5+ru/V4vLQN9TpJ6lpWUb2EdpG6wPc+KgU6LNYRxCTT+q2PLY8R2PcBafJdUaTG0cf8Lw==}+ /@blocksuite/store/[email protected][email protected]:+ resolution: {integrity: sha512-Tezn9P5EoggO03lBAusYTldUW+twoXSfaU+mJoTSCbW4DC8aDpgFRZgZlxjon2MC1aZnz1sShjFa6zKkNerRFg==}peerDependencies:yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]'@types/flexsearch': 0.7.3buffer: 6.0.3flexsearch: 0.7.21idb-keyval: 6.2.0ky: 0.33.2- lib0: 0.2.60+ lib0: 0.2.61merge: 2.1.1- nanoid: 4.0.0+ nanoid: 4.0.1y-protocols: 1.0.5y-webrtc: 10.2.4yjs: 13.5.44@@ -1589,20 +1589,20 @@ packages:- utf-8-validatedev: false- /@blocksuite/store/[email protected][email protected]:- resolution: {integrity: sha512-VT2dFJgJ0ebzgI0RF5+ru/V4vLQN9TpJ6lpWUb2EdpG6wPc+KgU6LNYRxCTT+q2PLY8R2PcBafJdUaTG0cf8Lw==}+ /@blocksuite/store/[email protected][email protected]:+ resolution: {integrity: sha512-Tezn9P5EoggO03lBAusYTldUW+twoXSfaU+mJoTSCbW4DC8aDpgFRZgZlxjon2MC1aZnz1sShjFa6zKkNerRFg==}peerDependencies:yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]'@types/flexsearch': 0.7.3buffer: 6.0.3flexsearch: 0.7.21idb-keyval: 6.2.0ky: 0.33.2- lib0: 0.2.60+ lib0: 0.2.61merge: 2.1.1- nanoid: 4.0.0+ nanoid: 4.0.1y-protocols: 1.0.5y-webrtc: 10.2.4yjs: 13.5.44@@ -1614,20 +1614,20 @@ packages:- utf-8-validatedev: false- /@blocksuite/store/[email protected]:- resolution: {integrity: sha512-VT2dFJgJ0ebzgI0RF5+ru/V4vLQN9TpJ6lpWUb2EdpG6wPc+KgU6LNYRxCTT+q2PLY8R2PcBafJdUaTG0cf8Lw==}+ /@blocksuite/store/[email protected]:+ resolution: {integrity: sha512-Tezn9P5EoggO03lBAusYTldUW+twoXSfaU+mJoTSCbW4DC8aDpgFRZgZlxjon2MC1aZnz1sShjFa6zKkNerRFg==}peerDependencies:yjs: ^13dependencies:- '@blocksuite/global': 0.4.0-20230205175611-17a62e3+ '@blocksuite/global': 0.4.0-alpha.2'@types/flexsearch': 0.7.3buffer: 6.0.3flexsearch: 0.7.21idb-keyval: 6.2.0ky: 0.33.2- lib0: 0.2.60+ lib0: 0.2.61merge: 2.1.1- nanoid: 4.0.0+ nanoid: 4.0.1y-protocols: 1.0.5y-webrtc: 10.2.4yjs: 13.5.44@@ -1639,13 +1639,13 @@ packages:- utf-8-validatedev: false- /@blocksuite/virgo/[email protected][email protected]:- resolution: {integrity: sha512-qWWmV/QnMP2kDNzN2e8RcNffTpLK0Cw6KrCBHhSg2TJqjTohVwBG+x4oSmS5vhh76WVvDCEwnEPQ1skVguHoSQ==}+ /@blocksuite/virgo/[email protected][email protected]:+ resolution: {integrity: sha512-ZLyQeBULa4yD0+wlP56miSZi4ljWYLvvZH54CEplVsOFqtYs0LruBsELc6z7cBkfJR1awdeJxNj/6qgKEwP5FA==}peerDependencies:lit: ^2yjs: ^13dependencies:- '@blocksuite/global': [email protected]+ '@blocksuite/global': [email protected]lit: 2.6.1yjs: 13.5.44dev: false@@ -5611,8 +5611,8 @@ packages:fetch-blob: 3.2.0dev: false- /fractional-indexing/3.1.0:- resolution: {integrity: sha512-j5mtGgQxuEH6pI8n1N9xmAamb9WRwc5JcLYXidKc6IQ6HP8WvGePHxuilhAogglGA6qeafgFiXslVn4yAtNHsQ==}+ /fractional-indexing/3.2.0:+ resolution: {integrity: sha512-PcOxmqwYCW7O2ovKRU8OoQQj2yqTfEB/yeTYk4gPid6dN5ODRfU1hXd9tTVZzax/0NkO7AxpHykvZnT1aYp/BQ==}engines: {node: ^14.13.1 || >=16.0.0}dev: false@@ -6563,8 +6563,8 @@ packages:dependencies:isomorphic.js: 0.2.5- /lib0/0.2.60:- resolution: {integrity: sha512-vzhtdUXBV8HyJnJWIZxUSH/aUVo1U4jUFRFDPVY245zFtzCl9Gld/EgvA8Jhnrio7Jn0HmGswErbPjsabYd7ow==}+ /lib0/0.2.61:+ resolution: {integrity: sha512-yVhT0uMXNWk50KqBgsZPxmcoO7Yft341wDTByKjXIzBpkhUjEzXl/M9b/GfqyDFBdiLCGg19Cv26NHUEnbL1pA==}engines: {node: '>=14'}dependencies:isomorphic.js: 0.2.5@@ -6918,8 +6918,8 @@ packages:engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}hasBin: true- /nanoid/4.0.0:- resolution: {integrity: sha512-IgBP8piMxe/gf73RTQx7hmnhwz0aaEXYakvqZyE302IXW3HyVNhdNGC+O2MwMAVhLEnvXlvKtGbtJf6wvHihCg==}+ /nanoid/4.0.1:+ resolution: {integrity: sha512-udKGtCCUafD3nQtJg9wBhRP3KMbPglUsgV5JVsXhvyBs/oefqb4sqMEhKBBgqZncYowu58p1prsZQBYvAj/Gww==}engines: {node: ^14 || ^16 || >=18}hasBin: truedev: false@@ -9196,7 +9196,7 @@ packages:engines: {node: '>=12'}hasBin: truedependencies:- lib0: 0.2.60+ lib0: 0.2.61simple-peer: 9.11.1y-protocols: 1.0.5optionalDependencies:diff --git a/scripts/upgrade-blocksuite.sh b/scripts/upgrade-blocksuite.shindex 75338781d2..4a25a65986 100755--- a/scripts/upgrade-blocksuite.sh+++ b/scripts/upgrade-blocksuite.sh@@ -1,2 +1,6 @@#!/usr/bin/env bash-pnpm up "@blocksuite/*" "!@blocksuite/icons" -r -i+# Usage:+# ./scripts/upgrade-blocksuite.sh+# ./scripts/upgrade-blocksuite.sh --latest++pnpm up "@blocksuite/*" "!@blocksuite/icons" -r -i "$@"