Page MenuHomeSolus

Update Yarn to 1.0.1
ClosedPublic

Authored by jalden on Sep 10 2017, 3:18 PM.
Referenced Files
F10919594: D976.diff
Jul 9 2023, 3:14 AM
F10894682: D976.diff
Jul 1 2023, 12:10 PM
F10766920: D976.id2149.diff
May 19 2023, 9:11 PM
F10737516: D976.diff
May 13 2023, 4:47 AM
F10712438: D976.id.diff
May 1 2023, 6:52 PM
Subscribers
None

Details

Summary
  • Allows the top-level package.json to override nested dependencies versions
  • Adds a yarn-path rc config parameter
  • Enables Workspaces by default
  • Commands are now ran from the cwd package root if possible
  • Exposes the lockfile parser into its own npm package (@yarnpkg/lockfile)
  • Implements a --cwd flag to run Yarn in a specific directory
  • Detects and merges lockfile conflicts without user input
  • Adds a preliminary support for // comments in package.json dependencies

The patch that was being applied can be removed as the fix is present in this release. Also, the gulp build stage no longer has a 'build-legacy' step, so the directory 'lib-legacy' is no not needed to be copied across during the install stage.

Test Plan

Verified the cli was working by executing yarn inside a project that uses it.

Diff Detail

Repository
R3298 yarn
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jalden retitled this revision from Update to 1.0.1 to Update Yarn to 1.0.1.Sep 11 2017, 9:22 PM
jalden edited the test plan for this revision. (Show Details)
jalden added a project: Patch Submission.
This revision is now accepted and ready to land.Sep 11 2017, 11:09 PM
This revision was automatically updated to reflect the committed changes.