next-package-version
v1.2.0
Published
Get the next version of each yarn workspace based on the newest changelog entries. `next-package-version` assumes that you're running with a monorepo powered by yarn workspaces.
Downloads
7
Readme
Next Package Version
Get the next version of each yarn workspace based on the newest changelog entries. next-package-version
assumes that you're running with a monorepo powered by yarn workspaces.
Usage
yarn add next-package-version
nextPackageVersion([options])
const nextPkgVersion = require('next-package-version');
(async () => {
const versions = await nextPkgVersion();
})();
Options
| Name | Type | Description
| --- | --- | ---
| includePackage
| boolean
| Include the full contents of the package.json in the response object.