You could have an entry file for your dependencies (let's say dependencies.ts) and reexport everything from there.
When you have to update, you only have to upgrade it in the entry file and you can avoid multiple versions.
Re:Things I Regret About Node.js [video]
by wereHamster on Wednesday June 06, 2018 @12:32PM
(#17248550)
Hm, how about we call that file package.json?
Re:Things I Regret About Node.js [video]
by myth_buster on Wednesday June 06, 2018 @12:52PM
(#17248761)
How about we link them to modules downloaded onto local file system instead, just in case of network issues.
* It becomes a more painful process to upgrade dependencies (have to find/replace across your codebase).
* Many versions of the same library get pulled in. If you depend on [email protected] and a dependency of yours depends on [email protected], that's twice the dependency size as compared to both just using 1.5.4. This matters more in the case of web app bundle size though than running local programs.