Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Should include Corepack in our recommendation? #1242

Open
goldbergyoni opened this issue May 9, 2023 · 5 comments
Open

Should include Corepack in our recommendation? #1242

goldbergyoni opened this issue May 9, 2023 · 5 comments

Comments

@goldbergyoni
Copy link
Owner

You mentioned Corepack as a tool that should get a mention along nvm/volta, should we indeed given that its 'beta' and has some npm support issues?

https://nodejs.org/api/corepack.html

@elektronik2k5

@elektronik2k5
Copy link
Collaborator

I've been using it for over a year now without issues. What are the issues you're referring to?

@goldbergyoni
Copy link
Owner Author

My concerns/questions are:

  1. It's defined as experimental
  2. The supported package managers in the docs are: pnpm, yarm. Not npm (to my understanding based on a brief reading)

@elektronik2k5
Copy link
Collaborator

That's cause npm is already bundled with node itself. But if I understand correctly, one can use corepack to manage and enforce the exact version of npm. Haven't tried it myself though, cause npm is rubbish.

@goldbergyoni
Copy link
Owner Author

The main idea IMO is the proxying to a pinned version, if the most popular package manager can't be proxied (regardless of its internal quality) - isn't it becoming a niche recommendation?

Seems to me like yarn/pnpm is widely used by savvy and brave developers, but not a mainstream tool. Am I wrong here?

@josh-hemphill
Copy link
Collaborator

josh-hemphill commented May 10, 2023

All the vue-related projects on Github I've come across have been using pnpm, as well as a lot of other library authors.
But if we're talking about node version management, pnpm has it's own node version manager built in.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants