diff --git a/.gitignore b/.gitignore index 6d4c0aa..db5dc12 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,6 @@ pnpm-debug.log* # macOS-specific files .DS_Store + +# vercel files +.vercel diff --git a/astro.config.ts b/astro.config.ts index ec60ade..80b29c2 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -1,14 +1,16 @@ import { defineConfig } from 'astro/config' import tailwind from '@astrojs/tailwind' -import deno from '@astrojs/deno' import robotsTxt from 'astro-robots-txt' import preact from '@astrojs/preact' +import vercel from "@astrojs/vercel/serverless" // https://astro.build/config export default defineConfig({ integrations: [tailwind(), robotsTxt(), preact()], - adapter: deno(), - output: 'server', + adapter: vercel({ + imageService: true + }), + output: 'hybrid', i18n: { locales: ['en', 'es'], defaultLocale: 'en', @@ -17,7 +19,7 @@ export default defineConfig({ strategy: 'pathname' } }, - site: 'https://jamerrq.deno.dev/', + site: 'https://jamerrq-dev.vercel.app/', image: { domains: ['https://github.com/'] } diff --git a/bun.lockb b/bun.lockb index 0397328..9771cb0 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index cc345b7..7122d39 100644 --- a/package.json +++ b/package.json @@ -3,14 +3,13 @@ "version": "0.0.1", "dependencies": { "@astrojs/check": "^0.3.4", - "@astrojs/deno": "^5.0.1", "@astrojs/preact": "^3.1.0", "@astrojs/tailwind": "^5.0.4", + "@astrojs/vercel": "^7.0.2", "@fontsource/merriweather": "^5.0.8", "astro": "4.0.8", "astro-robots-txt": "^1.0.0", "preact": "^10.19.3", - "sharp": "^0.33.2", "simple-icons": "^11.1.0", "tailwindcss": "^3.4.0", "typescript": "^5.3.3"