When creating a new CDK app in typescript, I typically use the following command:
npx --yes <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="d9babdb299e8f7e8eae1f7eb">[email protected]</a> init app --language typescript --generate-only
The generated package.json
file includes the typescript
version ^3.9.7
. However, I need to specify version 4.6.4
instead. How can I pass this parameter to ensure that cdk init
uses the correct version?