-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
feat(trace): more trace fixes #9474
Conversation
…olve TypeScript type definition package if package doesn't exist
The latest updates on your projects. Learn more about Vercel for Git ↗︎
8 Skipped Deployments
|
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
@@ -316,7 +328,14 @@ impl Tracer { | |||
.with_force_extension(EnforceExtension::Disabled) | |||
.with_extension(".ts") | |||
.with_extension(".tsx") | |||
.with_module(self.cwd.join_component("node_modules").to_string()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirming we no longer want to consider working directory's node_modules
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah turns out this is built into oxc-resolver
so we don't need to do this
@@ -5,6 +5,7 @@ | |||
"maybefails": "exit 4" | |||
}, | |||
"dependencies": { | |||
"utils": "*" | |||
"utils": "*", | |||
"@types/d3-scale": "^4.0.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make this an exact version to prevent this getting bumped and behaving unexpectedly.
"@types/d3-scale": "^4.0.2" | |
"@types/d3-scale": "4.0.2" |
Description
A couple small fixes for tracing:
module
is non-standard but common)@types/<package>
if<package>
fails to resolveTesting Instructions
Added tests for new extensions, for module field, and for importing types from
foo
that really come from@types/foo