Upgrade to Pro — share decks privately, control downloads, hide ads and more …

OSS作者はじめの一歩

Nozomu Ikuta
December 07, 2022

 OSS作者はじめの一歩

2022年12月7日 Saitama.js vol.4 にて発表したLT資料です。

Presented in Saitama.js vol.4, 7th Dec. 2022.

Nozomu Ikuta

December 07, 2022
Tweet

More Decks by Nozomu Ikuta

Other Decks in Technology

Transcript

  1. ࣗݾ঺հ 🙋 About Me • Twitter / GitHub : ˏNozomuIkuta

    • ιϑτ΢ΣΞΤϯδχΞ at Global Brain • Vue.js೔ຊϢʔβʔάϧʔϓίΞελοϑ • unjsϝϯόʔ
  2. unjsͱ͸ 👀 What unjs is • ʮUni fi ed JavaScript

    Toolsʯͷུ • ؀ڥඇґଘͷύοέʔδ܈ • Nuxt 3Λ࣮ݱ͍ͯ͠ΔίΞ • ʮnitroʯͷ؅ཧओମ
  3. ͳͥh3-corsΛ͔ͭͬͨ͘ 💡Why I created h3-cors • h3Ͱ͸Expressͷϛυϧ΢ΣΞʹҰ෦ޓ׵ੑ͕ͳ͔ͬͨ • ʮh3ͰCORSΛ࣮ݱ͢Δʹ͸ʯͱ͍͏IssueΛݟ͚ͭͨ •

    ίΞϝϯόʔ͕๩ͦ͠͏ͳͷͰɺࣗ෼͕΍ͬͯΈΔ͜ͱʹͨ͠ • OSSߩݙ͚ͩͰ͸ͳ͘ɺOSSެ։Λ΍ͬͯΈ͔ͨͬͨʢҰ൪ͷཧ༝ʣ
  4. ϥΠϒϥϦͷηοτΞοϓ͕Θ͔Βͳ͍ 🧭 Road to h3-cors • ESM / CommonJSͷରԠ •

    package.jsonͷॻ͖ํ • READMEͷॻ͖ํ • unjs/templateͰҰൃղܾͰ͖ͨ
  5. ެ։ͯ͠΋࢖ΘΕͳ͍ͷͰ͸ʁ 🧭 Road to h3-cors • OSSެ։ͷମݧஊهࣄΛಡΉ • ςετ͸ͪΌΜͱॻ͘ɺΉ͠ΖςετͰ͖ΔΑ͏ʹ࣮૷͢Δ •

    README͸ͪΌΜͱॻ͘ • ։ൃऀମݧ͸ɺh3΍طଘͷྨࣅύοέʔδʹΑͤΔ • એ఻͢Δɺ͠ͳ͍ͱຒ΋ΕΔ
  6. h3-corsΛެ։ͨ݁͠Ռ 🔍 Results • ͸͡ΊͯͷGitHubελʔ • Issue͸خ͍͠ • PR͸΋ͬͱخ͍͠ •

    Φʔφʔγοϓͷ͋Δ։ൃ͸ָ ͍͠ • CORSͷ࣮૷·͕ͪͬͯ·ͨ͠ • NPMμ΢ϯϩʔυͷ਺ࣈ͸৳ͼ ͳ͍ • IssueτϦΞʔδͱ࣮૷ʹ͸࣌ؒ ͕ͱΒΕΔ • PRϨϏϡʔʹ΋͕࣌ؒͱΒΕΔ