1.2.0 • Published 6 years ago
next-package-version v1.2.0
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-versionnextPackageVersion([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. |