Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.68 KB

CONTRIBUTING.md

File metadata and controls

34 lines (27 loc) · 1.68 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 to fork if the idea is respectfully declined.
  • Try to stay within the style of the existing code.
  • All tests must pass.
  • Additional features or code paths must 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 actions. To create a release:

  • Navigate to the actions tab
  • Select the npm bump action.
  • Trigger an action, specifying the semantic version bump that is needed.
  • Changelog, Github release and npm publish is hanlded 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 working 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 publish.
    • This will push your local git branch and tags to the default remote, perform a gh-release, and create an npm publication