Skip to content

Commit 67db30b

Browse files
authored
Merge pull request #4784 from udecode/fix/react-compiler-runtime
2 parents d3eb0cb + 045a128 commit 67db30b

File tree

52 files changed

+308
-123
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+308
-123
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
"@platejs/ai": patch
3+
"@platejs/autoformat": patch
4+
"@platejs/basic-nodes": patch
5+
"@platejs/basic-styles": patch
6+
"@platejs/callout": patch
7+
"@platejs/caption": patch
8+
"@platejs/code-block": patch
9+
"@platejs/combobox": patch
10+
"@platejs/comment": patch
11+
"@platejs/core": patch
12+
"@platejs/csv": patch
13+
"@platejs/cursor": patch
14+
"@platejs/date": patch
15+
"@platejs/diff": patch
16+
"@platejs/dnd": patch
17+
"@platejs/docx": patch
18+
"@platejs/emoji": patch
19+
"@platejs/excalidraw": patch
20+
"@platejs/find-replace": patch
21+
"@platejs/floating": patch
22+
"@platejs/indent": patch
23+
"@platejs/juice": patch
24+
"@platejs/layout": patch
25+
"@platejs/link": patch
26+
"@platejs/list": patch
27+
"@platejs/list-classic": patch
28+
"@platejs/markdown": patch
29+
"@platejs/math": patch
30+
"@platejs/media": patch
31+
"@platejs/mention": patch
32+
"@platejs/playwright": patch
33+
"@platejs/resizable": patch
34+
"@platejs/selection": patch
35+
"@platejs/slash-command": patch
36+
"@platejs/suggestion": patch
37+
"@platejs/tabbable": patch
38+
"@platejs/table": patch
39+
"@platejs/tag": patch
40+
"@platejs/toc": patch
41+
"@platejs/toggle": patch
42+
"@platejs/utils": patch
43+
"@platejs/yjs": patch
44+
"@udecode/cmdk": patch
45+
"@udecode/cn": patch
46+
"@udecode/react-hotkeys": patch
47+
"@udecode/react-utils": patch
48+
"platejs": patch
49+
---
50+
51+
- Fixed "Cannot find module 'react/compiler-runtime'" error for React 18 users

apps/www/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"@faker-js/faker": "9.8.0",
5050
"@hocuspocus/provider": "2.15.2",
5151
"@hookform/resolvers": "5.1.1",
52-
"@next/third-parties": "16.0.3",
52+
"@next/third-parties": "16.0.10",
5353
"@platejs/ai": "workspace:^",
5454
"@platejs/autoformat": "workspace:^",
5555
"@platejs/basic-nodes": "workspace:^",
@@ -135,19 +135,19 @@
135135
"lodash": "4.17.21",
136136
"lowlight": "3.3.0",
137137
"lucide-react": "0.514.0",
138-
"next": "16.0.8",
138+
"next": "16.0.10",
139139
"next-contentlayer2": "0.4.6",
140140
"next-themes": "0.4.6",
141141
"node-fetch": "3.3.2",
142142
"nuqs": "2.4.3",
143143
"pdf-lib": "1.17.1",
144144
"platejs": "workspace:^",
145145
"prismjs": "1.30.0",
146-
"react": "19.2.1",
146+
"react": "19.2.3",
147147
"react-day-picker": "8.10.1",
148148
"react-dnd": "16.0.1",
149149
"react-dnd-html5-backend": "16.0.1",
150-
"react-dom": "19.2.1",
150+
"react-dom": "19.2.3",
151151
"react-hook-form": "7.57.0",
152152
"react-lite-youtube-embed": "2.5.1",
153153
"react-markdown": "10.1.0",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@
115115
"openai": "5.3.0",
116116
"patch-package": "8.0.0",
117117
"prompts": "2.4.2",
118-
"react": "19.2.1",
118+
"react": "19.2.3",
119119
"react-dnd-test-backend": "16.0.1",
120-
"react-dom": "19.2.1",
120+
"react-dom": "19.2.3",
121121
"rimraf": "6.0.1",
122122
"slate-test-utils": "1.3.2",
123123
"tailwindcss": "4.1.8",

packages/ai/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
"@platejs/selection": "52.0.1",
4545
"@platejs/suggestion": "52.0.1",
4646
"fastest-levenshtein": "1.0.16",
47-
"lodash": "^4.17.21"
47+
"lodash": "^4.17.21",
48+
"react-compiler-runtime": "^1.0.0"
4849
},
4950
"devDependencies": {
5051
"@ai-sdk/react": "2.0.28",

packages/autoformat/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"typecheck": "yarn p:typecheck"
4040
},
4141
"dependencies": {
42-
"lodash": "^4.17.21"
42+
"lodash": "^4.17.21",
43+
"react-compiler-runtime": "^1.0.0"
4344
},
4445
"devDependencies": {
4546
"platejs": "workspace:^"

packages/basic-nodes/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,8 @@
5151
"access": "public"
5252
},
5353
"type": "module",
54-
"module": "./dist/index.js"
54+
"module": "./dist/index.js",
55+
"dependencies": {
56+
"react-compiler-runtime": "^1.0.0"
57+
}
5558
}

packages/basic-styles/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,8 @@
5151
"access": "public"
5252
},
5353
"type": "module",
54-
"module": "./dist/index.js"
54+
"module": "./dist/index.js",
55+
"dependencies": {
56+
"react-compiler-runtime": "^1.0.0"
57+
}
5558
}

packages/callout/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,8 @@
5151
"access": "public"
5252
},
5353
"type": "module",
54-
"module": "./dist/index.js"
54+
"module": "./dist/index.js",
55+
"dependencies": {
56+
"react-compiler-runtime": "^1.0.0"
57+
}
5558
}

packages/caption/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"typecheck": "yarn p:typecheck"
4040
},
4141
"dependencies": {
42+
"react-compiler-runtime": "^1.0.0",
4243
"react-textarea-autosize": "^8.5.9"
4344
},
4445
"devDependencies": {

packages/code-block/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,8 @@
5252
"access": "public"
5353
},
5454
"type": "module",
55-
"module": "./dist/index.js"
55+
"module": "./dist/index.js",
56+
"dependencies": {
57+
"react-compiler-runtime": "^1.0.0"
58+
}
5659
}

0 commit comments

Comments
 (0)