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

feat: add workspace jsr pkg resolution #99

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Aug 6, 2024

Moved from denoland/deno_graph#509

This is in order to support workspace jsr resolution in deno compile as we don't use deno_graph for that code.

This code living here will make more sense once we rename this repo to deno_workspace.

Copy link
Collaborator

@nayeemrmn nayeemrmn left a comment

Choose a reason for hiding this comment

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

LGTM

let mut imports =
if let Some(serde_json::Value::Object(imports)) = maybe_imports {
imports
fn normalize_export_name(sub_path: &str) -> Cow<str> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup!

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm going to push this down to deno_semver

@dsherret dsherret merged commit 453cab8 into denoland:main Aug 6, 2024
3 checks passed
@dsherret dsherret deleted the feat_workspace_jsr_resolution branch August 6, 2024 15:59
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