turbo
turbo copied to clipboard
Running `npx @turbo/codemod update .` renames some package names. This causes builds to fail.
Verify canary release
- [X] I verified that the issue exists in the latest Turborepo 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 to lib-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
- https://github.com/vercel/turbo/blob/main/packages/turbo-codemod/src/transforms/add-package-names.ts