Successfully reported this slideshow.
Your SlideShare is downloading. ×

君はyarn.lockをコミットしているか?

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Loading in …3
×

Check these out next

1 of 25 Ad

More Related Content

Slideshows for you (20)

Advertisement

More from Teppei Sato (20)

Recently uploaded (20)

Advertisement

君はyarn.lockをコミットしているか?

  1. 1. yarn.lock @teppeis #tng24 March 31, 2017
  2. 2. Hello! • Teppei SATO, @teppeis • Cybozu, Inc. / kintone Corp.
  3. 3. https://scotch.io/tutorials/yarn-package-manager-an-improvement-over-npm
  4. 4. Yarn • yarn.lock instead of npm-shrinkwrap.json • fast, offline, cache • secure? • --flat, --module-folder https://yarnpkg.com/
  5. 5. https://www.berriart.com/blog/2016/10/npm-yarn-benchmark/
  6. 6. https://gist.github.com/othiym23/c98bd4ef5d9fb3f496835bd481ef40ae
  7. 7. Yarn • npm@5 2017 • yarn npm@5 • yarn Node.js io.js • Yak shaving • private npm registry • 

  8. 8. https://twitter.com/othiym23/status/819684484970778624
  9. 9. npm@5 …
  10. 10. yarn …
  11. 11. yarn.lock
  12. 12. yarn.lock • • yarn.lock
  13. 13. • 
 yarn.lock/npm-shrinkwrap.json 
 npm install/yarn install 
 semver • CI 
 yarn.lock/npm-shrinkwrap.json 

  14. 14. • /CI 
 • • minor 

  15. 15. Yarn https://yarnpkg.com/
  16. 16. https://yarnpkg.com/blog/2016/11/24/lockfiles-for-all/
  17. 17. deps << devDeps • npm dependencies 
 devDependencies 
 • babel, webpack, eslint 509 • breaking changes 
 devDependencies
  18. 18. devDeps • • OSS • •
  19. 19. • 
 breaking change 
 install upgrade • • install 

  20. 20. • • • 

  21. 21. yarn.lock 

  22. 22. • • yarn.lock • devDeps 
 deps • deps devDeps
  23. 23. Do you `git commit yarn.lock` ? https://yarnpkg.com/

×