Skip to content

chore: project cleanup and source simplification#277

Merged
onmax merged 1 commit intomainfrom
chore/cleanup
Mar 22, 2026
Merged

chore: project cleanup and source simplification#277
onmax merged 1 commit intomainfrom
chore/cleanup

Conversation

@onmax
Copy link
Copy Markdown
Collaborator

@onmax onmax commented Mar 22, 2026

Summary

  • Split useUserSession.ts (518→260 lines) into focused internal modules: redirect-helpers, session-fetch, wrap-auth-method
  • Extract duplicated isRecord() into shared internal/utils.ts (was copy-pasted 3x)
  • Merge secondary storage unit tests into single file
  • Remove stale agents field and skills from package.json

Test plan

  • All 231 tests pass
  • Typecheck passes
  • Lint passes

- Split useUserSession.ts (518→260L) into redirect-helpers, session-fetch, wrap-auth-method
- Extract shared isRecord() to internal/utils.ts (was duplicated 3x)
- Merge secondary storage unit tests into single file
- Remove stale agents field and skills from package.json
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 22, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@onmax/nuxt-better-auth@277

commit: 976219c

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
better-auth 976219c Mar 22 2026, 09:58 AM

@onmax onmax merged commit 46b34a7 into main Mar 22, 2026
3 of 4 checks passed
@onmax onmax deleted the chore/cleanup branch March 22, 2026 10:02
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