The initialization template for TypeScript in aws-cdk creates content in the bin directory and connects it to the bin property of package.json. I'm curious about the reasoning behind this setup.
I find it puzzling because the contents of the bin directory contain the default cdk app for the project, but it doesn't appear to function as an executable file on its own. Typically, it is utilized within the context of a cdk command specified in the template's cdk.json.
Is there a specific scenario that requires node's symlinking behavior that I might be overlooking?
[edit: clarification]
This situation isn't causing any issues currently, but I am interested in understanding if there is a particular reason within aws-cdk tooling for utilizing the bin symlinking behavior (to avoid inadvertently disrupting this functionality when making changes to the project).