Remove unused dependencies and dead code, refresh AGENTS.md

- Drop unused email module and media text extraction path
- Remove 12 unused dependencies
- Remove unused imports in server.ts
- Add typecheck and test scripts
- Rewrite AGENTS.md to describe this project

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-15 21:09:27 +01:00
co-authored by Claude Opus 5.5
parent 617400c19f
commit fe4b1b02d1
6 changed files with 38 additions and 325 deletions
+4 -14
View File
@@ -9,20 +9,19 @@
"build": "bunx bunext build",
"db:schema": "bunx bun-sqlite schema -t",
"db:admin": "bunx bun-sqlite admin",
"start": "NODE_ENV=production bun src/server.ts"
"start": "NODE_ENV=production bun src/server.ts",
"typecheck": "bunx tsc --noEmit",
"test": "bun test"
},
"devDependencies": {
"@next/mdx": "^16.3.0",
"@types/ace": "^0.0.52",
"@types/bun": "latest",
"@types/lodash": "^4.17.25",
"@types/mdx": "^2.0.14",
"@types/node": "^26.2.0",
"@types/nodemailer": "^8.0.1",
"@types/qrcode": "^1.5.6",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@types/turndown": "^5.0.6",
"ace-builds": "^1.44.0",
"tailwindcss": "^4.3.3"
},
@@ -32,28 +31,19 @@
"dependencies": {
"@moduletrace/bun-sqlite": "^1.2.0",
"@moduletrace/bunext": "^1.2.4",
"gray-matter": "^4.0.3",
"html-to-react": "^1.7.0",
"lodash": "^4.18.1",
"lucide-react": "^1.31.0",
"mammoth": "^1.12.1",
"mdx": "^0.3.1",
"next-mdx-remote": "^6.0.0",
"nodemailer": "^9.0.5",
"onnxruntime-node": "^1.27.0",
"openai": "^7.4.0",
"qrcode": "^1.5.4",
"react-code-blocks": "^0.1.6",
"react-markdown": "^10.1.0",
"react-responsive-modal": "^7.2.0",
"rehype-prism-plus": "^2.0.2",
"remark-gfm": "^4.0.1",
"sharp": "^0.35.3",
"tailwind-merge": "^3.6.0",
"turndown": "^7.2.4",
"unpdf": "^1.8.0",
"uuid": "^14.0.2",
"xlsx": "^0.18.5"
"uuid": "^14.0.2"
},
"repository": {
"url": "https://git.tben.me/Moduletrace/wireguard-ui"