Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@turbo/codemod
Advanced tools
Provides Codemod transformations to help upgrade your Turborepo codebase when a feature is deprecated.
Turborepo provides Codemod transformations to help upgrade your Turborepo codebase.
Codemods are transformations that run on your codebase programmatically. This allows for a large amount of changes to be applied without having to manually go through every file.
migrate
Updates your Turborepo codebase to the specified version of Turborepo (defaults to the latest), running any required codemods, and installing the new version of Turborepo.
Usage: @turbo/codemod migrate|update [options] [path]
Migrate a project to the latest version of Turborepo
Arguments:
path Directory where the transforms should be applied
Options:
--from <version> Specify the version to migrate from (default: current version)
--to <version> Specify the version to migrate to (default: latest)
--install Install new version of turbo after migration (default: true)
--force Bypass Git safety checks and forcibly run codemods (default: false)
--dry Dry run (no changes are made to files) (default: false)
--print Print transformed files to your terminal (default: false)
-h, --help display help for command
transform
(default)Runs a single codemod on your codebase. This is the default command, and can be omitted.
Usage: @turbo/codemod transform [options] [transform] [path]
@turbo/codemod [options] [transform] [path]
Apply a single code transformation to a project
Arguments:
transform The transformer to run
path Directory where the transforms should be applied
Options:
--force Bypass Git safety checks and forcibly run codemods (default: false)
--list List all available transforms (default: false)
--dry Dry run (no changes are made to files) (default: false)
--print Print transformed files to your terminal (default: false)
-h, --help display help for command
To add a new transformer, run pnpm add-transformer
, or view the complete guide.
FAQs
Provides Codemod transformations to help upgrade your Turborepo codebase when a feature is deprecated.
The npm package @turbo/codemod receives a total of 3,436 weekly downloads. As such, @turbo/codemod popularity was classified as popular.
We found that @turbo/codemod demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.