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

Closed
opened 2026-04-15 21:27:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5689
Author: @rbayliss
Created: 10/30/2025
Status: Merged
Merged: 10/30/2025
Merged by: @Bekacru

Base: canaryHead: fix/move-oauth2-mock-server-dep


📝 Commits (2)

  • 7d90fe7 Move oauth2-mock-server dep into devDependencies for sso package
  • ecaf522 Update lockfile

📊 Changes

2 files changed (+7 additions, -7 deletions)

View changed files

📝 packages/sso/package.json (+1 -1)
📝 pnpm-lock.yaml (+6 -6)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/5689 **Author:** [@rbayliss](https://github.com/rbayliss) **Created:** 10/30/2025 **Status:** ✅ Merged **Merged:** 10/30/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `fix/move-oauth2-mock-server-dep` --- ### 📝 Commits (2) - [`7d90fe7`](https://github.com/better-auth/better-auth/commit/7d90fe727278f3f70b6bf2fdc6ba8c1f9501badb) Move oauth2-mock-server dep into devDependencies for sso package - [`ecaf522`](https://github.com/better-auth/better-auth/commit/ecaf5228301c430f0b9a710f1d2cec4e61082f91) Update lockfile ### 📊 Changes **2 files changed** (+7 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `packages/sso/package.json` (+1 -1) 📝 `pnpm-lock.yaml` (+6 -6) </details> ### 📄 Description 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. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 21:27:31 -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#23061