chore: Pin dependencies and simplify Astro config

This commit is contained in:
Daniel LaForce 2025-04-28 02:23:30 -06:00
parent ee0f30ae69
commit be84aba1dc
2 changed files with 10 additions and 22 deletions

View File

@ -3,28 +3,16 @@ import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
import tailwind from '@astrojs/tailwind';
// import cloudflare from '@astrojs/cloudflare'; // Commented out for local development
// https://astro.build/config
export default defineConfig({
site: 'https://argobox.com', // Updated site URL for ArgoBox
site: 'https://argobox.com', // Keep original site URL
output: 'static',
// adapter: cloudflare(), // Commented out for local development
// adapter: cloudflare(), // Still commented out
integrations: [
mdx(),
sitemap(),
tailwind(),
],
markdown: {
shikiConfig: {
theme: 'one-dark-pro',
wrap: true
},
remarkPlugins: [],
rehypePlugins: []
},
compressHTML: false, // Disable HTML compression to avoid parsing errors
build: {
format: 'file', // Use 'file' instead of 'directory' format
}
compressHTML: false // Disable HTML compression to avoid parsing errors
});

View File

@ -9,15 +9,15 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/cloudflare": "latest",
"@astrojs/mdx": "latest",
"@astrojs/rss": "latest",
"@astrojs/sitemap": "latest",
"@astrojs/tailwind": "latest",
"astro": "latest",
"@astrojs/cloudflare": "^5.0.0",
"@astrojs/mdx": "^1.1.0",
"@astrojs/rss": "^3.0.0",
"@astrojs/sitemap": "^3.0.0",
"@astrojs/tailwind": "^5.0.0",
"astro": "^3.0.12",
"nodemailer": "^6.10.1",
"resend": "^4.4.1",
"tailwindcss": "^3.0.24"
"tailwindcss": "^3.3.5"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.16"