What happened?
Typescript dependencies are possibly broken. The genrated code mixes dev and normal dependencies (for example @types/node-fetch should be a dev dependency.
Also I wonder why these dependencies are even included. Shouldn't it be enough to just include @pulumi/kubernetes and @pulumi/pulumi as before (in 1.4.0)?
Example
I pinned k8s and pulumi dep, rest is produced as output from crd2pulumi
[
...
"dependencies": {
"@pulumi/kubernetes": "4.23.0",
"@pulumi/pulumi": "3.190.0",
"@types/node-fetch": "^2.1.4",
"@types/tmp": "^0.2.0",
"glob": "^10.3.10",
"node-fetch": "^2.3.0",
"shell-quote": "^1.6.1",
"tmp": "^0.2.0"
},
"devDependencies": {
"@types/mocha": "^5.2.5",
"@types/shell-quote": "^1.6.0",
"mocha": "^5.2.0"
}
]
Output of pulumi about
CLI
Version 3.190.0
Go Version go1.24.6
Go Compiler gc
Host
OS arch
Version "rolling"
Arch x86_64
crd2pulumi version: v1.5.4, manually installed from releases binary
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
What happened?
Typescript dependencies are possibly broken. The genrated code mixes dev and normal dependencies (for example
@types/node-fetchshould be a dev dependency.Also I wonder why these dependencies are even included. Shouldn't it be enough to just include
@pulumi/kubernetesand@pulumi/pulumias before (in 1.4.0)?Example
I pinned k8s and pulumi dep, rest is produced as output from
crd2pulumiOutput of
pulumi aboutcrd2pulumi version:
v1.5.4, manually installed from releases binaryAdditional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).