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
SemVerの問題点と今のnpmのtips
Search
Yosuke Furukawa
PRO
November 05, 2014
Programming
2
730
SemVerの問題点と今のnpmのtips
Jser.info 200回記念でLTした話です
Yosuke Furukawa
PRO
November 05, 2014
Tweet
Share
More Decks by Yosuke Furukawa
See All by Yosuke Furukawa
デザインシステムが必須の時代に
yosuke_furukawa
PRO
2
130
Node.js, Deno, Bun 最新動向とその所感について
yosuke_furukawa
PRO
10
4.2k
Welcome JSConf.jp 2024
yosuke_furukawa
PRO
1
4.2k
tc39 x jsconf.jp Panel Discussion 2024
yosuke_furukawa
PRO
0
260
Removing Corepack
yosuke_furukawa
PRO
9
1.7k
JavaScript Runtime とはなにか
yosuke_furukawa
PRO
15
2.8k
Strip Types と Storage
yosuke_furukawa
PRO
4
420
Module Harmony について
yosuke_furukawa
PRO
3
1.7k
LTのやり方
yosuke_furukawa
PRO
16
2.7k
Other Decks in Programming
See All in Programming
個人軟體時代
ethanhuang13
0
330
The Past, Present, and Future of Enterprise Java with ASF in the Middle
ivargrimstad
0
150
Performance for Conversion! 分散トレーシングでボトルネックを 特定せよ
inetand
0
2.4k
アプリの "かわいい" を支えるアニメーションツールRiveについて
uetyo
0
270
250830 IaCの選定~AWS SAMのLambdaをECSに乗り換えたときの備忘録~
east_takumi
0
400
チームのテスト力を鍛える
goyoki
3
680
Kiroで始めるAI-DLC
kaonash
2
610
今から始めるClaude Code入門〜AIコーディングエージェントの歴史と導入〜
nokomoro3
0
210
Updates on MLS on Ruby (and maybe more)
sylph01
1
180
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
520
Tool Catalog Agent for Bedrock AgentCore Gateway
licux
7
2.5k
旅行プランAIエージェント開発の裏側
ippo012
2
920
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
810
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
GitHub's CSS Performance
jonrohan
1032
460k
The Language of Interfaces
destraynor
161
25k
Into the Great Unknown - MozCon
thekraken
40
2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Docker and Python
trallard
46
3.6k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Building an army of robots
kneath
306
46k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
Transcript
Versioning @yosuke_furukawa
@yosuke_furukawa Node.jsϢʔβʔάϧʔϓද / DeNAॴଐ
Semantic Versioning
major.minor.patch
majorΛ্͛Δ incompatibleͳมߋ͕͋Δ
minorΛ্͛Δ compatibleͳػೳՃ͕͋Δ
patchΛ্͛Δ compatibleͳόάमਖ਼͕͋Δ
࠷ۙͷ
όάमਖ਼ͪΐͬͱͨ͠ػೳՃ͚ͩͲɺ breaking changes͕͋Δ߹ʹ majorόʔδϣϯΛ্͛Δඞཁ͕͋Δ
VOEFSTDPSFKTͰͷػೳՃʹΑͬͯCSFBLJOHDIBOHF͕ൃੜɺ ͡Όͳͯ͘ʹ͠ΖҊ͕݅ग़͖ͯͨ
None
4FNBOUJD7FSTJPOJOHͳΜͯݬ
Romantic Versioning
Romantic VersionجຊSemVarͩ ͚Ͳɺmajor.minor.patchͷmajorมߋ Λਓؒͷؾ࣋ͪͰܾΊΒΕΔɻ
ଞͷҊͱͯ͜͠Μͳͷ͋Δɻ romantic.major.minor.patch romanticͷͱ͜Ζʹ͍ΛೖΕΔɻ
Sentimental Versioning
TFNWBSن͡Όͳͯ͘ΨΠυͰ͋Δ͖ͩͱ͢Δओ ுɻಛʹͲ͏͍͏όʔδϣχϯά͔نఆ͞Εͯͳ͍ɻ
5F9ͱ.&5"'0/5ͬͯόʔδϣϯ͕ К ͱF ʜ ͳΜͩ͠ɺ ͏ͪΐͬͱࣗ༝ͳ֓೦͕΄͍͠
SemVer 3.0 ͕ͪ·ΕͯΔ
ͪͳΈʹ
࠷ۙ npm v2ʹͳͬͯ npm initͷversion͕1.0.0͕ σϑΥϧτʹͳΔΑ͏ʹͳͬͨɻɻɻ
͋·ΓΒΕͯͳ͍ npm tips
npm configΛ͓͏ $ npm config set init.version 0.0.1 ͜͏͢Δͱɺnpm init
Ͱ࡞Δ࣌ͷॳظόʔδϣϯ͕มߋ͞ΕΔ ݩʹ͚ͨ͠Ε $ npm config delete init.version ͰOK