MCPcopy Index your code
hub / github.com/dmno-dev/bumpy / detect

Function detect

packages/bumpy/test/core/check-pkgjson-fields.test.ts:57–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 }
56
57 async function detect(): Promise<string[]> {
58 const config = await loadConfig(tmpDir);
59 const { packages } = await discoverWorkspace(tmpDir, config);
60 const changedFiles = getChangedFiles(tmpDir, config.baseBranch);
61 return findChangedPackages(changedFiles, packages, tmpDir, config);
62 }
63
64 test('a devDependencies-only change does NOT flag the package', async () => {
65 await setupPkg({ devDependencies: { vitest: '^1.0.0' } });

Callers 1

Calls 4

loadConfigFunction · 0.90
discoverWorkspaceFunction · 0.90
getChangedFilesFunction · 0.90
findChangedPackagesFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…