f266c386f3
* chore: repo-wide bloat sweep, remove dead code and fold duplicate helpers Remove 33 dead files, ~270 unreferenced exports/types, 13 dead i18n namespaces and 4 unused dependencies; fold byte-identical helper copies into one canonical home each (lib/utils chunk/sleep/utcDateStamp, lib/dates/iso, lib/invariants/uuid, lib/xml/escape, lib/reports/sru/format, lib/pdf/number-text, lib/browser/panel-request, lib/api/v1/body + v1ValidationError rolled out to ~55 v1 routes, booking-template schemas). No behaviour change: v1 bodies and status codes, MCP tool schemas, DB writes and money math are untouched. Naive ore rounding was deliberately not swapped for roundOre; see DECISIONS.md 2026-09-02 for the full list of things left alone on purpose. tsc, lint, 19588 unit tests and check:guards green; antipattern baseline ratcheted (naive-ore-round 622 -> 620, hand-rolled-invariant 115 -> 113). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * test(transactions): import RawTransaction from @/types after the ingest re-export removal CI's type ratchet (check:types, full tsconfig) caught the one test file that still imported the type through lib/transactions/ingest. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> --------- Co-authored-by: Jakob Wennberg <311770904+jakobwennberg-oss@users.noreply.github.com> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
116 lines
4.0 KiB
JSON
116 lines
4.0 KiB
JSON
{
|
|
"name": "erp-base",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"license": "AGPL-3.0-or-later",
|
|
"scripts": {
|
|
"setup:extensions": "tsx scripts/generate-extension-registry.ts",
|
|
"skills:generate": "tsx scripts/generate-skill-bodies.ts",
|
|
"skills:check": "tsx scripts/generate-skill-bodies.ts --check",
|
|
"apiskill:generate": "tsx --conditions react-server scripts/api-skill/generate.ts",
|
|
"apiskill:check": "tsx --conditions react-server scripts/api-skill/generate.ts --check",
|
|
"crontabs:generate": "tsx scripts/generate-crontabs.ts",
|
|
"taxonomy:generate": "tsx scripts/generate-taxonomy-registry.ts",
|
|
"taxonomy:check": "tsx scripts/generate-taxonomy-registry.ts --check",
|
|
"validate:ixbrl": "node scripts/validate-ixbrl.mjs",
|
|
"predev": "npm run setup:extensions && node scripts/inject-public-branding.mjs",
|
|
"dev": "next dev",
|
|
"prebuild": "npm run setup:extensions && node scripts/inject-public-branding.mjs",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"check:guards": "node scripts/checks/no-new-antipatterns.mjs",
|
|
"validate:packs": "tsx scripts/validate-packs.ts",
|
|
"validate:registry": "tsx scripts/validate-registry.ts",
|
|
"check:lint": "node scripts/checks/no-new-lint-errors.mjs",
|
|
"check:types": "node scripts/checks/no-new-type-errors.mjs",
|
|
"test": "vitest run --project unit",
|
|
"test:pg": "vitest run --project pg-real",
|
|
"tools:pg:reset": "bash scripts/tool-pg/reset.sh",
|
|
"test:tools": "TOOL_PG_REST_URL=${TOOL_PG_REST_URL:-http://127.0.0.1:54330} vitest run --project tool-pg"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/openai-compatible": "2.0.69",
|
|
"@anthropic-ai/bedrock-sdk": "0.29.1",
|
|
"@anthropic-ai/sdk": "0.95.0",
|
|
"@hookform/resolvers": "^5.4.0",
|
|
"@radix-ui/react-checkbox": "^1.3.7",
|
|
"@radix-ui/react-dialog": "^1.1.19",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.20",
|
|
"@radix-ui/react-label": "^2.1.11",
|
|
"@radix-ui/react-progress": "^1.1.12",
|
|
"@radix-ui/react-select": "^2.3.3",
|
|
"@radix-ui/react-slot": "^1.2.4",
|
|
"@radix-ui/react-switch": "^1.3.3",
|
|
"@radix-ui/react-tabs": "^1.1.17",
|
|
"@radix-ui/react-toast": "^1.2.19",
|
|
"@radix-ui/react-tooltip": "^1.2.12",
|
|
"@react-pdf/renderer": "^4.5.1",
|
|
"@supabase/ssr": "^0.12.1",
|
|
"@supabase/supabase-js": "^2.110.1",
|
|
"@tailwindcss/typography": "^0.5.20",
|
|
"@upstash/ratelimit": "^2.0.8",
|
|
"@upstash/redis": "^1.38.0",
|
|
"@vercel/speed-insights": "^2.0.0",
|
|
"ai": "6.0.259",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"date-fns": "^4.4.0",
|
|
"framer-motion": "^12.42.2",
|
|
"fuse.js": "^7.4.2",
|
|
"ics": "^3.12.0",
|
|
"js-yaml": "4.3.1",
|
|
"jszip": "^3.10.1",
|
|
"lucide-react": "^1.24.0",
|
|
"mailparser": "^3.9.14",
|
|
"next": "16.3.1",
|
|
"next-intl": "^4.13.2",
|
|
"next-themes": "^0.4.6",
|
|
"nodemailer": "9.0.5",
|
|
"pdf-lib": "^1.17.1",
|
|
"posthog-js": "^1.407.3",
|
|
"posthog-node": "^5.46.1",
|
|
"qrcode": "^1.5.4",
|
|
"react": "19.2.7",
|
|
"react-dom": "19.2.7",
|
|
"react-hook-form": "^7.80.0",
|
|
"react-markdown": "^10.1.0",
|
|
"recharts": "^3.9.1",
|
|
"remark-gfm": "^4.0.1",
|
|
"resend": "^6.17.2",
|
|
"server-only": "^0.0.1",
|
|
"sharp": "^0.35.3",
|
|
"stripe": "^22.3.1",
|
|
"swr": "^2.4.2",
|
|
"tailwind-merge": "^3.6.0",
|
|
"web-push": "^3.6.7",
|
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/js-yaml": "4.0.9",
|
|
"@types/mailparser": "^3.4.6",
|
|
"@types/node": "^20",
|
|
"@types/nodemailer": "8.0.1",
|
|
"@types/pg": "^8.20.0",
|
|
"@types/qrcode": "^1.5.6",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/web-push": "^3.6.4",
|
|
"dotenv": "^17.4.2",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.3.1",
|
|
"pg": "^8.22.0",
|
|
"tailwindcss": "^4",
|
|
"tsx": "4.20.5",
|
|
"typescript": "^5",
|
|
"vitest": "^4.1.9"
|
|
},
|
|
"overrides": {
|
|
"html-to-text": "10.0.1",
|
|
"sharp": "^0.35.3",
|
|
"postcss": "^8.5.18"
|
|
}
|
|
}
|