Skip to content
Discussion options

You must be logged in to vote

Cause

The issue is package rule ordering and override precedence.

security:minimumReleaseAgeNpm (from config:best-practices) injects this package rule:

  {
    internalChecksFilter: 'strict',
    matchDatasources: ['npm'],
    minimumReleaseAge: '3 days',   // ← overrides your global "7 days"
  }

Package rules from extended presets are applied before your repo's own package rules. Your top-level minimumReleaseAge: "7 days" is the base config, but the preset's package rule runs after it and overwrites the value for npm packages to 3 days.

Since none of your own packageRules match @tanstack/* to override it back, the tanstack packages end up with minimumReleaseAge: "3 days".

Fix

Add an npm-…

Replies: 4 comments 13 replies

Comment options

You must be logged in to vote
2 replies
@RahulGautamSingh
Comment options

@cvoege
Comment options

Comment options

You must be logged in to vote
11 replies
@cvoege
Comment options

@RahulGautamSingh
Comment options

@cvoege
Comment options

@RahulGautamSingh
Comment options

Answer selected by RahulGautamSingh
@cvoege
Comment options

@cvoege
Comment options

@RahulGautamSingh
Comment options

@cvoege
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:no-mentions Don't cause unnecessary notifications minimumReleaseAge
4 participants