Skip to:
Content

BuddyPress.org

Opened 3 years ago

Last modified 2 years ago

#7378 new enhancement

Investigate using yarn instead of npm

Reported by: slaFFik Owned by:
Milestone: Awaiting Contributions Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords:
Cc:

Description

Lots of reports, that yarn is faster.

https://twitter.com/netweb/status/785992895106912256:

NIce, 4x improvement for the first run and 18x for subsequent runs with @buddypressdev

Some more discussion here: https://bpdevel.wordpress.com/2016/10/28/buildtest-tooling/

Yoast, Jetpack are using yarn already. Calypso doesn’t use it yet, but may at some point, see https://github.com/Automattic/wp-calypso/pull/8660

Change History (3)

#1 @slaFFik
3 years ago

  • Type changed from defect (bug) to enhancement

@DJPaul, @netweb
I've decided to create a ticket to formalize this investigation that Paul showed interest in recently.

#2 @netweb
3 years ago

  • Milestone changed from Under Consideration to Future Release

Related: #WP38603

https://core.trac.wordpress.org/ticket/38603#comment:4:

Yarn currently is very new and very shiny...

Enough complications arouse in #WP38657 with 4.7's npm-shrinkwrap.json and as Yarn doesn't currently behave nicely with NPM's shrinkwrap process let's wait a while until it's a little less new and shiny...

For those reasons, moving to future release until Yarn gains a few fixes that will help rather than hinder us.

#3 @netweb
2 years ago

Related: #7535 Add npm package-lock.json for npm v5.x

Note: See TracTickets for help on using tickets.