Skip to content

Pin production dependencies to exact versions - #250

Merged
admdly merged 1 commit into
mainfrom
chore/pin-prod-deps-exact
Sep 23, 2026
Merged

admdly merged 1 commit into
mainfrom
chore/pin-prod-deps-exact

Conversation

@admdly

@admdly admdly commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Pin all dependencies in package.json to exact versions (matching the currently locked/resolved versions on main) and remove the global "rangeStrategy": "bump" from .github/renovate.json.

Why: with caret ranges + rangeStrategy: bump, every in-range update was classified as updateType: bump, which Renovate explicitly excludes from minimumReleaseAge enforcement (same for lockfileUpdate/rollback via security:minimumReleaseAgeNpm), producing the "manually validate the Minimum Release Age" warning seen on e.g. #247. With exact pins, future updates are patch/minor/major, which are age-gated, and every update touches package.json, so the stale-lock revert loop from #246 cannot recur.

Note: @scalar/hono-api-reference is pinned to 0.12.4 (the locked version) rather than the ^0.12.2 floor, to avoid a downgrade.

@admdly admdly self-assigned this Sep 23, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Auto-approved: Pins production dependencies to exact currently locked versions in package.json and package-lock.json, and removes the Renovate rangeStrategy bump setting so future updates are properly age-gated. Behavior-preserving at current versions; no version changes or new exposure.

Re-trigger cubic

@admdly
admdly merged commit 5d8e1c3 into main Sep 23, 2026
9 checks passed
@admdly
admdly deleted the chore/pin-prod-deps-exact branch September 23, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant