@kindly/pronto
v1.9.0
Published
The Kindly CLI for internal development
Keywords
Readme
PRONTO
This package is a CLI tool to manage our internal workflows in Kindly organization.
Installation
Locally:
npm install -D @kindly/prontoGlobally:
npm install -g @kindly/prontoIf you have npm installed globally, you can also use pronto without installing:
npx @kindly/pronto@latest [command] [options]Pronto make use of the following environment variables:
PRONTO_SLACK_BOT_TOKEN: Required. The Slack bot token. Ask a colleague to give it to you.PRONTO_SLACK_USER_ID: Required. Your Slack user ID.PRONTO_CUSTOM_SLACK_CHANNEL_ID: Optional. The Slack channel ID Pronto will post messages to. If not provided, messages will be posted to the Product Tech Team channel.PRONTO_DEBUG: Optional. Either0/undefinedor1. If1, Pronto will follow some debug configurations, like posting messages to the Pronto debug channel instead of Product Tech Team channel.
Usage
$ pronto [command] [options]Commands supported:
release
Create a new release by creating and pushing a new tag, then notify on Slack tech channel.
# Example
$ pronto releaseOptions supported:
-n, --npmMake a release for an NPM package (it modifies the package.json).
-w, --workspacesPass --workspaces npm flag when making a release for an NPM package (only working with --npm flag).
dev
Pushes your local current branch to the remote development branch, then notify on Slack tech channel.
# Example
$ pronto dev
$ pronto dev --ask
$ pronto dev --silent
$ pronto dev -as
$ pronto dev --yes
$ pronto dev -ysOptions supported:
-a, --askAsk permission on Slack from the last person who committed to the development branch before taking over.
-s, --silentDo not notify on Slack, instead post on the CLI.
-y, --yesSkip all confirmations and prompts.
Global options supported:
--helpShow help messages about the package or specific commands.
-v, --versionShow the version of the installed package.
# Examples
$ pronto --help
$ pronto release --help
$ pronto -vDevelopment
Build
- Run
npm run buildto build the package indistfolder.
Lint
- Run
npm run lintto run the linter.
pronto uses Biome for linting and formatting.
Release
- Merge your code changes into
mainbranch (e.g. from a PR). - Switch to the
mainbranch. - Run
npm run release.
pronto will use itself to do its own release! 🎉
