open-source-ideas / ideas

💡 Looking for inspiration for your next open source project? Or perhaps you've got a brilliant idea you can't wait to share with others? Open Source Ideas is a community built specifically for this! 👋
6.59k stars 221 forks source link

CLI for adding common node depdencies to a project (eg: prettier, eslint, husky, lint-staged, commitizen) #372

Open sygint opened 10 months ago

sygint commented 10 months ago

Project description

A CLI tool, perhaps something like app add, to optionally add commonly added dependencies to projects like git commit linting, html/css/js formatting/linting, css libraries like tailwind, testing frameworks, and other useful packages we get tired of having to manually configure and add every single time we start a project. A CLI wizard where a user can pick and choose their options as well as perhaps a json config one can load in to avoid having to manually select them each time they initialize a new project. I think this would speed up MVP ready prototyping. I'd like to have linting, formatting, commit message support and testing from the initialization of a project, honestly. I am sure this tool can grow out of hand, but I also think it could be useful with some fairly sensible options.

Relevant Technology

Node, javascript, not sure what else, really. Not sure if this tool would be useful for other languages, I don't know the tooling ecosystem well enough to know, really.

Complexity and required time

Complexity

Required time (ETA)

Categories

I might be underestimating the work involved, I really would love to get an idea what anyone thinks this would take or if it's just me who'd want this. I've had people ask before why I need this. I think this would increase my ability to prototype stuff in a manner than didn't then need to be reworked to add all these common dependencies.

danilovilhena commented 10 months ago

Hey @sygint!

I just published a v1 of kickstart-it, a JS package that does exactly what you described. You can check it out here 👇 https://www.npmjs.com/package/kickstart-it

I had this exact problem, having to spend some time in every project to set things up. When I read your issue here, it was the perfect opportunity to fix this!

sygint commented 10 months ago

Hey @sygint!

I just published a v1 of kickstart-it, a JS package that does exactly what you described. You can check it out here 👇 https://www.npmjs.com/package/kickstart-it

I had this exact problem, having to spend some time in every project to set things up. When I read your issue here, it was the perfect opportunity to fix this!

This is awesome, I'd love to brainstorm on more additions and contribute, I'm going to send you an email