[PR #1603] [MERGED] fix(init-cmd): Dependencies do not install if ENVs are skipped #3887

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1603
Author: @ping-maxwell
Created: 3/1/2025
Status: Merged
Merged: 3/1/2025
Merged by: @Bekacru

Base: mainHead: fix/cli/init


📝 Commits (3)

  • 613061a fix(cli): init cmd types
  • 307b1a4 fix(init): deps do not install if env is skipped
  • 5928dc9 fix(typecheck): specify tsconfig for declarations

📊 Changes

3 files changed (+59 additions, -60 deletions)

View changed files

📝 packages/better-auth/package.json (+1 -1)
📝 packages/cli/src/commands/init.ts (+53 -54)
📝 packages/cli/src/generators/auth-config.ts (+5 -5)

📄 Description

  • also fixed ts type errors
  • also made the CLI display the dependency packages to install

🔄 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/1603 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 3/1/2025 **Status:** ✅ Merged **Merged:** 3/1/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/cli/init` --- ### 📝 Commits (3) - [`613061a`](https://github.com/better-auth/better-auth/commit/613061a1643e8e8d98811ef3e85e572333b78586) fix(cli): init cmd types - [`307b1a4`](https://github.com/better-auth/better-auth/commit/307b1a47c9f0821c468d72c7a2424a37ba297f0d) fix(init): deps do not install if env is skipped - [`5928dc9`](https://github.com/better-auth/better-auth/commit/5928dc93ee223fe1589dd779b3ebc501543f3569) fix(typecheck): specify tsconfig for declarations ### 📊 Changes **3 files changed** (+59 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/package.json` (+1 -1) 📝 `packages/cli/src/commands/init.ts` (+53 -54) 📝 `packages/cli/src/generators/auth-config.ts` (+5 -5) </details> ### 📄 Description - also fixed ts type errors - also made the CLI display the dependency packages to install --- <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 11:20: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#3887