MCPcopy Create free account
hub / github.com/changesets/changesets / withPackages

Function withPackages

packages/config/src/index.test.ts:36–42  ·  view source on GitHub ↗
(pkgNames: string[])

Source from the content-addressed store, hash-verified

34};
35
36const withPackages = (pkgNames: string[]) => ({
37 ...defaultPackages,
38 packages: pkgNames.map((pkgName) => ({
39 packageJson: { name: pkgName, version: "" },
40 dir: "dir",
41 })),
42});
43
44test("read reads the config", async () => {
45 let cwd = await testdir({

Callers 1

index.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…