oxc-project
oxc-resolver
BlogDocsChangelog

feat(resolver): rework yarn manifest file look up

#586Merged
Comparing
07-03-feat_resolver_pass_in_yarn_manifest_file_instead_of_look_up
(
0ddf4a2
) with
main
(
5271786
)
CodSpeed Performance Gauge
0%
Untouched
3

Benchmarks

Passed

resolver[single-thread]
benches/resolver.rs::resolver::bench_resolver
CodSpeed Performance Gauge
0%
454.5 µs454.1 µs
resolver[multi-thread]
benches/resolver.rs::resolver::bench_resolver
CodSpeed Performance Gauge
0%
460.7 µs460.4 µs
resolver[resolve from symlinks]
benches/resolver.rs::resolver::bench_resolver
CodSpeed Performance Gauge
0%
60.7 ms60.9 ms

Commits

Click on a commit to change the comparison range
Base
main
5271786
-0.04%
feat(resolver): rework yarn manifest file look up The current manifest file (`.pnp.cjs`) lookup technique does not work when `enableGlobalCache` is set to `true`, which is the default behaviour. Instead, we try and find the closest pnp maniest from cwd. This will break the multi-project case mentioned in https://yarnpkg.com/advanced/pnp-spec#find_pnp_manifest, but I think this is an acceptable trade off.
0ddf4a2
4 months ago
by Boshen
© 2025 CodSpeed Technology
Home Terms Privacy Docs