b8b104506d
The PR further reduces the `create-next-app` installation size by another 80 KiB: - Replace the callback version of Node.js built-in `dns` API usage with `dns/promise` + async/await - Replace `got` w/ `fetch` since Next.js and `create-next-app` now target Node.js 18.17.0+ - Download and extract the tar.gz file in the memory (without creating temporary files). This improves the performance. - Some other minor refinements. Following these changes, the size of `dist/index.js` is now 536 KiB. |
||
---|---|---|
.. | ||
copy.ts | ||
examples.ts | ||
get-pkg-manager.ts | ||
git.ts | ||
install.ts | ||
is-folder-empty.ts | ||
is-online.ts | ||
is-writeable.ts | ||
validate-pkg.ts |