Skip to content

Commit

Permalink
feat: update astro add vercel (#12268)
Browse files Browse the repository at this point in the history
ematipico authored Oct 25, 2024
1 parent 90ae100 commit 4e9a3ac
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/loud-cougars-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'astro': major
---

The command `astro add vercel` now updates the configuration file differently, and adds `@astrojs/vercel` as module to import.

This is a breaking change because it requires the version `8.*` of `@astrojs/vercel`.
2 changes: 1 addition & 1 deletion packages/astro/src/cli/add/index.ts
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@ export default async function seed() {

const OFFICIAL_ADAPTER_TO_IMPORT_MAP: Record<string, string> = {
netlify: '@astrojs/netlify',
vercel: '@astrojs/vercel/serverless',
vercel: '@astrojs/vercel',
cloudflare: '@astrojs/cloudflare',
node: '@astrojs/node',
};

0 comments on commit 4e9a3ac

Please sign in to comment.