Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turbopack and Turborepo.
25.55k
stars
1.74k
forks
source link
Running `npx @turbo/codemod update .` renames some package names. This causes builds to fail. #8312
Open
mayank1513 opened 1 month ago
Verify canary release
Link to code that reproduces this issue
https://github.com/react18-tools/esbuild-plugin-react18-css/actions/runs/9376532653
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Linux
Which canary version will you have in your reproduction?
latest
Describe the Bug
Running
npx @turbo/codemod update .
renames some package names. This causes builds to fail.I do not want name inside package.json of my library inside the
lib
directory to be renamed tolib-something
.Expected Behavior
Codemod should not interfere with how I name my packages.
To Reproduce
See code at this commit - https://github.com/react18-tools/esbuild-plugin-react18-css/tree/53de8117152adbab501189998fd16a7923eae0ca
Checkout and try applying codemod
npx @turbo/codemod update .
Additional context
Possible area to fix