Add shared lib package
I'm adding a lib
package to the monorepo to share code between the portals and avoid duplication.
The idea is to move any reusable component there (MetaItem
, PageWrapper
, etc.), along with their styles, utilities, etc. The ICAT API code, global styles, guards, etc. can go there as well.
It will make it easier to keep the design of the portals in sync and will avoid having to fix bugs in multiple places every time (with the risk of forgetting to fix it somewhere...)