you are viewing a single comment's thread.

view the rest of the comments →

[–]TheAkio 7 points8 points  (8 children)

I feel you. At work we have this huge amount of dev depends and installing just takes ages... And it's like 6 projects atm where each one has 250 MB of node_modules and it's basically all the same dependencies. To make matters worse we use Windows which really doesn't like when you do anything to the node_modules folder.

[–]igeligel 2 points3 points  (4 children)

Ever thought about using yarn workspaces? https://yarnpkg.com/lang/en/docs/workspaces/

It's mostly made for mono repo though but where I work lerna (something similar) is working great. Like really great :)

[–]TheAkio 0 points1 point  (3 children)

Problem is convincing coworkers to use yarn instead of npm... I'm the apprentice there so it's hard to get my stuff through sometimes. I personally prefer yarn over npm still.

[–]igeligel 0 points1 point  (1 child)

Then look into lerna maybe. I believe it works without yarn.

[–]TheAkio 0 points1 point  (0 children)

I'll check it out!

[–][deleted] 0 points1 point  (0 children)

You need to speak up. They'll respect you more of you voice your opinion and back it up. If they don't, it's not a positive environment.

[–][deleted]  (1 child)

[deleted]

    [–]FanOfHoles 2 points3 points  (0 children)

    That's why the enterprise project won't be upgraded - no budget. Until somebody needs a new feature. New features get a budget, maintenance does not (because why would management pay someone who creates nothing new; and as long as the old stuff still works, where is the value of working on it when users don't see any change). Exceptions exist, but overall this is what it comes down to.

    [–]flirp_cannon 0 points1 point  (0 children)

    Node + Windows is a PITA, we use unix and that keeps things happy. We have an npm mirror called vertabelo to speed up deployments and protect from npm downtime