Skip to content

Commit 3ebf43f

Browse files
committed
update all deps
1 parent 2564300 commit 3ebf43f

File tree

6 files changed

+2394
-2680
lines changed

6 files changed

+2394
-2680
lines changed

astro.config.mts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
import starlight from '@astrojs/starlight'
22
import { defineConfig } from 'astro/config'
3-
43
import react from '@astrojs/react'
5-
6-
import tailwind from '@astrojs/tailwind'
4+
import tailwindcss from '@tailwindcss/vite'
75

86
// https://astro.build/config
97
export default defineConfig({
108
srcDir: './astro',
119
site: 'https://www.ada-url.com',
1210
vite: {
11+
plugins: [tailwindcss()],
1312
build: {
1413
rollupOptions: {
1514
// For some reason, the build crashes without this
@@ -21,9 +20,9 @@ export default defineConfig({
2120
starlight({
2221
// https://starlight.astro.build/reference/configuration
2322
title: 'Ada URL',
24-
social: {
25-
github: 'https://github.com/ada-url/ada',
26-
},
23+
social: [
24+
{ icon: 'github', label: 'GitHub', href: 'https://github.com/ada-url/ada' },
25+
],
2726
sidebar: [
2827
{
2928
label: 'Getting Started',
@@ -86,7 +85,6 @@ export default defineConfig({
8685
replacesTitle: true,
8786
},
8887
customCss: [
89-
// Relative path to your custom CSS file
9088
'./astro/custom.css',
9189
],
9290
editLink: {
@@ -96,6 +94,5 @@ export default defineConfig({
9694
credits: false,
9795
}),
9896
react(),
99-
tailwind(),
10097
],
10198
})

astro/content.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineCollection } from 'astro:content'
2+
import { docsLoader } from '@astrojs/starlight/loaders'
3+
import { docsSchema } from '@astrojs/starlight/schema'
4+
5+
export const collections = {
6+
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
7+
}

package.json

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,29 @@
1010
"lint-fix": "biome check . --write"
1111
},
1212
"dependencies": {
13-
"@astrojs/react": "^3.6.2",
14-
"@astrojs/starlight": "^0.29.0",
15-
"@astrojs/tailwind": "^5.1.2",
16-
"@radix-ui/react-tabs": "^1.1.1",
17-
"@radix-ui/react-toast": "^1.2.2",
13+
"@astrojs/react": "^5.0.2",
14+
"@astrojs/starlight": "^0.38.2",
15+
"@astrojs/tailwind": "^6.0.2",
16+
"@radix-ui/react-tabs": "^1.1.13",
17+
"@radix-ui/react-toast": "^1.2.15",
1818
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",
19-
"@types/react": "18.2.24",
20-
"@types/react-dom": "18.2.8",
21-
"astro": "^4.16.10",
22-
"autoprefixer": "10.4.20",
23-
"chart.js": "^4.4.3",
24-
"lucide-react": "0.279.0",
25-
"postcss": "8.4.49",
26-
"react": "18.2.0",
27-
"react-dom": "18.2.0",
28-
"react-hook-form": "^7.45.4",
29-
"sharp": "^0.33.5",
30-
"tailwindcss": "3.4.14",
19+
"@tailwindcss/vite": "^4.2.2",
20+
"@types/react": "19.2.14",
21+
"@types/react-dom": "19.2.3",
22+
"astro": "^6.1.1",
23+
"autoprefixer": "10.4.27",
24+
"chart.js": "^4.5.1",
25+
"lucide-react": "1.7.0",
26+
"postcss": "8.5.8",
27+
"react": "19.2.4",
28+
"react-dom": "19.2.4",
29+
"react-hook-form": "^7.72.0",
30+
"sharp": "^0.34.5",
31+
"tailwindcss": "4.2.2",
3132
"tailwindcss-animate": "^1.0.7",
32-
"typescript": "5.6.3"
33+
"typescript": "6.0.2"
3334
},
3435
"devDependencies": {
35-
"@biomejs/biome": "^1.9.4"
36+
"@biomejs/biome": "^2.4.9"
3637
}
3738
}

0 commit comments

Comments
 (0)