turbo
6a3d1d8d - fix: match dependency ordering between rust/go (#6443)

Commit
2 years ago
fix: match dependency ordering between rust/go (#6443) ### Description In Go we create the set of external deps by merging `devDependencies`, `optionalDependencies`, and `dependencies` [in that order](https://github.com/vercel/turbo/blob/main/cli/internal/context/context.go#L238). This PR changes the Rust code to use the same order. One might say that this order shouldn't matter and they would be right, but this is a [2yr old bug](https://github.com/vercel/turbo/commit/6077c5e4894f4fa0a95b01d5cc8f3f103a227b8b) and fixing it would require changing the FFI layer. Fixing this should be a post-port effort. ### Testing Instructions `turbo_dev build --filter='@turbo/codemod'` now passes Closes TURBO-1654 Co-authored-by: Chris Olszewski <Chris Olszewski>
Parents
Loading