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

初めてnpmパッケージを公開した話.pdf

44c8b22341e580eba01ac54024aed0c1?s=47 53
June 14, 2019

 初めてnpmパッケージを公開した話.pdf

44c8b22341e580eba01ac54024aed0c1?s=128

53

June 14, 2019
Tweet

Transcript

  1. ॳΊͯOQNύοέʔδΛ ެ։ͨ͠࿩ 
 (BNF8JUI༵ۚ-5ձ 
 (P5BEBOP

  2. ࣗݾ঺հ w୞໺߶ (JUIVCBCMF  wגࣜձࣾ(BNF8JUI
 αʔϏε։ൃ෦ wϑϩϯτΤϯυΤϯδχΞ w3PQQPOHJWVFӡӦϝϯόʔ w/VYUެࣜυΩϡϝϯτ຋༁

  3. OQNͱ͸ /PEF1BDLBHF.BOBHFSͷҙ

  4. OQNͱ͸ ϦϙδτϦػೳ

  5. OQNͱ͸ ଞऀ΁ެ։☁

  6. ୭͔͕࡞ͬͨศརͳ
 ύοέʔδΛར༻Ͱ͖Δ"

  7. ୭͔͕

  8. ΦϨ΋ศརͳػೳΛ
 ύοέʔδԽͨ͠

  9. ύοέʔδԽͱ͸ ҙຯͷ͋Δ୯Ґ ػೳ ʹΧϓηϧԽ

  10. ύοέʔδԽͱ͸ ίʔυ͕੔ཧ͞Εɺෳࡶ౓͕Լ͕Δ

  11. ύοέʔδԽͱ͸ ґଘؔ܎͕੔ཧ͞ΕΔ
 ϘτϜΞοϓతͳઃܭ

  12. ύοέʔδԽͱ͸ ։ൃաఔͷϑΟʔυόοΫ

  13. ެ։͠Α͏

  14. None
  15. OQNΞΧ΢ϯτ wVTFSOBNF wQBTTXPSE wFNBJMBEESFTT

  16. ೝূ OQNBEEVTFS > https://docs.npmjs.com/cli/adduser.html

  17. ೝূ dOQNSDʹ
 τʔΫϯ৘ใ͕ॻ͖ࠐ·ΕΔ

  18. OQNύοέʔδΛ
 ެ։͢Δ४උ׬ྃ

  19. 7VF+4ϓϩδΣΫτΛ࡞Δ ʙOQNύοέʔδΛެ։͢ΔͨΊʹʙ

  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D  ^ ^
  32. QBDLBHFKTPO OQNJOJU

  33. QBDLBHFKTPO w FOUSZQPJOU w HJUSFQPTJUPSZ w LFZXPSET w BVUIPS w

    MJDFOTF *4$ 
  34. FOUSZQPJOU ύοέʔδ໊Ͱ
 JNQPSU͞ΕΔϑΝΠϧ໊

  35. FOUSZQPJOUMJCNBJOKT
  JNQPSU7VF(SBEBUJPOGSPNWVFHSBEBUJPO FOUSZQPJOU

  36. 7VFVTF QMVHJO JNQPSU7VF(SBEBUJPOGSPNWVFHSBEBUJPO 7VFVTF 7VF(SBEBUJPO

  37. OQNͰެ։

  38. QBDLBHFKTPO QSJWBUFGBMTF

  39. QSJWBUFGBMTF ઃఆ͢Δͷ͸ެ։௚લ

  40. OQNެ։ OQNQVCMJTI

  41. Ξοϓσʔτ OQNQVCMJTI

  42. QBDLBHFKTPO WFSTJPOΛߋ৽͢Δ͜ͱ

  43. ެ։ఀࢭ OQNVOQVCMJTI

  44. ެ։ఀࢭ ྑ͘ͳ͍ߦ͍ͳͷͰɺ
 ΍Ί͓͍ͯͨ΄͏͕ྑ͍Ͱ͢ > https://docs.npmjs.com/cli/unpublish

  45. ·ͱΊ w WVFHSBEBUJPOެ։͠·ͨ͠ w ճΠϯετʔϧ͞Ε͍ͯΔ w ୭͔͕࢖͍ͬͯΔ w WVFHSBEJFOUʹվ໊͍ͨ͠
 ͚ͩͲɺ΍Ίͨ

    > https://www.npmjs.com/package/vue-gradation
  46. 'JO