chore: add Renovate config with a 1-day minimum release age - #89
Merged
Merged
Conversation
Same setup as the other apify tooling repos (apify-client-js flavor): weekday schedule, grouped auto-merged patch/minor updates, lockfile maintenance, and minimumReleaseAge of 1 day as a supply-chain buffer (0 days for our own packages). Renovate also keeps the SHA-pinned GitHub Actions from #88 updated.
Adds npmMinimalAgeGate: 1d to .yarnrc.yml so the gate also applies to resolutions done by yarn itself, not only to Renovate PRs. The option needs a newer yarn, so the vendored release is bumped 4.6.0 -> 4.18.0 (lockfile diff is metadata-only: format version and the builtin resolve-patch hash, no dependency changes).
The package manager's 4.18 node-modules hoisting surfaces the @types/react@* (v19) copy nested under @docusaurus/types, which the 4.6 layout happened to mask, and the two React type trees break tsc. Resolve everything to the project's ^18.3.3.
barjin
approved these changes
Aug 20, 2026
barjin
left a comment
Member
There was a problem hiding this comment.
I don't recall the reason why we still use yarn here - perhaps we could switch to pnpm? This package is sufficiently internal.
Approving nonetheless 👍
Member
Author
|
Yeah, maybe later, or never :) I guess we forgot about this one during the migration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sets up Renovate the same way as the other apify tooling repos (mirroring apify-client-js): weekday schedule, grouped and auto-merged patch/minor updates, lockfile maintenance, and semantic
chorecommits.On top of the shared convention it enforces a minimum release age of 1 day at both levels:
minimumReleaseAge: "1 day"globally (0 days for our own packages), so freshly published releases get a day of soak time before Renovate proposes them.npmMinimalAgeGate: 1din.yarnrc.yml, so resolutions done by yarn itself respect the same gate. The option needs a newer yarn, so the vendored release is bumped 4.6.0 → 4.18.0 (lockfile diff is metadata-only, no dependency changes).Both are a buffer against compromised releases, in the same spirit as the action SHA-pinning in #88, which Renovate will now also keep bumped.