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
OSS作者はじめの一歩
Search
Nozomu Ikuta
December 07, 2022
Technology
1
150
OSS作者はじめの一歩
2022年12月7日 Saitama.js vol.4 にて発表したLT資料です。
Presented in Saitama.js vol.4, 7th Dec. 2022.
Nozomu Ikuta
December 07, 2022
Tweet
Share
More Decks by Nozomu Ikuta
See All by Nozomu Ikuta
Demystifying Vite Internals
nozomuikuta
3
1.8k
Nuxt DevTools 101
nozomuikuta
3
1.7k
Deep Dive to UnJS and Nuxt 3
nozomuikuta
3
2.3k
2022 年は Docus に注目しよう
nozomuikuta
1
85
Go初学者、最初の1週間の学び
nozomuikuta
1
72
Other Decks in Technology
See All in Technology
Formal Development of Operating Systems in Rust
riru
1
420
iPadOS18でフローティングタブバーを解除してみた
sansantech
PRO
1
150
Building Scalable Backend Services with Firebase
wisdommatt
0
110
AIアプリケーション開発でAzure AI Searchを使いこなすためには
isidaitc
1
120
ドメイン駆動設計の実践により事業の成長スピードと保守性を両立するショッピングクーポン
lycorptech_jp
PRO
13
2.3k
20250116_JAWS_Osaka
takuyay0ne
2
200
2024年活動報告会(人材育成推進WG・ビジネスサブWG) / 20250114-OIDF-J-EduWG-BizSWG
oidfj
0
230
0→1事業こそPMは営業すべし / pmconf #落選お披露目 / PM should do sales in zero to one
roki_n_
PRO
1
1.5k
メンバーがオーナーシップを発揮しやすいチームづくり
ham0215
2
140
Oracle Exadata Database Service(Dedicated Infrastructure):サービス概要のご紹介
oracle4engineer
PRO
0
12k
Alignment and Autonomy in Cybozu - 300人の開発組織でアラインメントと自律性を両立させるアジャイルな組織運営 / RSGT2025
ama_ch
1
2.4k
AWSサービスアップデート 2024/12 Part3
nrinetcom
PRO
0
140
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
How GitHub (no longer) Works
holman
312
140k
Into the Great Unknown - MozCon
thekraken
34
1.6k
Measuring & Analyzing Core Web Vitals
bluesmoon
5
210
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Designing for Performance
lara
604
68k
Typedesign – Prime Four
hannesfritz
40
2.5k
Producing Creativity
orderedlist
PRO
343
39k
The Invisible Side of Design
smashingmag
299
50k
Bash Introduction
62gerente
610
210k
Transcript
Nozomu Ikuta 7th Dec. 2022 OSS࡞ऀ͡ΊͷҰา What I Learned by
being an OSS Author
ΞδΣϯμ 📝 Agenda ࣗݾհ h3-corsύοέʔδͷհ unjsʹ͍ͭͯ h3-cors͕Ͱ͖Δ·Ͱ h3-corsΛެ։ͨ݁͠Ռ ·ͱΊ
ࣗݾհ 🙋 About Me • Twitter / GitHub : ˏNozomuIkuta
• ιϑτΣΞΤϯδχΞ at Global Brain • Vue.jsຊϢʔβʔάϧʔϓίΞελοϑ • unjsϝϯόʔ
৺ͷ “OSSެ։ͯ͠Έ͍ͨɺ͚ͲԿΛ͢Ε🥲”
This lightning talk is for you. ͬͯΈͨ
h3-corsύοέʔδͷհ
h3-corsͱ 🚦 What h3-cors is • unjs/h3༻ͷCORSϛυϧΣΞ • Express.js CORSͷସ
৺ͷ “unjs? h3?🤔”
unjsʹ͍ͭͯ
unjsͱ 👀 What unjs is • ʮUni fi ed JavaScript
Toolsʯͷུ • ڥඇґଘͷύοέʔδ܈ • Nuxt 3Λ࣮ݱ͍ͯ͠ΔίΞ • ʮnitroʯͷཧओମ
h3ͱ 👀 What h3 is • ʮHTTPʯͷψϝϩχϜ • Nuxt 3ͷαʔόʔαΠυʢnitroͷ෦ʣͰϛυϧΣΞΛ୲͏
• Nuxt 2Ͱconnect / Expressͩͬͨͷ͕ஔ͖Θͬͨ
ͳͥh3-corsΛ͔ͭͬͨ͘ 💡Why I created h3-cors • h3ͰExpressͷϛυϧΣΞʹҰ෦ޓੑ͕ͳ͔ͬͨ • ʮh3ͰCORSΛ࣮ݱ͢Δʹʯͱ͍͏IssueΛݟ͚ͭͨ •
ίΞϝϯόʔ͕ͦ͠͏ͳͷͰɺ͕ࣗͬͯΈΔ͜ͱʹͨ͠ • OSSߩݙ͚ͩͰͳ͘ɺOSSެ։ΛͬͯΈ͔ͨͬͨʢҰ൪ͷཧ༝ʣ
h3-cors͕Ͱ͖Δ·Ͱ
2022ɺळɻ “CORSɺงғؾͰͬͯ·ͨ͠”
2022ɺळɻ “ϥΠϒϥϦͷηοτΞοϓ͕Θ͔Βͳ͍”
2022ɺळɻ “ެ։ͯ͠ΘΕͳ͍ͷͰʁ”
ʮCORSɺงғؾͰͬͯ·ͨ͠ʯ 🧭 Road to h3-cors • MDNͰҰ͔Βษڧ • expressjs/corsͷιʔείʔυϦʔσΟϯά
ϥΠϒϥϦͷηοτΞοϓ͕Θ͔Βͳ͍ 🧭 Road to h3-cors • ESM / CommonJSͷରԠ •
package.jsonͷॻ͖ํ • READMEͷॻ͖ํ • unjs/templateͰҰൃղܾͰ͖ͨ
ެ։ͯ͠ΘΕͳ͍ͷͰʁ 🧭 Road to h3-cors • OSSެ։ͷମݧஊهࣄΛಡΉ • ςετͪΌΜͱॻ͘ɺΉ͠ΖςετͰ͖ΔΑ͏ʹ࣮͢Δ •
READMEͪΌΜͱॻ͘ • ։ൃऀମݧɺh3طଘͷྨࣅύοέʔδʹΑͤΔ • એ͢Δɺ͠ͳ͍ͱຒΕΔ
h3-corsΛެ։ͨ݁͠Ռ
h3-corsΛެ։ͨ݁͠Ռ 🔍 Results • ͡ΊͯͷGitHubελʔ • Issueخ͍͠ • PRͬͱخ͍͠ •
Φʔφʔγοϓͷ͋Δ։ൃָ ͍͠ • CORSͷ࣮·͕ͪͬͯ·ͨ͠ • NPMμϯϩʔυͷࣈ৳ͼ ͳ͍ • IssueτϦΞʔδͱ࣮ʹ࣌ؒ ͕ͱΒΕΔ • PRϨϏϡʔʹ͕࣌ؒͱΒΕΔ
·ͱΊ Takeaways • ʮείʔϓͷด͍ͯ͡Δʯύοέʔδ͕͓͢͢Ί • ॳظηοτΞοϓunjs/template͕͓͢͢Ί • ࣈͷ৳ͼʮ࣭ͦͷͷʯΑΓ͖͔͚͕ͬ͋Δ͔ͳ͍͔ • ஶ໊ͳOSSͷϝϯςφʔͨͪͷେม͞ͷยྡྷΛຯΘ͑Δ
• ϝϯςφϯεେม͚ͩͲɺΦʔφʔγοϓΛͯΔͷָ͍͠
Thank you