@changesets/apply-release-plan
TypeScript icon, indicating that this package has built-in type declarations

7.0.12 • Public • Published

Apply Release Plan

npm package View changelog

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(
    // The release plan to be applied - see @changesets/types for information about its shape
    aReleasePlan: ReleasePlan,
    // The packages that applyReleasePlan should be run for from @manypkg/get-packages
    packages: Packages,
    // A valid @changesets/config config - see @changesets/types for information about its shape
    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

Readme

Keywords

none

Package Sidebar

Install

npm i @changesets/apply-release-plan

Weekly Downloads

1,304,629

Version

7.0.12

License

MIT

Unpacked Size

191 kB

Total Files

22

Last publish

Collaborators

  • noviny
  • changesets-release-bot
  • emmatown
  • andarist