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 mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap'; import sitemap from '@astrojs/sitemap';
import tailwind from '@astrojs/tailwind'; import tailwind from '@astrojs/tailwind';
// import cloudflare from '@astrojs/cloudflare'; // Commented out for local development
// https://astro.build/config // https://astro.build/config
export default defineConfig({ export default defineConfig({
site: 'https://argobox.com', // Updated site URL for ArgoBox site: 'https://argobox.com', // Keep original site URL
output: 'static', output: 'static',
// adapter: cloudflare(), // Commented out for local development // adapter: cloudflare(), // Still commented out
integrations: [ integrations: [
mdx(), mdx(),
sitemap(), sitemap(),
tailwind(), tailwind(),
], ],
markdown: { compressHTML: false // Disable HTML compression to avoid parsing errors
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
}
}); });

View File

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