Learn how to test npm package locally with npm link

preview_player
Показать описание
Let me know your feedback in the comment section. And If you enjoyed the video, please hit the like button and subscribe to my channel.

Important links:

WATCH OTHER COOL TUTORIALS

Networking Interview Questions for Frontend/Web Developers

Angular 7 - Creating a Customer Feedback Form with Reactive Forms

Angular CLI : Commands to Boost Your Productivity

Building a Full stack Task Manager Application with React from scratch

Angular Firebase Image Gallery With Infinite Scroll App Tutorial:

Angular Github Profile Search App Development From Scratch

WATCH OTHER PLAYLISTS:

Learn LESS and SASS with CSS

Wordpress Tips, Tricks and Hacks

WordPress Theme Customization API

#frontenddeveloper #npm #javascript
Рекомендации по теме
Комментарии
Автор

Happy to add the first comment. Finally I got the solution, keep doing the good work

pearlpandz
Автор

Nicely done Kiran! I searched “npm link” and found your video. Learning about nvmrc file is a bonus 😎 also very nice of you to call out the unlink part!

VigneshDhakshinamoorthy
Автор

I cloned your greenhouse-react-ui repository and try to follow your tutorial. I created the test project and and executed : npm link greenhouse-react-ui command. I see that in test module in the node-module folder the greenhouse-react-ui folder is added. However when I try to import just Alert component to the test application and run the test application, I am getting error : can not resolve 'greenhouse-react-ui' in test application

mariaturzynska
Автор

Thank you. I found your video when trying to figure the best way of testing my new package within an older repo. This approach is so much nicer than copying the .targz files across. Shame I didn't know this technique before.

CarmenFerale
Автор

Great tutorial! Would have been awesome if you could show adding the breakpoints in the package files and have debugger stop at them.

helpy
Автор

can you show how to actually use one of your custom react custom components in the the test application.

mariaturzynska
Автор

Can you please help if we have to test the npm package on another machine without using npm repo, I need another alternative of npm repo

NehaJain-zfsy
Автор

i tried doing the same in angular but it didnt worked so i built library of my code, if possible, i need help to do same in angular

pavneshsilori
Автор

Can you produce an example for the large projects. When there are a lot of dependencies exits, it start give a conflict and problem

paxan