Skip to content
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

Fix bun patch with workspaces and scoped packages #12022

Merged
merged 5 commits into from
Jun 21, 2024

Conversation

zackradisic
Copy link
Contributor

What does this PR do?

Fixes #11971

Two issues:

  • bun patch commands not executing correctly because package manager changes working directory to workspace root
  • bug in bun patch --commit causing nested node_modules to be diffed in certain cases

Also fixed:

  • bug in bun.strings.containsComptime

Copy link
Contributor

github-actions bot commented Jun 21, 2024

@Jarred-Sumner, your commit has failing tests :(

🪟💻 2 failing tests Windows x64 baseline

  • test/cli/install/registry/bun-install-registry.test.ts 1 failing
  • test/integration/next-pages/test/dev-server.test.ts 1 failing

View logs

@dylan-conway dylan-conway merged commit 00f9410 into main Jun 21, 2024
52 of 53 checks passed
@dylan-conway dylan-conway deleted the zack/fix-patch-commit-scoped-pkg branch June 21, 2024 21:16
zackradisic added a commit that referenced this pull request Jun 24, 2024
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com>
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.

bun patch --commit fails for scoped packages
3 participants