Skip to content

Commit

Permalink
Draft: Moves prosemirror* and yjs* to peerDependencies (#420)
Browse files Browse the repository at this point in the history
* Moves prosemirror* and yjs* to peerDependencies

Co-authored-by: janthurau <[email protected]>
  • Loading branch information
janthurau and janthurau authored Oct 20, 2022
1 parent cc5cfe2 commit 7876b80
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 42 deletions.
72 changes: 37 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion packages/extension-database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
"dist"
],
"dependencies": {
"@hocuspocus/server": "^1.0.0-beta.2",
"@hocuspocus/server": "^1.0.0-beta.2"
},
"peerDependencies": {
"yjs": "^13.5.29"
},
"publishConfig": {
Expand Down
4 changes: 3 additions & 1 deletion packages/extension-monitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@
"vue": "^2.6.14",
"vue-plotly": "^1.1.0",
"vue-virtual-scroller": "^1.0.10",
"ws": "^8.5.0",
"ws": "^8.5.0"
},
"peerDependencies": {
"yjs": "^13.5.29"
},
"devDependencies": {
Expand Down
4 changes: 3 additions & 1 deletion packages/extension-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
"kleur": "^4.1.4",
"lodash.debounce": "^4.0.8",
"redlock": "^4.2.0",
"uuid": "^8.3.2",
"uuid": "^8.3.2"
},
"peerDependencies": {
"y-protocols": "^1.0.5",
"yjs": "^13.5.23"
},
Expand Down
4 changes: 3 additions & 1 deletion packages/extension-webhook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"dependencies": {
"@hocuspocus/server": "^1.0.0-beta.2",
"@hocuspocus/transformer": "^1.0.0-beta.2",
"axios": "^0.27.2",
"axios": "^0.27.2"
},
"peerDependencies": {
"yjs": "^13.5.29"
},
"gitHead": "b3454a4ca289a84ddfb7fa5607a2d4b8d5c37e9d"
Expand Down
4 changes: 3 additions & 1 deletion packages/provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"dependencies": {
"@hocuspocus/common": "^1.0.0-beta.2",
"@lifeomic/attempt": "^3.0.2",
"lib0": "^0.2.46",
"lib0": "^0.2.46"
},
"peerDependencies": {
"y-protocols": "^1.0.5",
"yjs": "^13.5.29"
},
Expand Down
4 changes: 3 additions & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
"kleur": "^4.1.4",
"lib0": "^0.2.46",
"uuid": "^8.3.2",
"ws": "^8.5.0",
"ws": "^8.5.0"
},
"peerDependencies": {
"y-protocols": "^1.0.5",
"yjs": "^13.5.29"
},
Expand Down
4 changes: 3 additions & 1 deletion packages/transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
],
"dependencies": {
"@tiptap/core": "^2.0.0-beta.174",
"@tiptap/starter-kit": "^2.0.0-beta.183",
"@tiptap/starter-kit": "^2.0.0-beta.183"
},
"peerDependencies": {
"prosemirror-model": "^1.16.1",
"y-prosemirror": "^1.0.15",
"yjs": "^13.5.29"
Expand Down

0 comments on commit 7876b80

Please sign in to comment.