[PR #5689] fix(sso): Move oauth2-mock-server dep into devDependencies for sso package #14407

Closed
opened 2026-04-13 09:27:34 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5689

State: closed
Merged: Yes


In splitting out the SSO package, it looks like oauth2-mock-server was added to SSO's dependencies rather than devDependencies. This package is only used in tests, so it doesn't need to be a dependency.


Summary by cubic

Moved oauth2-mock-server from dependencies to devDependencies in the SSO package to avoid bundling a test-only module in production installs. This reduces install size and removes an unnecessary runtime dependency.

Written for commit ecaf522. Summary will update automatically on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5689 **State:** closed **Merged:** Yes --- In splitting out the SSO package, it looks like `oauth2-mock-server` was added to SSO's `dependencies` rather than `devDependencies`. This package is only used in tests, so it doesn't need to be a dependency. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Moved oauth2-mock-server from dependencies to devDependencies in the SSO package to avoid bundling a test-only module in production installs. This reduces install size and removes an unnecessary runtime dependency. <sup>Written for commit ecaf522. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:27:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14407