You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: modernize and optimize tsconfig architecture for Vite
Refactored the TypeScript configuration to use a more modern setup,
splitting the configuration to properly isolate browser and
Node environments.
Key changes:
- Remove deprecated options for `moduleResolution` and `baseUrl`
- `tsconfig.json`: Converted to a pure solution file that
delegates to project-specific references (`app` and `node`).
- Environment Isolation:
- `tsconfig.app.json` now exclusively governs the browser code
- `tsconfig.node.json` governs the build tooling
- Upgraded Module Resolution: Changed `moduleResolution` from
`node` to `bundler`
- Modern Build Flags: Introduced `allowImportingTsExtensions`
and `useDefineForClassFields` for strictly standard ES module generation.
- Strict Type-Checking: Enabled `strict`, `noUnusedLocals`,
`noUnusedParameters`, and `noFallthroughCasesInSwitch` to enforce
higher code quality and prevent dead code.
- audit fix
Used commands:
```
npm audit fix
```
Signed-off-by: Omar <omar.brbutovic@secomind.com>
0 commit comments