add changelog
in order to improve versioning and change log for new releases KeepAChangeLog approach is suggested
- https://github.com/release-flow/keep-a-changelog-action/tree/main
- https://github.com/ionide/KeepAChangelog
- https://www.npmjs.com/package/@release-it/keep-a-changelog
a few questions: 1 - what is the single source of truth for package version (now is package.json) 2 - if using the ionide nuget package for grabbing the version from changelog, how do we sync it with npm package.json
The source of truth is the changelog, where users can easily check if an item is unreleased.
I believe there is a package available that can read the latest version from the changelog and update package.json accordingly. The npm version command comes to mind.
If that's not the case, Ionide.Keepachangelog is also accessible as a library, so a simple *.fsx script could do the trick. However, I suspect there's something existing in the npm ecosystem that could help with this.
close #41