Skip to content

Commit 18b0c60

Browse files
committed
upgrading starlight
1 parent 0dcf61b commit 18b0c60

5 files changed

Lines changed: 893 additions & 616 deletions

File tree

astro.config.ts

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,29 @@ export default defineConfig({
4545
light: './src/assets/logo-light.png',
4646
dark: './src/assets/logo-dark.png',
4747
},
48-
social: {
49-
github: 'https://github.com/vyuh-tech/vyuh',
50-
'x.com': 'https://x.com/vyuh_tech',
51-
discord: 'https://discord.gg/b49sbjqszG',
52-
youtube: 'https://youtube.com/@vyuh_tech',
53-
linkedin: 'https://www.linkedin.com/company/vyuh-tech',
54-
},
48+
social: [
49+
{
50+
icon: 'github',
51+
label: 'Github',
52+
href: 'https://github.com/vyuh-tech/vyuh',
53+
},
54+
{ icon: 'x.com', label: 'X/Twitter', href: 'https://x.com/vyuh_tech' },
55+
{
56+
icon: 'discord',
57+
label: 'Discord',
58+
href: 'https://discord.gg/b49sbjqszG',
59+
},
60+
{
61+
icon: 'youtube',
62+
label: 'YouTube',
63+
href: 'https://youtube.com/@vyuh_tech',
64+
},
65+
{
66+
icon: 'linkedin',
67+
label: 'LinkedIn',
68+
href: 'https://www.linkedin.com/company/vyuh-tech',
69+
},
70+
],
5571
// Add Open Graph images.
5672
head: [
5773
{
@@ -83,7 +99,7 @@ export default defineConfig({
8399
Footer: './src/components/starlight/Footer.astro',
84100
SkipLink: './src/components/starlight/SkipLink.astro',
85101
},
86-
customCss: ['./src/tailwind.css'],
102+
customCss: ['./src/styles/global.css'],
87103
expressiveCode: {
88104
themes: ['dracula'],
89105
plugins: [pluginLineNumbers()],
@@ -286,7 +302,11 @@ export default defineConfig({
286302
},
287303
{
288304
label: 'Examples',
289-
items: ['react/examples', 'react/examples/marketing', 'react/examples/blog'],
305+
items: [
306+
'react/examples',
307+
'react/examples/marketing',
308+
'react/examples/blog',
309+
],
290310
},
291311
],
292312
},

package.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,30 @@
1313
},
1414
"dependencies": {
1515
"@astrojs/check": "^0.9.4",
16-
"@astrojs/react": "^4.2.5",
17-
"@astrojs/starlight": "^0.32.6",
18-
"@astrojs/starlight-tailwind": "^3.0.1",
19-
"@expressive-code/plugin-line-numbers": "^0.40.2",
16+
"@astrojs/react": "^4.2.7",
17+
"@astrojs/starlight": "^0.34.2",
18+
"@astrojs/starlight-tailwind": "^4.0.1",
19+
"@expressive-code/plugin-line-numbers": "^0.41.2",
2020
"@iconify-json/mdi": "^1.2.3",
21-
"@tailwindcss/vite": "^4.1.4",
21+
"@tailwindcss/vite": "^4.1.5",
2222
"@types/react": "^19.1.2",
23-
"@types/react-dom": "^19.1.2",
24-
"astro": "^5.7.6",
23+
"@types/react-dom": "^19.1.3",
24+
"astro": "^5.7.10",
2525
"astro-embed": "^0.9.0",
2626
"astro-icon": "^1.1.5",
27-
"firebase-tools": "^14.2.1",
27+
"firebase-tools": "^14.2.2",
2828
"prettier": "^3.5.3",
2929
"react": "^19.1.0",
3030
"react-dom": "^19.1.0",
3131
"rehype-external-links": "^3.0.0",
32-
"sharp": "^0.33.5",
33-
"starlight-blog": "^0.19.0",
34-
"starlight-cooler-credit": "^0.3.1",
35-
"starlight-links-validator": "^0.15.1",
36-
"starlight-package-managers": "^0.10.0",
32+
"sharp": "^0.34.1",
33+
"starlight-blog": "^0.21.0",
34+
"starlight-cooler-credit": "^0.4.0",
35+
"starlight-links-validator": "^0.16.0",
36+
"starlight-package-managers": "^0.11.0",
3737
"starlight-showcases": "^0.3.0",
3838
"starlight-sidebar-topics": "^0.6.0",
39-
"tailwindcss": "^4.1.4",
39+
"tailwindcss": "^4.1.5",
4040
"typescript": "^5.8.3"
4141
},
4242
"pnpm": {
@@ -46,5 +46,6 @@
4646
"re2",
4747
"sharp"
4848
]
49-
}
49+
},
50+
"packageManager": "pnpm@10.10.0"
5051
}

0 commit comments

Comments
 (0)