This is really nice! We may think about adding `yarn` support to nodejs openshift buider [1] then.

Presently it is hardcoded to `npm` [2]. But we can add some variable and use yarn when it is set. Like what they did in this blog [3][4].


[1] https://github.com/sclorg/s2i-nodejs-container
[2] https://github.com/sclorg/s2i-nodejs-container/blob/master/8/s2i/bin/assemble [3] https://developers.redhat.com/blog/2017/06/02/installing-node-js-dependencies-with-yarn-via-s2i-builds-and-openshift/ [4] https://github.com/bucharest-gold/centos7-s2i-nodejs/blob/master/s2i/assemble

Vít Ondruch wrote on 05/21/18 11:26:
For some while, Ruby on Rails can use YARN to manage its JavaScript dependencies. And now, NodeJS maintainers were so nice, that we have YARN available in Rawhide!


V.



-------- Přeposlaná zpráva --------
Předmět:        Fedora rawhide compose report: 20180517.n.1 changes
Datum:  Fri, 18 May 2018 05:35:34 +0000
Od:     Fedora Rawhide Report <[email protected]>
Adresa pro odpověď: Development discussions related to Fedora <[email protected]>
Komu:   [email protected]



OLD: Fedora-Rawhide-20180516.n.0
NEW: Fedora-Rawhide-20180517.n.1


===== ADDED PACKAGES =====

Package: nodejs-yarn-1.6.0-1.fc29
Summary: Fast, reliable, and secure dependency management.
RPMs:    nodejs-yarn
Size:    3.01 MiB



_______________________________________________
ruby-sig mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]/message/YNHAXYLB2XZ5LVHOR6P6EVUYTDAIDKYT/

_______________________________________________
ruby-sig mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]/message/YLPE2RWWWAO72KYDSW6LKXKSHHIZ3N6U/

Reply via email to