这是indexloc提供的服务,不要输入任何密码
Skip to content

fix: Support pnpm lockfile keys in dependencies #3461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

chris-olszewski
Copy link
Member

Fixes #3382

This PR adds support for when pnpm encodes a dependency version as a lockfile key instead of just a version. We already have similar logic in the npm lockfile implementation.

Thanks to @omarahm3 for the reproduction!

@chris-olszewski chris-olszewski marked this pull request as ready for review January 24, 2023 22:26
@chris-olszewski chris-olszewski requested a review from a team as a code owner January 24, 2023 22:26
@vercel
Copy link

vercel bot commented Jan 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
examples-basic-web 🔄 Building (Inspect) Jan 24, 2023 at 10:27PM (UTC)
examples-nonmonorepo 🔄 Building (Inspect) Jan 24, 2023 at 10:27PM (UTC)
6 Ignored Deployments
Name Status Preview Comments Updated
examples-cra-web ⬜️ Ignored (Inspect) Jan 24, 2023 at 10:27PM (UTC)
examples-designsystem-docs ⬜️ Ignored (Inspect) Jan 24, 2023 at 10:27PM (UTC)
examples-native-web ⬜️ Ignored (Inspect) Jan 24, 2023 at 10:27PM (UTC)
examples-svelte-web ⬜️ Ignored (Inspect) Jan 24, 2023 at 10:27PM (UTC)
examples-tailwind-web ⬜️ Ignored (Inspect) Jan 24, 2023 at 10:27PM (UTC)
examples-vite-web ⬜️ Ignored (Inspect) Jan 24, 2023 at 10:27PM (UTC)

@vercel
Copy link

vercel bot commented Jan 24, 2023

@chris-olszewski is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@chris-olszewski chris-olszewski merged commit 1fcf9b2 into vercel:main Jan 26, 2023
@chris-olszewski chris-olszewski deleted the chrisolszewski/turbo-723-pnpm-odd-resolved-version branch January 26, 2023 01:24
NicholasLYang pushed a commit to NicholasLYang/turbo that referenced this pull request Jan 26, 2023
Fixes vercel#3382

This PR adds support for when pnpm encodes a dependency version as a
lockfile key instead of just a version. We already have similar logic in
the npm lockfile implementation.

Thanks to @omarahm3 for the reproduction!
NicholasLYang pushed a commit to NicholasLYang/turbo that referenced this pull request Jan 26, 2023
Fixes vercel#3382

This PR adds support for when pnpm encodes a dependency version as a
lockfile key instead of just a version. We already have similar logic in
the npm lockfile implementation.

Thanks to @omarahm3 for the reproduction!
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.

[turborepo] turbo prune produces a broken pnpm-lock.yaml lockfile
2 participants