Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.77 KB

CONTRIBUTING.md

File metadata and controls

32 lines (20 loc) · 1.77 KB

Contributing to Marpit

Thank you for taking the time to read how to contribute to Marpit! This is the guideline for contributing to Marpit.

We are following the contributing guideline of marp-team projects. Please read this before starting work.

Development

Pull request

When sending pull request updated the interface of public class, it's better to mind to these resources.

Release

The core maintainer can release package to npm. For the security reason, we are not planned to automate release. We require two-factor authentication to release.

In a release process, you have to use npm command instead of yarn.

  1. Run npm version [major|minor|patch] at latest master branch. It adds tag and updates CHANGELOG.md.
  2. Push branch and tag by git push && git push --tags.
  3. Release package to npm by npm publish.
  4. Update GitHub release if possible.

ℹ️ In running important commands, code styling and tests are checked again through preversion and prepack scripts.