Skip to content

fix: fix symbol link support in pnpm workspace#21

Merged
hardfist merged 3 commits intomainfrom
symbol-link
Aug 30, 2024
Merged

fix: fix symbol link support in pnpm workspace#21
hardfist merged 3 commits intomainfrom
symbol-link

Conversation

@fi3ework
Copy link
Copy Markdown
Member

@fi3ework fi3ework commented Aug 28, 2024

fix resolve failed when contains symbol link
this regression is introduced by oxc-project/oxc-resolver#220, so this pr is actually revert of oxc-project/oxc-resolver#220
this pr also disable wasi support temporarily cause the current wasi support has problem for pnpm workspace and rspack doesn't support wasi yet.

/ ------------- failing test ---------------/

The test case is marked failing as napi is building without "yarn_pnp" feature. If the feature is enabled, the test case will pass, we need to address the behavioral differences between pnp and non-pnp.

enhanced-resolve could handle this correctly.

image

Related: web-infra-dev/rspack#7707.

@fi3ework fi3ework requested a review from hardfist August 28, 2024 09:29
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Aug 28, 2024

CodSpeed Performance Report

Merging #21 will not alter performance

Comparing symbol-link (b03ef03) with main (097036a)

Summary

✅ 3 untouched benchmarks

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Aug 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.05%. Comparing base (097036a) to head (b03ef03).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage   97.04%   97.05%           
=======================================
  Files          11       11           
  Lines        2366     2373    +7     
=======================================
+ Hits         2296     2303    +7     
  Misses         70       70           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hardfist hardfist changed the title test: add recursive symbol link fix: fix symbol link support in pnpm workspace Aug 30, 2024
@hardfist hardfist merged commit b420f49 into main Aug 30, 2024
@hardfist hardfist deleted the symbol-link branch August 30, 2024 14:32
@hardfist
Copy link
Copy Markdown
Contributor

cc @Brooooooklyn

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.

3 participants