Skip to content

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.

Local flat eslint.config.js per stack (Next.js, Vite, or Node). Includes import sorting, React hooks rules, and Prettier compatibility.

Local tsconfig.json with strict defaults tuned for Next.js, Vite, or Workers.

Local .prettierrc.json with Tailwind class sorting via prettier-plugin-tailwindcss.

  • foundry.json links the repo to the control plane
  • @saas-maker/sdk for API calls from fleet products
  • Embeddable widgets (@saas-maker/feedback, etc.) where needed

Terminal window
fnd init
# or refresh an existing fleet project:
fnd fleet fix
pnpm install

Refresh lint/format devDependencies fleet-wide

Section titled “Refresh lint/format devDependencies fleet-wide”
Terminal window
fnd fleet upgrade

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).