Open spion opened 2 years ago
Hi @spion. Thanks for this! Let us have a look and we'll provide some details. I'm carefully assuming we can indeed better align the versions and reduce the size.
This is still an issue, current size is 280MB. The 3 copies of typescript are still there. jsii is still there even though a purely typescript app doesn't need any translation to other languages
This issue has not received any attention in 1 year and will be closed soon. If you want to keep it open, please leave a comment below @mentioning a maintainer.
Still a problem: current size 284MB. If anything, the size is slowly growing.
This is also the primary reason why I'm currently recommending against using cdk8s (typescript version) whenever asked about it. The amount of npm package churn (via e.g. vulnerability reports and necessary updates and similar) and the size of the surface area quickly negatively offsets quite a bit of the benefits of nicer infrastructure as code.
Description of the bug:
Running `npx cdk8s-cli init typescript-app produces a 300MB sized directory, of which about 180MB are 3 copies of typescript - the toplevel typescript, the one in jsii and the one in jisii-rosetta.
Few questions come to mind:
Reproduction Steps:
Error Log:
278MB
Environment:
This is :bug: Bug Report