Skip to content

fix: expose configurable module statics - #9

Merged
kauandotnet merged 2 commits into
mainfrom
codex/explicit-module-statics
Jul 31, 2026
Merged

fix: expose configurable module statics#9
kauandotnet merged 2 commits into
mainfrom
codex/explicit-module-statics

Conversation

@kauandotnet

Copy link
Copy Markdown
Contributor

Summary

  • declare BetterAuthModule.forRoot and forRootAsync explicitly so declaration rollup preserves the public Nest API
  • compile a package self-consumer against the built declarations in verify:pack
  • add a patch changeset

Verification

  • pnpm run check
  • pnpm run test (Express and Fastify; 298 tests)
  • pnpm run verify:pack
  • pnpm dlx @arethetypeswrong/cli --pack . --profile esm-only
  • pnpm run build:tsc
  • pnpm exec vitest run scripts/publish-state.spec.mjs

@kauandotnet
kauandotnet marked this pull request as ready for review July 31, 2026 14:01
@kauandotnet
kauandotnet merged commit c347b74 into main Jul 31, 2026
8 checks passed
@kauandotnet
kauandotnet deleted the codex/explicit-module-statics branch July 31, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant