- Add ./scripts/changelog-for-patch.mjs - Extract common functions to ./scripts/utils/changelog - Use changelog-for-patch.mjs from release script
Release script
Usage
node ./scripts/release/release.js --version NEW_VERSION
The script has its own package.json so we can reinstall the root's node_modules/ while making the release.
Credits
This script was inspired by React's release script.