Functions
@fairgarden/monolith
For the monolith's next.config.ts:
withMonolith— compose apps into one deployable appprefixPath— move a path into an app's mountgetRegisteredApps— what the last evaluated config mounted
For an app's own next.config.ts:
withMonolithicPortability— report what would not survive being mountedfindPortabilityProblems— the same list, as data
@fairgarden/monolith/link
For an app's components, so its URLs carry its mount:
createLink— anext/linkthat knows where it iscreateHref— the same forrouter.pushmountPrefix— the raw prefixprefixHref— move one href, given a prefix
@fairgarden/monolith/eslint
A flat-config plugin with no-escaping-relative-imports and no-next-link.
See Portability.