Skip to content

Latest commit

History

History
executable file
34 lines (27 loc) 路 1.7 KB

CONTRIBUTING.md

File metadata and controls

executable file
34 lines (27 loc) 路 1.7 KB

Contributing

Guidelines

  • Patches, ideas and changes welcome.
  • Fixes almost always welcome.
  • Features sometimes welcome.
    • Please open an issue to discuss the issue prior to spending lots of time on the problem.
    • It may be rejected.
    • If you don't want to wait around for the discussion to commence, and you really want to jump into the implementation work, be prepared for fork if the idea is respectfully declined.
  • Stay within the style of the existing code.
  • All tests must pass.
  • Additional features or code paths should be tested.
  • Aim for 100% coverage.
  • Questions are welcome, however unless there is a official support contract established between the maintainers and the requester, support is not guaranteed.
  • Contributors reserve the right to walk away from this project at any moment with or without notice.

Releasing

Changelog, and releasing is automated with npm scripts and GitHub actions. To create a release:

  • Navigate to the actions tab in GitHub
  • Select the npm bump action.
  • Trigger an action, specifying the semantic version bump that is needed.
  • Changelog, Github release and npm publish is handled by the action.
  • An in depth review of this system is documented here: bret.io/projects/package-automation

If for some reason that isn't workoing or a local release is preferred, follow these steps:

  • Ensure a clean working git workspace.
  • Run npm version {patch,minor,major}.
    • This wills update the version number and generate the changelog.
  • Run npm run release.
    • This will push your local git branch and tags to the default remote, perform a gh-release, and create an fly.io release.