node_modules outside the project

14 views
Skip to first unread message

Shakti Kumar

unread,
Apr 16, 2020, 11:19:25 PM4/16/20
to Angular and AngularJS discussion
I am using Angular 9.0

and I want to share the node_module with two projects.

so how can I manage, and what could be the package.json structure.
[the big issue I am getting on the Jenkins where Jenkins taking 1.2GB for a single project and I have multiple project that taking in TB]

Sander Elias

unread,
Apr 17, 2020, 12:30:40 AM4/17/20
to Angular and AngularJS discussion
Hi Shakti,

Look into creating a mono-repo. Managing the package.json's is a bit of a manual process (there are helper utils available tho)

Regards
Sander
Reply all
Reply to author
Forward
0 new messages