[PR #4227] [MERGED] chore: remove unused deps #30865

Closed
opened 2026-04-17 21:52:21 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: canaryHead: himself65/2025/08/25/deps


📝 Commits (2)

📊 Changes

4 files changed (+5 additions, -64 deletions)

View changed files

📝 packages/cli/package.json (+0 -3)
📝 packages/cli/src/utils/get-package-info.ts (+2 -6)
📝 packages/cli/src/utils/get-tsconfig-info.ts (+1 -1)
📝 pnpm-lock.yaml (+2 -54)

📄 Description

Summary by cubic

Removed unused fs-extra and related type packages from the CLI and replaced them with Node’s built-in fs to reduce dependencies with no behavior change.

  • Dependencies

    • Removed fs-extra, @types/fs-extra, and @types/diff from packages/cli.
    • Pruned pnpm-lock.yaml accordingly.
  • Refactors

    • Switched get-package-info.ts to fs.readFileSync + JSON.parse.
    • Updated get-tsconfig-info.ts to import fs instead of fs-extra.

🔄 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/4227 **Author:** [@himself65](https://github.com/himself65) **Created:** 8/26/2025 **Status:** ✅ Merged **Merged:** 8/26/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/08/25/deps` --- ### 📝 Commits (2) - [`bf38596`](https://github.com/better-auth/better-auth/commit/bf38596300838fdf42282c7b52722f1b3708a31c) chore: remove unused deps - [`e1e7b0d`](https://github.com/better-auth/better-auth/commit/e1e7b0ded2b817842d2506637053f871821364bd) chore: remove unused deps ### 📊 Changes **4 files changed** (+5 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `packages/cli/package.json` (+0 -3) 📝 `packages/cli/src/utils/get-package-info.ts` (+2 -6) 📝 `packages/cli/src/utils/get-tsconfig-info.ts` (+1 -1) 📝 `pnpm-lock.yaml` (+2 -54) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Removed unused fs-extra and related type packages from the CLI and replaced them with Node’s built-in fs to reduce dependencies with no behavior change. - **Dependencies** - Removed fs-extra, @types/fs-extra, and @types/diff from packages/cli. - Pruned pnpm-lock.yaml accordingly. - **Refactors** - Switched get-package-info.ts to fs.readFileSync + JSON.parse. - Updated get-tsconfig-info.ts to import fs instead of fs-extra. <!-- 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-17 21:52:21 -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#30865