Skip to content

Commit

Permalink
chore: update Astro
Browse files Browse the repository at this point in the history
  • Loading branch information
vhnam committed Apr 29, 2024
1 parent 2657833 commit 031dc47
Show file tree
Hide file tree
Showing 5 changed files with 1,053 additions and 6,093 deletions.
6 changes: 5 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import partytown from "@astrojs/partytown";
import react from "@astrojs/react";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import yaml from "@rollup/plugin-yaml";
import { defineConfig } from "astro/config";

// https://astro.build/config
export default defineConfig({
Expand All @@ -27,4 +28,7 @@ export default defineConfig({
wrap: true,
},
site: "https://vhnam.github.io",
vite: {
plugins: [yaml()],
},
});
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,19 @@
},
"dependencies": {
"@astrojs/mdx": "2.3.1",
"@astrojs/partytown": "2.0.4",
"@astrojs/react": "3.3.0",
"@astrojs/partytown": "2.1.0",
"@astrojs/react": "^3.3.1",
"@astrojs/rss": "4.0.5",
"@astrojs/sitemap": "3.1.3",
"@astrojs/tailwind": "5.1.0",
"@astrojs/sitemap": "3.1.4",
"@astrojs/tailwind": "^5.1.0",
"@fontsource-variable/inter": "^5.0.16",
"astro": "4.6.2",
"astro": "^4.7.0",
"dayjs": "~1.11.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@rollup/plugin-yaml": "^4.1.2",
"@tailwindcss/typography": "~0.5.10",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
Expand All @@ -40,9 +41,10 @@
"prettier": "^3.2.5",
"prettier-plugin-astro": "^0.13.0",
"prettier-plugin-tailwindcss": "^0.5.12",
"sass": "~1.70.0",
"sharp": "^0.33.2",
"tailwindcss": "~3.4.1"
"sass": "^1.75.0",
"sharp": "^0.33.3",
"tailwindcss": "~3.4.1",
"vite": "^5.2.10"
},
"lint-staged": {
"*.{js,css,md}": "prettier --write"
Expand Down
Loading

0 comments on commit 031dc47

Please sign in to comment.