@sr-labs/devkit
v0.5.1
Published
One devkit command for project development-environment tools: setup, release, changelog, agentmail.
Readme
@sr-labs/devkit
One devkit command for the tools that set up a project's development environment.
devkit setup [all|release|agentmail] # interactive wizard: install, versioning, npm publishing, Agent Mail
devkit release [--apply] [--push] ... # same as release-tag
devkit changelog [--stdout] ... # same as changelog
devkit agentmail --url <server> ... # same as agentmail-ui
devkit --help | --versiondevkit setup runs a bash wizard (wizard/setup.sh) from your repository root. It adds the release:tag and
changelog scripts, writes devkit.versioning (Lockstep or Independent), and, for GitLab CI or GitHub Actions,
walks you through creating an npm token, stores it as NPM_TOKEN and writes a publish job that runs on version
tags. It can also save AGENTMAIL_URL and AGENTMAIL_TOKEN to a gitignored .env. devkit setup release runs only install, versioning and publishing; devkit setup agentmail only the Agent Mail
stage. It needs bash, so on Windows
use WSL or Git Bash. Existing scripts and CI files are never replaced without asking. If you only have the standalone @sr-labs/release-tag or @sr-labs/changelog installed, it adds scripts for those bins and installs nothing.
An unknown subcommand prints an error and the help text and exits non-zero. See the devkit README.
