MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / getBumpyDir

Function getBumpyDir

packages/bumpy/src/core/config.ts:170–172  ·  view source on GitHub ↗
(rootDir: string)

Source from the content-addressed store, hash-verified

168
169/** Check if a package is allowed to define custom commands via package.json */
170function isCustomCommandAllowed(pkgName: string, config: BumpyConfig): boolean {
171 const { allowCustomCommands } = config;
172 if (allowCustomCommands === true) return true;
173 if (Array.isArray(allowCustomCommands)) {
174 return allowCustomCommands.some((pattern) => matchGlob(pkgName, pattern));
175 }

Callers 10

checkCommandFunction · 0.90
generateCommandFunction · 0.90
addCommandFunction · 0.90
applyReleasePlanFunction · 0.90
readBumpFilesFunction · 0.90
writeBumpFileFunction · 0.90
moveBumpFilesToChannelFunction · 0.90
deleteBumpFilesFunction · 0.90
filterBranchBumpFilesFunction · 0.90
getChannelDirFunction · 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…