- Added API for renaming workstations with validation and error handling. - Created tests for the rename workstation API to ensure proper functionality. - Developed UI components for editing workstation names, including form handling and feedback. - Introduced new detail panels for displaying workstation assets, people, and profiles. - Enhanced existing tests for workstation detail page to cover new features and edge cases. - Updated icon imports to include a pencil icon for editing actions.
45 lines
1.8 KiB
JSON
45 lines
1.8 KiB
JSON
{
|
|
"name": "@metis/assets",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
"./common": "./src/common/index.ts",
|
|
"./module": "./src/api/module.ts",
|
|
"./client": "./src/web/index.ts"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc -p tsconfig.json",
|
|
"test": "TSX_TSCONFIG_PATH=../../tsconfig.json node --import tsx --test src/api/domain/asset-catalog.test.ts src/api/domain/asset.test.ts src/api/domain/workstation.test.ts src/api/domain/asset-relationship.test.ts src/web/catalog/shared/catalog.test.tsx src/web/assets/shared/inventory.test.tsx src/api/domain/support.test.ts src/web/support-connections/shared/support.test.tsx src/api/domain/brand.test.ts src/web/brands/shared/brands.test.tsx src/api/domain/template-sections.test.ts src/web/workstations/shared/helpers/workstation-creation.test.ts src/web/workstations/shared/workstation-name.test.ts src/web/workstations/rename/api/rename-workstation.test.ts src/web/assets/select/asset-selection.test.tsx src/web/catalog-fields/select/catalog-field-selection.test.tsx"
|
|
},
|
|
"dependencies": {
|
|
"@hookform/resolvers": "5.2.2",
|
|
"@metis/core": "workspace:*",
|
|
"@repo/rdx-ddd": "workspace:*",
|
|
"@repo/rdx-ui": "workspace:*",
|
|
"@repo/rdx-utils": "workspace:*",
|
|
"@repo/shadcn-ui": "workspace:*",
|
|
"@tanstack/react-table": "8.21.3",
|
|
"react-hook-form": "7.72.1",
|
|
"saxes": "6.0.0",
|
|
"sequelize": "6.37.8",
|
|
"zod": "4.3.6",
|
|
"@metis/resources": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@repo/typescript-config": "workspace:*",
|
|
"@types/express": "4.17.21",
|
|
"@types/node": "25.6.0",
|
|
"@types/react": "19.2.14",
|
|
"@types/react-dom": "19.2.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@tanstack/react-query": "5.98.0",
|
|
"express": "4.22.1",
|
|
"i18next": "26.0.4",
|
|
"react": "19.2.5",
|
|
"react-dom": "19.2.5",
|
|
"react-i18next": "17.0.2"
|
|
}
|
|
}
|