-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws-cdk: Warnings on cdk init #31420
Comments
Reproducible. Following warnings are displayed:
|
I am considering working on this issue. Therefore, I would like to discuss a few things. PremiseWhen I checked the contents of package.lock.json, the issue mentioned in this issue seems to be caused by Therefore, I am considering submitting a PR to modify it to use vitest instead of jest. Things I Want to DiscussI would like to discuss the following two points. 1. About the test packageIs it permissible to adopt vitest instead of jest? 2. Testing the initial templateIf you update the TypeScript init-template, the TypeScript init tests may fail. So, I would like to verify the correct operation in MR. Is the following method of verifying the operation correct?
|
Describe the bug
Applying project template app for typescript
Welcome to your CDK TypeScript project
This is a blank project for CDK development with TypeScript.
The
cdk.json
file tells the CDK Toolkit how to execute your app.Useful commands
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testsnpx cdk deploy
deploy this stack to your default AWS account/regionnpx cdk diff
compare deployed stack with current statenpx cdk synth
emits the synthesized CloudFormation templateExecuting npm install...
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
✅ All done!
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
no warnings on init
Current Behavior
Applying project template app for typescript
Welcome to your CDK TypeScript project
This is a blank project for CDK development with TypeScript.
The
cdk.json
file tells the CDK Toolkit how to execute your app.Useful commands
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testsnpx cdk deploy
deploy this stack to your default AWS account/regionnpx cdk diff
compare deployed stack with current statenpx cdk synth
emits the synthesized CloudFormation templateExecuting npm install...
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
✅ All done!
Reproduction Steps
npx cdk init app --language=typescript
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
latest
Framework Version
No response
Node.js Version
20
OS
macos
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: