Skip to content

chore: exclude own packages from minimumReleaseAge check - #62

Merged
bhouston merged 1 commit into
mainfrom
chore/minimum-release-age-exclude
Sep 25, 2026
Merged

bhouston merged 1 commit into
mainfrom
chore/minimum-release-age-exclude

Conversation

@bhouston

Copy link
Copy Markdown
Owner

Closes #61

Description

Adds minimumReleaseAgeExclude to pnpm-workspace.yaml, listing the author's own actively-maintained npm packages so pnpm's minimum-release-age gate doesn't delay installing their own trusted releases, while the default minimumReleaseAge policy stays in place for everything else.

  • tanstack-router-ga4@1.6.0 (used in packages/website)
  • yargs-file-commands@1.2.2 (used in packages/cli)

Both versions match the resolved versions currently in pnpm-lock.yaml. Both are real npm-registry dependencies (semver range specifiers), not workspace:* or file: links.

No other keys in pnpm-workspace.yaml were touched.

Validation

  • pnpm install — resolves cleanly, no lockfile changes.
  • pnpm -r tsc — ran via pre-commit hook, passed.

tanstack-router-ga4 and yargs-file-commands are actively-maintained
packages by the repo author, installed from the npm registry. Add
them to minimumReleaseAgeExclude so pnpm's minimum-release-age
protection doesn't delay installs on trusted own releases, while
keeping the default policy for all other dependencies.
@bhouston
bhouston merged commit f2b4455 into main Sep 25, 2026
2 checks passed
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

bhouston added a commit that referenced this pull request Sep 25, 2026
## Summary
- pnpm's `minimumReleaseAgeExclude` matches on bare package name, not
`name@version`
- Fixes the two entries added in #62 (`tanstack-router-ga4@1.6.0`,
`yargs-file-commands@1.2.2`) to be bare names

Closes #63

## Test plan
- [x] `pnpm install` resolves cleanly with the updated config
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.

chore: exclude own packages from minimumReleaseAge check

2 participants