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
130
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
Deep Dive to UnJS and Nuxt 3
nozomuikuta
2
1.4k
2022 年は Docus に注目しよう
nozomuikuta
1
79
Go初学者、最初の1週間の学び
nozomuikuta
1
56
Other Decks in Technology
See All in Technology
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
38k
cgroup v2 で何が変わったのか / TechFeed Experts Night #28
tenforward
2
150
AWSの生成AI入門書を執筆しました🎉
minorun365
PRO
0
120
テストコードを書きながらCompose Multiplatformを乗りこなす
subroh0508
0
130
開発スピードの維持向上を支える、テスト設計の 漸進的進化への取り組み / Continuous Test Design Development for Speed of Product Development
ropqa
0
180
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
15
36k
Domain-driven Design: A Complete Example
ewolff
2
230
20240509 CloudWatch でいろいろなものを監視してみよう
masaruogura
1
110
データ分析力を高めるSQL研修サービス『SQL Everyone』
hikarut
1
370
パフォーマンス最適化のベストプラクティス
databricksjapan
0
190
OPENLOGI Company Profile for engineer
hr01
1
2.1k
個人的、Kubernetes の最新注目機能! (2024年5月版) / TechFeed Experts Night#28 〜 コンテナ技術最前線
pfn
PRO
3
210
Featured
See All Featured
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
GitHub's CSS Performance
jonrohan
1025
450k
The Power of CSS Pseudo Elements
geoffreycrofte
62
5k
What the flash - Photography Introduction
edds
64
11k
We Have a Design System, Now What?
morganepeng
43
6.8k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
A Philosophy of Restraint
colly
197
16k
4 Signs Your Business is Dying
shpigford
176
21k
Fantastic passwords and where to find them - at NoRuKo
philnash
39
2.5k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
KATA
mclloyd
16
12k
Art, The Web, and Tiny UX
lynnandtonic
290
19k
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