npm.io
5.0.2 • Published 2 weeks ago

@changesets/get-release-plan

Licence
MIT
Version
5.0.2
Deps
6
Size
4 kB
Vulns
0
Weekly
0
Stars
12.5K

@changesets/get-release-plan

Open on npmx.dev 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.