- Upgraded TypeScript target and library to ES2023 for improved language features. - Enhanced TeamProvisioningService to better handle plain text attachments with UTF-8 validation. - Improved TaskCommentInput to differentiate between image and non-image file previews, including a new FileIcon for non-image files. - Refactored attachment handling in useAttachments and useComposerDraft hooks to simplify file processing. - Added validation for empty files in attachmentUtils to improve user feedback on unsupported uploads.
25 lines
674 B
JSON
25 lines
674 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2023",
|
|
"module": "ESNext",
|
|
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
|
"jsx": "react-jsx",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@main/*": ["./src/main/*"],
|
|
"@renderer/*": ["./src/renderer/*"],
|
|
"@preload/*": ["./src/preload/*"],
|
|
"@shared/*": ["./src/shared/*"]
|
|
},
|
|
"types": ["node", "vitest/globals"]
|
|
},
|
|
"include": ["src/**/*", "test/**/*"],
|
|
"exclude": ["node_modules", "dist", "dist-electron"]
|
|
}
|