pulumi/tests/integration/nodejs/tsconfig-no-check
Julien ef1db8482c
Respect the noCheck option from tsconfig.json (#18067)
Pulumi can run TypeScript code without typechecking by setting the
`PULUMI_NODEJS_TRANSPILE_ONLY` env variable to `false`. This is useful
when another build step already does typechecking, and you don’t want to
pay the performance cost of typechecking twice. This also enables using
[swc](https://typestrong.org/ts-node/docs/swc/), which does not support
typechecking.

With TypeScript 5.6 there is a new
[`noCheck`](https://devblogs.microsoft.com/typescript/announcing-typescript-5-6/#the---nocheck-option)
compiler option in tsconfig. With this PR, we enable controlling
ts-node’s `transpileOnly` setting via this option, in addition to
`PULUMI_NODEJS_TRANSPILE_ONLY`.

Fixes https://github.com/pulumi/pulumi/issues/18047
2024-12-20 16:00:57 +00:00
..
Pulumi.yaml Respect the noCheck option from tsconfig.json (#18067) 2024-12-20 16:00:57 +00:00
index.ts Respect the noCheck option from tsconfig.json (#18067) 2024-12-20 16:00:57 +00:00
package.json Respect the noCheck option from tsconfig.json (#18067) 2024-12-20 16:00:57 +00:00
tsconfig.json Respect the noCheck option from tsconfig.json (#18067) 2024-12-20 16:00:57 +00:00