chore: standardize ESM-first architecture and resolve all type/test/lint errors

This commit is contained in:
2026-02-11 01:33:44 +01:00
parent b6fbead807
commit 5b4d3ebb41
8 changed files with 181 additions and 15 deletions

View File

@@ -1,10 +1,13 @@
{
"name": "klz-cables-nextjs",
"type": "module",
"private": true,
"dependencies": {
"@directus/sdk": "^21.0.0",
"@mintel/mail": "^1.6.0",
"@mintel/next-config": "^1.6.0",
"@mintel/next-feedback": "^1.6.0",
"@mintel/next-utils": "^1.7.12",
"@mintel/next-utils": "^1.7.15",
"@react-email/components": "^1.0.7",
"@react-pdf/renderer": "^4.3.2",
"@sentry/nextjs": "^10.38.0",
@@ -53,9 +56,11 @@
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@types/sharp": "^0.31.1",
"@vitejs/plugin-react": "^5.1.4",
"@vitest/ui": "^4.0.16",
"autoprefixer": "^10.4.23",
"eslint": "^9.18.0",
"happy-dom": "^20.6.1",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"postcss": "^8.5.6",
@@ -66,8 +71,6 @@
"typescript": "^5.7.2",
"vitest": "^4.0.16"
},
"name": "klz-cables-nextjs",
"private": true,
"scripts": {
"dev": "docker network create infra 2>/dev/null || true && echo '\\n🚀 Development Environment Starting...\\n\\n📱 App: http://klz.localhost\\n🗄 CMS: http://cms.klz.localhost/admin\\n🚦 Traefik: http://localhost:8080\\n\\n(Press Ctrl+C to stop)\\n' && docker-compose down --remove-orphans && docker-compose up klz-app directus directus-db gatekeeper",
"dev:local": "next dev",