fix: @blocksuite/store was already imported. This breaks constructor … (#736)

…checks and will lead to issues
This commit is contained in:
zuomeng wang
2023-01-13 18:29:02 +08:00
committed by GitHub
parent 911cc3e217
commit a739c1f773
2 changed files with 7 additions and 66 deletions
+2 -5
View File
@@ -23,7 +23,8 @@
"@playwright/test": "^1.29.1",
"@types/debug": "^4.1.7",
"fake-indexeddb": "4.0.1",
"typescript": "^4.8.4"
"typescript": "^4.8.4",
"yjs": "^13.5.44"
},
"dependencies": {
"@blocksuite/blocks": "0.4.0-20230111171650-bc63456",
@@ -37,9 +38,5 @@
"lib0": "^0.2.58",
"swr": "^2.0.0",
"y-protocols": "^1.0.5"
},
"peerDependencies": {
"@blocksuite/blocks": "0.3.1-*",
"@blocksuite/store": "0.3.1-*"
}
}
+5 -61
View File
@@ -144,9 +144,10 @@ importers:
swr: ^2.0.0
typescript: ^4.8.4
y-protocols: ^1.0.5
yjs: ^13.5.44
dependencies:
'@blocksuite/blocks': 0.4.0-20230111171650-bc63456
'@blocksuite/store': 0.4.0-20230111171650-bc63456
'@blocksuite/blocks': 0.4.0-20230111171650-bc63456_yjs@13.5.44
'@blocksuite/store': 0.4.0-20230111171650-bc63456_yjs@13.5.44
debug: 4.3.4
encoding: 0.1.13
firebase: 9.15.0_encoding@0.1.13
@@ -161,6 +162,7 @@ importers:
'@types/debug': 4.1.7
fake-indexeddb: 4.0.1
typescript: 4.9.3
yjs: 13.5.44
packages/i18n:
specifiers:
@@ -1501,27 +1503,6 @@ packages:
resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}
dev: true
/@blocksuite/blocks/0.4.0-20230111171650-bc63456:
resolution: {integrity: sha512-7fpb++pT9laoyLFWl4h09v7TUqZ/9udMrC1qxdX2XFgMPJjg3MJ9RG+Ud2s/zqZ1SkU1+0hMBvJP5ci9vV44gw==}
dependencies:
'@blocksuite/global': 0.4.0-20230111171650-bc63456
'@blocksuite/phasor': 0.4.0-20230111171650-bc63456
'@blocksuite/store': 0.4.0-20230111171650-bc63456
'@tldraw/intersect': 1.8.0
autosize: 5.0.2
highlight.js: 11.7.0
hotkeys-js: 3.10.1
lit: 2.6.1
perfect-freehand: 1.2.0
quill: 1.3.7
quill-cursors: 4.0.0
transitivePeerDependencies:
- bufferutil
- supports-color
- utf-8-validate
- yjs
dev: false
/@blocksuite/blocks/0.4.0-20230111171650-bc63456_yjs@13.5.44:
resolution: {integrity: sha512-7fpb++pT9laoyLFWl4h09v7TUqZ/9udMrC1qxdX2XFgMPJjg3MJ9RG+Ud2s/zqZ1SkU1+0hMBvJP5ci9vV44gw==}
dependencies:
@@ -1572,12 +1553,6 @@ packages:
react: 18.2.0
dev: false
/@blocksuite/phasor/0.4.0-20230111171650-bc63456:
resolution: {integrity: sha512-fzmrG8KVJXkm5YyvHpPG1RRFhXjzuOey8OIoDu+/z87n9HJc4SkOd9JKH6wEL37F7P5ZoEM9Yl9YHxQjUc4/CA==}
peerDependencies:
yjs: ^13
dev: false
/@blocksuite/phasor/0.4.0-20230111171650-bc63456_yjs@13.5.44:
resolution: {integrity: sha512-fzmrG8KVJXkm5YyvHpPG1RRFhXjzuOey8OIoDu+/z87n9HJc4SkOd9JKH6wEL37F7P5ZoEM9Yl9YHxQjUc4/CA==}
peerDependencies:
@@ -1586,27 +1561,6 @@ packages:
yjs: 13.5.44
dev: false
/@blocksuite/store/0.4.0-20230111171650-bc63456:
resolution: {integrity: sha512-f/PKFPadA0KZq/wSLxxlS29c4SDuMfzHN1/gdrxFEIY0gC8caK2jZnT4K62R9Nquik/mXL60h8fBVAkQ0KbHzg==}
peerDependencies:
yjs: ^13
dependencies:
'@blocksuite/global': 0.4.0-20230111171650-bc63456
'@types/flexsearch': 0.7.3
'@types/quill': 1.3.10
buffer: 6.0.3
flexsearch: 0.7.21
idb-keyval: 6.2.0
ky: 0.33.1
lib0: 0.2.58
y-protocols: 1.0.5
y-webrtc: 10.2.3
transitivePeerDependencies:
- bufferutil
- supports-color
- utf-8-validate
dev: false
/@blocksuite/store/0.4.0-20230111171650-bc63456_yjs@13.5.44:
resolution: {integrity: sha512-f/PKFPadA0KZq/wSLxxlS29c4SDuMfzHN1/gdrxFEIY0gC8caK2jZnT4K62R9Nquik/mXL60h8fBVAkQ0KbHzg==}
peerDependencies:
@@ -6571,7 +6525,6 @@ packages:
/isomorphic.js/0.2.5:
resolution: {integrity: sha512-PIeMbHqMt4DnUP3MA/Flc0HElYjMXArsw1qwJZcm9sqR8mq3l8NYizFMty0pWwE/tzIGH3EKK5+jes5mAr85yw==}
dev: false
/istanbul-lib-coverage/3.2.0:
resolution: {integrity: sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==}
@@ -7216,19 +7169,11 @@ packages:
type-check: 0.4.0
dev: true
/lib0/0.2.52:
resolution: {integrity: sha512-CjxlM7UgICfN6b2OPALBXchIBiNk6jE+1g7JP8ha+dh1xKRDSYpH0WQl1+rMqCju49xUnwPG34v4CR5/rPOZhg==}
engines: {node: '>=14'}
dependencies:
isomorphic.js: 0.2.5
dev: false
/lib0/0.2.58:
resolution: {integrity: sha512-6ovqPaYfOKU7GkkVxz/wjMR0zsqmNsISLvH+h9Lx5YNtWDZey69aYsTGXaSVpUPpJ+ZFtIvcZHsTGL3MbwOM8A==}
engines: {node: '>=14'}
dependencies:
isomorphic.js: 0.2.5
dev: false
/lilconfig/2.0.6:
resolution: {integrity: sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg==}
@@ -9908,8 +9853,7 @@ packages:
/yjs/13.5.44:
resolution: {integrity: sha512-UL+abIh2lQonqXfaJ+en7z9eGshpY11j1zNLc2kDYs0vrTjee4gZJUXC3ZsuhP6geQt0IRU04epCGRaVPQAVCA==}
dependencies:
lib0: 0.2.52
dev: false
lib0: 0.2.58
/yn/3.1.1:
resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==}