From f408eb305588252e70b7ad202fc3ea1697723c07 Mon Sep 17 00:00:00 2001 From: Palanikannan1437 <73993394+Palanikannan1437@users.noreply.github.com> Date: Tue, 3 Oct 2023 10:01:10 +0530 Subject: [PATCH] fixed dependencies in editor package --- packages/editor/core/package.json | 24 ++++++------------- packages/editor/lite-text-editor/package.json | 16 ++++++------- packages/editor/rich-text-editor/package.json | 11 +++++---- 3 files changed, 20 insertions(+), 31 deletions(-) diff --git a/packages/editor/core/package.json b/packages/editor/core/package.json index 9cf27203c..78bf59db7 100644 --- a/packages/editor/core/package.json +++ b/packages/editor/core/package.json @@ -1,7 +1,7 @@ { "name": "@plane/editor-core", "version": "0.0.1", - "description": "Rich Text Editor that powers Plane", + "description": "Core Editor that powers Plane", "main": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.mts", @@ -21,19 +21,17 @@ "check-types": "tsc --noEmit" }, "peerDependencies": { - "react": "^18.2.0" + "react": "^18.2.0", + "react-dom": "18.2.0", + "next": "12.3.2", + "next-themes": "^0.2.1" }, "dependencies": { "@blueprintjs/popover2": "^2.0.10", - "@radix-ui/react-slot": "^1.0.2", "@tiptap/core": "^2.1.7", - "@tiptap/extension-code-block-lowlight": "^2.0.4", "@tiptap/extension-color": "^2.1.11", - "@tiptap/extension-highlight": "^2.1.7", - "@tiptap/extension-horizontal-rule": "^2.1.7", "@tiptap/extension-image": "^2.1.7", "@tiptap/extension-link": "^2.1.7", - "@tiptap/extension-placeholder": "2.0.3", "@tiptap/extension-table": "^2.1.6", "@tiptap/extension-table-cell": "^2.1.6", "@tiptap/extension-table-header": "^2.1.6", @@ -45,21 +43,15 @@ "@tiptap/pm": "^2.1.7", "@tiptap/react": "^2.1.7", "@tiptap/starter-kit": "^2.1.10", - "@tiptap/suggestion": "^2.1.7", - "@types/node": "18.15.3", - "@types/react": "18.0.28", + "@types/react": "^18.2.5", "@types/react-dom": "18.0.11", + "@types/node": "18.15.3", "class-variance-authority": "^0.7.0", "clsx": "^1.2.1", "eslint": "8.36.0", "eslint-config-next": "13.2.4", "eventsource-parser": "^0.1.0", - "lowlight": "^2.9.0", "lucide-react": "^0.244.0", - "next": "12.3.2", - "next-themes": "^0.2.1", - "react": "18.2.0", - "react-dom": "18.2.0", "react-markdown": "^8.0.7", "tailwind-merge": "^1.14.0", "tippy.js": "^6.3.7", @@ -67,10 +59,8 @@ "use-debounce": "^9.0.4" }, "devDependencies": { - "@types/react": "^18.2.5", "eslint": "^7.32.0", "postcss": "^8.4.29", - "react": "^18.2.0", "tailwind-config-custom": "*", "tsconfig": "*", "tsup": "^7.2.0", diff --git a/packages/editor/lite-text-editor/package.json b/packages/editor/lite-text-editor/package.json index f2805da99..1f0321e59 100644 --- a/packages/editor/lite-text-editor/package.json +++ b/packages/editor/lite-text-editor/package.json @@ -1,7 +1,7 @@ { "name": "@plane/lite-text-editor", "version": "0.0.1", - "description": "Rich Text Editor that powers Plane", + "description": "Package that powers Plane's Comment Editor", "main": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.mts", @@ -21,11 +21,14 @@ "check-types": "tsc --noEmit" }, "peerDependencies": { - "react": "^18.2.0" + "next": "12.3.2", + "next-themes": "^0.2.1", + "react": "^18.2.0", + "react-dom": "18.2.0" }, "dependencies": { + "@types/react": "^18.2.5", "@types/node": "18.15.3", - "@types/react": "18.0.28", "@types/react-dom": "18.0.11", "class-variance-authority": "^0.7.0", "clsx": "^1.2.1", @@ -34,10 +37,7 @@ "eventsource-parser": "^0.1.0", "lowlight": "^2.9.0", "lucide-react": "^0.244.0", - "next": "12.3.2", - "next-themes": "^0.2.1", - "react": "18.2.0", - "react-dom": "18.2.0", + "react-markdown": "^8.0.7", "tailwind-merge": "^1.14.0", "tippy.js": "^6.3.7", @@ -46,10 +46,8 @@ "@plane/editor-core": "*" }, "devDependencies": { - "@types/react": "^18.2.5", "eslint": "^7.32.0", "postcss": "^8.4.29", - "react": "^18.2.0", "tailwind-config-custom": "*", "tsconfig": "*", "tsup": "^7.2.0", diff --git a/packages/editor/rich-text-editor/package.json b/packages/editor/rich-text-editor/package.json index 2c7d4ff4f..a5b2538f9 100644 --- a/packages/editor/rich-text-editor/package.json +++ b/packages/editor/rich-text-editor/package.json @@ -21,7 +21,10 @@ "check-types": "tsc --noEmit" }, "peerDependencies": { - "react": "^18.2.0" + "next": "12.3.2", + "next-themes": "^0.2.1", + "react": "^18.2.0", + "react-dom": "18.2.0" }, "dependencies": { "@plane/editor-core": "*", @@ -30,13 +33,11 @@ "@tiptap/extension-horizontal-rule": "^2.1.11", "@tiptap/extension-placeholder": "^2.1.11", "class-variance-authority": "^0.7.0", + "@tiptap/suggestion": "^2.1.7", "clsx": "^1.2.1", "highlight.js": "^11.8.0", "lowlight": "^3.0.0", - "lucide-react": "^0.244.0", - "next": "12.3.2", - "react": "18.2.0", - "react-dom": "18.2.0" + "lucide-react": "^0.244.0" }, "devDependencies": { "@types/node": "18.15.3",