Skip to content

Commit 0388133

Browse files
chore: bump repo to react 19 (#2077)
1 parent d561625 commit 0388133

File tree

11 files changed

+2664
-2215
lines changed

11 files changed

+2664
-2215
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ build/
1717
public/build/
1818
dist/
1919
generated/
20+
.astro
2021

2122
# ENV FILES
2223
.env

cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@
8787
"prettier": "^3.5.3",
8888
"prettier-plugin-tailwindcss": "^0.6.11",
8989
"prisma": "^5.14.0",
90-
"react": "^18.3.0",
91-
"react-dom": "^18.3.0",
90+
"react": "^19.0.0",
91+
"react-dom": "^19.0.0",
9292
"superjson": "^2.2.1",
9393
"tailwindcss": "^4.0.15",
9494
"tsup": "^6.7.0",

cli/src/installers/dependencyVersionMap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const dependencyVersionMap = {
3939
"@biomejs/biome": "1.9.4",
4040

4141
// eslint / prettier
42-
prettier: "^3.3.2",
42+
prettier: "^3.5.3",
4343
"@eslint/eslintrc": "^3.3.1",
4444
"prettier-plugin-tailwindcss": "^0.6.11",
4545
eslint: "^9.23.0",

cli/template/base/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"dependencies": {
1414
"@t3-oss/env-nextjs": "^0.12.0",
1515
"next": "^15.2.3",
16-
"react": "^18.3.1",
17-
"react-dom": "^18.3.1",
16+
"react": "^19.0.0",
17+
"react-dom": "^19.0.0",
1818
"zod": "^3.24.2"
1919
},
2020
"devDependencies": {
2121
"@types/node": "^20.14.10",
22-
"@types/react": "^18.3.3",
23-
"@types/react-dom": "^18.3.0",
22+
"@types/react": "^19.0.0",
23+
"@types/react-dom": "^19.0.0",
2424
"typescript": "^5.8.2"
2525
}
2626
}

pnpm-lock.yaml

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

www/.npmrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

www/astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import mdx from "@astrojs/mdx";
22
import react from "@astrojs/react";
33
import sitemap from "@astrojs/sitemap";
4-
import vercel from "@astrojs/vercel/serverless";
4+
import vercel from "@astrojs/vercel";
55
import { defineConfig } from "astro/config";
66
import rehypeAutolinkHeadings from "rehype-autolink-headings";
77
import rehypeExternalLinks from "rehype-external-links";

www/package.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,47 +15,47 @@
1515
"astro": "astro"
1616
},
1717
"dependencies": {
18-
"@algolia/client-search": "^4.23.3",
19-
"@astrojs/mdx": "^3.0.1",
20-
"@astrojs/sitemap": "^3.1.5",
21-
"@astrojs/vercel": "^7.6.0",
22-
"@docsearch/css": "^3.3.4",
23-
"@docsearch/react": "^3.3.4",
24-
"@fontsource/inter": "^4.5.15",
25-
"@fontsource/jetbrains-mono": "^4.5.12",
26-
"@headlessui/react": "^1.7.14",
18+
"@algolia/client-search": "^5.21.0",
19+
"@astrojs/check": "^0.9.4",
20+
"@astrojs/mdx": "^4.2.1",
21+
"@astrojs/sitemap": "^3.3.0",
22+
"@astrojs/vercel": "^8.1.3",
23+
"@docsearch/css": "^3.9.0",
24+
"@docsearch/react": "^3.9.0",
25+
"@fontsource-variable/inter": "^5.2.5",
26+
"@headlessui/react": "^2.2.0",
2727
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
28-
"@resvg/resvg-js": "^2.4.1",
29-
"@stackblitz/sdk": "^1.9.0",
30-
"@vercel/analytics": "^1.0.1",
31-
"clsx": "^1.2.1",
32-
"embla-carousel": "^7.1.0",
33-
"embla-carousel-autoplay": "^7.1.0",
34-
"satori": "^0.8.1",
35-
"sharp": "^0.32.6",
28+
"@resvg/resvg-js": "^2.6.2",
29+
"@stackblitz/sdk": "^1.11.0",
30+
"@vercel/analytics": "^1.5.0",
31+
"clsx": "^2.1.1",
32+
"embla-carousel": "^8.5.2",
33+
"embla-carousel-autoplay": "^8.5.2",
34+
"satori": "^0.12.1",
35+
"sharp": "^0.33.5",
3636
"tailwind-scrollbar": "^3.0.0",
3737
"treeify": "^1.1.0",
38-
"unist-util-visit": "^4.1.2",
38+
"unist-util-visit": "^5.0.0",
3939
"zod": "^3.24.2"
4040
},
4141
"devDependencies": {
42-
"@astrojs/react": "^3.4.0",
43-
"@astrojs/tailwind": "^5.1.0",
42+
"@astrojs/react": "^4.2.1",
43+
"@astrojs/tailwind": "^6.0.1",
4444
"@types/node": "^20.14.10",
45-
"@types/react": "^18.3.3",
46-
"@types/react-dom": "^18.3.0",
45+
"@types/react": "^19.0.12",
46+
"@types/react-dom": "^19.0.4",
4747
"@types/react-typist": "^2.0.6",
4848
"@types/treeify": "^1.0.3",
49-
"astro": "^4.9.1",
49+
"astro": "^5.5.4",
5050
"prettier": "^3.5.3",
51-
"prettier-plugin-astro": "^0.14.0",
51+
"prettier-plugin-astro": "^0.14.1",
5252
"prettier-plugin-tailwindcss": "^0.6.11",
53-
"react": "^18.3.0",
54-
"react-dom": "^18.3.0",
53+
"react": "^19.0.0",
54+
"react-dom": "^19.0.0",
5555
"react-typist": "^2.0.5",
56-
"rehype-autolink-headings": "^6.1.1",
57-
"rehype-external-links": "^2.1.0",
58-
"rehype-slug": "^5.1.0",
56+
"rehype-autolink-headings": "^7.1.0",
57+
"rehype-external-links": "^3.0.0",
58+
"rehype-slug": "^6.0.0",
5959
"remark-code-titles": "^0.1.2",
6060
"tailwindcss": "npm:tailwindcss@^3",
6161
"typescript": "^5.8.2"

www/src/components/docs/avatarList.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import { Commit, fetchGithub } from "../../utils/fetchGithub";
2+
import { fetchGithub, type Commit } from "../../utils/fetchGithub";
33
44
// fetch all commits for just this page's path
55
export interface Props {

www/src/layouts/docs.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import * as CONFIG from "../config";
1212
1313
import "../styles/global.css";
1414
import "../styles/accessibility.css";
15-
import "@fontsource/inter/variable.css";
15+
import "@fontsource-variable/inter";
1616
1717
import JumpToContent from "../components/accessibility/jumpToContent.astro";
1818
import MoreMenu from "../components/navigation/moreMenu.astro";

0 commit comments

Comments
 (0)