mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-18 09:22:53 +00:00
- Fresh structure: Next.js App Router + Tailwind v4 at the repo root, exported as static files (output: export) and served by static-web-server - Remove the Strapi CMS, Astro app, Pagefind search, comments, old scripts, Lighthouse config and compose files; content in content/ is now plain markdown with YAML frontmatter - Pages: About, Writing, Reading (3D bookshelf) and Portfolio, styled after adammaj.com - SEO: metadata and canonicals, JSON-LD, generated OG images, sitemap, robots, RSS and JSON feeds, llms.txt - Umami via PUBLIC_UMAMI_SCRIPT_URL / PUBLIC_UMAMI_WEBSITE_ID (build args) - Dockerfile builds the export and serves it with sws.toml (security headers, clean URLs, .well-known, OG image content type, immutable asset caching) - Prettier and cspell for content with a husky/lint-staged pre-commit hook - Old redirect list dropped to start from a clean slate
59 lines
1.6 KiB
JSON
59 lines
1.6 KiB
JSON
{
|
|
"name": "andwati-nextgen",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "biome check",
|
|
"format": "biome format --write",
|
|
"lint:content": "prettier --check \"content/**/*.md\" && cspell --no-progress",
|
|
"format:content": "prettier --write \"content/**/*.md\"",
|
|
"spell": "cspell --no-progress",
|
|
"check": "biome check && pnpm lint:content",
|
|
"prepare": "husky"
|
|
},
|
|
"dependencies": {
|
|
"gray-matter": "^4.0.3",
|
|
"katex": "^0.18.9",
|
|
"next": "16.3.6",
|
|
"next-mdx-remote": "^6.0.0",
|
|
"react": "19.2.8",
|
|
"react-dom": "19.2.8",
|
|
"rehype-katex": "^7.0.1",
|
|
"rehype-pretty-code": "^0.14.5",
|
|
"rehype-raw": "^7.0.0",
|
|
"rehype-stringify": "^10.0.1",
|
|
"remark-gfm": "^4.0.1",
|
|
"remark-math": "^6.0.0",
|
|
"remark-parse": "^11.0.0",
|
|
"remark-rehype": "^11.1.2",
|
|
"shiki": "^4.4.3",
|
|
"unified": "^11.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.4.2",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@tailwindcss/typography": "^0.5.20",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"babel-plugin-react-compiler": "1.0.0",
|
|
"cspell": "^10.3.5",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^17.6.0",
|
|
"prettier": "^3.9.9",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
},
|
|
"packageManager": "[email protected]",
|
|
"lint-staged": {
|
|
"content/**/*.md": [
|
|
"prettier --write",
|
|
"cspell --no-progress --no-must-find-files"
|
|
],
|
|
"*.{ts,tsx,mjs,json,css}": "biome check --write --no-errors-on-unmatched"
|
|
}
|
|
}
|