Describe the bug
The CI pipeline (check-types step) fails with the following error when running npx tsc --noemit:
tsconfig.json(5,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0.
This occurs because the project was upgraded to TypeScript 6.x (^6.0.2), which deprecates the "moduleResolution": "node" (alias for node10) option. The previous workaround "ignoreDeprecations": "5.0" is no longer valid for TS 6.x deprecations. Setting "ignoreDeprecations": "6.0" suppresses the error but causes ESLint strict type-checked rules to flag it as a code smell.
Steps To Reproduce
The CI pipeline (check-types step) fails with the following error when running npx tsc --noemit:
tsconfig.json(5,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0.
Expected Behaviour
- npx tsc --noemit passes without errors
- npx eslint --quiet passes without errors
- CI pipeline check-types step passes
- No runtime regressions in the UI application
Additional Context
No response
Describe the bug
The CI pipeline (
check-typesstep) fails with the following error when runningnpx tsc --noemit:tsconfig.json(5,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0.
This occurs because the project was upgraded to TypeScript 6.x (
^6.0.2), which deprecates the"moduleResolution": "node"(alias fornode10) option. The previous workaround"ignoreDeprecations": "5.0"is no longer valid for TS 6.x deprecations. Setting"ignoreDeprecations": "6.0"suppresses the error but causes ESLint strict type-checked rules to flag it as a code smell.Steps To Reproduce
The CI pipeline (
check-typesstep) fails with the following error when runningnpx tsc --noemit:tsconfig.json(5,23): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0.
Expected Behaviour
Additional Context
No response