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
640
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
tc39 x jsconf.jp Panel Discussion 2024
yosuke_furukawa
PRO
0
150
Removing Corepack
yosuke_furukawa
PRO
9
1.3k
JavaScript Runtime とはなにか
yosuke_furukawa
PRO
15
2.5k
Strip Types と Storage
yosuke_furukawa
PRO
4
340
Module Harmony について
yosuke_furukawa
PRO
3
1.5k
LTのやり方
yosuke_furukawa
PRO
16
2.2k
AppRouter Panel Talk
yosuke_furukawa
PRO
3
700
Node.js v22 で変わること
yosuke_furukawa
PRO
13
5.3k
リアーキテクトと開発生産性について
yosuke_furukawa
PRO
25
9.6k
Other Decks in Programming
See All in Programming
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
890
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
ヤプリ新卒SREの オンボーディング
masaki12
0
130
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
1k
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
860
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
170
役立つログに取り組もう
irof
28
9.6k
Jakarta EE meets AI
ivargrimstad
0
530
Featured
See All Featured
Six Lessons from altMBA
skipperchong
27
3.5k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
How to train your dragon (web standard)
notwaldorf
88
5.7k
4 Signs Your Business is Dying
shpigford
180
21k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Speed Design
sergeychernyshev
24
610
Typedesign – Prime Four
hannesfritz
40
2.4k
Building Adaptive Systems
keathley
38
2.3k
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