SrBrahma / gev

Effortlessly npx way to init slightly opinionated projects boilerplates
5 stars 0 forks source link

Command to update scripts in existing project #19

Open SrBrahma opened 1 year ago

SrBrahma commented 1 year ago

Quite a pain to fix/improve a script in multiple projects and to ensure they are using the latest one.

It would replace existing scripts and add new ones to the end (maybe after a new line). It can have an interactive menu to update it, but perhaps just printing the latest scripts will do it.

Something that worked for tsconfig would also do it.

There could be a unified way to set the common scripts with a function in the program instead of defining each one individually.