deno.land / x / wasm@wasmer-sdk-v0.6.0 / CONTRIBUTING.md

CONTRIBUTING.md

Contributing Guide

Building

To build this library you will need to have installed in your system:

npm install
npm run build

There is also a command for compiling the Rust in debug mode. This tends to be a lot faster and includes thread-safety checks.

npm run build:dev

Testing

Build the package and run the tests:

npm run build:dev
npm run test

Releasing

This repository uses Release Please to automate a lot of the work around creating releases.

Every time a commit following the Conventional Commit Style is merged into main, the release-please.yml workflow will run and update the "Release PR" to reflect the new changes.

For commits that just fix bugs (i.e. the message starts with "fix: "), the associated crate will receive a changelog entry and a patch version bump. Similarly, adding a new feature (i.e. "feat:") does a minor version bump and adding breaking changes (i.e. "fix!:" or "feat!:") will result in a major version bump.

When the release PR is merged, the updated changelog and bumped version number will be merged into the main branch, the release-please.yml workflow will automatically generate GitHub Releases, and CI will publish the package to NPM.

TL;DR:

  1. Use Conventional Commit Messages whenever you make a noteworthy change
  2. Merge the release PR when ready to release
  3. Let the automation do everything else
wasm

Version Info

Tagged at
4 months ago