Forgekit 3.0: one config file
forge.json is gone. Everything lives in forge.config.ts, and Node 18 support ends.
Breaking
forge.jsonis no longer read. Settings move toforge.config.ts- Node 18 is no longer supported. Forgekit needs Node 20.11 or later, or Bun 1.2
ctx.user.rolesis nowctx.user.groups, to match how SSO providers name them
New
forge migraterewritesforge.jsonintoforge.config.tsand renamesctx.user.rolesin your actionsdefineConfiggives you autocomplete for every setting
Upgrade
Run the migration, then check the generated config:
npx forgekit@3 migrate
// forge.config.ts
import { defineConfig } from "forgekit";
export default defineConfig({
name: "ops-tools",
auth: { provider: "okta", groups: ["support", "finance"] },
});