$30 off During Our Annual Pro Sale. View Details »
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.6k
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
72
Other Decks in Technology
See All in Technology
GDGoC開発体験談 - Gemini生成AI活用ハッカソン / GASとFirebaseで挑むパン屋のフードロス解決 -
hotekagi
1
660
スパイクアクセス対策としての pitchfork 導入
riseshia
0
110
ポストモーテムレビューをブレームレスに運営し有効な改善アクションを引き出すために必要だったこと / What is needed to operate postmortem blamelessly and elicit improvement actions
yamaguchitk333
0
180
論理レプリケーションを使ったDB統合
kkato1
0
130
[DevFestTokyo]Accelerating Flutter App Development Using Generative AI
korodroid
1
260
Bytebaseで実現する データベース管理の効率化
shogo452
2
360
AWS re:Invent 2024登壇資料(GBL206-JA: Unleashing the power of generative AI on AWS for your business)
minorun365
PRO
4
170
お悩みハンドブック紹介資料
grafferhandbook
0
750
ドメインロジックで考えるテスタビリティ
leveragestech
1
270
知らない景色を見に行こう チャンスを掴んだら道が開けたマネジメントの旅 / Into the unknown~My management journey~
kakehashi
7
960
Kubernetesを知る
logica0419
17
4.7k
Ruby on Browser - RubyWorld Conference 2024
tmtms
1
100
Featured
See All Featured
Code Review Best Practice
trishagee
64
17k
Practical Orchestrator
shlominoach
186
10k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.3k
Embracing the Ebb and Flow
colly
84
4.5k
The Pragmatic Product Professional
lauravandoore
32
6.3k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
0
8
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Designing Experiences People Love
moore
138
23k
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