Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Npm vs Yarn
Search
FranckAbgrall
May 18, 2017
Programming
0
25
Npm vs Yarn
FranckAbgrall
May 18, 2017
Tweet
Share
More Decks by FranckAbgrall
See All by FranckAbgrall
Comment promouvoir son projet Open Source?
franckabgrall
0
540
Retours sur Vue.js Amasterdam
franckabgrall
0
170
Vue.js, retrouver le goût des choses simples
franckabgrall
1
79
Other Decks in Programming
See All in Programming
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
4
640
RubyLSPのマルチバイト文字対応
notfounds
0
120
EventSourcingの理想と現実
wenas
6
2.3k
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
110
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
Jakarta EE meets AI
ivargrimstad
0
130
AI時代におけるSRE、 あるいはエンジニアの生存戦略
pyama86
6
1.1k
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
170
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
430
現場で役立つモデリング 超入門
masuda220
PRO
15
3.2k
Tauriでネイティブアプリを作りたい
tsucchinoko
0
370
初めてDefinitelyTypedにPRを出した話
syumai
0
400
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
327
21k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
120
Building an army of robots
kneath
302
43k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
For a Future-Friendly Web
brad_frost
175
9.4k
How to Ace a Technical Interview
jacobian
276
23k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Git: the NoSQL Database
bkeepers
PRO
427
64k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
The Invisible Side of Design
smashingmag
298
50k
How GitHub (no longer) Works
holman
310
140k
What's new in Ruby 2.0
geeforr
343
31k
Transcript
Npm vs Yarn vs NantesJS
Consultant @ Zenika Nantes Fullstack developer Franck Abgrall
• Created in 2009 • Opensource • Most used javascript
package manager • Created in 2016 • Opensource • Use the npm registry • Created to solve problem their authors faced themselves
None
Semantic versioning [major] . [minor] . [patch] Incompatible changes .
Non breaking changes . Bug fixes Caret ranges ( ^ ) ^6.7.0 == between 6.7.0 and 7.0.0 (7.0.0 excluded) "node": "^6.7.0"
Cheat sheet npm install yarn (or yarn install) npm install
<package> --save yarn add <package> npm install <package> --save-dev yarn add <package> --dev npm update --save yarn upgrade npm install <package> -g yarn global add <package> npm uninstall <package> --save yarn remove <package>
, an improvement over + Speed + Cache + Deterministic
+ Offline mode + Yarn why + Checksum + Emojis - Not completely stable
Conclusion • Young • Huge and active community
blog.zenika.com/npm-vs-yarn/ Découvrez le futur des gestionnaires de paquets js !
https://github.com/kefranabg/NPM-VS-YARN
Un feedback? http://bit.ly/2ql2qxz