pulumi/pkg/codegen/internal/test/testdata/external-resource-schema/nodejs
Justin Van Patten e5f29d1781
[codegen/nodejs] Respect compat modes when referencing external types (#8850)
This change fixes the Node.js SDK codegen to take external package compatibility modes into account when referencing external types.

For example, the kubernetes package has a "kubernetes20" compat mode set, which causes its types to be emitted without an `Args` suffix. When another package references types from kubernetes, those references should not include the `Args` suffix.

Another example: if a package has a compatibility mode specified like "kubernetes20" and is referencing types from a package that has no compatibility mode set, the externally referenced types should have the `Args` suffix.
2022-01-28 13:28:55 -08:00
..
scripts Generate scripts/install-pulumi-plugin.json (#8730) 2022-01-19 14:21:09 -08:00
types Update package import handling for Node.js (#7474) 2021-07-16 10:27:20 -07:00
README.md [codegen] Unify SDK codegen testing (#7433) 2021-07-06 15:40:53 -07:00
argFunction.ts [sdk/nodejs] Add pluginServerURL (#8698) 2022-01-10 15:54:41 -08:00
cat.ts [sdk/nodejs] Add pluginServerURL (#8698) 2022-01-10 15:54:41 -08:00
codegen-manifest.json Generate scripts/install-pulumi-plugin.json (#8730) 2022-01-19 14:21:09 -08:00
component.ts [codegen/nodejs] Respect compat modes when referencing external types (#8850) 2022-01-28 13:28:55 -08:00
index.ts [codegen/nodejs] Emit externally referenced resources/types (#6225) 2021-01-29 16:52:00 -08:00
package.json Generate scripts/install-pulumi-plugin.json (#8730) 2022-01-19 14:21:09 -08:00
provider.ts [sdk/nodejs] Add pluginServerURL (#8698) 2022-01-10 15:54:41 -08:00
tsconfig.json [codegen] Unify SDK codegen testing (#7433) 2021-07-06 15:40:53 -07:00
utilities.ts [sdk/nodejs] Add pluginServerURL (#8698) 2022-01-10 15:54:41 -08:00
workload.ts [sdk/nodejs] Add pluginServerURL (#8698) 2022-01-10 15:54:41 -08:00

README.md