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
140
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.4k
Nuxt DevTools 101
nozomuikuta
3
1.7k
Deep Dive to UnJS and Nuxt 3
nozomuikuta
3
2.2k
2022 年は Docus に注目しよう
nozomuikuta
1
85
Go初学者、最初の1週間の学び
nozomuikuta
1
68
Other Decks in Technology
See All in Technology
安心してください、日本語使えますよ―Ubuntu日本語Remix提供休止に寄せて― 2024-11-17
nobutomurata
1
1k
SREが投資するAIOps ~ペアーズにおけるLLM for Developerへの取り組み~
takumiogawa
1
380
SSMRunbook作成の勘所_20241120
koichiotomo
3
160
Lexical Analysis
shigashiyama
1
150
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
110
AGIについてChatGPTに聞いてみた
blueb
0
130
VideoMamba: State Space Model for Efficient Video Understanding
chou500
0
190
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.4k
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
130
Application Development WG Intro at AppDeveloperCon
salaboy
0
190
Making your applications cross-environment - OSCG 2024 NA
salaboy
0
190
Amazon CloudWatch Network Monitor のススメ
yuki_ink
1
210
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Bash Introduction
62gerente
608
210k
Site-Speed That Sticks
csswizardry
0
27
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
410
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Writing Fast Ruby
sferik
627
61k
Music & Morning Musume
bryan
46
6.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
What's new in Ruby 2.0
geeforr
343
31k
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