Skip to content
This repository has been archived by the owner on Jul 5, 2019. It is now read-only.

Latest commit

 

History

History
24 lines (17 loc) · 577 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 577 Bytes

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.