From 0c1bba3137b535776bcef95ff3c55e13f5a2db46 Mon Sep 17 00:00:00 2001 From: Dominik <6538827+bdbch@users.noreply.github.com> Date: Thu, 30 Mar 2023 12:36:15 +0200 Subject: [PATCH] fix: Update peerDependencies to fix lerna version tasks (#3914) * v2.1.0-rc.0 * revert version to 2.0.0 * dev: temporarily disable commits for release * dev: set back lerna version * disable commits for releases by default * chore(core): add peerDeps * chore(extension-blockquote): add peerDeps * chore: add peerDeps * chore: add peerDeps * chore: add peerDeps * chore: add peerDeps * chore: add peerDeps * chore: add peerDeps * chore: add peerDeps * chore: add peerDeps * chore: revert 2.1.0 test changes * chore: allow react 17 and upwards * chore: update package-lock.json * chore: move y-prosemirror to peerDeps * chore: move y-prosemirror to dev deps * chore: move y-prosemirror to dev deps --- demos/package-lock.json | 6 ++--- lerna.json | 2 +- package-lock.json | 26 +++++++++++-------- package.json | 14 +++++----- packages/core/package.json | 6 ++--- packages/extension-blockquote/package.json | 6 ++--- packages/extension-bold/package.json | 6 ++--- packages/extension-bubble-menu/package.json | 11 ++++---- packages/extension-bullet-list/package.json | 6 ++--- .../extension-character-count/package.json | 6 ++--- .../package.json | 6 ++--- packages/extension-code-block/package.json | 6 ++--- packages/extension-code/package.json | 6 ++--- .../package.json | 6 ++--- packages/extension-collaboration/package.json | 6 ++--- packages/extension-color/package.json | 6 ++--- packages/extension-document/package.json | 6 ++--- packages/extension-dropcursor/package.json | 6 ++--- packages/extension-floating-menu/package.json | 6 ++--- packages/extension-focus/package.json | 6 ++--- packages/extension-font-family/package.json | 6 ++--- packages/extension-gapcursor/package.json | 6 ++--- packages/extension-hard-break/package.json | 6 ++--- packages/extension-heading/package.json | 6 ++--- packages/extension-highlight/package.json | 6 ++--- packages/extension-history/package.json | 6 ++--- .../extension-horizontal-rule/package.json | 6 ++--- packages/extension-image/package.json | 6 ++--- packages/extension-italic/package.json | 6 ++--- packages/extension-link/package.json | 12 ++++----- packages/extension-list-item/package.json | 6 ++--- packages/extension-mention/package.json | 10 +++---- packages/extension-ordered-list/package.json | 6 ++--- packages/extension-paragraph/package.json | 6 ++--- packages/extension-placeholder/package.json | 6 ++--- packages/extension-strike/package.json | 6 ++--- packages/extension-subscript/package.json | 6 ++--- packages/extension-superscript/package.json | 6 ++--- packages/extension-table-cell/package.json | 6 ++--- packages/extension-table-header/package.json | 6 ++--- packages/extension-table-row/package.json | 6 ++--- packages/extension-table/package.json | 6 ++--- packages/extension-task-item/package.json | 6 ++--- packages/extension-task-list/package.json | 6 ++--- packages/extension-text-align/package.json | 6 ++--- packages/extension-text-style/package.json | 6 ++--- packages/extension-text/package.json | 6 ++--- packages/extension-typography/package.json | 6 ++--- packages/extension-underline/package.json | 6 ++--- packages/extension-youtube/package.json | 6 ++--- packages/html/package.json | 6 ++--- packages/react/package.json | 10 +++---- packages/starter-kit/package.json | 2 +- packages/suggestion/package.json | 6 ++--- packages/vue-2/package.json | 10 +++---- packages/vue-3/package.json | 10 +++---- 56 files changed, 194 insertions(+), 189 deletions(-) diff --git a/demos/package-lock.json b/demos/package-lock.json index 216a7273d62..61c5acee8cf 100644 --- a/demos/package-lock.json +++ b/demos/package-lock.json @@ -1,14 +1,14 @@ { "name": "tiptap-demos", - "version": "2.0.0-beta.220", + "version": "2.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "tiptap-demos", - "version": "2.0.0-beta.220", + "version": "2.0.0", "dependencies": { - "@hocuspocus/provider": "^1.0.0-alpha.29", + "@hocuspocus/provider": "^1.1.3", "d3": "^7.3.0", "fast-glob": "^3.2.11", "highlight.js": "^11.6.0", diff --git a/lerna.json b/lerna.json index b5df7606064..d5be56e82aa 100644 --- a/lerna.json +++ b/lerna.json @@ -11,4 +11,4 @@ "$schema": "node_modules/lerna/schemas/lerna-schema.json", "useNx": true, "version": "2.0.0" -} \ No newline at end of file +} diff --git a/package-lock.json b/package-lock.json index e55f84a73d0..82ba5d5c04c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19548,6 +19548,7 @@ "tippy.js": "^6.3.7" }, "devDependencies": { + "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, "funding": { @@ -19646,10 +19647,12 @@ "name": "@tiptap/extension-collaboration", "version": "2.0.0", "license": "MIT", + "dependencies": { + "y-prosemirror": "1.0.20" + }, "devDependencies": { "@tiptap/core": "^2.0.0", - "@tiptap/pm": "^2.0.0", - "y-prosemirror": "1.0.20" + "@tiptap/pm": "^2.0.0" }, "funding": { "type": "github", @@ -19657,25 +19660,25 @@ }, "peerDependencies": { "@tiptap/core": "^2.0.0", - "@tiptap/pm": "^2.0.0", - "y-prosemirror": "1.0.20" + "@tiptap/pm": "^2.0.0" } }, "packages/extension-collaboration-cursor": { "name": "@tiptap/extension-collaboration-cursor", "version": "2.0.0", "license": "MIT", - "devDependencies": { - "@tiptap/core": "^2.0.0", + "dependencies": { "y-prosemirror": "1.0.20" }, + "devDependencies": { + "@tiptap/core": "^2.0.0" + }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0", - "y-prosemirror": "1.0.20" + "@tiptap/core": "^2.0.0" } }, "packages/extension-color": { @@ -19949,7 +19952,7 @@ "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0", - "@tiptap/suggestion": "2.0.0" + "@tiptap/suggestion": "^2.0.0" }, "funding": { "type": "github", @@ -19958,7 +19961,7 @@ "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0", - "@tiptap/suggestion": "2.0.0" + "@tiptap/suggestion": "^2.0.0" } }, "packages/extension-ordered-list": { @@ -23650,6 +23653,7 @@ "@tiptap/extension-bubble-menu": { "version": "file:packages/extension-bubble-menu", "requires": { + "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0", "tippy.js": "^6.3.7" } @@ -23815,7 +23819,7 @@ "requires": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0", - "@tiptap/suggestion": "2.0.0" + "@tiptap/suggestion": "^2.0.0" } }, "@tiptap/extension-ordered-list": { diff --git a/package.json b/package.json index bbd1e3679f1..6c738ccec94 100644 --- a/package.json +++ b/package.json @@ -20,13 +20,13 @@ "build:demos": "npm --prefix ./demos run build:demos", "build:ci": "npm run build", "release": "lerna version --no-push --force-publish", - "release:major": "lerna version major --no-push --force-publish", - "release:major:pre": "lerna version premajor --no-push --force-publish --preid rc", - "release:minor": "lerna version minor --no-push --force-publish", - "release:minor:pre": "lerna version preminor --no-push --force-publish --preid rc", - "release:patch": "lerna version patch --no-push --force-publish", - "release:patch:pre": "lerna version prepatch --no-push --force-publish --preid rc", - "release:pre": "lerna version prerelease --no-push --force-publish --preid rc", + "release:major": "lerna version major --no-push --no-git-tag-version --force-publish", + "release:major:pre": "lerna version premajor --no-push --no-git-tag-version --force-publish --preid rc", + "release:minor": "lerna version minor --no-push --no-git-tag-version --force-publish", + "release:minor:pre": "lerna version preminor --no-push --no-git-tag-version --force-publish --preid rc", + "release:patch": "lerna version patch --no-push --no-git-tag-version --force-publish", + "release:patch:pre": "lerna version prepatch --no-push --no-git-tag-version --force-publish --preid rc", + "release:pre": "lerna version prerelease --no-push --no-git-tag-version --force-publish --preid rc", "publish": "npm run build && lerna exec --since --no-private -- npm publish --tag latest --access public", "publish:pre": "npm run build && lerna exec --since --no-private -- npm publish --tag next --access public", "pack": "npm run clean:packs && lerna exec -- npm pack", diff --git a/packages/core/package.json b/packages/core/package.json index 9dcd5257dc4..0bae4529458 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -31,10 +31,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/pm": "^2.0.0" }, "repository": { @@ -47,4 +47,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-blockquote/package.json b/packages/extension-blockquote/package.json index c048ea5bd1d..2bf0ee81378 100644 --- a/packages/extension-blockquote/package.json +++ b/packages/extension-blockquote/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-bold/package.json b/packages/extension-bold/package.json index 0fadb2bccd4..9d248d38a22 100644 --- a/packages/extension-bold/package.json +++ b/packages/extension-bold/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-bubble-menu/package.json b/packages/extension-bubble-menu/package.json index 2379fbbf986..eceb2145f96 100644 --- a/packages/extension-bubble-menu/package.json +++ b/packages/extension-bubble-menu/package.json @@ -28,10 +28,6 @@ "src", "dist" ], - "peerDependencies": { - "@tiptap/core": "^2.0.0", - "@tiptap/pm": "^2.0.0" - }, "dependencies": { "tippy.js": "^6.3.7" }, @@ -42,10 +38,15 @@ }, "sideEffects": false, "devDependencies": { + "@tiptap/core": "^2.0.0", + "@tiptap/pm": "^2.0.0" + }, + "peerDependencies": { + "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, "scripts": { "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-bullet-list/package.json b/packages/extension-bullet-list/package.json index a363c074dbe..013f8dc7568 100644 --- a/packages/extension-bullet-list/package.json +++ b/packages/extension-bullet-list/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-character-count/package.json b/packages/extension-character-count/package.json index 57ab59e00e6..6f881c9040a 100644 --- a/packages/extension-character-count/package.json +++ b/packages/extension-character-count/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, @@ -45,4 +45,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-code-block-lowlight/package.json b/packages/extension-code-block-lowlight/package.json index f431014fee2..31226b3989c 100644 --- a/packages/extension-code-block-lowlight/package.json +++ b/packages/extension-code-block-lowlight/package.json @@ -28,12 +28,12 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/extension-code-block": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/extension-code-block": "^2.0.0", "@tiptap/pm": "^2.0.0" @@ -47,4 +47,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-code-block/package.json b/packages/extension-code-block/package.json index 2afbdd7193a..2a923509828 100644 --- a/packages/extension-code-block/package.json +++ b/packages/extension-code-block/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, @@ -45,4 +45,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-code/package.json b/packages/extension-code/package.json index 809248c58c9..27fc6a3094a 100644 --- a/packages/extension-code/package.json +++ b/packages/extension-code/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-collaboration-cursor/package.json b/packages/extension-collaboration-cursor/package.json index ecbbe4867a4..6da2e618c47 100644 --- a/packages/extension-collaboration-cursor/package.json +++ b/packages/extension-collaboration-cursor/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "y-prosemirror": "1.0.20" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "y-prosemirror": "1.0.20" }, @@ -45,4 +45,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-collaboration/package.json b/packages/extension-collaboration/package.json index 29d87825782..22c87c77a6a 100644 --- a/packages/extension-collaboration/package.json +++ b/packages/extension-collaboration/package.json @@ -28,12 +28,12 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0", "y-prosemirror": "1.0.20" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0", "y-prosemirror": "1.0.20" @@ -47,4 +47,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-color/package.json b/packages/extension-color/package.json index 88578b9c8f1..b079bacfd98 100644 --- a/packages/extension-color/package.json +++ b/packages/extension-color/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/extension-text-style": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/extension-text-style": "^2.0.0" }, @@ -45,4 +45,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-document/package.json b/packages/extension-document/package.json index cc0e906896c..c8ff3112907 100644 --- a/packages/extension-document/package.json +++ b/packages/extension-document/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-dropcursor/package.json b/packages/extension-dropcursor/package.json index 4e085d64642..2b89e0bfe7d 100644 --- a/packages/extension-dropcursor/package.json +++ b/packages/extension-dropcursor/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, @@ -45,4 +45,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-floating-menu/package.json b/packages/extension-floating-menu/package.json index 71901804dc6..74e5728b4c5 100644 --- a/packages/extension-floating-menu/package.json +++ b/packages/extension-floating-menu/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, @@ -49,4 +49,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-focus/package.json b/packages/extension-focus/package.json index c9e28023a15..fefda5f83e0 100644 --- a/packages/extension-focus/package.json +++ b/packages/extension-focus/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, @@ -45,4 +45,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-font-family/package.json b/packages/extension-font-family/package.json index cd2638dc54a..c368381a883 100644 --- a/packages/extension-font-family/package.json +++ b/packages/extension-font-family/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/extension-text-style": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/extension-text-style": "^2.0.0" }, @@ -45,4 +45,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-gapcursor/package.json b/packages/extension-gapcursor/package.json index 8354bb5179f..3d5628ba12e 100644 --- a/packages/extension-gapcursor/package.json +++ b/packages/extension-gapcursor/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, @@ -45,4 +45,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-hard-break/package.json b/packages/extension-hard-break/package.json index 2a299c19480..00e6643fc89 100644 --- a/packages/extension-hard-break/package.json +++ b/packages/extension-hard-break/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-heading/package.json b/packages/extension-heading/package.json index bd6bd78cc5c..e435e884a47 100644 --- a/packages/extension-heading/package.json +++ b/packages/extension-heading/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-highlight/package.json b/packages/extension-highlight/package.json index bb4b5d9b9d9..6ea74ee70f4 100644 --- a/packages/extension-highlight/package.json +++ b/packages/extension-highlight/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-history/package.json b/packages/extension-history/package.json index 690e2714592..86e37b5fd57 100644 --- a/packages/extension-history/package.json +++ b/packages/extension-history/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, @@ -45,4 +45,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-horizontal-rule/package.json b/packages/extension-horizontal-rule/package.json index ddcc85dbf1e..52096263f88 100644 --- a/packages/extension-horizontal-rule/package.json +++ b/packages/extension-horizontal-rule/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, @@ -45,4 +45,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-image/package.json b/packages/extension-image/package.json index 7c9d80752bd..8590dddbc59 100644 --- a/packages/extension-image/package.json +++ b/packages/extension-image/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-italic/package.json b/packages/extension-italic/package.json index adfd584a698..08f05c0439b 100644 --- a/packages/extension-italic/package.json +++ b/packages/extension-italic/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-link/package.json b/packages/extension-link/package.json index 1cc6ca57978..a946d9e0692 100644 --- a/packages/extension-link/package.json +++ b/packages/extension-link/package.json @@ -28,16 +28,16 @@ "src", "dist" ], - "peerDependencies": { - "@tiptap/core": "^2.0.0", - "@tiptap/pm": "^2.0.0" + "dependencies": { + "linkifyjs": "^4.1.0" }, "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "dependencies": { - "linkifyjs": "^4.1.0" + "peerDependencies": { + "@tiptap/core": "^2.0.0", + "@tiptap/pm": "^2.0.0" }, "repository": { "type": "git", @@ -48,4 +48,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-list-item/package.json b/packages/extension-list-item/package.json index 2ae7d8da8d7..eb64ada8f2d 100644 --- a/packages/extension-list-item/package.json +++ b/packages/extension-list-item/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-mention/package.json b/packages/extension-mention/package.json index cbe8eff87ed..4876d52b5e5 100644 --- a/packages/extension-mention/package.json +++ b/packages/extension-mention/package.json @@ -28,15 +28,15 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0", - "@tiptap/suggestion": "2.0.0" + "@tiptap/suggestion": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0", - "@tiptap/suggestion": "2.0.0" + "@tiptap/suggestion": "^2.0.0" }, "repository": { "type": "git", @@ -47,4 +47,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-ordered-list/package.json b/packages/extension-ordered-list/package.json index f475b8f009f..a5f187b61df 100644 --- a/packages/extension-ordered-list/package.json +++ b/packages/extension-ordered-list/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-paragraph/package.json b/packages/extension-paragraph/package.json index 520e8eb93ca..ff486276180 100644 --- a/packages/extension-paragraph/package.json +++ b/packages/extension-paragraph/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-placeholder/package.json b/packages/extension-placeholder/package.json index b9b82a4da55..c32e4b4c7de 100644 --- a/packages/extension-placeholder/package.json +++ b/packages/extension-placeholder/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, @@ -45,4 +45,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-strike/package.json b/packages/extension-strike/package.json index 519f1834f25..fdc93e549ce 100644 --- a/packages/extension-strike/package.json +++ b/packages/extension-strike/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-subscript/package.json b/packages/extension-subscript/package.json index e8b8f723ab1..66b65202ca1 100644 --- a/packages/extension-subscript/package.json +++ b/packages/extension-subscript/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-superscript/package.json b/packages/extension-superscript/package.json index 54fe1446c9c..15fc3f86374 100644 --- a/packages/extension-superscript/package.json +++ b/packages/extension-superscript/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-table-cell/package.json b/packages/extension-table-cell/package.json index 09ab6842cf3..8e7528673cb 100644 --- a/packages/extension-table-cell/package.json +++ b/packages/extension-table-cell/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-table-header/package.json b/packages/extension-table-header/package.json index 63a8271f519..92e99d9d209 100644 --- a/packages/extension-table-header/package.json +++ b/packages/extension-table-header/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-table-row/package.json b/packages/extension-table-row/package.json index ab701221358..aea0eeede39 100644 --- a/packages/extension-table-row/package.json +++ b/packages/extension-table-row/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-table/package.json b/packages/extension-table/package.json index cab1be8f466..1e706211ad1 100644 --- a/packages/extension-table/package.json +++ b/packages/extension-table/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, @@ -45,4 +45,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-task-item/package.json b/packages/extension-task-item/package.json index 42b7bf88a81..9fff8855d57 100644 --- a/packages/extension-task-item/package.json +++ b/packages/extension-task-item/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, @@ -45,4 +45,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-task-list/package.json b/packages/extension-task-list/package.json index 34bc9ad8290..2c0746b7ffc 100644 --- a/packages/extension-task-list/package.json +++ b/packages/extension-task-list/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-text-align/package.json b/packages/extension-text-align/package.json index 6c91a844fea..d3ded73ab88 100644 --- a/packages/extension-text-align/package.json +++ b/packages/extension-text-align/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-text-style/package.json b/packages/extension-text-style/package.json index fed6bace1d6..178a04aa232 100644 --- a/packages/extension-text-style/package.json +++ b/packages/extension-text-style/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-text/package.json b/packages/extension-text/package.json index b3833224fb1..86151c672c2 100644 --- a/packages/extension-text/package.json +++ b/packages/extension-text/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-typography/package.json b/packages/extension-typography/package.json index 55d58e9a38b..7e6eeb9678a 100644 --- a/packages/extension-typography/package.json +++ b/packages/extension-typography/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-underline/package.json b/packages/extension-underline/package.json index 4c73ac0cb6d..af001608694 100644 --- a/packages/extension-underline/package.json +++ b/packages/extension-underline/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/extension-youtube/package.json b/packages/extension-youtube/package.json index c8eb6c2a11d..4e6119ce339 100644 --- a/packages/extension-youtube/package.json +++ b/packages/extension-youtube/package.json @@ -28,10 +28,10 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0" }, "repository": { @@ -43,4 +43,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/html/package.json b/packages/html/package.json index e74573e6261..7f2cf85c907 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, @@ -48,4 +48,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/react/package.json b/packages/react/package.json index ed54fb944f4..bb30a12ea62 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -28,6 +28,10 @@ "src", "dist" ], + "dependencies": { + "@tiptap/extension-bubble-menu": "^2.0.0", + "@tiptap/extension-floating-menu": "^2.0.0" + }, "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0", @@ -42,10 +46,6 @@ "react": "^17.0.0 || ^18.0.0", "react-dom": "^17.0.0 || ^18.0.0" }, - "dependencies": { - "@tiptap/extension-bubble-menu": "^2.0.0", - "@tiptap/extension-floating-menu": "^2.0.0" - }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", @@ -56,4 +56,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/starter-kit/package.json b/packages/starter-kit/package.json index f7b5941b0b3..450f8db7b7a 100644 --- a/packages/starter-kit/package.json +++ b/packages/starter-kit/package.json @@ -58,4 +58,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/suggestion/package.json b/packages/suggestion/package.json index afccff7155c..79764bd617a 100644 --- a/packages/suggestion/package.json +++ b/packages/suggestion/package.json @@ -28,11 +28,11 @@ "src", "dist" ], - "peerDependencies": { + "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, - "devDependencies": { + "peerDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0" }, @@ -45,4 +45,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/vue-2/package.json b/packages/vue-2/package.json index 676e94c0383..cc33cda963e 100644 --- a/packages/vue-2/package.json +++ b/packages/vue-2/package.json @@ -28,6 +28,10 @@ "src", "dist" ], + "dependencies": { + "@tiptap/extension-bubble-menu": "^2.0.0", + "@tiptap/extension-floating-menu": "^2.0.0" + }, "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0", @@ -38,10 +42,6 @@ "@tiptap/pm": "^2.0.0", "vue": "^2.6.0" }, - "dependencies": { - "@tiptap/extension-bubble-menu": "^2.0.0", - "@tiptap/extension-floating-menu": "^2.0.0" - }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", @@ -52,4 +52,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +} diff --git a/packages/vue-3/package.json b/packages/vue-3/package.json index e0eb4e16b39..39f463ae762 100644 --- a/packages/vue-3/package.json +++ b/packages/vue-3/package.json @@ -28,6 +28,10 @@ "src", "dist" ], + "dependencies": { + "@tiptap/extension-bubble-menu": "^2.0.0", + "@tiptap/extension-floating-menu": "^2.0.0" + }, "devDependencies": { "@tiptap/core": "^2.0.0", "@tiptap/pm": "^2.0.0", @@ -38,10 +42,6 @@ "@tiptap/pm": "^2.0.0", "vue": "^3.0.0" }, - "dependencies": { - "@tiptap/extension-bubble-menu": "^2.0.0", - "@tiptap/extension-floating-menu": "^2.0.0" - }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", @@ -52,4 +52,4 @@ "clean": "rm -rf dist", "build": "npm run clean && rollup -c" } -} \ No newline at end of file +}