The Standard
The Foundry Standard is a set of local, version-controlled configs that eliminate drift across your project fleet. fnd init and fnd fleet fix write them into each repo — no shared npm tooling packages.
Components
Section titled “Components”1. ESLint
Section titled “1. ESLint”Local flat eslint.config.js per stack (Next.js, Vite, or Node). Includes import sorting, React hooks rules, and Prettier compatibility.
2. TypeScript
Section titled “2. TypeScript”Local tsconfig.json with strict defaults tuned for Next.js, Vite, or Workers.
3. Prettier
Section titled “3. Prettier”Local .prettierrc.json with Tailwind class sorting via prettier-plugin-tailwindcss.
4. Fleet integration
Section titled “4. Fleet integration”foundry.jsonlinks the repo to the control plane@saas-maker/sdkfor API calls from fleet products- Embeddable widgets (
@saas-maker/feedback, etc.) where needed
How to apply
Section titled “How to apply”Automated (recommended)
Section titled “Automated (recommended)”fnd init# or refresh an existing fleet project:fnd fleet fixpnpm installRefresh lint/format devDependencies fleet-wide
Section titled “Refresh lint/format devDependencies fleet-wide”fnd fleet upgradeBackend services
Section titled “Backend services”Use @saas-maker/sdk for feedback, waitlist, changelog, roadmap, events, and task worker helpers. Do not depend on removed internal packages (@saas-maker/ops, @saas-maker/db, shared eslint/tsconfig packages).