Update dependencies in pnpm-lock.yaml and package.json for validation and tsconfig-paths

- Added '@customer-portal/validation' and 'tsconfig-paths' to the dependencies in the BFF package.json.
- Updated pnpm-lock.yaml to include new dependencies for '@customer-portal/validation', 'tsconfig-paths', and 'nestjs-zod'.
- Removed 'tsconfig-paths' from the BFF package.json to avoid duplication, ensuring a cleaner dependency management.
This commit is contained in:
barsa 2025-11-19 18:06:19 +09:00
parent c2e9c15dab
commit dfaa1c93a8
4 changed files with 26 additions and 7 deletions

View File

@ -33,6 +33,7 @@
"dependencies": {
"@customer-portal/domain": "workspace:*",
"@customer-portal/logging": "workspace:*",
"@customer-portal/validation": "workspace:*",
"@nestjs/bullmq": "^11.0.3",
"@nestjs/common": "^11.1.6",
"@nestjs/config": "^4.0.2",
@ -55,6 +56,7 @@
"jsonwebtoken": "^9.0.2",
"nestjs-pino": "^4.4.0",
"nestjs-zod": "^5.0.1",
"tsconfig-paths": "^4.2.0",
"p-queue": "^7.4.1",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
@ -92,7 +94,6 @@
"ts-jest": "^29.4.1",
"ts-loader": "^9.5.4",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.19.2",
"ttypescript": "^1.5.15",
"typescript": "^5.9.2",

View File

@ -0,0 +1,14 @@
-- Safety migration to ensure cached profile columns stay removed.
-- Some environments created an empty migration folder, so deploys failed
-- because Prisma could not find migration.sql. This keeps the history intact
-- while acting as a no-op when the columns already dropped earlier.
ALTER TABLE "public"."users"
DROP COLUMN IF EXISTS "first_name",
DROP COLUMN IF EXISTS "last_name",
DROP COLUMN IF EXISTS "company",
DROP COLUMN IF EXISTS "phone";
COMMENT ON TABLE "public"."users"
IS 'Portal authentication only. Profile data fetched from WHMCS via IdMapping.';

View File

@ -34,6 +34,7 @@
},
"dependencies": {
"@customer-portal/domain": "workspace:*",
"nestjs-zod": "^5.0.1",
"zod": "^4.1.9"
},
"peerDependencies": {

15
pnpm-lock.yaml generated
View File

@ -62,6 +62,9 @@ importers:
'@customer-portal/logging':
specifier: workspace:*
version: link:../../packages/logging
'@customer-portal/validation':
specifier: workspace:*
version: link:../../packages/validation
'@nestjs/bullmq':
specifier: ^11.0.3
version: 11.0.3(@nestjs/common@11.1.6(class-transformer@0.5.1)(class-validator@0.14.2)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.6)(bullmq@5.58.5)
@ -164,6 +167,9 @@ importers:
speakeasy:
specifier: ^2.0.0
version: 2.0.0
tsconfig-paths:
specifier: ^4.2.0
version: 4.2.0
uuid:
specifier: ^13.0.0
version: 13.0.0
@ -234,9 +240,6 @@ importers:
ts-node:
specifier: ^10.9.2
version: 10.9.2(@types/node@24.3.1)(typescript@5.9.2)
tsconfig-paths:
specifier: ^4.2.0
version: 4.2.0
tsx:
specifier: ^4.19.2
version: 4.20.5
@ -363,6 +366,9 @@ importers:
'@customer-portal/domain':
specifier: workspace:*
version: link:../domain
nestjs-zod:
specifier: ^5.0.1
version: 5.0.1(@nestjs/common@11.1.6(class-transformer@0.5.1)(class-validator@0.14.2)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/swagger@11.2.0(@nestjs/common@11.1.6(class-transformer@0.5.1)(class-validator@0.14.2)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.6)(class-transformer@0.5.1)(class-validator@0.14.2)(reflect-metadata@0.2.2))(rxjs@7.8.2)(zod@4.1.9)
zod:
specifier: ^4.1.9
version: 4.1.9
@ -388,9 +394,6 @@ importers:
nestjs-pino:
specifier: ^4.4.0
version: 4.4.0(@nestjs/common@11.1.6(class-transformer@0.5.1)(class-validator@0.14.2)(reflect-metadata@0.2.2)(rxjs@7.8.2))(pino-http@10.5.0)(pino@9.9.5)(rxjs@7.8.2)
nestjs-zod:
specifier: ^5.0.1
version: 5.0.1(@nestjs/common@11.1.6(class-transformer@0.5.1)(class-validator@0.14.2)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/swagger@11.2.0(@nestjs/common@11.1.6(class-transformer@0.5.1)(class-validator@0.14.2)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.6)(class-transformer@0.5.1)(class-validator@0.14.2)(reflect-metadata@0.2.2))(rxjs@7.8.2)(zod@4.1.9)
react:
specifier: 19.1.1
version: 19.1.1