Skip to content

Commit

Permalink
Moves all prosemirror deps to peerDependencies & devDependencies (for…
Browse files Browse the repository at this point in the history
… package development) (#3487)
  • Loading branch information
janthurau authored Dec 5, 2022
1 parent a41aa1f commit 30e799c
Show file tree
Hide file tree
Showing 52 changed files with 561 additions and 130 deletions.
423 changes: 344 additions & 79 deletions package-lock.json

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,16 @@
"src",
"dist"
],
"dependencies": {
"peerDependencies": {
"prosemirror-commands": "^1.3.1",
"prosemirror-keymap": "^1.2.0",
"prosemirror-model": "^1.18.1",
"prosemirror-schema-list": "^1.2.2",
"prosemirror-state": "^1.4.1",
"prosemirror-transform": "^1.7.0",
"prosemirror-view": "^1.28.2"
},
"devDependencies": {
"prosemirror-commands": "^1.3.1",
"prosemirror-keymap": "^1.2.0",
"prosemirror-model": "^1.18.1",
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-blockquote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.1"
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.1"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-bold/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
13 changes: 8 additions & 5 deletions packages/extension-bubble-menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,16 @@
"dist"
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.28.2"
},
"dependencies": {
"tippy.js": "^6.3.7",
"lodash": "^4.17.21",
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.28.2",
"tippy.js": "^6.3.7"
"prosemirror-view": "^1.28.2"
},
"repository": {
"type": "git",
Expand All @@ -43,7 +47,6 @@
},
"sideEffects": false,
"devDependencies": {
"@types/lodash": "^4.14.187",
"lodash": "^4.17.21"
"@types/lodash": "^4.14.187"
}
}
3 changes: 3 additions & 0 deletions packages/extension-bullet-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
7 changes: 5 additions & 2 deletions packages/extension-character-count/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@
"dist"
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-model": "^1.18.1",
"prosemirror-state": "^1.4.1"
},
"dependencies": {
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-model": "^1.18.1",
"prosemirror-state": "^1.4.1"
},
Expand Down
9 changes: 7 additions & 2 deletions packages/extension-code-block-lowlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,14 @@
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"@tiptap/extension-code-block": "^2.0.0-beta.193"
"@tiptap/extension-code-block": "^2.0.0-beta.193",
"prosemirror-model": "^1.18.1",
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.28.2"
},
"dependencies": {
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"@tiptap/extension-code-block": "^2.0.0-beta.193",
"prosemirror-model": "^1.18.1",
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.28.2"
Expand Down
6 changes: 4 additions & 2 deletions packages/extension-code-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@
"dist"
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-state": "^1.4.1"
},
"dependencies": {
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-state": "^1.4.1"
},
"repository": {
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
6 changes: 4 additions & 2 deletions packages/extension-collaboration-cursor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@
"dist"
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
"@tiptap/core": "^2.0.0-beta.193",
"y-prosemirror": "1.0.20"
},
"dependencies": {
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"y-prosemirror": "1.0.20"
},
"repository": {
Expand Down
7 changes: 5 additions & 2 deletions packages/extension-collaboration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@
"dist"
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-state": "^1.4.1",
"y-prosemirror": "1.0.20"
},
"dependencies": {
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-state": "^1.4.1",
"y-prosemirror": "1.0.20"
},
Expand Down
4 changes: 4 additions & 0 deletions packages/extension-color/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
"@tiptap/core": "^2.0.0-beta.193",
"@tiptap/extension-text-style": "^2.0.0-beta.193"
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"@tiptap/extension-text-style": "^2.0.0-beta.193"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-document/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
6 changes: 4 additions & 2 deletions packages/extension-dropcursor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@
"dist"
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-dropcursor": "1.5.0"
},
"dependencies": {
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-dropcursor": "1.5.0"
},
"repository": {
Expand Down
11 changes: 8 additions & 3 deletions packages/extension-floating-menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,16 @@
"dist"
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.28.2"
},
"dependencies": {
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.28.2",
"prosemirror-view": "^1.28.2"
},
"dependencies": {
"tippy.js": "^6.3.7"
},
"repository": {
Expand Down
7 changes: 5 additions & 2 deletions packages/extension-focus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@
"dist"
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.28.2"
},
"dependencies": {
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.28.2"
},
Expand Down
4 changes: 4 additions & 0 deletions packages/extension-font-family/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
"@tiptap/core": "^2.0.0-beta.193",
"@tiptap/extension-text-style": "^2.0.0-beta.193"
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"@tiptap/extension-text-style": "^2.0.0-beta.193"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
6 changes: 4 additions & 2 deletions packages/extension-gapcursor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@
"dist"
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-gapcursor": "^1.3.1"
},
"dependencies": {
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-gapcursor": "^1.3.1"
},
"repository": {
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-hard-break/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-heading/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-highlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
6 changes: 4 additions & 2 deletions packages/extension-history/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@
"dist"
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-history": "^1.3.0"
},
"dependencies": {
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-history": "^1.3.0"
},
"repository": {
Expand Down
6 changes: 4 additions & 2 deletions packages/extension-horizontal-rule/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@
"dist"
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-state": "^1.4.1"
},
"dependencies": {
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-state": "^1.4.1"
},
"repository": {
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-italic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
11 changes: 8 additions & 3 deletions packages/extension-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,18 @@
"dist"
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-model": "^1.18.1",
"prosemirror-state": "^1.4.1"
},
"dependencies": {
"linkifyjs": "^3.0.5",
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"prosemirror-model": "^1.18.1",
"prosemirror-state": "^1.4.1"
},
"dependencies": {
"linkifyjs": "^3.0.5"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-list-item/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
8 changes: 6 additions & 2 deletions packages/extension-mention/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@
],
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"@tiptap/suggestion": "^2.0.0-beta.193"
"@tiptap/suggestion": "^2.0.0-beta.193",
"prosemirror-model": "^1.18.1",
"prosemirror-state": "^1.4.1"
},
"dependencies": {
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193",
"@tiptap/suggestion": "^2.0.0-beta.193",
"prosemirror-model": "^1.18.1",
"prosemirror-state": "^1.4.1"
},
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-ordered-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"peerDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"devDependencies": {
"@tiptap/core": "^2.0.0-beta.193"
},
"repository": {
"type": "git",
"url": "https://github.com/ueberdosis/tiptap",
Expand Down
Loading

0 comments on commit 30e799c

Please sign in to comment.