Skip to content

Commit 94ac2af

Browse files
committed
Update javascript dependencies. Note that starlight does not yet support astrojs v5.
1 parent 99e619c commit 94ac2af

File tree

6 files changed

+552
-336
lines changed

6 files changed

+552
-336
lines changed

examples/blog/web/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@astrojs/tailwind": "^5.1.3",
1717
"@nanostores/persistent": "^0.10.2",
1818
"@nanostores/solid": "^0.5.0",
19-
"astro": "^4.16.17",
19+
"astro": "^5.0.3",
2020
"astro-icon": "^1.1.4",
2121
"nanostores": "^0.11.3",
2222
"solid-icons": "^1.1.0",
@@ -25,7 +25,7 @@
2525
"trailbase": "^0.1.2"
2626
},
2727
"devDependencies": {
28-
"@astrojs/solid-js": "^4.4.4",
28+
"@astrojs/solid-js": "^5.0.0",
2929
"@iconify-json/tabler": "^1.2.10",
3030
"@tailwindcss/typography": "^0.5.15",
3131
"@types/dateformat": "^5.0.2",

examples/blog/web/src/layouts/Base.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import { ViewTransitions } from "astro:transitions";
2+
import { ClientRouter } from "astro:transitions";
33
import Header from "../components/general/Header.astro";
44
import Footer from "../components/general/Footer.astro";
55
@@ -41,7 +41,7 @@ const description = "TrailBase Example Blog Application";
4141

4242
<title>{title}</title>
4343

44-
<ViewTransitions />
44+
<ClientRouter />
4545
</head>
4646

4747
<body

examples/coffeesearch/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
"preview": "vite preview"
1212
},
1313
"dependencies": {
14-
"react": "^18.3.1",
15-
"react-dom": "^18.3.1"
14+
"react": "^19.0.0",
15+
"react-dom": "^19.0.0"
1616
},
1717
"devDependencies": {
1818
"@eslint/js": "^9.16.0",
19-
"@types/react": "^18.3.14",
20-
"@types/react-dom": "^18.3.2",
19+
"@types/react": "^19.0.1",
20+
"@types/react-dom": "^19.0.1",
2121
"@vitejs/plugin-react": "^4.3.4",
2222
"eslint": "^9.16.0",
2323
"eslint-plugin-react-hooks": "^5.1.0",

0 commit comments

Comments
 (0)