- Upgraded various dependencies across the project, including NestJS packages, Prisma client, and TypeScript for improved performance and features. - Added new script commands for security audits and checks in package.json. - Enhanced pnpm workspace configuration to include only built dependencies for better management. - Refactored test cases to improve type handling and ensure compatibility with updated dependencies. - Cleaned up package.json files across applications to maintain consistency and clarity in dependency management.
90 lines
4.0 KiB
JSON
90 lines
4.0 KiB
JSON
{
|
|
"name": "customer-portal",
|
|
"version": "1.0.0",
|
|
"description": "Customer portal with BFF architecture",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=22.0.0",
|
|
"pnpm": ">=10.0.0"
|
|
},
|
|
"packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501",
|
|
"scripts": {
|
|
"predev": "pnpm --filter @customer-portal/domain build",
|
|
"dev": "./scripts/dev/manage.sh apps",
|
|
"dev:all": "pnpm --parallel --filter @customer-portal/domain --filter @customer-portal/portal --filter @customer-portal/bff run dev",
|
|
"build": "pnpm --recursive run build",
|
|
"start": "pnpm --parallel --filter @customer-portal/portal --filter @customer-portal/bff run start",
|
|
"test": "pnpm --recursive run test",
|
|
"lint": "pnpm --recursive run lint",
|
|
"lint:fix": "pnpm --recursive run lint:fix",
|
|
"format": "prettier -w .",
|
|
"format:check": "prettier -c .",
|
|
"prepare": "husky",
|
|
"type-check": "pnpm type-check:packages && pnpm type-check:apps",
|
|
"type-check:workspace": "tsc -b --noEmit",
|
|
"type-check:packages": "pnpm --workspace-concurrency=1 --filter @customer-portal/domain --filter @customer-portal/validation --filter @customer-portal/logging run type-check",
|
|
"type-check:apps": "pnpm --workspace-concurrency=1 --filter @customer-portal/bff --filter @customer-portal/portal run type-check",
|
|
"clean": "pnpm --recursive run clean",
|
|
"dev:start": "./scripts/dev/manage.sh start",
|
|
"dev:stop": "./scripts/dev/manage.sh stop",
|
|
"dev:restart": "./scripts/dev/manage.sh restart",
|
|
"analyze": "pnpm --filter @customer-portal/portal run analyze",
|
|
"bundle-analyze": "./scripts/bundle-analyze.sh",
|
|
"dev:tools": "./scripts/dev/manage.sh tools",
|
|
"dev:apps": "./scripts/dev/manage.sh apps",
|
|
"dev:logs": "./scripts/dev/manage.sh logs",
|
|
"dev:status": "./scripts/dev/manage.sh status",
|
|
"dev:migrate": "./scripts/dev/manage.sh migrate",
|
|
"dev:studio": "./scripts/dev/manage.sh studio",
|
|
"dev:reset": "./scripts/dev/manage.sh reset",
|
|
"prod:deploy": "./scripts/prod/manage.sh deploy",
|
|
"prod:start": "./scripts/prod/manage.sh start",
|
|
"prod:stop": "./scripts/prod/manage.sh stop",
|
|
"prod:restart": "./scripts/prod/manage.sh restart",
|
|
"prod:update": "./scripts/prod/manage.sh update",
|
|
"prod:build": "./scripts/prod/manage.sh build",
|
|
"prod:status": "./scripts/prod/manage.sh status",
|
|
"prod:logs": "./scripts/prod/manage.sh logs",
|
|
"prod:backup": "./scripts/prod/manage.sh backup",
|
|
"prod:cleanup": "./scripts/prod/manage.sh cleanup",
|
|
"db:migrate": "pnpm --filter @customer-portal/bff run db:migrate",
|
|
"db:studio": "pnpm --filter @customer-portal/bff run db:studio",
|
|
"db:reset": "pnpm --filter @customer-portal/bff run db:reset",
|
|
"update:check": "pnpm outdated --recursive",
|
|
"update:all": "pnpm update --recursive --latest && pnpm audit && pnpm type-check",
|
|
"update:safe": "pnpm update --recursive && pnpm audit && pnpm type-check",
|
|
"security:audit": "pnpm audit",
|
|
"security:audit-fix": "pnpm audit --fix || pnpm update --recursive && pnpm audit",
|
|
"security:check": "pnpm audit --audit-level=high",
|
|
"dev:watch": "pnpm --parallel --filter @customer-portal/domain --filter @customer-portal/portal --filter @customer-portal/bff run dev",
|
|
"plesk:images": "bash ./scripts/plesk/build-images.sh",
|
|
"postinstall": "husky install || true"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.3.3",
|
|
"@eslint/js": "^9.39.1",
|
|
"@types/node": "^24.10.2",
|
|
"eslint": "^9.39.1",
|
|
"eslint-config-next": "15.5.0",
|
|
"eslint-plugin-prettier": "^5.5.4",
|
|
"globals": "^16.5.0",
|
|
"husky": "^9.1.7",
|
|
"pino": "^10.1.0",
|
|
"prettier": "^3.7.4",
|
|
"sharp": "^0.34.5",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.49.0",
|
|
"zod": "^4.1.13"
|
|
},
|
|
"dependencies": {
|
|
"@types/ssh2-sftp-client": "^9.0.6",
|
|
"ssh2-sftp-client": "^12.0.1"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"js-yaml": ">=4.1.1"
|
|
}
|
|
}
|
|
}
|