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.8k
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
3k
amplify-cliで追加したfunctionに 環境変数・シークレットを設定する機能が どのように実現されたか / amplify-env-vars
watilde
0
1.2k
Amplify Japan User Group and OSS
watilde
0
1.1k
Web VitalsとJavaScriptエラーの可視化 - フロントエンドにおけるObservabilityとは / visualize-web-vitals-and-javascript-error
watilde
6
2.6k
Firefighting planner
watilde
1
62
Doctor Wombat - A debug guide to using npm.
watilde
0
430
Asynchronous wombats - some of the communication issues from our differences we face on GitHub
watilde
0
480
Write a song in JavaScript
watilde
3
700
npm3 ❓
watilde
18
13k
Other Decks in Programming
See All in Programming
What is Parser
yui_knk
9
4.1k
いつか使える ObjectSpace / Maybe useful ObjectSpace
euglena1215
2
140
Google Sign-inの移行から始めるCredential Manager活用
clockvoid
0
310
From Idea to IDE: Developing Plugins for Android Studio
thisaay
1
220
Pythonで改めて考える「クラス(class)」の使いどころ
os1ma
1
360
はじめてみよう量子プログラミング
itokoichi01
0
210
Amazon BedrockでサーバレスなAIお料理ボットを作成する!!
tosuri13
0
230
Desafios e Lições Aprendidas na Migração de Monólitos para Microsserviços em Java
jessilyneh
2
150
サーバーレスで負荷試験!Step Functions + Lambdaを使ったk6の分散実行
shuntakahashi
6
1.6k
The Sequel to a Dream of Ruby Parser's Grammar
ydah
1
220
Increased Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
360
Architecture Decision Record (ADR)
nearme_tech
PRO
1
690
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
48
4.6k
Intergalactic Javascript Robots from Outer Space
tanoku
268
26k
Done Done
chrislema
180
16k
The Cost Of JavaScript in 2023
addyosmani
42
5.7k
Atom: Resistance is Futile
akmur
261
25k
A designer walks into a library…
pauljervisheath
201
24k
Building Better People: How to give real-time feedback that sticks.
wjessup
359
19k
Optimizing for Happiness
mojombo
375
69k
Mobile First: as difficult as doing things right
swwweet
221
8.8k
Writing Fast Ruby
sferik
623
60k
Into the Great Unknown - MozCon
thekraken
29
1.4k
Become a Pro
speakerdeck
PRO
22
4.9k
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!