chore(deps):upgrade to Astro 6 beta and added config for cloudflare

This commit is contained in:
Al Murad Uzzaman
2026-03-01 14:45:03 +06:00
parent 701a3d0188
commit a57c1f1b02
5 changed files with 40 additions and 21 deletions
+14 -11
View File
@@ -1,31 +1,33 @@
{
"name": "astroplate",
"version": "5.12.1",
"version": "6.0.0",
"description": "Astro and Tailwindcss boilerplate",
"author": "zeon.studio",
"license": "MIT",
"packageManager": "yarn@1.22.22",
"type": "module",
"scripts": {
"dev": "concurrently \"node scripts/themeGenerator.js --watch\" \"yarn generate-json && astro dev\"",
"build": "node scripts/themeGenerator.js && yarn generate-json && astro build",
"dev": "concurrently \"node scripts/themeGenerator.js --watch\" \"node scripts/jsonGenerator.js && astro dev\"",
"build": "node scripts/themeGenerator.js && node scripts/jsonGenerator.js && astro build",
"preview": "astro preview",
"check": "astro check",
"format": "prettier -w ./src",
"generate-json": "node scripts/jsonGenerator.js",
"remove-darkmode": "node scripts/removeDarkmode.js && yarn format"
"remove-darkmode": "node scripts/removeDarkmode.js && yarn format",
"deploy:cf-workers": "npm run build && wrangler deploy",
"preview:cf-workers": "npm run build && wrangler dev"
},
"dependencies": {
"@astrojs/check": "0.9.6",
"@astrojs/mdx": "4.3.13",
"@astrojs/react": "4.4.2",
"@astrojs/check": "0.9.7-beta.1",
"@astrojs/mdx": "5.0.0-beta.9",
"@astrojs/react": "5.0.0-beta.3",
"@astrojs/sitemap": "3.7.0",
"@digi4care/astro-google-tagmanager": "^1.6.0",
"@justinribeiro/lite-youtube": "^1.9.0",
"astro": "5.17.3",
"astro": "6.0.0-beta.17",
"astro-auto-import": "^0.5.1",
"astro-font": "^1.1.0",
"astro-swiper": "^2.1.0",
"astro-swiper": "^2.1.1",
"date-fns": "^4.1.0",
"disqus-react": "^1.1.7",
"github-slugger": "^2.0.0",
@@ -44,7 +46,7 @@
"@tailwindcss/forms": "^0.5.11",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.2.1",
"@types/node": "25.3.0",
"@types/node": "25.3.3",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"concurrently": "^9.2.1",
@@ -54,6 +56,7 @@
"prettier-plugin-tailwindcss": "^0.7.2",
"tailwind-bootstrap-grid": "^7.0.0",
"tailwindcss": "^4.2.1",
"typescript": "^5.9.3"
"typescript": "^5.9.3",
"wrangler": "^4.69.0"
}
}