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

1d5ca7d8f17f15de4272e1ec7ef7abac?s=128

Daijirō Wachi

May 08, 2015
Tweet

Transcript

  1. 2.

    whoami • Daijiro Wachi - @watilde • Software Engineer at

    GREE, Inc. • interested in Chromium / cssnext / npm
  2. 3.

    my fav articles in • ͕ͦ͜஌Γ͍ͨɺFlexible Box • ϏϧυπʔϧΞϥΧϧτ •

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

    semantic versioning 2 . 5 . 1 MAJOR Version Number

    MINOR Version Number PATCH Version Number
  4. 6.

    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 io@v2.0.0 v2.9.0
  5. 7.

    node -v npm -v v0.8.28 v1.2.30 v0.10.38 v1.4.28 v0.12.0 v2.5.1

    io@v2.0.0 v2.9.0 including npm version
 in each node/io.js version
  6. 8.

    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. 13.

    v2.7.0 (2015-02-26) • npm restartͷڍಈΛਖ਼ৗԽ • npm lsʹ--dev,  --prodΦϓγϣϯΛ௥Ճ •

    npm initʹ--scopeΦϓγϣϯ͕௥Ճ • npm runͷεΫϦϓτϦετͷදࣔΛվળ
  8. 14.

    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. 18.

    [PR] NodeSchool Internal Day in Tokyo • 5/23 (౔) 13:30

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