For which library do you need help?
module-federation
Question
Hi everyone,
I just read this #645 (comment) from @rainerhahnekamp mentioning that Angular, once compiled, doesn’t provide compatibility between different patch levels.
Am I understanding correctly that we should use fixed versions (no ^ or ~) in all our projects?
shell package.json:
"@angular/common": "20.3.3",
"@angular/core": "20.3.3"
microfrontend1 package.json:
"@angular/common": "20.3.3",
"@angular/core": "20.3.3"
microfrontend2 package.json:
"@angular/common": "20.3.3",
"@angular/core": "20.3.3"
microfrontend3 package.json:
"@angular/common": "^20.3.3", // PROBLEM! in package-lock.json we could e.g. have 20.3.15!
"@angular/core": "^20.3.3"
We have multiple teams working on multiple microfrontends, so keeping every version of the shared libraries perfectly aligned at the patch level would require a significant amount of coordination.
Thanks for the clarification!
Cheers,
Michael