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.2k
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
90
Doctor Wombat - A debug guide to using npm.
watilde
0
520
Asynchronous wombats - some of the communication issues from our differences we face on GitHub
watilde
0
540
Write a song in JavaScript
watilde
3
760
npm3 ❓
watilde
18
13k
Other Decks in Programming
See All in Programming
Blazing Fast UI Development with Compose Hot Reload (droidcon New York 2025)
zsmb
1
190
Haskell でアルゴリズムを抽象化する / 関数型言語で競技プログラミング
naoya
17
4.9k
Result型で“失敗”を型にするPHPコードの書き方
kajitack
4
290
Composerが「依存解決」のためにどんな工夫をしているか #phpcon
o0h
PRO
1
210
Create a website using Spatial Web
akkeylab
0
300
プロダクト志向なエンジニアがもう一歩先の価値を目指すために意識したこと
nealle
0
110
Effect の双対、Coeffect
yukikurage
5
1.4k
ReadMoreTextView
fornewid
1
470
ドメインモデリングにおける抽象の役割、tagless-finalによるDSL構築、そして型安全な最適化
knih
11
2k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
46
30k
ASP.NETアプリケーションのモダナイズ インフラ編
tomokusaba
1
410
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
1
670
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Code Review Best Practice
trishagee
68
18k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
48
5.4k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
Adopting Sorbet at Scale
ufuk
77
9.4k
Building Adaptive Systems
keathley
43
2.6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
Code Reviewing Like a Champion
maltzj
524
40k
Agile that works and the tools we love
rasmusluckow
329
21k
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!