MCPcopy Index your code
hub / github.com/changesets/changesets / getReleasesOfType

Function getReleasesOfType

packages/cli/src/commands/add/messages.ts:12–16  ·  view source on GitHub ↗
(type: VersionType)

Source from the content-addressed store, hash-verified

10 repoHasMultiplePackages: boolean
11) {
12 function getReleasesOfType(type: VersionType) {
13 return changeset.releases
14 .filter((release) => release.type === type)
15 .map((release) => release.name);
16 }
17 log("\n=== Summary of changesets ===");
18 const majorReleases = getReleasesOfType("major");
19 const minorReleases = getReleasesOfType("minor");

Callers 1

printConfirmationMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected