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

Yarn v4 #910

Open
mrienstra opened this issue Sep 29, 2022 · 3 comments
Open

Yarn v4 #910

mrienstra opened this issue Sep 29, 2022 · 3 comments

Comments

@mrienstra
Copy link

This is just a heads up, no action needed at this time.

#803 added:

  "resolutions": {
    "chalk": "4.1.2"
  },

... to downgrade chalk due to yarnpkg/berry#3843, which was fixed yesterday. The fix is available in 4.0.0-rc.22. Run yarn set version canary if you want to try it. v4 release is still a little ways off ("may take a couple more months"), but:

[...] what's in master is stable, and I'd recommend you to try it. The only notable difference with stable is that we reserve the right to land a couple more breaking changes in future RCs, but in terms of stability it's almost always better to use RCs than stable.

... according to yarnpkg/berry#4895

See yarnpkg/berry#3591 for v4 breaking changes. I've seen two mentions of people stumbling over enableGlobalCache default changing from false to true. (Google search: site:yarnpkg.com "enableGlobalCache")

PS: chalk v5 is a dependency through hugo-extended --> log-symbols, see https://npmgraph.js.org/?q=hugo-extended.

@davsclaus
Copy link
Contributor

@zregvart wonder if you have seen this ticket?

@zregvart
Copy link
Member

Not seeing the need to upgrade right now, though anyone is welcome to try and report their findings.

@mrienstra
Copy link
Author

Update: the fix that adds support for the package.json includes field is also in the Yarn 3.2.4 release.

(this is still not in any way urgent, just a heads up that you can drop the chalk fix from #803 when you upgrade Yarn to 3.2.4)

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