How to write and publish your first Typescript library

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 28

  • @erikjohnson9112
    @erikjohnson9112 Рік тому +2

    Wow, you covered EXACTLY what I wanted. Well done. Thanks!

    • @AdyNgom
      @AdyNgom  Рік тому +1

      glad it was helpful - thank you for the comment

  • @devinetradable9669
    @devinetradable9669 4 місяці тому +1

    God bless you for this video, it was really helpful for my use case

    • @AdyNgom
      @AdyNgom  4 місяці тому

      so glad to hear :) Cheers

  • @ironsand
    @ironsand Рік тому

    GREAT content! It was exactly what I needed but had trouble finding. Thank you!

  • @k1defjoel397
    @k1defjoel397 2 роки тому +2

    Very well organized presentation, getting right to the point and not having the viewer jump through the hoops and loops of "oh let's start out by making mistakes!" Bravo!

    • @AdyNgom
      @AdyNgom  2 роки тому

      thank you for the kind remarks Joel. Glad you found it useful :)

  • @thanhnv10
    @thanhnv10 Рік тому +1

    I can do it
    Thank you so much

  • @edwardliemingwong7683
    @edwardliemingwong7683 2 роки тому +1

    Great video, Ady!

    • @AdyNgom
      @AdyNgom  2 роки тому

      thank you kindly

  • @ryanclements6272
    @ryanclements6272 3 роки тому +1

    im so glad this exists! I really wish I had this when I was trying to build my first npm package.

    • @AdyNgom
      @AdyNgom  3 роки тому

      Awesome glad you find it useful. Cheers

  • @memories1641
    @memories1641 Рік тому +1

    Thank you

    • @AdyNgom
      @AdyNgom  Рік тому

      you are very welcome :)

  • @fode-diop
    @fode-diop 2 роки тому +1

    Saved je so much time. Thank you! 🔥

    • @AdyNgom
      @AdyNgom  2 роки тому +1

      glad it did - thanks for the comment :)

  • @subhranshudas8862
    @subhranshudas8862 2 роки тому +4

    Great compact video!
    I always had a doubt about should we bundle the TSC generated files in dist, before publishing them to NPM?

  • @anilrajan100
    @anilrajan100 Рік тому

    Very good video, one thought is instead of link library, if we use monorepo or turbo its combine all apps and its dependency using namespaces

  • @VinceTaneri
    @VinceTaneri 2 роки тому +1

    Really helpful, thanks!

    • @AdyNgom
      @AdyNgom  2 роки тому

      You welcome 🙏🏿 happy you found it helpful

  • @ironsand
    @ironsand Рік тому

    When I created a npm link to my project, it imports brings to node-modules everything in the linked package, including source folder and configuration files. How can I link only the dist folder?

  • @ngatcharius
    @ngatcharius 3 роки тому +1

    Good Job 👍🏾 Thanks

    • @AdyNgom
      @AdyNgom  3 роки тому

      Thank you glad you like it 🙂

  • @MuzahidVakaliya-f2c
    @MuzahidVakaliya-f2c 11 місяців тому

    nice

  • @goodylili
    @goodylili 2 роки тому

    good one

    • @AdyNgom
      @AdyNgom  2 роки тому

      Thank you! Cheers!

  • @kalanibright9236
    @kalanibright9236 Рік тому

    I've never seen anyone include typescript in normal dependencies and not --save-dev...just fyi ...should probably be the other.

    • @AdyNgom
      @AdyNgom  Рік тому +1

      Hello Kalani. I think a more accurate statement could be we might not need to include Typescript in the normal dependencies since the library final output is vanilla JS and I completely agree. I just tend to shy away from word like "never" because they can be very limiting. In the case of the Angular framework for example, Typescript is a core dependency as in many others.
      This is intended to show the different steps needed to publish a library to NPM. Feel free to add more to it and I'll happily link to that content. Thank you for the feedback :)