[DAEMON-318] Investigate upgrading to Yarn 2
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Low |
Status | Reopened |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Tooling |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2020-02-11T06:57:07.000+0000 |
Updated | 2020-03-06T16:21:14.000+0000 |
Description
Yarn 2 was released and we should investigate the upgrade process. Yarn is used for the top-level monorepo as well as appcd-default-plugins. We also need to check if we even need Lerna anymore. It may be unnecessary if there is no value and if we mandate Yarn over npm.
Release notes: https://dev.to/arcanis/introducing-yarn-2-4eh1.
The code in appcd-default-plugins will likely be moved into appcd-plugin where the plugin management lives, but the logic should be relatively unchanged.
Also, Yarn 2 has an experimental plugin called "version" which assists with independent package versioning as is the case in the Appc Daemon's monorepo. For more info: https://next.yarnpkg.com/features/release-workflow.
As of March 6, 2020, Yarn 2 GA has not been published to npm. Putting this ticket on hold until Yarn 2 is generally available.