mirror of https://github.com/pulumi/pulumi.git
ef1db8482c
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 |
||
---|---|---|
.. | ||
error.ts | ||
index.ts | ||
run.ts | ||
tracing.ts |