github hankscafe/omnibus v1.1.0-beta.045
Omnibus v1.1.0-beta.045

latest release: v1.1.0-beta.046
3 hours ago

v1.1.0-beta.045 - fix(koreader): move authenticateKoreader out of the route file

๐Ÿงน Tech debt (pre-existing on main; surfaced by the build during the back-port)

  • Next.js App Router route files may only export HTTP method handlers + segment config; koreader/users/auth/route.ts also exported the authenticateKoreader helper, which trips Next's generated route-type validator (tsc TS2344) โ€” masked only by next.config's typescript.ignoreBuildErrors
  • Moved authenticateKoreader to src/lib/koreader-auth.ts; the route imports it and now exports only GET

โœ… Verification

  • next build clean (regenerates .next/types); tsc --noEmit clean against the regenerated validator; vitest unaffected

Don't miss a new omnibus release

NewReleases is sending notifications on new releases.