Development environments are defined in flake.nix and automatically activated when direnv
is installed and configured.
- Install
nix - Then use
nix develop -c $SHELL, or usedirenv:- Install
direnv - Setup
direnv - Install and setup
nix-direnv - Run
direnv allow
- Install
- Finally, run
just hooks-install
Commits should follow the Conventional Commits specification and strive to be all lowercase with no trailing period. This is enforced by prek.
Cocogitto is installed by default and can help when
writing Conventional Commits using the cog command.
cog commit feat "add awesome feature"
# Creates the commit: "feat: add awesome feature"
cog commit fix -B "fix a nasty bug" cli
# Creates a breaking commit: "fix(cli)!: fix a nasty bug"Release versions should follow the SemVer specification.
- Release tags will be prefixed with
v - Release versions should follow SemVer and not be prefixed with
v
Example: git tag -a v1.2.3 -m "Release 1.2.3"
Cocogitto can perform automatic, versioned releases with the above conventions.
cog bump --dry-run --auto
# Check the next calculated version
cog bump --auto
# Automatically bump the version to the next calculated version
cog bump --major
# Increment the MAJOR version valueTo pull in template updates:
just update
This project uses Renovate for automated dependency updates.
Set the RENOVATE_TOKEN repository secret to a GitHub PAT
with repo scope.