Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Conversation

dsherret
Copy link
Member

@@ -381,6 +387,28 @@ impl WorkspaceResolver {
}
}
}

// 3. Finally try to resolve to a workspace npm package.
Copy link
Member Author

Choose a reason for hiding this comment

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

Actually, I think this should be limited to the workspace root folder.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@dsherret dsherret merged commit d2deff6 into denoland:main Jul 16, 2024
3 checks passed
@dsherret dsherret deleted the feat_pkg_json_resolve_workspace_members_bare_specifiers branch July 16, 2024 22:37
dsherret added a commit to denoland/deno that referenced this pull request Jul 17, 2024
…a workspace (#24611)

This makes bare specifiers for npm packages work when inside a
workspace, which emulates the same behaviour as when there's a
node_modules directory. The bare specifier can be overwritten by
specifying an import map entry or package.json dependency entry.

* denoland/deno_config#88

Closes #24605
bartlomieju pushed a commit to denoland/deno that referenced this pull request Jul 22, 2024
…a workspace (#24611)

This makes bare specifiers for npm packages work when inside a
workspace, which emulates the same behaviour as when there's a
node_modules directory. The bare specifier can be overwritten by
specifying an import map entry or package.json dependency entry.

* denoland/deno_config#88

Closes #24605
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants