Ensure configuration is maintainable and compatible by (1) using a single authoritative field and deriving dependent values at runtime, and (2) pinning configuration-relevant dependency versions when they enforce runtime compatibility (e.g., CommonJS vs ESM) until you intentionally migrate.
Apply it like this:
releaseTag).Example patterns:
// Derive dependent config from a single authoritative field
const { releaseTag } = bundlesJson;
function bundleUrl(slug) {
return `https://github.com/bmad-code-org/BMAD-METHOD/releases/download/${releaseTag}/${slug}.zip`;
}
// Pin versions when runtime compatibility matters
{
"dependencies": {
"ora": "^5.4.1"
}
}