Skip to content

Commit 541bad8

Browse files
matthewlipskinperez0111YousefED
authored
chore: Update React to v19 (#1837)
* Updated React to v19 * Removed debuggers * chore: explicitly set react versions * test: update snapshots since react 19 outputs html comments now * Re-added skipped server util tests * test: add back snap * chore: fix types * chore: use newer pnpm version --------- Co-authored-by: Nick the Sick <[email protected]> Co-authored-by: yousefed <[email protected]>
1 parent 7b725fc commit 541bad8

File tree

187 files changed

+2147
-2110
lines changed

Some content is hidden

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

187 files changed

+2147
-2110
lines changed

docs/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@blocknote/xl-pdf-exporter": "workspace:^",
2323
"@headlessui/react": "^1.7.18",
2424
"@heroicons/react": "^2.1.4",
25-
"@mantine/core": "^7.10.1",
25+
"@mantine/core": "^7.17.3",
2626
"@next/bundle-analyzer": "^14.1.0",
2727
"@polar-sh/better-auth": "^0.1",
2828
"@polar-sh/nextjs": "^0.3.23",
@@ -44,8 +44,8 @@
4444
"partykit": "^0.0.84",
4545
"pg": "8.15.5",
4646
"raw-loader": "^4.0.2",
47-
"react": "^18.3.1",
48-
"react-dom": "^18.3.1",
47+
"react": "^19.1.0",
48+
"react-dom": "^19.1.0",
4949
"react-github-btn": "^1.4.0",
5050
"react-icons": "^5.2.1",
5151
"y-partykit": "^0.0.25",
@@ -57,8 +57,8 @@
5757
"@types/better-sqlite3": "7.6.13",
5858
"@types/node": "^20",
5959
"@types/pg": "8.11.14",
60-
"@types/react": "^18.0.25",
61-
"@types/react-dom": "^18.0.9",
60+
"@types/react": "^19.1.0",
61+
"@types/react-dom": "^19.1.0",
6262
"autoprefixer": "^10.0.1",
6363
"eslint": "^8",
6464
"eslint-config-next": "14.1.0",

examples/01-basic/01-minimal/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<html lang="en">
22
<head>
3-
<script>
4-
<!-- AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY -->
5-
</script>
63
<meta charset="UTF-8" />
74
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
85
<title>Basic Setup</title>
6+
<script>
7+
<!-- AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY -->
8+
</script>
99
</head>
1010
<body>
1111
<div id="root"></div>

examples/01-basic/01-minimal/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"@blocknote/ariakit": "latest",
1616
"@blocknote/mantine": "latest",
1717
"@blocknote/shadcn": "latest",
18-
"react": "^18.3.1",
19-
"react-dom": "^18.3.1"
18+
"react": "^19.1.0",
19+
"react-dom": "^19.1.0"
2020
},
2121
"devDependencies": {
22-
"@types/react": "^18.0.25",
23-
"@types/react-dom": "^18.0.9",
22+
"@types/react": "^19.1.0",
23+
"@types/react-dom": "^19.1.0",
2424
"@vitejs/plugin-react": "^4.3.1",
2525
"vite": "^5.3.4"
2626
}

examples/01-basic/02-block-objects/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<html lang="en">
22
<head>
3-
<script>
4-
<!-- AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY -->
5-
</script>
63
<meta charset="UTF-8" />
74
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
85
<title>Displaying Document JSON</title>
6+
<script>
7+
<!-- AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY -->
8+
</script>
99
</head>
1010
<body>
1111
<div id="root"></div>

examples/01-basic/02-block-objects/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"@blocknote/ariakit": "latest",
1616
"@blocknote/mantine": "latest",
1717
"@blocknote/shadcn": "latest",
18-
"react": "^18.3.1",
19-
"react-dom": "^18.3.1"
18+
"react": "^19.1.0",
19+
"react-dom": "^19.1.0"
2020
},
2121
"devDependencies": {
22-
"@types/react": "^18.0.25",
23-
"@types/react-dom": "^18.0.9",
22+
"@types/react": "^19.1.0",
23+
"@types/react-dom": "^19.1.0",
2424
"@vitejs/plugin-react": "^4.3.1",
2525
"vite": "^5.3.4"
2626
}

examples/01-basic/03-multi-column/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<html lang="en">
22
<head>
3-
<script>
4-
<!-- AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY -->
5-
</script>
63
<meta charset="UTF-8" />
74
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
85
<title>Multi-Column Blocks</title>
6+
<script>
7+
<!-- AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY -->
8+
</script>
99
</head>
1010
<body>
1111
<div id="root"></div>

examples/01-basic/03-multi-column/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
"@blocknote/ariakit": "latest",
1616
"@blocknote/mantine": "latest",
1717
"@blocknote/shadcn": "latest",
18-
"react": "^18.3.1",
19-
"react-dom": "^18.3.1",
18+
"react": "^19.1.0",
19+
"react-dom": "^19.1.0",
2020
"@blocknote/xl-multi-column": "latest"
2121
},
2222
"devDependencies": {
23-
"@types/react": "^18.0.25",
24-
"@types/react-dom": "^18.0.9",
23+
"@types/react": "^19.1.0",
24+
"@types/react-dom": "^19.1.0",
2525
"@vitejs/plugin-react": "^4.3.1",
2626
"vite": "^5.3.4"
2727
}

examples/01-basic/04-default-blocks/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<html lang="en">
22
<head>
3-
<script>
4-
<!-- AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY -->
5-
</script>
63
<meta charset="UTF-8" />
74
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
85
<title>Default Schema Showcase</title>
6+
<script>
7+
<!-- AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY -->
8+
</script>
99
</head>
1010
<body>
1111
<div id="root"></div>

examples/01-basic/04-default-blocks/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"@blocknote/ariakit": "latest",
1616
"@blocknote/mantine": "latest",
1717
"@blocknote/shadcn": "latest",
18-
"react": "^18.3.1",
19-
"react-dom": "^18.3.1"
18+
"react": "^19.1.0",
19+
"react-dom": "^19.1.0"
2020
},
2121
"devDependencies": {
22-
"@types/react": "^18.0.25",
23-
"@types/react-dom": "^18.0.9",
22+
"@types/react": "^19.1.0",
23+
"@types/react-dom": "^19.1.0",
2424
"@vitejs/plugin-react": "^4.3.1",
2525
"vite": "^5.3.4"
2626
}

examples/01-basic/05-removing-default-blocks/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<html lang="en">
22
<head>
3-
<script>
4-
<!-- AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY -->
5-
</script>
63
<meta charset="UTF-8" />
74
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
85
<title>Removing Default Blocks from Schema</title>
6+
<script>
7+
<!-- AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY -->
8+
</script>
99
</head>
1010
<body>
1111
<div id="root"></div>

0 commit comments

Comments
 (0)