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(arborist): check if a spec is a workspace before fetching a manifest, closes #3637 #4371

Merged
merged 1 commit into from
Feb 7, 2022

Conversation

nlf
Copy link
Contributor

@nlf nlf commented Feb 3, 2022

when we call _nodeFromSpec if the spec's name is also the name of a workspace, and that workspace satisfies the edge we're calling _nodeFromSpec for, then return the workspace node instead of attempting to fetch a manifest and build a new node from that.

Copy link
Contributor

@fritzy fritzy left a comment

Choose a reason for hiding this comment

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

LGTM, ran locally

@nlf nlf merged commit 2ba09cc into release-next Feb 7, 2022
@nlf nlf deleted the nlf/reuse-valid-workspace-nodes branch February 7, 2022 17:35
petebacondarwin added a commit to petebacondarwin/wrangler2 that referenced this pull request Apr 6, 2023
This workflow was failing whenever there was a minor release to wrangler
and a patch release to a package that depended upon wrangler.
It was caused by a bug in npm that was resolved in v8.5.0.
See npm/cli#4379 and npm/cli#4371.
The error looks like: `No matching version found for wrangler@^2.15.0.`
petebacondarwin added a commit to cloudflare/workers-sdk that referenced this pull request Apr 6, 2023
This workflow was failing whenever there was a minor release to wrangler
and a patch release to a package that depended upon wrangler.
It was caused by a bug in npm that was resolved in v8.5.0.
See npm/cli#4379 and npm/cli#4371.
The error looks like: `No matching version found for wrangler@^2.15.0.`
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.

2 participants