2026-01-06 12:35:01 +01:00
|
|
|
{
|
|
|
|
|
"name": "letsbe-hub",
|
|
|
|
|
"version": "1.0.0",
|
|
|
|
|
"private": true,
|
|
|
|
|
"scripts": {
|
|
|
|
|
"dev": "next dev",
|
|
|
|
|
"build": "next build",
|
|
|
|
|
"start": "next start",
|
2026-01-17 12:33:11 +01:00
|
|
|
"lint": "eslint .",
|
2026-01-06 12:35:01 +01:00
|
|
|
"typecheck": "tsc --noEmit",
|
|
|
|
|
"format": "prettier --write .",
|
|
|
|
|
"db:generate": "prisma generate",
|
|
|
|
|
"db:migrate": "prisma migrate dev",
|
|
|
|
|
"db:push": "prisma db push",
|
|
|
|
|
"db:seed": "tsx prisma/seed.ts",
|
|
|
|
|
"db:studio": "prisma studio",
|
|
|
|
|
"test": "vitest",
|
|
|
|
|
"test:run": "vitest run"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@auth/prisma-adapter": "^2.7.4",
|
2026-01-17 12:33:11 +01:00
|
|
|
"@aws-sdk/client-s3": "^3.968.0",
|
2026-01-06 12:35:01 +01:00
|
|
|
"@hookform/resolvers": "^3.9.1",
|
2026-01-17 14:42:50 +01:00
|
|
|
"@prisma/adapter-pg": "^7.0.0",
|
|
|
|
|
"@prisma/client": "^7.0.0",
|
2026-01-17 12:33:11 +01:00
|
|
|
"@radix-ui/react-avatar": "^1.1.11",
|
|
|
|
|
"@radix-ui/react-checkbox": "^1.3.3",
|
2026-01-06 12:35:01 +01:00
|
|
|
"@radix-ui/react-dialog": "^1.1.4",
|
|
|
|
|
"@radix-ui/react-dropdown-menu": "^2.1.4",
|
|
|
|
|
"@radix-ui/react-icons": "^1.3.2",
|
|
|
|
|
"@radix-ui/react-label": "^2.1.1",
|
|
|
|
|
"@radix-ui/react-popover": "^1.1.4",
|
|
|
|
|
"@radix-ui/react-select": "^2.1.4",
|
2026-01-17 12:33:11 +01:00
|
|
|
"@radix-ui/react-separator": "^1.1.8",
|
2026-01-06 12:35:01 +01:00
|
|
|
"@radix-ui/react-slot": "^1.1.1",
|
2026-01-17 12:33:11 +01:00
|
|
|
"@radix-ui/react-switch": "^1.2.6",
|
|
|
|
|
"@radix-ui/react-tabs": "^1.1.13",
|
2026-01-06 12:35:01 +01:00
|
|
|
"@radix-ui/react-toast": "^1.2.4",
|
|
|
|
|
"@radix-ui/react-tooltip": "^1.1.6",
|
|
|
|
|
"@tanstack/react-query": "^5.64.2",
|
|
|
|
|
"@tanstack/react-table": "^8.20.6",
|
2026-01-17 12:33:11 +01:00
|
|
|
"@types/ssh2": "^1.15.5",
|
2026-01-06 12:35:01 +01:00
|
|
|
"bcryptjs": "^2.4.3",
|
|
|
|
|
"class-variance-authority": "^0.7.1",
|
|
|
|
|
"clsx": "^2.1.1",
|
2026-01-17 12:33:11 +01:00
|
|
|
"date-fns": "^4.1.0",
|
2026-01-06 12:35:01 +01:00
|
|
|
"lucide-react": "^0.469.0",
|
2026-01-17 12:33:11 +01:00
|
|
|
"next": "16.1.1",
|
|
|
|
|
"next-auth": "5.0.0-beta.30",
|
2026-01-06 12:35:01 +01:00
|
|
|
"next-themes": "^0.4.4",
|
2026-01-17 12:33:11 +01:00
|
|
|
"nodemailer": "^7.0.12",
|
|
|
|
|
"otplib": "^13.1.0",
|
|
|
|
|
"qrcode": "^1.5.4",
|
|
|
|
|
"react": "19.2.3",
|
|
|
|
|
"react-dom": "19.2.3",
|
2026-01-06 12:35:01 +01:00
|
|
|
"react-hook-form": "^7.54.2",
|
2026-01-17 12:33:11 +01:00
|
|
|
"recharts": "^3.6.0",
|
|
|
|
|
"ssh2": "^1.17.0",
|
feat: Audit remediation + Stripe webhook + test suites
- Apply 3 Prisma schema changes (Pending2FASession, hubApiKeyHash, SecurityVerificationCode attempts)
- Add Stripe webhook handler (checkout.session.completed -> User + Subscription + Order)
- Add stripe-service, api-key-service, rate-limit middleware
- Add security headers (CSP, HSTS, X-Frame-Options) in next.config.ts
- Harden auth routes, require ADMIN_API_KEY for orchestrator endpoints
- Add Docker auto-migration via startup.sh
- Add 7 unit test suites (api-key, dns, config-generator, automation-worker, permission, security-verification, auth-helpers)
- Fix Prisma 7 compatibility with adapter-pg mock for vitest
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 08:02:33 +01:00
|
|
|
"stripe": "^17.0.0",
|
2026-01-06 12:35:01 +01:00
|
|
|
"tailwind-merge": "^2.6.0",
|
|
|
|
|
"tailwindcss-animate": "^1.0.7",
|
2026-01-17 12:33:11 +01:00
|
|
|
"undici": "^7.18.2",
|
2026-01-06 12:35:01 +01:00
|
|
|
"zod": "^3.24.1",
|
|
|
|
|
"zustand": "^5.0.3"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-01-17 15:31:23 +01:00
|
|
|
"dotenv": "^16.5.0",
|
2026-01-06 12:47:13 +01:00
|
|
|
"@eslint/eslintrc": "^3.3.3",
|
2026-01-17 12:33:11 +01:00
|
|
|
"@testing-library/react": "^16.3.1",
|
2026-01-06 12:35:01 +01:00
|
|
|
"@types/bcryptjs": "^2.4.6",
|
|
|
|
|
"@types/node": "^22.10.5",
|
2026-01-17 12:33:11 +01:00
|
|
|
"@types/nodemailer": "^7.0.5",
|
|
|
|
|
"@types/qrcode": "^1.5.6",
|
2026-01-06 12:35:01 +01:00
|
|
|
"@types/react": "^19.0.4",
|
|
|
|
|
"@types/react-dom": "^19.0.2",
|
2026-01-17 12:33:11 +01:00
|
|
|
"@vitejs/plugin-react": "^5.1.2",
|
2026-01-06 12:35:01 +01:00
|
|
|
"autoprefixer": "^10.4.20",
|
2026-01-17 12:39:59 +01:00
|
|
|
"eslint": "^9.39.2",
|
2026-01-17 12:33:11 +01:00
|
|
|
"eslint-config-next": "16.1.1",
|
2026-01-17 12:39:59 +01:00
|
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
2026-01-17 12:33:11 +01:00
|
|
|
"jsdom": "^27.0.1",
|
2026-01-06 12:35:01 +01:00
|
|
|
"postcss": "^8.4.49",
|
|
|
|
|
"prettier": "^3.4.2",
|
2026-01-17 14:42:50 +01:00
|
|
|
"prisma": "^7.0.0",
|
2026-01-06 12:35:01 +01:00
|
|
|
"tailwindcss": "^3.4.17",
|
|
|
|
|
"tsx": "^4.19.2",
|
|
|
|
|
"typescript": "^5.7.3",
|
2026-01-17 12:39:59 +01:00
|
|
|
"typescript-eslint": "^8.53.0",
|
2026-01-17 12:33:11 +01:00
|
|
|
"vitest": "^4.0.16",
|
|
|
|
|
"vitest-mock-extended": "^3.1.0"
|
2026-01-06 12:35:01 +01:00
|
|
|
}
|
|
|
|
|
}
|