@chappa'ai/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 no npm install needed!

<script type="module">
  import chappa'aiNextPackageVersion from 'https://cdn.skypack.dev/@chappa'ai/next-package-version';
</script>

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.