d8c4700a37
The PR replaces `chalk` inside `@next/codemod` with `picocolors`. Generally, `@next/codemod` is used through `npx`/`pnpx` as it serves as a sort of "one-time fix". By replacing `chalk` with the `picocolors` (which is 14 times smaller and 2 times faster), we can speed up the installation process of `npx @next/codemod`. Currently, `@next/codemod` has about 10k downloads per week, so I guess this PR is worth it: <img width="441" alt="image" src="https://github.com/vercel/next.js/assets/40715044/a32fd6e0-bbe6-48e8-985d-83393c141b23"> In my next PR, I will replace `chalk` inside `create-next-app` with `picocolors` as well. |
||
---|---|---|
.. | ||
cra-to-next | ||
html-to-react-attributes.ts | ||
install.ts | ||
run-jscodeshift.ts | ||
uninstall-package.ts |