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 update -g npm
Search
Daijiro Wachi
May 08, 2015
Programming
5
2.9k
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
Share
More Decks by Daijiro Wachi
See All by Daijiro Wachi
OSS開発における合意形成にJavaScriptで参加し、変化を起こす / front-end-lounge-1
watilde
6
3.3k
amplify-cliで追加したfunctionに 環境変数・シークレットを設定する機能が どのように実現されたか / amplify-env-vars
watilde
0
1.4k
Amplify Japan User Group and OSS
watilde
0
1.2k
Web VitalsとJavaScriptエラーの可視化 - フロントエンドにおけるObservabilityとは / visualize-web-vitals-and-javascript-error
watilde
6
2.8k
Firefighting planner
watilde
1
100
Doctor Wombat - A debug guide to using npm.
watilde
0
540
Asynchronous wombats - some of the communication issues from our differences we face on GitHub
watilde
0
550
Write a song in JavaScript
watilde
3
770
npm3 ❓
watilde
18
13k
Other Decks in Programming
See All in Programming
Go言語の特性を活かした公式MCP SDKの設計
hond0413
1
230
あなたとKaigi on Rails / Kaigi on Rails + You
shimoju
0
130
Writing Better Go: Lessons from 10 Code Reviews
konradreiche
0
1.2k
Server Side Kotlin Meetup vol.16: 内部動作を理解して ハイパフォーマンスなサーバサイド Kotlin アプリケーションを書こう
ternbusty
3
180
dynamic!
moro
10
7.7k
CSC305 Lecture 06
javiergs
PRO
0
230
私達はmodernize packageに夢を見るか feat. go/analysis, go/ast / Go Conference 2025
kaorumuta
2
550
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
1
110
Django Ninja による API 開発効率化とリプレースの実践
kashewnuts
0
1.3k
Leading Effective Engineering Teams in the AI Era
addyosmani
3
370
Go言語はstack overflowの夢を見るか?
logica0419
0
260
ソフトウェア設計の実践的な考え方
masuda220
PRO
4
580
Featured
See All Featured
Embracing the Ebb and Flow
colly
88
4.8k
Writing Fast Ruby
sferik
629
62k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
Visualization
eitanlees
149
16k
Optimizing for Happiness
mojombo
379
70k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
A better future with KSS
kneath
239
18k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
Transcript
@watilde CodeGrid 3rd anniversary party in Tokyo npm update -g
npm
whoami • Daijiro Wachi - @watilde • Software Engineer at
GREE, Inc. • interested in Chromium / cssnext / npm
my fav articles in • ͕ͦ͜Γ͍ͨɺFlexible Box • ϏϧυπʔϧΞϥΧϧτ •
WebFontsࣗ༝ࣗࡏ 3प͓ΊͰͱ͏͍͟͝·͢ ɹɹɹɹ ɹЊЊ ɹɹɹɹɹ ʛŋŋʛ ɹɹɹɹɹ ʛ̟ʛ ɹɹɹɹɹ ʛʔʛ ɹɹɹɹɹ ʛɹʛ ɹɹɹɹɹ ʛɹʛ ɹɹɹɹɹ ʛɹʛ ɹɹɹɹɹ ʛɹʛ ɹɹɹɹɹ ʛɹʛ `ʊʊʊʊʊ/ ɹ ʛ |ɹ ʊʊʊʊɹɹ) |ɹ/ɹɹ \ |
main subject Web੍࡞͕ͬͱָʹͳΔΑ͏ͳ npm-cliͷ৽ػೳΛ ࣌ܥྻʹԊͬͯհ
semantic versioning 2 . 5 . 1 MAJOR Version Number
MINOR Version Number PATCH Version Number
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
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
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
v2.5.0 (2015-01-29) npm outdatedʹ--longΦϓγϣϯΛ͚Δͱ ύοέʔδͷλΠϓ͕දࣔ͞ΕΔΑ͏ʹ
v2.6.0 (2015-02-12) • npm logoutͷՃ • Ϣʔβʔ໊ͱύεϫʔυΛ༻͍ͨೝূτʔΫϯͷൃߦ • engineStrictͷഇࢭʹؔ͢ΔܯࠂͷՃ •
peerDependenciesͷڍಈมߋʹؔ͢ΔܯࠂͷՃ
topic (2015-2-14) ύοέʔδ͕1ϲ݄Ͱ10ԯμϯϩʔυ
topic (2015-2-19) jQuery Plugin Registry͕ಡΈऔΓઐ༻ʹͳΓ npmར༻Λਪ͢ΔΞφϯε͞ΕΔ
v2.7.0 (2015-02-26) • npm restartͷڍಈΛਖ਼ৗԽ • npm lsʹ--dev, --prodΦϓγϣϯΛՃ •
npm initʹ--scopeΦϓγϣϯ͕Ճ • npm runͷεΫϦϓτϦετͷදࣔΛվળ
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: Λ༻͍ͨলུه๏Λαϙʔτ
topic (2015-4-21) Cordova͕Core PluginΛnpmʹҠಈ͢Δͱൃද Cordova plugins registry͔ΒnpmҠಈ͢Δπʔϧ։ൃத
v2.9.0 (2015-04-23) • npm versionͰՃ͞ΕͨgitͷλάʹͯΒΕΔ όʔδϣϯͷϓϨϑΟοΫε͕ઃఆՄೳʹมߋ • npm outdatednpm updateΛ࣮ߦ͢Δࡍʹɺ
ϩʔΧϧʹ͋ΔϞδϡʔϧؚ·ΕΔΑ͏ʹมߋ
npm update -g npm
[PR] NodeSchool Internal Day in Tokyo • 5/23 () 13:30
~ 19:00, CyberAgent͞ΜͷηϛφʔϧʔϜ • Node.jsʹ͍ͭͯɺಋೖ͔ΒτϨϯυ·Ͱ ΈΜͳͰֶͿָ͍͠Πϕϯτ • ࠓճશੈքಉ࣌։࠵ ٩(ˊᗜˋ*)و
Happy Hacking!