feat: Update workspace package manager declarations - #13154
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
anthonyshew
enabled auto-merge (squash)
June 29, 2026 19:04
anthonyshew
pushed a commit
that referenced
this pull request
Jun 29, 2026
## Release v2.10.1 > [!CAUTION] > Versioned docs aliasing FAILED. [View logs](https://github.com/vercel/turborepo/actions/runs/28399666958) ### Changes - release(turborepo): 2.10.0 (#13131) (`6939250`) - docs: Add Turborepo 2.10 release post and update docs (#13096) (`c07e48f`) - perf: Avoid normalizing git index path joins (#12944) (`417c28d`) - chore: Remove tbx package (#13133) (`7bebb26`) - feat: Migrate TUI virtual terminals from vt100 to Ghostty (#13135) (`b22d3b4`) - chore: Add examples maintenance agent (#13136) (`05ac7b5`) - chore: Remove a few pre-push hooks (#13137) (`5eb24eb`) - ci: Making sure Zig works in releases (#13138) (`39340f1`) - release(turborepo): 2.10.1-canary.1 (#13139) (`69a743e`) - fix: Support Corepack packageManager integrity hashes (#13123) (`6bf6a67`) - fix(env): Add XDG_DATA_* to pass-through (#13145) (`0b3b4a6`) - release(turborepo): 2.10.1-canary.2 (#13147) (`e844c15`) - feat: Support `devEngines.packageManager` (#12388) (`e48c56c`) - feat: Support devEngines packageManager in workspaces (#13150) (`9d94ae5`) - release(turborepo): 2.10.1-canary.3 (#13149) (`0d32225`) - feat: Update add package manager codemod (#13151) (`27ca962`) - feat: Update workspace package manager declarations (#13154) (`f878719`) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
cursor Bot
pushed a commit
to colinhacks/turborepo
that referenced
this pull request
Jun 30, 2026
## Why Workspace conversion should not leave stale top-level `packageManager` declarations around now that `devEngines.packageManager` is the preferred declaration. If stale metadata remains, detection precedence can resolve to the old manager after a conversion. ## What Updates `@turbo/workspaces` create/remove flows to write `devEngines.packageManager` and clean up package-manager declarations based on the manager they identify. ## How - Adds shared helpers for writing and removing package-manager declarations. - Create paths write `devEngines.packageManager` and remove stale top-level declarations. - Remove paths delete matching top-level and nested declarations while preserving declarations for other managers. - Adds coverage for nested declaration output, stale top-level removal, and preservation behavior. Verified with: - `pnpm --dir packages/turbo-workspaces test` - `pnpm --dir packages/turbo-workspaces check-types` - `pnpm exec oxlint --deny-warnings ...` on touched files
anthonyshew
pushed a commit
that referenced
this pull request
Jun 30, 2026
## Release v2.10.2-canary.1 > [!CAUTION] > Versioned docs aliasing FAILED. [View logs](https://github.com/vercel/turborepo/actions/runs/28455389159) ### Changes - feat: Support devEngines packageManager in workspaces (#13150) (`9d94ae5`) - release(turborepo): 2.10.1-canary.3 (#13149) (`0d32225`) - feat: Update add package manager codemod (#13151) (`27ca962`) - feat: Update workspace package manager declarations (#13154) (`f878719`) - release(turborepo): 2.10.1 (#13156) (`8c3bbe4`) - docs: Prefer devEngines packageManager (#13155) (`6598f7c`) - fix: Install Zig for LSP builds (#13158) (`c1bc71f`) - ci: Pin macOS Rust builds to macOS 15 (#13167) (`16fe0a4`) - feat: Recognize nub as a package manager (#13120) (`782b168`) - fix: Preserve 3-level nested Bun lockfile entries during prune (#13168) (`799fa5a`) - fix: Avoid following nested symlinked cache outputs (#13166) (`502ceaf`) - feat: Add nub package manager support to JavaScript packages (#13169) (`53cddc8`) - fix: Link ghostty-vt statically on Windows MSVC (#13171) (`e950d71`) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Workspace conversion should not leave stale top-level
packageManagerdeclarations around now thatdevEngines.packageManageris the preferred declaration. If stale metadata remains, detection precedence can resolve to the old manager after a conversion.What
Updates
@turbo/workspacescreate/remove flows to writedevEngines.packageManagerand clean up package-manager declarations based on the manager they identify.How
devEngines.packageManagerand remove stale top-level declarations.Verified with:
pnpm --dir packages/turbo-workspaces testpnpm --dir packages/turbo-workspaces check-typespnpm exec oxlint --deny-warnings ...on touched files