Commands
pnpm add -D @fairgarden/distribution # provides fg-dist
Or run without installing: pnpx @fairgarden/distribution <command>.
Setting up
init— scaffold a distribution, monolith or module repositoryadd-module— add a module repository as a submoduleextract— turn a directory here into its own repository
Keeping it current
sync— what has moved, and whether the floor holdsbump— take the newest version of each modulecheck— fail when this ships older than what it extendsuse-https— rewrite ssh submodule urls
Shared options
| Option | Meaning |
| --- | --- |
| --cwd <dir> | repository to act on, default the working directory |
| --dry-run | report what would change without changing it |
| --no-fetch | use the refs already fetched, for offline or CI |
Mounting apps into one Next deployment is fg-monolith, in
@fairgarden/monolith.