JSPM

  • Created
  • Published
  • Downloads 1596282
  • Score
    100M100P100Q214972F
  • License MIT

Reads changesets and adds information on dependents that need bumping

Package Exports

  • @changesets/get-release-plan
  • @changesets/get-release-plan/dist/get-release-plan.cjs.js
  • @changesets/get-release-plan/dist/get-release-plan.esm.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@changesets/get-release-plan) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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 changesets 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 overwrite any written config options.