- store records in SQLite via built-in node:sqlite, no native deps - wrap DB reads in await io() so they stay out of the static shell - add CRUD pages backed by Server Actions with per-request data - generate managed config and restart container via Docker socket - add /resolve page to query dnsmasq for A and CNAME records - add Dockerfile and compose setup with shared config volume
29 lines
597 B
JSON
29 lines
597 B
JSON
{
|
|
"name": "dnsmasq-admin",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint"
|
|
},
|
|
"dependencies": {
|
|
"next": "16.4.0",
|
|
"react": "19.3.0",
|
|
"react-dom": "19.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/turbopack": "^4",
|
|
"@types/node": "24",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.4.0",
|
|
"prettier": "^3.9.9",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
},
|
|
"packageManager": "pnpm@12.4.1"
|
|
}
|