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

Function getVersionsByDirectory

packages/release-utils/src/utils.ts:17–20  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

15} as const;
16
17export async function getVersionsByDirectory(cwd: string) {
18 let { packages } = await getPackages(cwd);
19 return new Map(packages.map((x) => [x.dir, x.packageJson.version]));
20}
21
22export async function getChangedPackages(
23 cwd: string,

Callers 1

runVersionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…