JamieMason / JamieMason/syncpack
feat(version): try to support the query language within pnpm.overrides
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 72
- PR merge metrics
- No merged PRs in 30d
Description
## Description
Ref: https://pnpm.io/next/settings#overrides
> You may specify the package the overriden dependency belongs to by separating the package selector from the dependency selector with a ">", for example qar@1>zoo will only override the zoo dependency of qar@1, not for any other dependencies.
We currently override a dependency of a specific package using `pnpm.overrides`.

In our syncpack config, we require exact dependency versions with this config:

When we run `syncpack lint`, we get the following error:

## Suggested Solution
It seems like maybe syncpack doesn't understand this format yet? The current workaround we have is:

Contributor guide
Research direction
Start with the syncpack lint reproduction and the pnpm.overrides documentation linked in the issue, focusing on the package-selector syntax separated by ">". Done means syncpack accepts valid pnpm override selectors while retaining exact dependency-version checks, without requiring the documented workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100