Build and test automatically in Node.
yarn node-test
Build test website and check manually in browsers.
yarn web-test
Should check at least:
- Chrome
- Firefox
- Safari
Elm enforces strict rules for incrementing version numbers for packaging, so need to ask Elm for what the next version number to be like by running elm bump
.
elm bump
The command will update elm.json
file with the new version number depending on the nature of the changes made.
The following files need to be updated with the new Elm package version in elm.json
file:
package.json
src/TaskPort.elm
(seemoduleVersion
)js/taskport.js
(seeMODULE_VERSION
)
Verify that version changes are successful by running Node tests again:
yarn node-test
- Check-in everything to the repo
- Tag code in the
main
branch with the updated version number:
git tag <version>
- Push the tag to the repo
git push --tags
- Publish Elm package
elm publish
yarn publish
Add release notes to CHANGES.