Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Status of the project #27

Closed
JulioJu opened this issue Feb 28, 2021 · 6 comments
Closed

Status of the project #27

JulioJu opened this issue Feb 28, 2021 · 6 comments

Comments

@JulioJu
Copy link

JulioJu commented Feb 28, 2021

Hi,

What is the status of this project ?

We can read on the README.md

we're working with the Node TSC to provide Corepack by default starting from Node 15, thus ensuring that all package managers can be used with little to no friction.

But it seems not be embedded into Node 15 ?

There is some plan for Node 16 or more ? Or this project is it currently dead ? (last commit some months ago, and some CI tests have failed https://github.com/nodejs/corepack/runs/1227988760 )

Thanks in advance for your answer :-)

@arcanis
Copy link
Contributor

arcanis commented Feb 28, 2021

👋 tl;dr: This project is alive, but progress is currently blocked on discussions (and decisions) from the Node TSC. Specifically:

  • I've opened deps: Experiments with Corepack node#35398 which adds Corepack to the Node binaries. It however led to many discussions which I won't retranscribe here.

  • In response, a summit regarding Node distributions was held (Node.js Binary Manager Summit? node#35682). The consensus was that yes, Node wanted to add support for more package managers, and that they also wanted to have a tool facilitating the install of multiple Node versions at the same time (think nvm, but builtin). However:

    • It was only about a new, additional type of distribution, ie not about the existing binary releases themselves; so it was still not clear at the end of this meeting what were the plans regarding the existing ways to install Node.
    • It's a long-term project, and so far it seems stuck on the next step (we were supposed to hold a meeting last month, but it got delayed and I'm not sure when to expect the next one).
  • So, given that 35398 was somewhat duplicate with the plans in 35682 (although not entirely, since 35398 affects the existing distribution channels whereas 35682 is about new ones) and that 35682 is currently in limbo, I decided to open a more simple PR simply adding Yarn to Node: deps: add Yarn 1.22.5 node#37277. Whether to land this PR or not is still being discussed.

    • I'm of course of the opinion that yes it should, but I don't really have influence on the Node project at all. At the moment their plan is to hold a survey to confirm that it would be beneficial to Node's users to include Yarn.

Unfortunately in all these words there is no clear answer to your question, but only because I don't have a clear answer to give you... I personally feel like this process shouldn't be that difficult and that there's a misunderstanding somewhere, but the dynamics in play are complex, and we really want to play by the book.

In any case, you already can use Corepack by installing it from the registry, which I know is something a few people already do. Hopefully it won't be needed in the future, but I can't give you a time estimate.

@JulioJu
Copy link
Author

JulioJu commented Feb 28, 2021

@arcanis thanks a lot for your detailed answer.

I hope Node teem will accept at least Corepack.

Your links and discussions are so interesting.

Maybe they could be added into the README.md to check easy the progress?

Maybe one the official Website, a note about Corepack could be added.

  • It address a problem for those who don't want embed Yarn Berry in their repository.
  • Furthermore, thanks Corepack, no need to installl Yarn 1.x globally (that could sound strange for newbies) .
  • Furthermore, if a lot of people start to use it and test it, maybe it could improve chances to be merged into Node.js .

@danoc
Copy link

danoc commented May 6, 2021

Here's an update from a week ago confirming that the Node team is moving towards Corepack rather than including Yarn directly in Node: nodejs/node#37277 (comment)

@JulioJu
Copy link
Author

JulioJu commented May 7, 2021

So coooooool !!!

@arcanis
Copy link
Contributor

arcanis commented Sep 7, 2021

Corepack has now been released as experimental in Node 16.9

@arcanis arcanis closed this as completed Sep 7, 2021
@JulioJu
Copy link
Author

JulioJu commented Sep 10, 2021

👍🏽

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

No branches or pull requests

3 participants