Skip to content

Monorepos as first-class citizens

nsv has been designed so that monorepo support is not an afterthought. Monorepo detection is built-in, removing the need for additional configuration.

Understands its running context

By being context-aware, nsv can detect if it runs within a repository subdirectory, changing how it inspects the commit history. The next semantic version will include the component prefix, a standard monorepo practice1.

cd src/ui
$ nsv next

ui/0.2.0

Context paths as command line arguments remove the need to change directories. nsv can version multiple monorepo components in a single pass.

$ nsv next src/ui src/search src/database

ui/0.3.0,search/0.2.1,database/0.3.0

  1. Full customization is supported through Go templating if you want to change this behavior.