Upgrade to Pro — share decks privately, control downloads, hide ads and more …

npm update -g npm

npm update -g npm

npm command mini tips and news for front-end developer at CodeGrid 3rd anniversary party in Tokyo

Daijiro Wachi

May 08, 2015
Tweet

More Decks by Daijiro Wachi

Other Decks in Programming

Transcript

  1. whoami • Daijiro Wachi - @watilde • Software Engineer at

    GREE, Inc. • interested in Chromium / cssnext / npm
  2. my fav articles in • ͕ͦ͜஌Γ͍ͨɺFlexible Box • ϏϧυπʔϧΞϥΧϧτ •

    WebFontsࣗ༝ࣗࡏ 3प೥͓ΊͰͱ͏͍͟͝·͢ ɹɹɹɹ ɹЊЊ ɹɹɹɹɹ ʛŋŋʛ ɹɹɹɹɹ ʛ̟ʛ ɹɹɹɹɹ ʛʔʛ ɹɹɹɹɹ ʛɹʛ ɹɹɹɹɹ ʛɹʛ ɹɹɹɹɹ ʛɹʛ ɹɹɹɹɹ ʛɹʛ ɹɹɹɹɹ ʛɹʛ `ʊʊʊʊʊ/ ɹ ʛ |ɹ ʊʊʊʊɹɹ) |ɹ/ɹɹ \ |
  3. semantic versioning 2 . 5 . 1 MAJOR Version Number

    MINOR Version Number PATCH Version Number
  4. including npm version
 in each node/io.js version node -v npm

    -v v0.8.28 v1.2.30 v0.10.38 v1.4.28 v0.12.0 v2.5.1 [email protected] v2.9.0
  5. node -v npm -v v0.8.28 v1.2.30 v0.10.38 v1.4.28 v0.12.0 v2.5.1

    [email protected] v2.9.0 including npm version
 in each node/io.js version
  6. minor version list from v2.5.0 to v2.9.0 • v2.5.0 (2015-01-29)

    • v2.6.0 (2015-02-12) • v2.7.0 (2015-02-26) • v2.8.0 (2015-04-09) • v2.9.0 (2015-04-23) npm wombat
  7. v2.7.0 (2015-02-26) • npm restartͷڍಈΛਖ਼ৗԽ • npm lsʹ--dev,  --prodΦϓγϣϯΛ௥Ճ •

    npm initʹ--scopeΦϓγϣϯ͕௥Ճ • npm runͷεΫϦϓτϦετͷදࣔΛվળ
  8. v2.8.0 (2015-04-09) • GitHubলུه๏(org/repo)Λgit+sshʹม׵͢Δ୅ΘΓʹ
 git:͔git+https:ͷURLΛอଘ • লུه๏͕࢖ΘΕ͍ͯΔ৔߹͸ɺ
 git protocol, SSH,

    and HTTPSͷॱʹΫϩʔϦϯάΛࢼ͢ • promptܗࣜͰΫϩʔϯΛՄೳʹ • ࣮ݧతػೳͱͯ͠ɺgithub:, gist:, bitbucket:, gitlab:
 Λ༻͍ͨলུه๏Λαϙʔτ
  9. [PR] NodeSchool Internal Day in Tokyo • 5/23 (౔) 13:30

    ~ 19:00, CyberAgent͞ΜͷηϛφʔϧʔϜ • Node.jsʹ͍ͭͯɺಋೖ͔ΒτϨϯυ·Ͱ
 ΈΜͳͰֶͿָ͍͠Πϕϯτ • ࠓճ͸શੈքಉ࣌։࠵ ٩(ˊᗜˋ*)و