@changesets/assemble-release-plan
Reads changesets and adds information on dependents that need bumping
Last updated 2 years ago by changesets-release-bot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @changesets/assemble-release-plan 
SYNC missed versions from official npm registry.

Assemble Release Plan

Open on npmx.dev View changelog

Assemble a release plan for changesets from data about a repository.

Usage

import assembleReleasePlan from "@changesets/assemble-release-plan";
import { readChangesets } from "@changesets/read";
import { readConfig } from "@changesets/config";
import { getPackages } from "@manypkg/get-packages";
import { readPreState } from "@changesets/pre";

const packages = await getPackages(cwd);
const preState = await readPreState(cwd);
const { config } = await readConfig(cwd, packages);
const changesets = await readChangesets(cwd, sinceRef);

const releasePlan = assembleReleasePlan(
  changesets,
  packages,
  config!,
  preState,
);

Signature

import type {
  NewChangeset,
  Config,
  Packages,
  ReleasePlan,
} from "@changesets/types";

assembleReleasePlan = (
  changesets: NewChangeset[],
  packages: Packages,
  config: Config,
) => ReleasePlan;

This package exists so assembling a release plan can be done without reading from disc. This is useful primarily for testing within the changesets project, and when you cannot run commands within the repository you want a release plan for (some CI cases).

For most cases, you should use @changesets/get-release-plan which will read local changeset files, config, and workspaces, to assemble the release plan from.

Current Tags

  • 7.0.0                                ...           latest (4 months ago)
  • 7.0.0-next.11                                ...           next (4 months ago)
  • 5.1.1-temp.0                                ...           temp (5 years ago)

61 Versions

  • 7.0.0                                ...           4 months ago
  • 7.0.0-next.11                                ...           4 months ago
  • 7.0.0-next.10                                ...           4 months ago
  • 7.0.0-next.9                                ...           4 months ago
  • 7.0.0-next.8                                ...           4 months ago
  • 7.0.0-next.7                                ...           5 months ago
  • 7.0.0-next.6                                ...           5 months ago
  • 7.0.0-next.5                                ...           6 months ago
  • 7.0.0-next.4                                ...           6 months ago
  • 7.0.0-next.3                                ...           7 months ago
  • 7.0.0-next.2                                ...           7 months ago
  • 6.0.10                                ...           7 months ago
  • 7.0.0-next.1                                ...           a year ago
  • 6.0.9                                ...           a year ago
  • 6.0.8                                ...           2 years ago
  • 6.0.7                                ...           2 years ago
  • 7.0.0-next.0                                ...           2 years ago
  • 6.0.6                                ...           2 years ago
  • 6.0.5                                ...           2 years ago
  • 6.0.4                                ...           2 years ago
  • 6.0.3                                ...           2 years ago
  • 6.0.2                                ...           2 years ago
  • 6.0.1                                ...           2 years ago
  • 6.0.0                                ...           3 years ago
  • 5.2.4                                ...           3 years ago
  • 5.2.3                                ...           4 years ago
  • 5.2.2                                ...           4 years ago
  • 5.2.1                                ...           4 years ago
  • 5.2.0                                ...           4 years ago
  • 5.1.3                                ...           4 years ago
  • 5.1.2                                ...           5 years ago
  • 5.1.1                                ...           5 years ago
  • 5.1.1-temp.0                                ...           5 years ago
  • 5.1.0                                ...           5 years ago
  • 5.0.5                                ...           5 years ago
  • 5.0.4                                ...           5 years ago
  • 5.1.0-temp.0                                ...           5 years ago
  • 5.0.3                                ...           5 years ago
  • 5.0.2                                ...           5 years ago
  • 5.0.1                                ...           5 years ago
  • 5.0.0                                ...           6 years ago
  • 4.1.1                                ...           6 years ago
  • 4.1.0                                ...           6 years ago
  • 4.0.1                                ...           6 years ago
  • 4.0.0                                ...           6 years ago
  • 3.0.1                                ...           6 years ago
  • 3.0.0                                ...           6 years ago
  • 2.1.0                                ...           7 years ago
  • 2.0.4                                ...           7 years ago
  • 2.0.3                                ...           7 years ago
  • 2.0.2                                ...           7 years ago
  • 2.0.1                                ...           7 years ago
  • 2.0.0                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
  • 0.3.1                                ...           7 years ago
  • 0.3.0                                ...           7 years ago
  • 0.2.1                                ...           7 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.2                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
Downloads
Total 112
Today 0
This Week 1
This Month 40
Last Day 0
Last Week 2
Last Month 37
Dev Dependencies (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE