Commit Graph

2 Commits

Author SHA1 Message Date
Katerina Skroumpelou f05307ff4a fix: declare pg and keep it out of the root CJS bundle (#122) 2026-08-25 11:22:02 +03:00
Katerina Skroumpelou 9e45b42a49 fix: apply Injectable programmatically so NestJS adapter loads in raw Node (#107)
* 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
2026-07-22 17:08:52 +03:00