@changesets/get-release-plan

Reads changesets and adds information on dependents that need bumping

Usage no npm install needed!

<script type="module">
  import changesetsGetReleasePlan from 'https://cdn.skypack.dev/@changesets/get-release-plan';
</script>

README

@changesets/get-release-plan

View changelog

A function that reads information about the current repository

import getReleasePlan from "@changesets/get-release-plan";

const releasePlan = await getReleasePlan(cwd, since, passedConfig);

cwd: string

The directory to run getReleasePlan in - most often process.cwd()

since: string

Sets whether to use all changests present, or only those changesets that are new since the branch diverged from another one.

passedConfig?: Config

The changeset config options as defined in @changesets/types. This is optional, and can be used to overrwrite any written config options.