Upgrade to TypeScript 6.0
MSALUpgrades each project on TypeScript 5 to 6.0: keeps the 5.x behaviour that 6.0 changes by default, replaces the compiler options and syntax 6.0 deprecates, and upgrades typescript to 6.0. A project is upgraded whole or not at all. It is skipped, and listed with the reason, where an installed package's typescript peer range excludes 6.0, such as typescript-eslint before 8.58 or ts-jest before 29.4.7, or where a configuration has no mechanical upgrade, such as module: amd, outFile or a base outside the repository. A project before 5 is skipped and listed too, as is one that shares its lock with a skipped project.
org. openrewrite. javascript. typescript. UpgradeToTypeScript6mod run . --recipe= org. openrewrite. javascript. typescript. UpgradeToTypeScript6Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.