chore: add vercel adapter and auth dependencies

This commit is contained in:
Lewis Wynne 2026-01-23 03:37:08 +00:00
parent b5e9d33cdf
commit c23358ed8e
4 changed files with 2355 additions and 0 deletions

6
apps/blog/.env.example Normal file
View file

@ -0,0 +1,6 @@
TURSO_DATABASE_URL=libsql://your-db.turso.io
TURSO_AUTH_TOKEN=your-token
GITHUB_CLIENT_ID=your-client-id
GITHUB_CLIENT_SECRET=your-client-secret
ADMIN_GITHUB_ID=your-github-user-id
AUTH_SECRET=generate-with-openssl-rand-base64-32

View file

@ -1,4 +1,5 @@
import { defineConfig } from 'astro/config';
import vercel from '@astrojs/vercel';
import remarkDirective from 'remark-directive';
import remarkGfm from 'remark-gfm';
import remarkSlug from 'remark-slug';
@ -7,6 +8,7 @@ import remarkAside from './src/plugins/remark-aside.ts';
export default defineConfig({
output: 'static',
adapter: vercel(),
markdown: {
remarkPlugins: [
remarkGfm,

2343
apps/blog/package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -7,7 +7,11 @@
"preview": "astro preview"
},
"dependencies": {
"@astrojs/vercel": "^9.0.4",
"@auth/core": "^0.37.4",
"@libsql/client": "^0.17.0",
"astro": "^5.16.13",
"auth-astro": "^4.2.0",
"js-yaml": "^4.1.1"
},
"devDependencies": {