I will give a talk on semantic-release and Greenkeeper this Thursday at Node.js Boston. I want to live-demo publishing packages, update workflows and an accidental breaking change and how Greenkeeper helps with that. I’m looking for a good "story" for what these packages do, how to call them, etc. Any idea? Please ping me on Twitter
Goal: create a CLI tool / app with a dependency and a sub dependency.
- Show quickly who to publish all 3 tools with semantic-release
- Add feature to sub-dependency, feature it shows up in CLI tool (after running npm install) although dependency was not updated.
- Show tag & changelogs on GitHub
- enable Greenkeeper on all repos
- Create fix in sub dependency, show how Greenkeeper does not send a pull request, but still triggers CI build
- Create fix in sub dependency with unwanted breaking change.
- Install CLI tool from scratch, show that it breaks now although nothing was changed.
- Show how Greenkeeper starts pull request because of breaking tests. Change ^1.0.0 to 1.1.0 to contain the accidental change and change commit message to “fix(package): …”
- Install CLI tool from scratch, show that it no longer breaks.
- Fix the accidental breaking change in sub dependency
- GK starts a new pull request because 1.1.1 is out of range for 1.1.0, tests pass, change 1.1.0 to ^1.1.1, change commit message to “fix(package): …”