[PR #8300] [MERGED] chore: align zod imports to use namespace import from "zod" #24781

Closed
opened 2026-04-15 22:33:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8300
Author: @himself65
Created: 3/2/2026
Status: Merged
Merged: 3/2/2026
Merged by: @himself65

Base: canaryHead: chore/align-zod-imports


📝 Commits (1)

  • 18858e5 chore: align zod imports to use namespace import from "zod"

📊 Changes

12 files changed (+12 additions, -12 deletions)

View changed files

📝 packages/api-key/src/routes/list-api-keys.ts (+1 -1)
📝 packages/cli/src/commands/generate.ts (+1 -1)
📝 packages/cli/src/commands/init/configs/temp-plugins.config.ts (+1 -1)
📝 packages/cli/src/commands/init/index.ts (+1 -1)
📝 packages/cli/src/commands/init/utility/plugin.test.ts (+1 -1)
📝 packages/cli/src/commands/migrate.ts (+1 -1)
📝 packages/cli/src/commands/upgrade.ts (+1 -1)
📝 packages/sso/src/routes/domain-verification.ts (+1 -1)
📝 packages/sso/src/routes/providers.ts (+1 -1)
📝 packages/sso/src/routes/schemas.ts (+1 -1)
📝 packages/sso/src/routes/sso.ts (+1 -1)
📝 packages/stripe/src/routes.ts (+1 -1)

📄 Description

Summary

  • Standardize all zod imports across packages to use import * as z from "zod" instead of the zod/v4 subpath or default imports
  • Ensures consistent import style across the monorepo

Affected packages

  • packages/api-key
  • packages/cli
  • packages/sso
  • packages/stripe

🔄 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/8300 **Author:** [@himself65](https://github.com/himself65) **Created:** 3/2/2026 **Status:** ✅ Merged **Merged:** 3/2/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `chore/align-zod-imports` --- ### 📝 Commits (1) - [`18858e5`](https://github.com/better-auth/better-auth/commit/18858e5ea42838f21a6479fa68372d9d2a034374) chore: align zod imports to use namespace import from "zod" ### 📊 Changes **12 files changed** (+12 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `packages/api-key/src/routes/list-api-keys.ts` (+1 -1) 📝 `packages/cli/src/commands/generate.ts` (+1 -1) 📝 `packages/cli/src/commands/init/configs/temp-plugins.config.ts` (+1 -1) 📝 `packages/cli/src/commands/init/index.ts` (+1 -1) 📝 `packages/cli/src/commands/init/utility/plugin.test.ts` (+1 -1) 📝 `packages/cli/src/commands/migrate.ts` (+1 -1) 📝 `packages/cli/src/commands/upgrade.ts` (+1 -1) 📝 `packages/sso/src/routes/domain-verification.ts` (+1 -1) 📝 `packages/sso/src/routes/providers.ts` (+1 -1) 📝 `packages/sso/src/routes/schemas.ts` (+1 -1) 📝 `packages/sso/src/routes/sso.ts` (+1 -1) 📝 `packages/stripe/src/routes.ts` (+1 -1) </details> ### 📄 Description ## Summary - Standardize all zod imports across packages to use `import * as z from "zod"` instead of the `zod/v4` subpath or default imports - Ensures consistent import style across the monorepo ## Affected packages - `packages/api-key` - `packages/cli` - `packages/sso` - `packages/stripe` --- <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 22:33:30 -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#24781