Replies: 3 comments
-
@nabeken5 Thanks for suggesting. I can't explain this specifically yet, as I commented below, but I have tried and had problems. I will compare |
Beta Was this translation helpful? Give feedback.
-
As for Corepack, we use Yarn 4 with honojs/middleware etc. It is very good. |
Beta Was this translation helpful? Give feedback.
-
@yusukebe Anyway, I want to introduce corepack with yarn. May I? |
Beta Was this translation helpful? Give feedback.
-
What is corepack?
Why?
corepack automatically installs the version of the package manager specified in package.json.
This will prevent problems caused by different versions, and will make version upgrades and package manager changes easier.
How?
What do I want to do?
Use pnpm. (Déjà vu...? #1392)
It's no surprise that cool other repositories are using pnpm now. For example Next.js, Nuxt, Vite, Astro.
(Repositories using pnpm workspace)
And it's secure and, most importantly, fast.
Look at this table.
node_modules
node_modules
pnpm-lock.yaml
yarn.lock
pnpm dlx
yarn dlx
(Taken from Feature Comparison (pnpm).)
And the fact that it is used in many major repositories would attest to this table.
@yusukebe If you are interested, I'll make a pr right away.
Originally #1392 and #1405 by @yusukebe and @ThatOneBro. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions