cookiecutter-webpack icon indicating copy to clipboard operation
cookiecutter-webpack copied to clipboard

Automate dependency update

Open goldhand opened this issue 9 years ago • 2 comments

Currently using npm-check-updates to check for dependecy updates and comparing the diff. Would be super nice to automate this process somehow...

Documenting current process:

  1. Create a cookiecutter-webpack project with default options (would be nice to test all options).
$ cookiecutter [email protected]:hzdg/cookiecutter-webpack.git
  1. enter new project (project_name) is default and create a new git repository and commit everything.
$ cd project_name/
$ git init
$ git add .
$ git commit -m 'Init'
  1. Run npm-check-updates tool to update package.json to latest dependencies
$ ncu -uat
  1. Compare diff and update cookiecutter-webpack/{{cookiecutter.repo_name}}/package.json file with new dependencies.
$ git diff

goldhand avatar Jul 14 '16 19:07 goldhand

What about https://greenkeeper.io/?

jayfk avatar Aug 04 '16 08:08 jayfk

Thanks @jayfk, this looks like what we need :smile:

goldhand avatar Aug 14 '16 23:08 goldhand