[PR #6648] [MERGED] chore: add types linter #6803

Closed
opened 2026-03-13 13:12:15 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6648
Author: @jonathansamines
Created: 12/9/2025
Status: Merged
Merged: 12/10/2025
Merged by: @himself65

Base: canaryHead: feat/add-types-linter


📝 Commits (1)

📊 Changes

14 files changed (+279 additions, -20 deletions)

View changed files

📝 .github/workflows/ci.yml (+8 -0)
📝 package.json (+3 -1)
📝 packages/better-auth/package.json (+1 -0)
📝 packages/cli/package.json (+1 -0)
📝 packages/core/package.json (+1 -0)
📝 packages/expo/package.json (+1 -0)
📝 packages/passkey/package.json (+1 -0)
📝 packages/scim/package.json (+1 -0)
📝 packages/sso/package.json (+1 -0)
📝 packages/stripe/package.json (+1 -0)
📝 packages/telemetry/package.json (+1 -0)
📝 pnpm-lock.yaml (+254 -18)
📝 test/package.json (+2 -1)
📝 turbo.json (+3 -0)

📄 Description

Summary by cubic

Add a type export linter to all packages and CI to catch broken or incorrect TypeScript types before publishing. This runs ATTW after builds to validate published type shapes.

  • New Features

    • Add lint:types script (attw --profile esm-only --pack .) to all packages and test.
    • Add Turbo task lint:types (depends on build) and root script to run across packages.
    • Add “Lint Types” step to CI workflow (pnpm lint:types).
  • Dependencies

    • Add @arethetypeswrong/cli to devDependencies and update lockfile.

Written for commit 05ea09f22b. 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/6648 **Author:** [@jonathansamines](https://github.com/jonathansamines) **Created:** 12/9/2025 **Status:** ✅ Merged **Merged:** 12/10/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `feat/add-types-linter` --- ### 📝 Commits (1) - [`05ea09f`](https://github.com/better-auth/better-auth/commit/05ea09f22b844004d3d6d096b3928b3182e8362c) chore: add types linter ### 📊 Changes **14 files changed** (+279 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+8 -0) 📝 `package.json` (+3 -1) 📝 `packages/better-auth/package.json` (+1 -0) 📝 `packages/cli/package.json` (+1 -0) 📝 `packages/core/package.json` (+1 -0) 📝 `packages/expo/package.json` (+1 -0) 📝 `packages/passkey/package.json` (+1 -0) 📝 `packages/scim/package.json` (+1 -0) 📝 `packages/sso/package.json` (+1 -0) 📝 `packages/stripe/package.json` (+1 -0) 📝 `packages/telemetry/package.json` (+1 -0) 📝 `pnpm-lock.yaml` (+254 -18) 📝 `test/package.json` (+2 -1) 📝 `turbo.json` (+3 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Add a type export linter to all packages and CI to catch broken or incorrect TypeScript types before publishing. This runs ATTW after builds to validate published type shapes. - **New Features** - Add lint:types script (attw --profile esm-only --pack .) to all packages and test. - Add Turbo task lint:types (depends on build) and root script to run across packages. - Add “Lint Types” step to CI workflow (pnpm lint:types). - **Dependencies** - Add @arethetypeswrong/cli to devDependencies and update lockfile. <sup>Written for commit 05ea09f22b844004d3d6d096b3928b3182e8362c. 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-03-13 13:12:15 -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#6803