Skip to content

Commit

Permalink
[ci] release (beta) (#439)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Nov 13, 2024
1 parent b725b49 commit 911d197
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"rare-candles-unite",
"silver-lemons-bow",
"sixty-trainers-shout",
"slow-mangos-call",
"sweet-geckos-double",
"yellow-avocados-share"
]
Expand Down
6 changes: 6 additions & 0 deletions packages/vercel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @astrojs/vercel

## 8.0.0-beta.4

### Patch Changes

- [#437](https://github.com/withastro/adapters/pull/437) [`b725b49`](https://github.com/withastro/adapters/commit/b725b4962e2ca10c8c7e3b7f59581cef64a1dfa0) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a regression where the `@astrojs/vercel` single entry point for the adapter was causing some regressions in users projects.

## 8.0.0-beta.3

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vercel/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@astrojs/vercel",
"description": "Deploy your site to Vercel",
"version": "8.0.0-beta.3",
"version": "8.0.0-beta.4",
"type": "module",
"author": "withastro",
"license": "MIT",
Expand Down
9 changes: 8 additions & 1 deletion packages/vercel/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,14 @@ export default function vercelAdapter({
logger.warn(`Your "vercel.json" config is not a valid json file.`);
}
}
setAdapter(getAdapter({ buildOutput: _buildOutput, edgeMiddleware, middlewareSecret, skewProtection }));
setAdapter(
getAdapter({
buildOutput: _buildOutput,
edgeMiddleware,
middlewareSecret,
skewProtection,
})
);
} else {
setAdapter(
getAdapter({
Expand Down

0 comments on commit 911d197

Please sign in to comment.