Repository navigation
chore(deps): update turbo to v2 and migrate turbo.json to tasks - #1526
Merged
Merged
Conversation
Turbo 2 reads its task graph from "tasks" instead of "pipeline". The eleven task definitions move over unchanged: the same dependsOn, outputs and cache settings, and no option that turbo 2 renamed is in use. The lockfile is regenerated with pnpm 9.15.9 and changes only the turbo entries: turbo 2 ships its binaries as @turbo/<platform> packages.
|
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.
Summary
turbo goes from 1.10.13 to 2.11.9, and
turbo.jsonrenamespipelinetotasks, the key turbo 2 reads. One commit, three files; task definitions, scripts, workflows and published output stay as they are.2.11.9 was published on 2026-10-16. 2.11.10 followed on 2026-10-20 and is not taken, so the lockfile pins 2.11.9 while the range admits 2.11.10. No renamed option is in use, the
$schemaURL redirects to a schema that hastasks, and the eleven task definitions are deep-equal tomaster. The lockfile was regenerated with pnpm 9.15.9 and changes only the turbo entries.Evidence
Dry runs of
build,typecheck,test,test:dts,lint,build:declarationsandcheck:allonmaster(turbo 1.10.13) and here (2.11.9) give the same tasks, inputs, outputs,dependsOnand cache settings: off fortest,test:dtsand the four package#testoverrides, on fortypecheck,buildandbuild:declarations. The differences are in reporting: direct dependencies are listed transitively reduced (the closure of every task is equal), log file names write$colon$, andenvModedefaults to strict. NoenvorpassThroughEnventry was needed.Run one after another,
build,typecheck,test:dts,test,lint,sp:checkandcheck:allexit 0 (Jest passes in interop 7, core 4, react 22, postcss-linaria 100 and testkit 150, with 2 skipped). The 117 files underdist,esm,libandtypeshash the same as onmaster.turbo 2 adds warnings, with exit 0: no output files found for
esbuild-example#build,rollup-example#buildand@linaria/stylelint-config-standard-linaria#build:declarations.Left out
outputsglobs (also for the three warnings), scripts and workflows.pnpm test:coverage: its real run fails onmasterthe same way (the extra--reaches Jest as a pattern); its dry run exits 0.Not verified
check.yml, with the new@turbo/windows-64package, did not run.scripts/typecheck-postcss-8-5.shas a whole; only its turbo call ran.^2.11.9now picks 2.11.10.