cli: Interactive setup for code quality tools and test frameworks #33269
Labels
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
package/tools
Related to AWS CDK Tools or CLI
Describe the feature
Add interactive CLI prompts for setting up code quality tools and test frameworks during project initialization for TypeScript / JavaScript.
⬇️ sample
Similar issues: #32136
Use Case
Currently, the CLI automatically installs preset tools like Jest for testing. However, developers often have different preferences for their development tooling. An interactive setup would allow users to:
Proposed Solution
Implement an interactive CLI setup similar to
create-next-app
orvue create
:1. Add prompts during
cdk init
for:2. Generate appropriate configuration files based on user selections
3. Add selected dependencies to package.json
4. install dependencies based on the selected package manager
Other Information
Reference implementations:
This would make the tool more flexible and suitable for different development preferences while maintaining the ease of setup.
Acknowledgements
CDK version used
2.171.1
Environment details (OS name and version, etc.)
macOS Sonoma 14.0
The text was updated successfully, but these errors were encountered: