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

Support untraced flag in dependency tracing fallback scenario (for pnpm) #835

Merged
merged 4 commits into from
Oct 13, 2023

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented Oct 11, 2023

We weren't honoring the --untraced flag when doing the fallback dependency tracing using package.json rather than the lockfile. This is particularly relevant to pnpm projects since we don't support pnpm lockfiles.

📦 Published PR as canary version: 7.4.0--canary.835.6a9277c.0

✨ Test out this PR locally via:

npm install [email protected]
# or 
yarn add [email protected]

Copy link
Contributor

@ethriel3695 ethriel3695 left a comment

Choose a reason for hiding this comment

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

Looks great @ghengeveld

Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for sorting this out.

How to best QA this?

@ghengeveld
Copy link
Member Author

It's been properly tested by the customer, and we have test coverage for the change, so I'm already confident about it.

@ghengeveld ghengeveld changed the title Fix TurboSnap fallback dependency tracing for monorepos and pnpm projects Support untraced flag in dependency tracing fallback scenario (for pnpm) Oct 13, 2023
@ghengeveld ghengeveld added the minor Auto: Increment the minor version when merged label Oct 13, 2023
@ghengeveld ghengeveld added this pull request to the merge queue Oct 13, 2023
@ghengeveld ghengeveld removed this pull request from the merge queue due to a manual request Oct 13, 2023
@ghengeveld ghengeveld added this pull request to the merge queue Oct 13, 2023
Merged via the queue into main with commit fb9e051 Oct 13, 2023
15 checks passed
@ghengeveld ghengeveld deleted the handle-missing-root-lockfile branch October 13, 2023 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Auto: Increment the minor version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants