Apply Release Plan
This takes a releasePlan
object for changesets and applies the expected changes from that
release. This includes updating package versions, and updating changelogs.
import applyReleasePlan from "@changesets/apply-release-plan";
import { ReleasePlan, Config } from "@changesets/types";
import { Packages } from '@manypkg/get-packages'
await applyReleasePlan(
aReleasePlan: ReleasePlan,
packages: Packages,
config: Config
);
Note that apply-release-plan
does not validate the release plan's accuracy.
To generate a release plan from written changesets use @changesets/get-release-plan