- Replaced UsersService with UsersFacade across various modules for improved abstraction and consistency. - Updated validation imports to utilize the new @customer-portal/validation package, enhancing modularity. - Removed deprecated validation files and streamlined user-related logic in controllers and services. - Enhanced order processing by integrating field mappings for Salesforce orders, improving maintainability. - Improved error handling and response structures in authentication and user management workflows.
64 lines
1.5 KiB
JSON
64 lines
1.5 KiB
JSON
{
|
|
"name": "@customer-portal/validation",
|
|
"version": "1.0.0",
|
|
"description": "Unified validation service for customer portal (NestJS + React)",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"private": true,
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./react": {
|
|
"types": "./dist/react/index.d.ts",
|
|
"default": "./dist/react/index.js"
|
|
},
|
|
"./nestjs": {
|
|
"types": "./dist/nestjs/index.d.ts",
|
|
"default": "./dist/nestjs/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -b",
|
|
"dev": "tsc -b -w --preserveWatchOutput",
|
|
"clean": "rm -rf dist",
|
|
"type-check": "NODE_OPTIONS=\"--max-old-space-size=2048 --max-semi-space-size=128\" tsc --project tsconfig.json --noEmit",
|
|
"test": "jest",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix"
|
|
},
|
|
"dependencies": {
|
|
"@customer-portal/domain": "workspace:*",
|
|
"zod": "^4.1.9"
|
|
},
|
|
"peerDependencies": {
|
|
"@nestjs/common": "^11.0.0",
|
|
"react": "^19.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@nestjs/common": {
|
|
"optional": true
|
|
},
|
|
"react": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.1.10",
|
|
"@nestjs/common": "^11.1.6",
|
|
"react": "19.1.1",
|
|
"typescript": "^5.9.2",
|
|
"jest": "^30.0.5",
|
|
"@types/jest": "^30.0.0",
|
|
"nestjs-zod": "^5.0.1",
|
|
"nestjs-pino": "^4.4.0",
|
|
"express": "^5.1.0",
|
|
"@types/express": "^5.0.3"
|
|
}
|
|
}
|