feat(@turbo/codemod): add support for custom NPM registries (#9803)
Fixes #4152
### Description
<!--
✍️ Write a short summary of your work.
If necessary, include relevant screenshots.
-->
NPM (and alternative tools like PNPM) pass the registry as an
environment variable `npm_config_registry`.
This allows the `codemod` package to use it when present (which is often
the case).
### Testing Instructions
<!--
Give a quick description of steps to test your changes.
-->
- Go to `turbo-codemod`
- Run `turbo run build`
- Invoke the binary `dist/cli.js migrate --to=latest --force` (maybe
play with other `to` values also)
Co-authored-by: Mohamed Meligy <meligy@meligy.local>
Co-authored-by: Anthony Shew <anthony.shew@vercel.com>