mirror of https://github.com/pulumi/pulumi.git
858a1963eb
This commit refactors NodeJS/TypeScript code generation so that input, output and enumeration types are now generated in separate files near their resources. Previously, all inputs, outputs and enumerations would be grouped into a coarse-grained `types/*` module hierarchy, which hurts type checking performance in the case of large providers such as AWS (see https://github.com/pulumi/pulumi/issues/11558 and https://github.com/pulumi/pulumi/issues/10442, for instance). This commit changes code generation so that we now emit `input.ts`/`output.ts`/`enums.ts` files next to resources and functions as appropriate, rather than bundling them all into one large module. For backwards compatibility, the original module hierarchy has been preserved using re-exports until such a time as we decide to bump the major versions of our provider SDKs to remove it. |
||
---|---|---|
.. | ||
asset | ||
authhelpers | ||
backend | ||
cmd/pulumi | ||
codegen | ||
display | ||
engine | ||
graph | ||
importer | ||
operations | ||
resource | ||
secrets | ||
testing/integration | ||
util | ||
version | ||
workspace | ||
README.md | ||
go.mod | ||
go.sum |
README.md
pulumi/pkg
While pulumi/sdk maintains strict backwards compatibility guarantees, code under pkg/ is handled more informally: while breaking changes are still discouraged they may happen when they make sense.