A boring monorepo layout that has survived three years and 40 packages
Three top-level folders, one dependency rule and pnpm filters for CI. The monorepo structure we keep coming back to, and what we stopped doing.
Developer tooling lead
Hana owns CI, the monorepo and the test suite at a mid-sized SaaS team. She writes about fast builds, flaky tests, feature flags and the small internal tools that are cheaper than a vendor.
Three top-level folders, one dependency rule and pnpm filters for CI. The monorepo structure we keep coming back to, and what we stopped doing.
A date test that passed for months failed on a CI runner in Berlin. What we learned about DST, local midnight and testing code that reads the clock.
For most teams, feature flags are a Postgres table, a hashing function and a policy about expiry dates. Here is ours, and when we would pay for a product instead.