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

Interface PackageConfig

packages/bumpy/src/types.ts:197–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197export interface PackageConfig {
198 /** Explicitly opt in or out of version management (overrides private/ignore/include) */
199 managed?: boolean;
200 /**
201 * When `false`, this package can never be bumped directly by a bump file — it only
202 * receives propagated bumps (fixed/linked groups, cascades, dependency updates).
203 *
204 * Use this for derived artifacts that version in lockstep with a driver package —
205 * the typical case is platform-specific binary packages (`@mycli/bin-*`) published
206 * alongside a core package and kept in a `fixed` group with it. Effects:
207 * - `bumpy add` / `bumpy generate` never select or suggest the package
208 * - a bump file that directly names it (with a type other than `none`) is an error
209 * - `bumpy check` considers its changes covered when a bump file covers any other
210 * member of its fixed group, and points there when one is missing
211 */
212 directBump?: boolean;
213 access?: 'public' | 'restricted';
214 publishCommand?: string | string[];
215 buildCommand?: string;
216 registry?: string;
217 skipNpmPublish?: boolean;
218 /** Command to check if a version is already published. Should output the published version string. */
219 checkPublished?: string;
220 /** Glob patterns to filter which changed files count toward marking this package as changed */
221 changedFilePatterns?: string[];
222 dependencyBumpRules?: Partial<Record<DepType, DependencyBumpRule | false>>;
223 cascadeTo?: CascadeConfig;
224 cascadeFrom?: CascadeConfig;
225 /**
226 * Names (or globs) of `devDependencies` that should be treated as release-relevant:
227 * a change to one requires a release of this package, and (for internal workspace
228 * deps) its own releases cascade here. `devDependencies` are ignored for versioning by
229 * default — this opts specific entries back in.
230 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…