chore: update configuration and improve backup service handling
- Added root path configuration for turbopack in next.config.ts. - Updated build script in package.json to include Prisma generation. - Changed backup service methods to use synchronous config retrieval where appropriate, improving performance and avoiding async issues. - Ensured dynamic rendering in layout.tsx for better page performance.
This commit is contained in:
@@ -4,8 +4,9 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev --turbopack",
|
||||
"build": "next build --turbopack",
|
||||
"build": "prisma generate && next build --turbopack",
|
||||
"start": "next start",
|
||||
"postinstall": "prisma generate",
|
||||
"lint": "eslint",
|
||||
"backup:create": "pnpm tsx scripts/backup-manager.ts create",
|
||||
"backup:list": "pnpm tsx scripts/backup-manager.ts list",
|
||||
|
||||
Reference in New Issue
Block a user