Click me x5 ↓
pnpm link
I made my first contribution to Astro the other day. I had to have Astro running locally, and the project uses pnpm
rather than npm.
It’s great because it’s a lot faster. I could not figure out for the life of me how to get pnpm link
to work. So I asked the Astro team on Discord and they helped me. I didn’t want this information to stay buried in a Discord chart so I’m making this as a note for myself.
All credit goes to Bjorn Lu and Nate Moore.
Add this to package json
"pnpm": {
"overrides": {
"astro": "link:../astro/packages/astro"
}
},
Run this set of commands TODO