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

Nodeへの コード貢献の仕方

Nodeへの コード貢献の仕方

Code and Learn, 東京Node学園祭 2016

E2cf334c8ea8452a467efc8a0c64d883?s=128

Shigeki Ohtsu

November 07, 2016
Tweet

More Decks by Shigeki Ohtsu

Other Decks in Programming

Transcript

  1. /PEF΁ͷ ίʔυߩݙͷ࢓ํ େ௡ൟथ ೥݄೔ ౦ژ/PEFֶԂࡇ IUUQTHJUIVCDPNTIJHFLJDPEF@BOE@MFBSO@OPEFGFTU@UPLZP@

  2. /PEF΁ͷίʔυߩݙ w /PEF͸৽ͨͳ։ൃऀΛৗʹٻΊͯ·͢ɻ w HPPEpSTUDPOUSJCVUJPOϥϕϧͷJTTVF΋༻ҙ͞Εͯ·͢ɻ w ύον͕࠾༻͞ΕΔͱ"65)034ʹܝࡌ͞Ε·͢ɻ w ͍ͬͺ͍׆༂͕ೝΊΒΕΔͱ$PMMBCSBUPSʹਪન͞ΕΔ͔΋ɻ

  3. ඞͣ໨Λ௨͢΂͖΋ͷ w 3&"%.&NE w $0%&@0'@$0/%6$5NE w #6*-%*/(NE w $0/53*#65*/(NE w

    EPDHVJEFTXSJUJOH@UFTUTNE IUUQTHJUIVCDPNOPEFKTOPEF഑Լ
  4. ೔ຊޠ༁Λ४උ͠·ͨ͠ IUUQTHJUIVCDPNTIJHFLJDPEF@BOE@MFBSO@OPEFGFTU@UPLZP@ w /PEFKT΁ͷߩݙ IUUQTHJUIVCDPNTIJHFLJDPEF@BOE@MFBSO@OPEFGFTU@UPLZP@CMPCNBTUFS $0/53*#65*/(@KBNE w /PEFKTϓϩδΣΫτʹ͓͚Δςετͷॻ͖ํ IUUQTHJUIVCDPNTIJHFLJDPEF@BOE@MFBSO@OPEFGFTU@UPLZP@CMPCNBTUFS XSJUJOH@UFTUT@KBNE

  5. HJUIVCJTTVFͷ࢖͍෼͚ w όάใࠂɺٕज़తͳ՝୊΍৽نػೳͷఏҊ w IUUQTHJUIVCDPNOPEFKTOPEFJTTVFT w /PEFͷ࢖͍ํͳͲͷ࣭໰ w IUUQTHJUIVCDPNOPEFKTIFMQJTTVFT

  6. 'PSL#VJME ·ͣ͸'PSLͯ͠खݩͰϏϧυͯ͠Έ·͠ΐ͏ɻ HJUDMPOFHJU!HJUIVCDPNVTFSOBNFOPEFHJU DEOPEF HJUSFNPUFBEEVQTUSFBNHJUHJUIVCDPNOPEFKT OPEFHJU Ϗϧυʹ͸QZUIPO $ ίϯύΠϥ H

    7JTVBM4UVEJP ౳ ͕ඞཁͰ͢ɻ
  7. ϒϥϯν֓ཁ NBTUFS w ࠷৽ͷ։ൃϒϥϯνɻ·ͣ͜͜Ͱόάमਖ਼΍৽نػೳͷ ։ൃΛɻඞཁʹԠͯ͡-54 W ʹόοΫϙʔτ͞Ε·͢ɻ ݱࡏόʔδϣϯ͸WQSFͰ͢ɻ WYTUBHJOHWYTUBHJOH w

    -54 W ݻ༗ͷ໰୊͕͋ΔͳΒͪ͜ΒͷϒϥϯνͰࢼ ͍ͯͩ͘͠͞ɻ࣍ظ-54ϦϦʔε༻ͷ࠷৽ϒϥϯνͰ͢ɻ
  8. ৽ػೳ͸"1*4UBCJMJUZʹ஫ҙ IUUQTOPEFKTPSHEJTUMBUFTUWYEPDTBQJ EPDVNFOUBUJPOIUNMEPDVNFOUBUJPO@TUBCJMJUZ@JOEFY  %FQSFDBUFE ഇࢭ༧ఆ͔ͩΒ։ൃର৅֎  &YQFSJNFOUBM ޓ׵ੑมߋՄɻͰ΋কདྷతʹͳ͘ͳΔ͔΋ɻ 

    4UBCMF ޙํޓ׵ੑΛଛͳ͏มߋ͸ෆՄ  -PDLFE ηΩϡϦςΠɾύϑΥʔϚϯε޲্ɾόάमਖ਼ͷΈՄ -54 WW ΁ͷ৽نػೳ௥Ճ͸ྫ֎తͰɺ-548(Ͱٞ࿦͕ඞཁ
  9. ओͳ։ൃର৅ w MJCίΞ"1*ͷ+BWB4DSJQU࣮૷ w TSDίΞ"1*ͷ$ ࣮૷ w EPD"1*ϚχϡΞϧͳͲυΩϡϝϯτ w UFTUςετίʔυͷ֨ೲσΟϨΫτϦ

    w CFODINBSLϕϯνϚʔΫίʔυ
  10. ஫ҙ͕ඞཁͳ։ൃର৅ w EFQT w /PEF͕ґଘ͢Δ֎෦ϥΠϒϥϦ 70QFO44-౳  w ϥΠϒϥϦݻ༗ͷ໰୊͸VQTUSFBN΁ w

    UPPMT w ओʹϏϧυ࣌ʹඞཁͳπʔϧ܈Λ֨ೲ w ֎෦πʔϧ͕ೖ͍ͬͯΔ͜ͱ΋͋Γ/PEFݻ༗ͷ։ൃ෦෼͔ Ͳ͏͔஫ҙ͕ඞཁɻ ෆ໌ͳ৔߹͸JTTVF͔$PMMBCPSBUPSʹฉ͍͍ͯͩ͘͞ɻ
  11. -FU`T)BDL HJUDIFDLPVUCNZCSBODIUPSJHJONBTUFS ࣗ෼ͷϒϥϯν໊͸ࣗ༝ʹ͍͍ͯ͠Ͱ͢ɻ w ϓϥοτϑΥʔϜґଘͷίʔυΛۃྗආ͚ΔɻMJCVW͕ϓϥο τϑΥʔϜґଘΛٵऩ͠·͢ɻ w ֤ϓϥοτϑΥʔϜΛἧ͑ͨ$*͕͋ΔͷͰ͓੠ֻ͚͍ͩ͘͞ɻ w TUZMF͸ݫ͘͠νΣοΫ͞Ε·͢ɻNBLFMJOUͷบΛ͚ͭΔɻ

    ଞͷίʔυͷ෦෼Λࢀߟʹɻ
  12. ςετ w ৽ػೳͷ௥Ճ͸ඞͣςετ͕ඞཁͰ͢ɻ w όάϑΟοΫε΋ۃྗςετ͕ٻΊΒΕ·͢ɻ w UFTUQBSBMMFMҎԼΛࢀর͍ͯͩ͘͠͞ɻ ςετͷॻ͖ํ͸ޙͰৄ͘͠ղઆ͠·͢ɻ DPOpHVSFNBLFKUFTU WDCVJMEUFTU

    OPEFUFTUQBSBMMFMUFTUUMTGPPKT
  13. EPDͷमਖ਼͚ͩͷ৔߹ w ίʔυमਖ਼͕ͳ͍ͷͰςετ͍Γ·ͤΜɻ w "1*ϚχϡΞϧ͸EPDBQJҎԼͷNBSLEPXOΛमਖ਼͠·͢ɻ w NBLFEPD͸FYF·ͰϏϧυ͠·͢ɻ w NBLFEPDPOMZ͸υΩϡϝϯτ͚ͩϏϧυɻ w

    Ϗϧυ͢ΔͱPVUEPDBQJҎԼʹIUNM͕ੜ੒͞Ε·͢ͷͰɺ ͦ͜ͰIUNMͷ࠷ऴతͳݟӫ͑ͱ͔֬ೝͰ͖·͢ɻ
  14. ίϛοτϩάͷॻ͖ํ w ߦ໨ɿจࣈҎ಺ɻઌ಄ʹαϒγεςϜ໊Λ෇༩ɻݻ༗ ໊ࢺɺ಄ࣈޠɺؔ਺΍ม਺໊Ҏ֎͸খจࣈɻ໋ྩܗͰॻ͘ɻ w ߦ໨ɿۭཝ w ߦ໨ɿจࣈվߦͰઆ໌Λॻ͘ɻ

  15. 1VMM3FRVFTU DIFDLUFNQMBUF ͕ೖͬͯ·͢ɻ

  16. %$0 %FWFMPQFST$FSUJpDBUFPG0SJHJO w ίʔυߩݙΛ͢Δࡍʹɺίʔυͷग़໨Λએ੤͍ͯ͠Δ͜ͱɻ w ঎༻ίʔυͳͲͷࠞೖΛ๷͙ͨΊʹ͋Γ·͢ɻ w ΋͠ྲྀ༻ͨ͠ίʔυΛؚΉ13Λग़͢Α͏ͳ࣌͸ɺඞͣؾΛ ͚͍ͭͯͩ͘͞ɻ w

    $-" $POUSJCVUPST-JDFOTF"HSFFNFOU ͸ࠓͷͱ͜Ζඞཁ ͋Γ·ͤΜɻ IUUQTHJUIVCDPNOPEFKTOPEFCMPCNBTUFS $0/53*#65*/(NEEFWFMPQFSTDFSUJpDBUFPGPSJHJO
  17. ςετͷॻ͖ํ IUUQTHJUIVCDPNTIJHFLJDPEF@BOE@MFBSO@OPEFGFTU@UPLZP@CMPC NBTUFSXSJUJOH@UFTUT@KBNE ʹैͬͯղઆ͠·͢ɻ

  18. 13ωλ w ҎԼͰूΊͯ·͢ɻ IUUQTHJUIVCDPNOPEFKTDPEFBOEMFBSO JTTVFT

  19. ԋश IUUQTHJUIVCDPNTIJHFLJOPEF@UFTUQS ʹ/PEFͷSFQPTJUPSZͷίϐʔ͕ೖ͍ͬͯ·͢ɻ ͜ͷSFQPTJUPSZΛGPSLͯ͠ɺ޷͖ʹ"1*Λ௥Ճɾมߋͯ͠ɺ13 ΛૹͬͯΈ·͠ΐ͏ɻ Կ΍ͬͯ΋େৎ෉Ͱ͢ɻ13΍ίϛοτͷॻࣜΛࢲ͕ϨϏϡʔ͠·͢ɻ w ࣌ؒ಺ʹຊ൪/PEF΁ͷमਖ਼఺͕೉͍͠ͳͱࢥ͏ํ w ຊ൪13લʹͪΐͬͱ࿅श͍ͨ͠ํ

  20. 1VMM3FRVFTUͷαϯϓϧ IUUQTHJUIVCDPNTIJHFLJOPEF@UFTUQSQVMM