Skip to content
Discussion options

You must be logged in to vote

Thanks for the concise repro. I reproduced the bad symlink target and opened a fix in #696.

Root cause: Bun writes workspace package entries as workspace:packages/..., and Aube was treating that tail like a range selector instead of a root-relative workspace path, so the linker ended up targeting the workspace root.

Validation done on the PR:

  • cargo fmt --check
  • cargo test -p aube-lockfile bun::tests::test_parse_bun_workspace_package_path_as_link_target
  • mise run test:bats test/import.bats --filter 'bun.lock links workspace deps'\n- your bun-workspace-link ./repro.sh, which now passes and links to packages/contracts\n\nThis comment was generated by Codex.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mwolson
Comment options

Answer selected by mwolson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants