FactuGES_ERP/modules/customers/package.json

62 lines
1.7 KiB
JSON
Raw Normal View History

2025-07-07 18:25:13 +00:00
{
"name": "@erp/customers",
2026-04-03 20:02:04 +00:00
"description": "Customers",
"version": "0.10.5",
2025-10-30 18:26:57 +00:00
"private": true,
"type": "module",
"sideEffects": false,
"scripts": {
"typecheck": "tsc -p tsconfig.json --noEmit",
2026-05-05 11:34:36 +00:00
"check": "biome check .",
"lint": "biome lint .",
2025-10-30 18:26:57 +00:00
"clean": "rimraf .turbo node_modules dist"
},
2025-07-07 18:25:13 +00:00
"exports": {
".": "./src/common/index.ts",
2025-10-28 17:52:30 +00:00
"./common": "./src/common/index.ts",
2025-07-07 18:25:13 +00:00
"./api": "./src/api/index.ts",
2026-03-16 17:45:45 +00:00
"./api/domain": "./src/api/domain/index.ts",
2025-07-07 18:25:13 +00:00
"./client": "./src/web/manifest.ts",
"./globals.css": "./src/web/globals.css",
"./components": "./src/web/components/index.ts"
},
2025-08-11 17:49:52 +00:00
"peerDependencies": {
2026-04-12 10:06:32 +00:00
"react": "^19.2.5",
"react-dom": "^19.2.5"
2025-08-11 17:49:52 +00:00
},
2025-07-07 18:25:13 +00:00
"devDependencies": {
2026-04-15 10:23:59 +00:00
"@types/express": "^4.17.21",
2026-04-12 10:06:32 +00:00
"@types/react": "^19.2.14",
2025-10-12 18:36:33 +00:00
"@types/react-router-dom": "^5.3.3",
2026-04-12 10:06:32 +00:00
"react": "^19.2.5",
"react-dom": "^19.2.5",
2026-05-26 11:55:26 +00:00
"rimraf": "^6.1.3",
2026-04-12 10:06:32 +00:00
"typescript": "^6.0.2"
2025-07-07 18:25:13 +00:00
},
"dependencies": {
2026-06-15 18:27:11 +00:00
"@erp/catalogs": "workspace:*",
feat: add proforma customer change evaluation utility - Implemented `evaluateProformaCustomerChange` function to assess changes in customer details for proforma invoices. - Introduced types for customer change details, blockers, field differences, and fiscal targets. - Added utility functions for normalizing text and formatting recipient information. test: add unit tests for customer payment resolver - Created tests for `CustomerPaymentResolver` to validate payment term retrieval and handling of inactive terms. - Ensured proper behavior when clearing payment terms and handling non-existent terms. test: add unit tests for customer default payment term resolver - Developed tests for `CustomerDefaultPaymentTermResolver` to verify default payment term resolution logic. - Included scenarios for creating customers with and without explicit payment term IDs. feat: implement customer default payment term resolver - Created `CustomerDefaultPaymentTermResolver` to manage default payment term resolution during customer creation. - Integrated with company finder and payment resolver services. test: add unit tests for create customer use case - Implemented tests for `CreateCustomerUseCase` to ensure correct handling of payment term IDs during customer creation. - Validated behavior when no explicit payment term ID is provided. test: add unit tests for update customer use case - Developed tests for `UpdateCustomerUseCase` to verify payment term handling during customer updates. - Ensured that inactive payment terms are not assigned and that explicit null values are respected. feat: add dependency injection for customer company services - Implemented DI for customer company dependencies to facilitate service resolution. test: add tests for customer create data utility - Created tests for `buildCustomerCreateData` to validate payment term handling based on user input.
2026-08-17 09:25:34 +00:00
"@erp/companies": "workspace:*",
2026-07-04 11:28:28 +00:00
"@erp/core": "workspace:*",
"@erp/identity": "workspace:*",
2026-04-12 10:06:32 +00:00
"@hookform/resolvers": "^5.2.2",
2025-11-28 15:00:18 +00:00
"@repo/i18next": "workspace:*",
2025-07-07 18:25:13 +00:00
"@repo/rdx-criteria": "workspace:*",
"@repo/rdx-audit": "workspace:*",
2025-07-07 18:25:13 +00:00
"@repo/rdx-ddd": "workspace:*",
2025-09-23 10:40:49 +00:00
"@repo/rdx-logger": "workspace:*",
2025-07-07 18:25:13 +00:00
"@repo/rdx-ui": "workspace:*",
"@repo/rdx-utils": "workspace:*",
"@repo/shadcn-ui": "workspace:*",
2026-04-12 10:06:32 +00:00
"@tanstack/react-query": "^5.98.0",
2025-10-20 09:35:24 +00:00
"@tanstack/react-table": "^8.21.3",
2026-04-12 10:06:32 +00:00
"express": "^4.22.1",
"lucide-react": "^1.8.0",
2026-04-03 16:15:25 +00:00
"react-hook-form": "^7.72.1",
2026-04-12 10:06:32 +00:00
"react-i18next": "^17.0.2",
"react-router-dom": "^7.14.0",
2026-04-03 16:15:25 +00:00
"sequelize": "^6.37.8",
2026-04-12 10:06:32 +00:00
"use-debounce": "^10.1.1",
"zod": "^4.3.6"
2025-07-07 18:25:13 +00:00
}
}