Skip to content

feat: move config files to server/ and app/ directories#6

Merged
onmax merged 1 commit intomainfrom
issue-2-config-paths
Dec 30, 2025
Merged

feat: move config files to server/ and app/ directories#6
onmax merged 1 commit intomainfrom
issue-2-config-paths

Conversation

@onmax
Copy link
Copy Markdown
Collaborator

@onmax onmax commented Dec 30, 2025

Summary

Move config files to their respective directories as suggested in #2:

  • auth.config.tsserver/auth.config.ts
  • client-auth.config.tsapp/auth.config.ts

Added module options for custom paths (serverConfig, clientConfig).

BREAKING CHANGE: Config file locations changed.

Closes #2

BREAKING: Config file locations changed:
- auth.config.ts → server/auth.config.ts
- client-auth.config.ts → app/auth.config.ts

New module options for custom paths:
- auth.serverConfig (default: 'server/auth.config')
- auth.clientConfig (default: 'app/auth.config')

Closes #2
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Dec 30, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nuxt-better-auth-docs Ready Ready Preview, Comment Dec 30, 2025 8:32am

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Dec 30, 2025

Open in StackBlitz

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

commit: 9e2ef7d

@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 successful!
View logs
nuxt-better-auth-demo 9e2ef7d Dec 30 2025, 08:32 AM

@onmax onmax merged commit 5fe2f3d into main Dec 30, 2025
6 checks passed
@onmax onmax deleted the issue-2-config-paths branch December 30, 2025 08:34
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.

Idea: move auth.config.ts to respective app/ and server/ directories

1 participant