[ovirt-devel] [Node.js] moving from npm to Yarn & how it impacts oVirt JS applications

Vojtech Szocs vszocs at redhat.com
Fri Jan 13 20:40:46 UTC 2017



----- Original Message -----
> From: "Vojtech Szocs" <vszocs at redhat.com>
> To: "devel" <devel at ovirt.org>
> Sent: Thursday, January 12, 2017 6:04:03 PM
> Subject: [ovirt-devel] [Node.js] moving from npm to Yarn & how it impacts oVirt JS applications
> 
> Hello guys,
> 
> as you probably know, we're using Node.js (ovirt-engine-nodejs) to build
> some of our applications, including ovirt-engine-dashboard, ovirt-web-ui,
> cockpit-ovirt, and some others.
> 
> This is just to inform you that in ovirt-engine-nodejs-modules (RPM that
> bundles all of our JS dependencies), we're moving from npm to Yarn.
> 
> The related patch is here: https://gerrit.ovirt.org/#/c/69934/
> 
> nodejs-modules 1.0.0 will bump all dependencies to their latest version,
> plus add version locking.
> 
> To prepare for consuming nodejs-modules 1.0.0, please:
> 
> - make sure to test your applications with bumped dependencies
> - once the patch is merged, you can update your BuildRequires to 1.0.0
> - once we have an RPM for Yarn, you can start using it in your project

I wrote a patch that adds Yarn (as ovirt-engine-yarn RPM), along with
bumping Node.js version & updating nodejs-modules/setup-env.sh script:

  https://gerrit.ovirt.org/#/c/70390/

> 
> Regards,
> Vojtech
> 
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
> 


More information about the Devel mailing list