Skip to content

🦁 Yarn 2.0 Working Group #5773

@arcanis

Description

@arcanis

Alright @yarnpkg/core (and community!). Let's discuss what we want for the 2.0 release 🙂

Ideas "en vrac":

  • Drop support for Node 4 (build(node4): Drop Node 4 builds which has expired #5736)

  • Revamp the command line implementation (switch from Commander to Yargs, remove the complicated custom logic as much as possible)

  • Harmonize the command line (an example in mind is the --pattern option, which sometimes is an option like for yarn list, sometimes a -P,--pattern option like for yarn upgrade, sometimes a --scope option that only takes the scope like for yarn upgrade-interactive, and sometimes an argument that doesn't glob like for yarn outdated)

  • Change the lockfile syntax to a YAML-like file format (YAML-like because we would just slightly tweak our parser to emit something YAML-compatible, but we wouldn't support any advanced YAML feature)

  • Remove the code that deals with multiple registries (yarn / npm, cf src/registries). The yarn registry being a mere mirror of the npm registry, this doesn't make sense.

Anything else you think would be important to ship during this version? Especially in term of breaking changes requiring a semver-major bump?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions