Testing NPM packages locally with yalc

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 พ.ย. 2022
  • Harminder Virk the creator of AdonisJS showed me yalc - a package that simplifies testing NPM packages locally.
    LINKS 🔗
    Article
    dominuskelvin.dev/blog/testin...
    Harminder on Twitter
    / amanvirk1
    treblle-adonisjs
    github.com/Treblle/treblle-ad...
    Treblle's website
    treblle.com
    STAY IN TOUCH 👋
    Follow me on Twitter 🐦 - / dominus_kelvin
    Subscribe to my newsletter 📧 - newsletter.dominuskelvin.dev
    QUESTIONS...?
    Join the Discord Server 💬 - sailscasts.com/community
    Learn Web Development 📖 - sailscasts.com/courses
    #yalc #npm #javascript #nodejs #nodejstutorial #webdevelopment #coding #programming #vim #vscode #softwareengineering #codinglife #webdesign #webdev #javascript #programmerhumor #codinghumor #software #softwareengineer #softwaredeveloper #softwaredevelopment
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 7

  • @ojvribeiro
    @ojvribeiro ปีที่แล้ว +4

    This is what I was looking for! Thank you, Kelvin!
    npm link is a mess.

    • @dominuskelvin
      @dominuskelvin  ปีที่แล้ว +1

      I’m glad you like it. I will be doing a series that will cover one more option for testing packages locally

  • @lesterisimoquantico
    @lesterisimoquantico 7 หลายเดือนก่อน

    on typescrip return an error with cannot find module even after run npm i command

  • @happyeric77
    @happyeric77 10 หลายเดือนก่อน

    Save my ass

  • @wadewilson955
    @wadewilson955 9 หลายเดือนก่อน

    My search was "npm link local package react".
    Search result:
    1st video some unknown guy with 33 likes
    2nd video some yalc shit
    what the hell is wrong with youtube?!

    • @dominuskelvin
      @dominuskelvin  9 หลายเดือนก่อน

      😅

    • @dominuskelvin
      @dominuskelvin  9 หลายเดือนก่อน

      I think perhaps npm pack is what you are looking for
      When you run it you get a tarball you can use when you run npm install in the project you want to test the package on.
      I plan to do a video about this soon. Let me know if it helps