Skip to content

IBM/slack-wrench

Repository files navigation

Slack 🔧 Wrench

Workflow badge

Tools to help build and test Slack applications.

Contributing

Our packages are written in Typescript, we use lerna and yarn to manage dependencies. You'll need to have yarn installed to develop these packages. Then you can fetch dependencies with:

yarn install

We use pre-commit to share git pre-commit hooks. You'll need to install it and set it up for our repo with:

pre-commit install

Releasing a New Version

Note: For maintainers only.

slack-wrench uses Semver for versioning. Based on the changes since the last release, determine which type of release this is, major, minor, or patch.

Use lerna to update all of the packages to the new version, and create a pull request. A GitHub Action will handle publishing to npm once it's merged.

For example, to release a new major version...

$ git checkout -b release/v1.0.0
$ yarn lerna:version major
$ git push origin release/v1.0.0 --follow-tags

# Open a pull request from `release/v1.0.0` => `main`