[PR #4643] [MERGED] e2e: add vite client build #22401

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4643
Author: @himself65
Created: 9/14/2025
Status: Merged
Merged: 9/23/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/09/14/vite


📝 Commits (4)

📊 Changes

7 files changed (+115 additions, -3 deletions)

View changed files

e2e/smoke/test/fixtures/vite/package.json (+13 -0)
e2e/smoke/test/fixtures/vite/src/client.ts (+8 -0)
e2e/smoke/test/fixtures/vite/tsconfig.json (+11 -0)
e2e/smoke/test/fixtures/vite/vite.config.ts (+19 -0)
e2e/smoke/test/vite.spec.ts (+52 -0)
📝 e2e/smoke/tsconfig.json (+2 -1)
📝 pnpm-lock.yaml (+10 -2)

📄 Description

Summary by cubic

Adds a Vite client build fixture to the e2e smoke suite to verify that better-auth’s client plugins bundle correctly with Vite. Helps catch regressions in Vite-based apps.

  • New Features
    • New e2e fixture at e2e/smoke/test/fixtures/vite with a client entry (src/client.ts) importing better-auth/client/plugins.
    • Vite config defines a client input and disables minify for clearer build output.
    • package.json adds a build script (vite build) and uses workspace better-auth; pnpm-lock updated to link it.

🔄 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/4643 **Author:** [@himself65](https://github.com/himself65) **Created:** 9/14/2025 **Status:** ✅ Merged **Merged:** 9/23/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/09/14/vite` --- ### 📝 Commits (4) - [`944abdd`](https://github.com/better-auth/better-auth/commit/944abdde1e1d3058d9e1df3a3db3ad191bce9242) e2e: add vite client build - [`af5c4c1`](https://github.com/better-auth/better-auth/commit/af5c4c180a050a111fc861be43ece1343f08f300) fix: output - [`9c1941f`](https://github.com/better-auth/better-auth/commit/9c1941f5c603c90648fe4c60483654de48a34ca2) fix: imports - [`1df2ff2`](https://github.com/better-auth/better-auth/commit/1df2ff2f8266f47e34762fa2e7a4314d48716b5e) fix: deps ### 📊 Changes **7 files changed** (+115 additions, -3 deletions) <details> <summary>View changed files</summary> ➕ `e2e/smoke/test/fixtures/vite/package.json` (+13 -0) ➕ `e2e/smoke/test/fixtures/vite/src/client.ts` (+8 -0) ➕ `e2e/smoke/test/fixtures/vite/tsconfig.json` (+11 -0) ➕ `e2e/smoke/test/fixtures/vite/vite.config.ts` (+19 -0) ➕ `e2e/smoke/test/vite.spec.ts` (+52 -0) 📝 `e2e/smoke/tsconfig.json` (+2 -1) 📝 `pnpm-lock.yaml` (+10 -2) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Adds a Vite client build fixture to the e2e smoke suite to verify that better-auth’s client plugins bundle correctly with Vite. Helps catch regressions in Vite-based apps. - **New Features** - New e2e fixture at e2e/smoke/test/fixtures/vite with a client entry (src/client.ts) importing better-auth/client/plugins. - Vite config defines a client input and disables minify for clearer build output. - package.json adds a build script (vite build) and uses workspace better-auth; pnpm-lock updated to link it. <!-- 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:01:08 -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#22401