mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-02-22 09:02:01 +00:00
- Updated `package.json` to include a new script for launching Prisma Studio. - Modified `signup` function in `auth-actions.ts` to include account number in user data. - Refactored `createPayment` function in `payment.ts` to improve error handling and return structured responses. - Updated UI components in the dashboard to improve layout and responsiveness, including changes to `UserDevices` and `UserPayments` pages. - Introduced new `AdminDevicesTable` and `UsersPaymentsTable` components for better admin functionalities. - Enhanced `DeviceCartDrawer` to provide user feedback during payment processing. - Added account number input to the signup form and updated validation schema accordingly. - Updated Prisma schema to include a new `ninja_user_id` field for user management. These changes improve the overall functionality, maintainability, and user experience of the application, particularly in user management and payment processing.
68 lines
1.9 KiB
JSON
68 lines
1.9 KiB
JSON
{
|
|
"name": "sarlink-portal",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"build": "bunx prisma migrate deploy && bunx prisma generate && bunx prisma db push && next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"studio": "bunx prisma studio"
|
|
},
|
|
"prisma": {
|
|
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@faker-js/faker": "^9.3.0",
|
|
"@hookform/resolvers": "^3.9.1",
|
|
"@prisma/client": "^6.1.0",
|
|
"@radix-ui/react-alert-dialog": "^1.1.2",
|
|
"@radix-ui/react-checkbox": "^1.1.2",
|
|
"@radix-ui/react-collapsible": "^1.1.1",
|
|
"@radix-ui/react-dialog": "^1.1.2",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
|
"@radix-ui/react-label": "^2.1.0",
|
|
"@radix-ui/react-popover": "^1.1.2",
|
|
"@radix-ui/react-scroll-area": "^1.2.1",
|
|
"@radix-ui/react-select": "^2.1.2",
|
|
"@radix-ui/react-separator": "^1.1.1",
|
|
"@radix-ui/react-slot": "^1.1.0",
|
|
"@radix-ui/react-tooltip": "^1.1.4",
|
|
"@tanstack/react-query": "^5.61.4",
|
|
"better-auth": "^1.0.0",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.0.0",
|
|
"date-fns": "^4.1.0",
|
|
"jotai": "2.8.0",
|
|
"lucide-react": "^0.460.0",
|
|
"moment": "^2.30.1",
|
|
"motion": "^11.15.0",
|
|
"next": "15.1.2",
|
|
"next-themes": "^0.4.3",
|
|
"nextjs-toploader": "^3.7.15",
|
|
"prisma": "^6.1.0",
|
|
"react": "19.0.0",
|
|
"react-aria-components": "^1.5.0",
|
|
"react-day-picker": "^8.10.1",
|
|
"react-dom": "19.0.0",
|
|
"react-hook-form": "^7.53.2",
|
|
"react-phone-number-input": "^3.4.9",
|
|
"sonner": "^1.7.1",
|
|
"tailwind-merge": "^2.6.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"vaul": "^1.1.2",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.2",
|
|
"@types/react": "^19.0.2",
|
|
"@types/react-dom": "^19.0.2",
|
|
"eslint": "^9.17.0",
|
|
"eslint-config-next": "15.1.2",
|
|
"postcss": "^8.4.49",
|
|
"tailwindcss": "^3.4.17",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.7.2"
|
|
}
|
|
} |