mirror of
https://github.com/supabase/server.git
synced 2026-09-14 15:28:52 +08:00
9e45b42a49
* fix: apply Injectable programmatically so NestJS adapter loads in raw Node The @Injectable() decorator on the guard in withSupabase() shipped untranspiled (tsdown/oxc does not lower legacy decorators), crashing `require`/`import` of the adapter with SyntaxError under plain Node. Apply it as Injectable()(SupabaseAuthGuard) instead, and add a raw-Node load smoke test (pnpm smoke) in CI to catch this class of regression. Fixes #87 * fix: fail smoke test when no entrypoints are found in exports