Skip to content

Commit

Permalink
Upgrade Astro to v5 (#1347)
Browse files Browse the repository at this point in the history
* Upgrade to v5

* Update Astro to 5.0.2

* `pnpm dedupe`

* Update Expressive Code to latest

* Update dependencies

* `pnpm dedupe`
  • Loading branch information
delucis authored Dec 4, 2024
1 parent 04f27f2 commit 5b89f1d
Show file tree
Hide file tree
Showing 3 changed files with 1,224 additions and 1,083 deletions.
4 changes: 2 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @ts-check

import db from '@astrojs/db';
import mdx from '@astrojs/mdx';
import netlify from '@astrojs/netlify';
Expand Down Expand Up @@ -52,10 +54,8 @@ export default defineConfig({
noExternal: ['smartypants'],
},
},
output: 'hybrid',
adapter: netlify({ imageCDN: false }),
experimental: {
contentIntellisense: true,
contentLayer: true,
},
});
45 changes: 22 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,50 +22,49 @@
},
"dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.6",
"@astrojs/check": "^0.9.3",
"@astrojs/db": "^0.11.4",
"@astrojs/mdx": "^3.1.3",
"@astrojs/netlify": "^5.5.1",
"@astrojs/rss": "^4.0.7",
"@astrojs/check": "^0.9.4",
"@astrojs/db": "^0.14.3",
"@astrojs/mdx": "^4.0.1",
"@astrojs/netlify": "^6.0.0",
"@astrojs/rss": "^4.0.9",
"@astrojs/site-kit": "github:withastro/site-kit",
"@astrojs/sitemap": "^3.1.6",
"@astrojs/solid-js": "^4.4.1",
"@astrojs/tailwind": "^5.1.0",
"@astrojs/web-vitals": "^0.2.1",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/solid-js": "^5.0.0",
"@astrojs/tailwind": "^5.1.3",
"@astrojs/web-vitals": "^3.0.1",
"@biomejs/biome": "1.8.3",
"@iconify-json/ri": "^1.1.20",
"@netlify/plugin-lighthouse": "^6.0.0",
"@iconify-json/ri": "^1.2.3",
"@netlify/plugin-lighthouse": "^6.0.1",
"@types/node": "^20.10.4",
"astro": "^4.14.6",
"astro-expressive-code": "^0.35.6",
"astro": "^5.0.2",
"astro-expressive-code": "^0.38.3",
"astro-icon": "^0.8.2",
"chart.js": "4.4.1",
"cobe": "^0.6.3",
"date-fns": "^2.30.0",
"dotenv": "^16.3.1",
"motion": "^10.17.0",
"dotenv": "^16.4.7",
"only-allow": "1.2.1",
"prettier": "^3.3.3",
"prettier": "^3.4.2",
"prettier-plugin-astro": "^0.14.1",
"sharp": "^0.33.5",
"smartypants": "^0.2.2",
"solid-js": "^1.8.21",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4",
"solid-js": "^1.9.3",
"tailwindcss": "^3.4.16",
"typescript": "^5.7.2",
"xss": "^1.0.15"
},
"devDependencies": {
"@actions/core": "^1.10.1",
"@actions/core": "^1.11.1",
"@octokit/graphql": "^7.0.2",
"gray-matter": "^4.0.3",
"linkedom": "^0.16.4",
"mdast-util-from-markdown": "^2.0.1",
"linkedom": "^0.18.5",
"mdast-util-from-markdown": "^2.0.2",
"mdast-util-to-string": "^4.0.0",
"p-limit": "^6.1.0",
"puppeteer": "^21.6.0",
"slugify": "^1.6.6",
"tiny-glob": "^0.2.9",
"yaml": "^2.5.1"
"yaml": "^2.6.1"
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 5b89f1d

Please sign in to comment.