Skip to content

fix(deploy): overrides contain peer dependencies#9604

Merged
zkochan merged 5 commits intomainfrom
deploy-outdated-lockfile-error-when-there-are-overrides-9595
Jun 9, 2025
Merged

fix(deploy): overrides contain peer dependencies#9604
zkochan merged 5 commits intomainfrom
deploy-outdated-lockfile-error-when-there-are-overrides-9595

Conversation

@KSXGitHub
Copy link
Copy Markdown
Contributor

Fixes #9595

@KSXGitHub

This comment was marked as outdated.

Copy link
Copy Markdown
Contributor Author

@KSXGitHub KSXGitHub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how to make a test for this.

@KSXGitHub KSXGitHub marked this pull request as ready for review June 9, 2025 15:52
@KSXGitHub KSXGitHub requested a review from zkochan as a code owner June 9, 2025 15:52
Copy link
Copy Markdown
Member

@zkochan zkochan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't it just be the correct

@zkochan zkochan merged commit 983efdc into main Jun 9, 2025
26 of 28 checks passed
@zkochan zkochan deleted the deploy-outdated-lockfile-error-when-there-are-overrides-9595 branch June 9, 2025 22:45
@KSXGitHub
Copy link
Copy Markdown
Contributor Author

Why can't it just be the correct

"correct" what?

@zkochan
Copy link
Copy Markdown
Member

zkochan commented Jun 10, 2025

Why can't the "overrides" field in the lockfile match the "overrides" in settings?

@KSXGitHub
Copy link
Copy Markdown
Contributor Author

It does. The problem is that the manifest will be tranformed even in frozen lockfile, leading to mismatch.

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.

ERR_PNPM_OUTDATED_LOCKFILE error when there are overrides

2 participants