Replies: 1 comment 1 reply
-
Possibly related issues for pnpm: #8304, #8223. We should probably fix that. Yes, would be great to collaborate. There are a few complexities, such as tie-ins with Parcel's worker farm implementation, but perhaps these could be refactored somehow. Probably not a blocker to your use, but might bloat package size a little at the moment. The If you have specific needs, please feel free to let us know, or send PRs. Would love to help you where we can. 😄 |
Beta Was this translation helpful? Give feedback.
-
Working on https://github.com/cloudflare/wrangler2 and finding that a lot of nice-to-have features would add additional dependencies, slowing down
npx wrangler
dramatically for new users. I started looking for dynamic-installation packages and a colleague suggested that Parcel did a good job of solving this issue, so I looked into how it worked...Unfortunately on my machine, using PNPM
7.8.0
and Nodev18.3.0
, it doesn't appear to work:But it does work when using
npm
, and pretty seamlessly too. I'm wondering whether it's a package that might be able to be used by other CLIs like ours?I'm not 100% sure on using the
NodePackageManager
API, that seems slightly higher-level than I'd be after.installPackage
seems more like what I want, but it has parcel-specific stuff in there too.Just wondering what the Parcel team's view of this pacakge is and whether they think a) it's working well for their needs, and b) whether it's generalisable for other projects to build upon?
Beta Was this translation helpful? Give feedback.
All reactions