Hi friends :) I could use a little help on the problem we're facing at work right now.
Context:
Imagine you have an internal library named Toolkit 1.0
. This library exports a lot of Types for your typescript projects (A,B,C).
On normal scenarios, all project are building fine and working perfectly!
The problem comes when John (fictitious name) is working on Project A
and needs to update some Type;
John then pushes a new version, making Toolkit 2.0
. Without knowing Project B
also used that type, John upgraded only Project
A yarn lock;
Meg (also a character) comes into play a few days later, this time working on Project B
, note that it is using Toolkit 1.0
at this moment, and she has to make a few more Type changes on Toolkit
making it 3.0
. When she updates her Project B
local files, because of John changes, local build may correctly start to fail.
I feel like I don't have enough experience to understand this as a whole yet.
Fortunately, this is not a frequent scenario, but we've started to discuss this lately as the team grows and this could happen more often;
One of my colleagues suggestions was to make a monolith out of the three other projects.
Question: What subjects would you recommend me to study to solve this questions? Can you point me some articles?
Thanks a lot :)