diff --git a/astro.config.mjs b/astro.config.mjs index 5389e024..6c69db86 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -46,14 +46,28 @@ export default defineConfig({ editLink: { baseUrl: 'https://github.com/cachyos/wiki/edit/next/', }, - social: { - github: 'https://github.com/cachyos', - twitter: 'https://twitter.com/cachyos', - telegram: 'https://t.me/+oR-kWT47vRdmMDli', - discord: 'https://discord.gg/cachyos-862292009423470592', - //reddit: 'https://www.reddit.com/r/cachyos', - //patreon: 'https://www.patreon.com/CachyOS' - }, + social: [ + { + icon: 'github', + label: 'GitHub', + href: 'https://github.com/cachyos', + }, + { + icon: 'twitter', + label: 'Twitter', + href: 'https://twitter.com/cachyos', + }, + { + icon: 'telegram', + label: 'Telegram', + href: 'https://t.me/+oR-kWT47vRdmMDli', + }, + { + icon: 'discord', + label: 'Discord', + href: 'https://discord.gg/cachyos-862292009423470592', + }, + ], head: [ { tag: 'meta', diff --git a/bun.lockb b/bun.lockb index acd60526..1ae1235b 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 596c5407..d2af6b66 100644 --- a/package.json +++ b/package.json @@ -12,15 +12,15 @@ "astro": "astro" }, "dependencies": { - "@astrojs/react": "^4.1.5", - "@astrojs/starlight": "^0.31.1", - "@astrojs/starlight-tailwind": "^3.0.0", + "@astrojs/react": "^4.2.3", + "@astrojs/starlight": "^0.33.0", + "@astrojs/starlight-tailwind": "^3.0.1", "@astrojs/tailwind": "^5.1.4", - "@types/react": "^19.0.7", - "@types/react-dom": "^19.0.3", - "astro": "^5.1.7", - "react": "^19.0.0", - "react-dom": "^19.0.0", + "@types/react": "^19.1.0", + "@types/react-dom": "^19.1.1", + "astro": "^5.6.1", + "react": "^19.1.0", + "react-dom": "^19.1.0", "react-image-previewer": "^1.1.6", "sharp": "^0.33.5", "tailwindcss": "^3.4.17" @@ -41,8 +41,5 @@ "esbuild", "sharp", "styled-components" - ], - "patchedDependencies": { - "@astrojs/starlight@0.31.1": "patches/@astrojs%2Fstarlight@0.31.1.patch" - } + ] } diff --git a/patches/@astrojs%2Fstarlight@0.31.1.patch b/patches/@astrojs%2Fstarlight@0.31.1.patch deleted file mode 100644 index 90c835a2..00000000 --- a/patches/@astrojs%2Fstarlight@0.31.1.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/integrations/expressive-code/theming.ts b/integrations/expressive-code/theming.ts -index e207aac3895cf5dd41dcef13bed2b1345b1e18ac..19121a26ea7c2bc6088e6748e30e946587761679 100644 ---- a/integrations/expressive-code/theming.ts -+++ b/integrations/expressive-code/theming.ts -@@ -22,7 +22,7 @@ export function preprocessThemes( - // If the current entry is the name of a bundled theme, load it - if (theme === 'starlight-dark' || theme === 'starlight-light') { - const bundledTheme = theme === 'starlight-dark' ? nightOwlDark : nightOwlLight; -- return customizeBundledTheme(ExpressiveCodeTheme.fromJSONString(bundledTheme)); -+ return customizeBundledTheme(ExpressiveCodeTheme.fromJSONString(JSON.stringify(bundledTheme))); - } - // Otherwise, just pass it through - return theme;