githubEdit

Contributing

Thank you for taking the time to contribute! πŸŽ‰πŸ‘

The following is a set of guidelines for contributing to Standard SDK JS, which is hosted in the Comake Organization on GitHub. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.

Please read our Code of Conductarrow-up-right to keep our community approachable and respectable.

To get an overview of the project, read the READMEarrow-up-right.

The repository is available at https://github.com/comake/standard-sdk-jsarrow-up-right

Pull Requests

All changes should be done through Pull Requestsarrow-up-right.

We recommend first searching for existing Issuesarrow-up-right related to your problem. If one does not exist, create a new Issuearrow-up-right to discuss a possible solution to reduce the amount of changes that will be requested.

After coming to consensus with maintainers, create a Forkarrow-up-right of the repo and implement your code changes and test.

In case any of your changes are breaking, make sure you target the next major branch (versions/x.0.0) instead of the main branch. Breaking changes include: changing interface/class signatures, potentially breaking external custom configurations, and breaking how internal data is stored. In case of doubt you probably want to target the next major branch.

Writing Code

Standard SDK JS is fully written in Typescriptarrow-up-right.

We make use of Conventional Commitsarrow-up-right .

We use Huskyarrow-up-right to enforce strict requirements from the linterarrow-up-right and the test coveragearrow-up-right before a PR is valid. These are configured to run automatically when trying to commit to git.

If a list of entries is alphabetically sorted, such as index.tsarrow-up-right, make sure it stays that way.

Testing

As mentioned above, tests run automatically when trying to commit to git. You should add or update unit testsarrow-up-right for any code that you add or change. If you are building a feature, please also add relevant integration testsarrow-up-right

To run tests manually, use:

or to only run tests in a specific file, use:

Last updated