saicaca / fuwari

✨A static blog template built with Astro.
https://fuwari.vercel.app
MIT License
1.41k stars 322 forks source link

I want to stop using corepack. #228

Open L4Ph opened 3 days ago

L4Ph commented 3 days ago

Since it has been deprecated in Node.js Proposal, I would like to abolish it considering its future prospects. Personally, I would like to adopt moonrepo/proto as a candidate. Alternatively, the following method is also acceptable. https://pnpm.io/only-allow-pnpm

https://github.com/saicaca/fuwari/blob/87547fca869840b8597199f5134bc1a873a4f5d5/package.json#L73

L4Ph commented 3 days ago

https://github.com/nodejs/package-maintenance/blob/main/docs/version-management/proposal-next-steps.md

3kh0 commented 3 days ago

I think just making people use pnpm using the preinstall script is a better way of doing things

L4Ph commented 3 days ago

I think just making people use pnpm using the preinstall script is a better way of doing things

I also think so. However, the problem that arises here is how to manage the version of pnpm. @3kh0

L4Ph commented 3 days ago

Oops, I forgot to mention that pnpm@9.7.0 supports version control with packageManager. Use it!

https://github.com/pnpm/pnpm/releases/tag/v9.7.0

https://x.com/pnpmjs/status/1821120903670845884