Skip to content

Commit

Permalink
chore: upgrade to Astro 5 (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerTimonius authored Dec 9, 2024
1 parent 3b69b84 commit 322e7f5
Show file tree
Hide file tree
Showing 5 changed files with 400 additions and 500 deletions.
6 changes: 4 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import mdx from '@astrojs/mdx';

import { pluginErrorPreview } from './src/plugins/error-preview-plugin';
import { remarkReadingTime } from './src/plugins/remark-reading-time.mjs';
import vercel from '@astrojs/vercel/serverless';
import vercel from '@astrojs/vercel';
const catppuccinJsoncString = fs.readFileSync(
new URL('./theme.jsonc', import.meta.url),
'utf-8',
Expand All @@ -23,7 +23,9 @@ const synthwave = ExpressiveCodeTheme.fromJSONString(synthwaveJsoncString);

// https://astro.build/config
export default defineConfig({
output: 'hybrid',
prefetch: {
prefetchAll: true
},

redirects: {
'/blog/': '/posts/1',
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/markdown-remark": "^5.3.0",
"@astrojs/mdx": "^3.1.9",
"@astrojs/rss": "^4.0.9",
"@astrojs/svelte": "^6.0.2",
"@astrojs/tailwind": "^5.1.2",
"@astrojs/vercel": "^7.8.2",
"@astrojs/markdown-remark": "^6.0.0",
"@astrojs/mdx": "^4.0.1",
"@astrojs/rss": "^4.0.10",
"@astrojs/svelte": "^7.0.1",
"@astrojs/tailwind": "^5.1.3",
"@astrojs/vercel": "^8.0.0",
"@fontsource/fira-mono": "^5.1.0",
"@fontsource/monaspace-neon": "^5.1.0",
"@tailwindcss/typography": "^0.5.15",
"astro": "^4.16.16",
"astro": "^5.0.3",
"astro-expressive-code": "^0.38.3",
"classnames": "^2.5.1",
"dayjs": "^1.11.13",
Expand Down
Loading

0 comments on commit 322e7f5

Please sign in to comment.