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!
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?
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 :)
Wow, you covered EXACTLY what I wanted. Well done. Thanks!
glad it was helpful - thank you for the comment
God bless you for this video, it was really helpful for my use case
so glad to hear :) Cheers
GREAT content! It was exactly what I needed but had trouble finding. Thank you!
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!
thank you for the kind remarks Joel. Glad you found it useful :)
I can do it
Thank you so much
Great video, Ady!
thank you kindly
im so glad this exists! I really wish I had this when I was trying to build my first npm package.
Awesome glad you find it useful. Cheers
Thank you
you are very welcome :)
Saved je so much time. Thank you! 🔥
glad it did - thanks for the comment :)
Great compact video!
I always had a doubt about should we bundle the TSC generated files in dist, before publishing them to NPM?
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
Really helpful, thanks!
You welcome 🙏🏿 happy you found it helpful
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?
Good Job 👍🏾 Thanks
Thank you glad you like it 🙂
nice
good one
Thank you! Cheers!
I've never seen anyone include typescript in normal dependencies and not --save-dev...just fyi ...should probably be the other.
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 :)