Skip to content

Commit 055ff10

Browse files
authored
chore: Move from Vercel to Netlify (#534)
1 parent c07fac3 commit 055ff10

File tree

7 files changed

+412
-635
lines changed

7 files changed

+412
-635
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@
1414
},
1515
"[typescriptreact]": {
1616
"editor.defaultFormatter": "biomejs.biome"
17+
},
18+
"[typescript]": {
19+
"editor.defaultFormatter": "biomejs.biome"
1720
}
1821
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div align="center">
44

5-
![Vercel](https://vercelbadge.vercel.app/api/evadecker/eva.town) [![RSS](https://img.shields.io/badge/RSS-gray?logo=rss&logoColor=white&labelColor=eb7817)](https://eva.town/rss.xml)
5+
[![Netlify Status](https://api.netlify.com/api/v1/badges/1454513e-f8a3-468f-9f62-933c9225d8c2/deploy-status)](https://app.netlify.com/sites/eva-town/deploys) [![RSS](https://img.shields.io/badge/RSS-gray?logo=rss&logoColor=white&labelColor=eb7817)](https://eva.town/rss.xml)
66

77
</div>
88

astro.config.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
import db from "@astrojs/db";
22
import { rehypeHeadingIds } from "@astrojs/markdown-remark";
33
import mdx from "@astrojs/mdx";
4+
import netlify from "@astrojs/netlify";
45
import react from "@astrojs/react";
56
import sitemap from "@astrojs/sitemap";
6-
import vercel from "@astrojs/vercel/serverless";
77
import expressiveCode from "astro-expressive-code";
88
import { defineConfig } from "astro/config";
99
import rehypeAutolinkHeadings from "rehype-autolink-headings";
1010
import imgAttr from "remark-imgattr";
11-
1211
import { autolinkConfig } from "./plugins/rehype-autolink-config";
1312

1413
export default defineConfig({
@@ -28,7 +27,7 @@ export default defineConfig({
2827
db(),
2928
],
3029
trailingSlash: "never",
31-
adapter: vercel(),
30+
adapter: netlify(),
3231
markdown: {
3332
rehypePlugins: [rehypeHeadingIds, [rehypeAutolinkHeadings, autolinkConfig]],
3433
remarkPlugins: [imgAttr],

biome.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"**/node_modules",
88
"**/playwright-report",
99
".vercel",
10+
".netlify",
1011
".vscode",
1112
".astro",
1213
"src/components/Synth/unmute.js"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"stylelint": "npx stylelint '**/*.{css,scss,astro}'",
1616
"test": "playwright test",
1717
"prettier": "prettier --write .",
18-
"html-validate": "pnpm build && pnpm exec html-validate .vercel/output/static/*.html",
18+
"html-validate": "pnpm build && pnpm exec html-validate dist/*.html",
1919
"prepare": "husky",
2020
"check-links": "lychee --config .lychee.toml ."
2121
},
@@ -24,10 +24,10 @@
2424
"@astrojs/db": "^0.14.3",
2525
"@astrojs/markdown-remark": "^5.3.0",
2626
"@astrojs/mdx": "^3.1.9",
27+
"@astrojs/netlify": "^5.5.4",
2728
"@astrojs/react": "^3.6.2",
2829
"@astrojs/rss": "^4.0.9",
2930
"@astrojs/sitemap": "^3.2.1",
30-
"@astrojs/vercel": "^7.8.2",
3131
"@nanostores/react": "^0.8.0",
3232
"@types/react": "^18.3.12",
3333
"@types/react-dom": "^18.3.1",

0 commit comments

Comments
 (0)