flatten monorepo, migrate off Vercel
- Remove penfield (split to own repo on Forgejo) - Move www/ contents to root, rename to wynne.rs - Swap @astrojs/vercel for @astrojs/node, upgrade to Astro 6 - Remove auth-astro/GitHub OAuth (TinyAuth at proxy layer) - Remove Vercel deploy webhook - Switch to local SQLite DB (drop Turso) - Update generate-stats.js for new build output paths
This commit is contained in:
parent
f2acf36784
commit
8a9c56c3d5
52 changed files with 45 additions and 7135 deletions
23
astro.config.mjs
Normal file
23
astro.config.mjs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { defineConfig } from 'astro/config';
|
||||
import node from '@astrojs/node';
|
||||
import db from '@astrojs/db';
|
||||
import remarkDirective from 'remark-directive';
|
||||
import remarkGfm from 'remark-gfm';
|
||||
import remarkSlug from 'remark-slug';
|
||||
import remarkSmartypants from 'remark-smartypants';
|
||||
import remarkAside from './src/plugins/remark-aside.ts';
|
||||
|
||||
export default defineConfig({
|
||||
output: 'static',
|
||||
adapter: node({ mode: 'standalone' }),
|
||||
integrations: [db()],
|
||||
markdown: {
|
||||
remarkPlugins: [
|
||||
remarkGfm,
|
||||
remarkDirective,
|
||||
remarkAside,
|
||||
remarkSlug,
|
||||
remarkSmartypants
|
||||
]
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue