-
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
cli: Interactive setup for code quality tools and test frameworks #33269
Comments
Wow! I love this feature! I am not sure if there's any concern from core team but I'll bring it up for there visibility and inputs here. |
@ren-yamanashi thanks for the feature request! while this is intriguing, this is quite a big increase in surface area for Maybe @mrgrain has more context on what belongs in projen. |
Thank you for your consideration! Indeed, adding this request would make However, I think that the JavaScript / TypeScript toolchain is complex and that this feature will allow many users to set up their preferred CDK project in a simpler way. So, what about enabling interactive setup when certain actions (e.g. specified the |
Thanks @ren-yamanashi I think this is a great idea, but like @kaizencc said we currently don't want to start building yet another project-setup tool. I also think that in practice, this feature request will be less about "interactive setup" and much more about "support a larger variety and combination of dev tools and their respective default configs". We can bring this up with product in terms of priorities from our end. For a projen implementation, I believe rougly the following would be needed:
The good news is that you can get started with the projen work right away! |
Thank you for your detailed explanation and for sharing your specific implementation policy on the projen side. If I have any further questions or need confirmation as I proceed with the implementation, I would be happy to discuss this with you again. |
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: