Shopify / hydrogen-v1

React-based framework for building dynamic, Shopify-powered custom storefronts.
https://shopify.github.io/hydrogen-v1/
MIT License
3.75k stars 326 forks source link

Migrate to pnpm #848

Open frandiox opened 2 years ago

frandiox commented 2 years ago

PNPM is a faster and more modern alternative to Yarn v1. Most of the Vite ecosystem is using it, including Vite itself. Also, Vite CI has problems running Hydrogen with Yarn v1.

We already tried this back in Oct 2021, and we had issues with symlinks in pnpm.

Things to check:

michenly commented 2 years ago
frehner commented 2 years ago

Currently having issues with upgrading eslint in our repos, and the culprit appears to be yarn v1... 🤔

benjaminsehl commented 2 years ago

I'd love to have pnpm support!

tylerhellner commented 2 years ago

The monorepo of our organization runs on pnpm. I'd love to see support in the future so I can take it out of submodule status. If the team needs a hand with the PR, I'd be happy to look into it.

frandiox commented 2 years ago

@tylerhellner We are not currently working on this yet so feel free to take a stab at it 👍 The main priority is that our local development in the repo templates/examples should behave the same way as running standalone apps. This might be affected by differences in symlinks, etc.