Describe the bug
Typescript 7.0.2 is the latest available typescript package in npm and gets installed during
https://github.com/danger/danger-js/blob/13.0.10/Dockerfile#L16
It does not support getDefaultCompilerOptions as used in
https://github.com/danger/danger-js/blob/13.0.10/source/runner/runners/utils/transpiler.ts#L130-L132
To Reproduce
Steps to reproduce the behavior:
- Run danger.js and attempt to transpile without overriding the default compiler options.
Additional context
Add any other context about the problem here.
Suspect that
RUN yarn remove 'typescript' --dev && yarn add 'typescript@6.0.3'
Would be sufficient until support for 7.x.x is both stable on the provider side and in danger-js
Describe the bug
Typescript 7.0.2 is the latest available
typescriptpackage in npm and gets installed duringhttps://github.com/danger/danger-js/blob/13.0.10/Dockerfile#L16
It does not support
getDefaultCompilerOptionsas used inhttps://github.com/danger/danger-js/blob/13.0.10/source/runner/runners/utils/transpiler.ts#L130-L132
To Reproduce
Steps to reproduce the behavior:
Additional context
Add any other context about the problem here.
Suspect that
RUN yarn remove 'typescript' --dev && yarn add 'typescript@6.0.3'Would be sufficient until support for 7.x.x is both stable on the provider side and in danger-js