pulumi/sdk/nodejs/cmd/run
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
..
error.ts Gracefully handle errors that don't implement toString (#18080) 2024-12-20 14:29:09 +00:00
index.ts implement RunPlugin for nodejs (#17724) 2024-11-11 10:51:22 +00:00
run.ts Respect the noCheck option from tsconfig.json (#18067) 2024-12-20 16:00:57 +00:00
tracing.ts Upgrade opentelemetry packages (#17922) 2024-12-04 17:34:42 +00:00