Proposal - Move pages out of mono repository into team owned repositories. #1227
Replies: 4 comments 3 replies
-
Just to keep track of a discussion we had on another platform:
|
Beta Was this translation helpful? Give feedback.
-
+1, I think using a template repository would help to...
Having them in Fozzie atm seems to be encouraging gigantic mammoth components which aren't really reusable but also bulk out the repo slowing builds down. Also being seperate means the fact lerna is using local versions of components rather than published ones doesn't cause breakages to the pages themselves; as they would no longer be local. It also means that we don't have a single point of failure for working, and no race to merge PRs. I think its important to distinguish between a page and an organism; as they are different things. searchbox is an organism, the checkout is a page |
Beta Was this translation helpful? Give feedback.
-
I think you should join our working group around Solutions standards, because I feel there is some cross cutting concerns there. |
Beta Was this translation helpful? Give feedback.
-
This is the only monorepo I've ever worked with so I haven't got too much knowledge on best practice, but to me, moving pages into another repo kind of defeats the purpose of a monorepo. Moving them into a folder within this repo makes much more sense IMO. Looking online, there are lots of case studies from orgs with monorepos far, far bigger than ours, and they still manage to have reasonable cycle time and sense of ownership. From a QE side, moving to another repo means another set of test config and infrastructure that we have to maintain as well as CI config. We also wouldn't want to duplicate Storybook, which means we'll have to find another mechanism to test / mock those pages in a browser. Part of our problem at the moment is having a single CircleCI workflow for all types of change. Utilising workflows + Codeowners would go a long way, as well as some investigation into monorepo best practice. |
Beta Was this translation helpful? Give feedback.
-
I am opening up for discussion moving pages from the mono repository organisms directory into repositories owned by the pages team. Such a move would enable teams to own their own pages and keep this repo as shared components only. I also suggest that we have a template repository for these pages to act as a starter for new pages to encourage best practices.
Beta Was this translation helpful? Give feedback.
All reactions