Skip to main content

@pvm/pvm

Contains pvm cli entrypoint

CLI

For each subcommand help is also available (for example yarn pvm publish --help)

yarn run v1.22.19
$ /__w/pvm/pvm/node_modules/.bin/pvm --help
pvm <command>

Commands:
pvm lint Checks that package versions correspond to the selected
settings and policies in the project.
pvm mark-pr Marks merge or pull request by project labels, packages
about to update, etc
pvm notes Create release notes for latest release tag based on
commit messages between tags
pvm packages Shows the list of packages by the specified criterion
pvm publish Publish packages to npm registry
pvm rewrite-notes Recalculate and rewrite release notes for particular
range of git tags
pvm set-versions <versionOrReleaseType> Set given version for given packages
pvm show <command> show various information for repository
pvm sync-tag Extracts version from git tag and writes to package.json
pvm tojson convert text to json
pvm write-versions Replace stub versions in package.json's with actual one's
from versions file or from release tag. Alias for 'pvm
set-versions none -u -s all'
pvm update Update packages changed since last release
[aliases: release]
pvm local <update> Enables local mode for the following command
pvm pkgset Shows the list of packages by the specified criterion
(low-level version)
pvm releases <command> Commands for working with ReleaseList artifact
pvm artifacts <command> Commands for working with pvm artifacts
pvm vcs <command> cli for version control system
pvm viz <files..> Graphviz pvm cli wrapper
pvm files Output files by glob in the list of packages (packages
are choosing by pkgset strategies logic)
pvm changelog <command> Commands for working with Changelog artifacts
pvm add-tag Creates a new release tag via GitLab API based on commits
made after the last release tag
pvm notification <command> Send messages to messenger(s)
pvm help <subcommand> Get help for subcommand

Options:
--version Show version number [boolean]
--help Show help [boolean]
Done in 1.25s.

Functions

getPackages

โ–ธ getPackages(type?, opts?): Promise<Pkg[]>

Parameters

NameTypeDefault value
typePackagesType'all'
optsGetPackagesOptions{}

Returns

Promise<Pkg[]>

Defined in

src/plugins/core/packages.ts:22