Skip to content

Commit fc7621e

Browse files
authored
Update apps/roam overrides to react 18 (#330)
1 parent d1f06c2 commit fc7621e

File tree

3 files changed

+33
-128
lines changed

3 files changed

+33
-128
lines changed

apps/roam/package.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@repo/types": "*",
3434
"@supabase/auth-js": "^2.71.1",
3535
"@supabase/supabase-js": "^2.52.0",
36-
"@tldraw/tldraw": "^2.0.0-alpha.12",
36+
"@tldraw/tldraw": "2.0.0-canary.ffda4cfb",
3737
"@vercel/blob": "^0.27.0",
3838
"contrast-color": "^1.0.1",
3939
"cytoscape-navigator": "^2.0.1",
@@ -43,13 +43,7 @@
4343
"react-draggable": "^4.4.5",
4444
"react-in-viewport": "^1.0.0-alpha.20",
4545
"react-vertical-timeline-component": "^3.5.2",
46-
"roamjs-components": "^0.85.1",
46+
"roamjs-components": "^0.85.3",
4747
"signia-react": "^0.1.1"
48-
},
49-
"overrides": {
50-
"@tldraw/tldraw": {
51-
"react": "^17.0.2",
52-
"react-dom": "^17.0.2"
53-
}
5448
}
5549
}

package-lock.json

Lines changed: 12 additions & 120 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,24 @@
3131
},
3232
"dependencies": {
3333
"posthog-js": "^1.203.1"
34+
},
35+
"//": "Roam Research still uses React 18",
36+
"overrides": {
37+
"@blueprintjs/core": {
38+
"react": "18.2.0",
39+
"react-dom": "18.2.0"
40+
},
41+
"@blueprintjs/datetime": {
42+
"react": "18.2.0",
43+
"react-dom": "18.2.0"
44+
},
45+
"@blueprintjs/select": {
46+
"react": "18.2.0",
47+
"react-dom": "18.2.0"
48+
},
49+
"roamjs-components": {
50+
"react": "18.2.0",
51+
"react-dom": "18.2.0"
52+
}
3453
}
3554
}

0 commit comments

Comments
 (0)