Tools to help build and test Slack applications.
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
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`