b22e5baa5c
Build and Push Docker Image / build (push) Successful in 1m23s
- Implemented client-side validation functions for tax ID, VAT ID, IBAN, BIC, and website URL. - Added debug logging functionality to assist in development. - Created a comprehensive validation function for company form data. feat: initialize database with Prisma migrations - Added a server-side script to run Prisma migrations and check database health. - Ensured safe initialization of the database to prevent concurrent migrations. feat: comprehensive server-side error logging - Developed an error logging system that captures detailed error context, including request details and stack traces. - Implemented logging functions for different error types (route, action, database, API, startup). fix: validate user ID existence in audit logs - Updated the logging function to validate that the user ID exists in the database before logging actions. fix: update schemas for optional fields and validation - Modified schemas to allow for nullable fields and refined validation logic for tax ID, VAT ID, IBAN, and BIC. feat: enhance error boundary for better debugging - Improved error boundary to log detailed error information in development mode. - Added a debug panel to the main application layout for real-time error tracking. feat: implement company deletion functionality in admin routes - Added a new API route for deleting companies with appropriate logging. - Integrated delete confirmation in the admin interface for better user experience. fix: handle API errors gracefully - Wrapped API actions in try-catch blocks to log errors and return appropriate responses. feat: generate and save invoice PDFs - Implemented functionality to generate and save invoice PDFs upon status updates. - Added a new column in the database for storing the URL of the generated PDF. chore: update Docker image reference - Changed the Docker image reference to point to the new Git repository. chore: update package dependencies - Added @radix-ui/react-tooltip for enhanced UI components. - Updated package-lock.json to reflect new dependencies.
69 lines
2.3 KiB
JSON
69 lines
2.3 KiB
JSON
{
|
|
"name": "annas-app",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"devfull": "docker-compose -f db/docker-compose.yml up -d && react-router dev",
|
|
"dev": "react-router dev",
|
|
"build": "react-router build",
|
|
"start": "react-router-serve ./build/server/index.js",
|
|
"typecheck": "react-router typegen && tsc",
|
|
"lint": "eslint",
|
|
"db:migrate": "prisma migrate dev",
|
|
"db:seed": "npx ts-node --compiler-options '{\"module\":\"CommonJS\"}' prisma/seed.ts",
|
|
"db:studio": "prisma studio",
|
|
"setup-admin": "test -f scripts/setup-admin.cjs && node scripts/setup-admin.cjs || npx ts-node --compiler-options '{\"module\":\"CommonJS\"}' scripts/setup-admin.ts",
|
|
"reset-password": "test -f scripts/reset-password.cjs && node scripts/reset-password.cjs || npx ts-node --compiler-options '{\"module\":\"CommonJS\"}' scripts/reset-password.ts"
|
|
},
|
|
"prisma": {
|
|
"seed": "npx ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^5.2.2",
|
|
"@prisma/client": "^5.22.0",
|
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
"@radix-ui/react-label": "^2.1.8",
|
|
"@radix-ui/react-select": "^2.2.6",
|
|
"@radix-ui/react-separator": "^1.1.8",
|
|
"@radix-ui/react-slot": "^1.2.4",
|
|
"@radix-ui/react-toast": "^1.2.15",
|
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
"@react-pdf/renderer": "^4.3.2",
|
|
"@react-router/node": "^7.13.1",
|
|
"@react-router/serve": "^7",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"bcryptjs": "^3.0.3",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"isbot": "^5",
|
|
"lucide-react": "^0.577.0",
|
|
"node-cron": "^4.2.1",
|
|
"node-zugferd": "^0.1.1-beta.1",
|
|
"prisma": "^5.22.0",
|
|
"rate-limiter-flexible": "^10.0.1",
|
|
"react": "^19",
|
|
"react-dom": "^19",
|
|
"react-hook-form": "^7.71.2",
|
|
"react-router": "^7",
|
|
"tailwind-merge": "^3.5.0",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@react-router/dev": "^7.13.1",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/node-cron": "^3.0.11",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@vitejs/plugin-react": "^4",
|
|
"eslint": "^9",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5",
|
|
"vite": "^6",
|
|
"vite-tsconfig-paths": "^5"
|
|
}
|
|
}
|