Skip to content

feat(version): try to support the query language within pnpm.overrides #231

@mlahargou

Description

@mlahargou

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.

image

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

image

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

image

Suggested Solution

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

image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions