Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-318] Investigate upgrading to Yarn 2

GitHub Issuen/a
TypeStory
PriorityLow
StatusReopened
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsTooling
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2020-02-11T06:57:07.000+0000
Updated2020-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.

Comments

  1. Chris Barber 2020-03-06

    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.

JSON Source