[PR #4920] [MERGED] chore: typecheck using monorepo #13906

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

📋 Pull Request Information

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

Base: canaryHead: himself65/2025/09/26/monorep


📝 Commits (3)

  • 59d19af fix: cache type check
  • 28374b3 chore: type check using monorepo
  • e722a92 chore: type check using monorepo

📊 Changes

4 files changed (+25 additions, -6 deletions)

View changed files

📝 package.json (+1 -1)
packages/cli/tsconfig.test.json (+15 -0)
📝 tsconfig.json (+9 -1)
📝 turbo.json (+0 -4)

📄 Description

Upstream: https://github.com/better-auth/better-auth/pull/4918


Summary by cubic

Switches monorepo type checking to TypeScript build mode for faster, consistent incremental checks. Adds path aliases and a CLI test tsconfig, and removes the Turbo typecheck pipeline.

  • Refactors
    • Root script: typecheck now runs tsc -b --verbose --diagnostics.
    • Root tsconfig: set baseUrl and paths for better-auth to enable monorepo-aware imports.
    • CLI: add packages/cli/tsconfig.test.json (includes src and test, caches to node_modules/.cache, references better-auth).
    • tsconfig references updated to include CLI test config; remove Turbo typecheck task/outputs to rely on TS incremental caching.

🔄 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/4920 **Author:** [@himself65](https://github.com/himself65) **Created:** 9/26/2025 **Status:** ✅ Merged **Merged:** 9/26/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/09/26/monorep` --- ### 📝 Commits (3) - [`59d19af`](https://github.com/better-auth/better-auth/commit/59d19af8966e3c31d94970650e5b139d5ec89061) fix: cache type check - [`28374b3`](https://github.com/better-auth/better-auth/commit/28374b32e4f22cac28488ae541595cbc03b89d9d) chore: type check using monorepo - [`e722a92`](https://github.com/better-auth/better-auth/commit/e722a92204a6242329c2af3a3f9b9a448df695d5) chore: type check using monorepo ### 📊 Changes **4 files changed** (+25 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) ➕ `packages/cli/tsconfig.test.json` (+15 -0) 📝 `tsconfig.json` (+9 -1) 📝 `turbo.json` (+0 -4) </details> ### 📄 Description Upstream: https://github.com/better-auth/better-auth/pull/4918 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Switches monorepo type checking to TypeScript build mode for faster, consistent incremental checks. Adds path aliases and a CLI test tsconfig, and removes the Turbo typecheck pipeline. - **Refactors** - Root script: typecheck now runs `tsc -b --verbose --diagnostics`. - Root tsconfig: set baseUrl and paths for better-auth to enable monorepo-aware imports. - CLI: add packages/cli/tsconfig.test.json (includes src and test, caches to node_modules/.cache, references better-auth). - tsconfig references updated to include CLI test config; remove Turbo typecheck task/outputs to rely on TS incremental caching. <!-- 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-13 09:12:20 -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#13906