reactjs-tiptap-editor 0.1.16 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,46 +1,70 @@
1
1
  {
2
2
  "name": "reactjs-tiptap-editor",
3
3
  "type": "module",
4
- "version": "0.1.16",
4
+ "version": "0.2.0",
5
+ "packageManager": "pnpm@8.15.9",
6
+ "description": "A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React",
7
+ "license": "MIT",
8
+ "homepage": "https://reactjs-tiptap-editor.vercel.app/",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/hunghg255/reactjs-tiptap-editor.git"
12
+ },
13
+ "bugs": "https://github.com/hunghg255/reactjs-tiptap-editor/issues",
14
+ "keywords": [
15
+ "react",
16
+ "tiptap",
17
+ "editor",
18
+ "wysiwyg",
19
+ "rich-text",
20
+ "reactjs-tiptap-editor",
21
+ "tiptap-editor",
22
+ "tiptap-react",
23
+ "tiptap-react-editor",
24
+ "tiptap-react-wysiwyg",
25
+ "tiptap-react-rich-text",
26
+ "tiptap-react-rc-editor",
27
+ "tiptap-react-rc-wysiwyg",
28
+ "tiptap-react-rc-rich-text"
29
+ ],
30
+ "sideEffects": false,
5
31
  "main": "./lib/index.cjs",
6
32
  "module": "./lib/index.js",
7
33
  "types": "./lib/index.d.ts",
8
- "description": "A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React",
9
- "packageManager": "pnpm@8.15.9",
10
34
  "exports": {
11
35
  ".": {
12
- "import": {
13
- "types": "./lib/index.d.ts",
14
- "default": "./lib/index.js"
15
- },
16
36
  "require": {
17
37
  "types": "./lib/index.d.cts",
18
38
  "default": "./lib/index.cjs"
39
+ },
40
+ "import": {
41
+ "types": "./lib/index.d.ts",
42
+ "default": "./lib/index.js"
19
43
  }
20
44
  },
21
45
  "./extension-bundle": {
22
- "import": {
23
- "types": "./lib/extension-bundle.d.ts",
24
- "default": "./lib/extension-bundle.js"
25
- },
26
46
  "require": {
27
47
  "types": "./lib/extension-bundle.d.cts",
28
48
  "default": "./lib/extension-bundle.cjs"
49
+ },
50
+ "import": {
51
+ "types": "./lib/extension-bundle.d.ts",
52
+ "default": "./lib/extension-bundle.js"
29
53
  }
30
54
  },
31
55
  "./locale-bundle": {
32
- "import": {
33
- "types": "./lib/locale-bundle.d.ts",
34
- "default": "./lib/locale-bundle.js"
35
- },
36
56
  "require": {
37
57
  "types": "./lib/locale-bundle.d.cts",
38
58
  "default": "./lib/locale-bundle.cjs"
59
+ },
60
+ "import": {
61
+ "types": "./lib/locale-bundle.d.ts",
62
+ "default": "./lib/locale-bundle.js"
39
63
  }
40
64
  },
41
65
  "./style.css": {
42
- "import": "./lib/style.css",
43
- "require": "./lib/style.css"
66
+ "require": "./lib/style.css",
67
+ "import": "./lib/style.css"
44
68
  },
45
69
  "./lib/*": "./lib/*",
46
70
  "./package.json": "./package.json",
@@ -60,8 +84,6 @@
60
84
  ]
61
85
  }
62
86
  },
63
- "sideEffects": false,
64
- "license": "MIT",
65
87
  "files": [
66
88
  "lib",
67
89
  "package.json",
@@ -92,7 +114,7 @@
92
114
  "gen-contributors": "contributorkit"
93
115
  },
94
116
  "dependencies": {
95
- "@excalidraw/excalidraw": "^0.17.6",
117
+ "@excalidraw/excalidraw": "^0.17.0",
96
118
  "@radix-ui/react-checkbox": "^1.1.4",
97
119
  "@radix-ui/react-dialog": "^1.1.6",
98
120
  "@radix-ui/react-dropdown-menu": "^2.1.6",
@@ -171,23 +193,25 @@
171
193
  "svg64": "^2.0.0",
172
194
  "tippy.js": "^6.3.7"
173
195
  },
196
+ "peerDependencies": {
197
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0",
198
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0"
199
+ },
174
200
  "devDependencies": {
175
- "@antfu/eslint-config": "^2.27.3",
176
201
  "@eslint-react/eslint-plugin": "^1.30.2",
177
- "@total-typescript/ts-reset": "^0.5.1",
202
+ "@hunghg255/eslint-config": "^0.0.16",
178
203
  "@types/deep-equal": "^1.0.4",
179
204
  "@types/katex": "^0.16.7",
180
205
  "@types/lodash-es": "^4.17.12",
181
206
  "@types/node": "^22.13.9",
182
- "@types/react": "^18.3.18",
183
- "@types/react-dom": "^18.3.5",
207
+ "@types/react": "^19.0.10",
208
+ "@types/react-dom": "^19.0.4",
184
209
  "@vitejs/plugin-react": "^4.3.4",
185
210
  "autoprefixer": "^10.4.20",
186
211
  "bumpp": "^9.11.1",
187
212
  "contributorkit": "^0.0.4",
188
- "eslint": "^8.57.1",
189
- "eslint-plugin-react-hooks": "^4.6.2",
190
- "eslint-plugin-react-refresh": "^0.4.19",
213
+ "eslint": "^9.20.1",
214
+ "eslint-plugin-tailwindcss": "^3.18.0",
191
215
  "esno": "^4.8.0",
192
216
  "execa": "^9.5.2",
193
217
  "git-scm-hooks": "^0.0.11",
@@ -197,15 +221,15 @@
197
221
  "postcss": "^8.5.3",
198
222
  "postcss-replace": "^2.0.1",
199
223
  "postcss-scss": "^4.0.9",
200
- "react": "^18.3.1",
201
- "react-dom": "^18.3.1",
224
+ "react": "^19.0.0",
225
+ "react-dom": "^19.0.0",
202
226
  "sass": "^1.85.1",
203
227
  "tailwind-merge": "^2.6.0",
204
228
  "tailwindcss": "^3.4.17",
205
229
  "tailwindcss-animate": "^1.0.7",
206
- "typescript": "^5.8.2",
230
+ "typescript": "^5.7.3",
207
231
  "verify-commit-msg": "^0.0.14",
208
- "vite": "^5.4.14",
232
+ "vite": "^6.2.1",
209
233
  "vite-plugin-dts": "^4.5.3"
210
234
  },
211
235
  "browserslist": [
@@ -217,31 +241,5 @@
217
241
  "git-hooks": {
218
242
  "pre-commit": "npm run lint:fix",
219
243
  "commit-msg": "npm run verify-commit"
220
- },
221
- "peerDependencies": {
222
- "react": ">= 17.0.0",
223
- "react-dom": ">= 17.0.0"
224
- },
225
- "keywords": [
226
- "react",
227
- "tiptap",
228
- "editor",
229
- "wysiwyg",
230
- "rich-text",
231
- "reactjs-tiptap-editor",
232
- "tiptap-editor",
233
- "tiptap-react",
234
- "tiptap-react-editor",
235
- "tiptap-react-wysiwyg",
236
- "tiptap-react-rich-text",
237
- "tiptap-react-rc-editor",
238
- "tiptap-react-rc-wysiwyg",
239
- "tiptap-react-rc-rich-text"
240
- ],
241
- "homepage": "https://reactjs-tiptap-editor.vercel.app/",
242
- "repository": {
243
- "type": "git",
244
- "url": "git+https://github.com/hunghg255/reactjs-tiptap-editor.git"
245
- },
246
- "bugs": "https://github.com/hunghg255/reactjs-tiptap-editor/issues"
244
+ }
247
245
  }