[PR #189] [CLOSED] Remove unused dependency & imports #785

Closed
opened 2026-02-26 18:48:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/189
Author: @doug-andrade
Created: 6/2/2023
Status: Closed

Base: mainHead: remove-unused-dependencies/imports


📝 Commits (3)

  • 1966112 remove next-transpile-modules dependencies
  • 382d680 remove unused imports from apps/web
  • d6e6d58 remove unused imports from packages/*

📊 Changes

24 files changed (+20 additions, -82 deletions)

View changed files

📝 apps/web/components/layout.tsx (+0 -3)
📝 apps/web/components/logo.tsx (+0 -3)
📝 apps/web/components/navigation.tsx (+0 -1)
📝 apps/web/package-lock.json (+0 -18)
📝 apps/web/pages/500.jsx (+0 -1)
📝 apps/web/pages/api/auth/[...nextauth].ts (+0 -1)
📝 apps/web/pages/api/documents/[id]/fields/[fid].ts (+0 -2)
📝 apps/web/pages/api/documents/[id]/recipients/[rid].ts (+0 -3)
📝 apps/web/pages/api/documents/[id]/sign.ts (+0 -1)
📝 apps/web/pages/api/test-sign/[id].ts (+2 -2)
📝 apps/web/pages/dashboard.tsx (+7 -11)
📝 apps/web/pages/documents/[id]/signed.tsx (+1 -1)
📝 apps/web/pages/signup.tsx (+0 -1)
📝 package-lock.json (+5 -21)
📝 package.json (+1 -2)
📝 packages/lib/api/signDocument.ts (+0 -1)
📝 packages/lib/mail/baseTemplate.ts (+0 -1)
📝 packages/lib/mail/sendMail.ts (+0 -1)
📝 packages/lib/mail/signingCompleteTemplate.ts (+0 -1)
📝 packages/lib/mail/signingRequestTemplate.ts (+1 -3)

...and 4 more files

📄 Description

Completed Tasks:
Removed next-transpile-modules dependency
Removed unused imports throughout the project

Build Result:

user@Area-51 documenso % npm run build

...
...
...

Tasks:    1 successful, 1 total
Cached:    1 cached, 1 total
Time:    217ms >>> FULL TURBO

🔄 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/documenso/documenso/pull/189 **Author:** [@doug-andrade](https://github.com/doug-andrade) **Created:** 6/2/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `remove-unused-dependencies/imports` --- ### 📝 Commits (3) - [`1966112`](https://github.com/documenso/documenso/commit/196611254fe787a255c0623b958bdb2ea14689c1) remove next-transpile-modules dependencies - [`382d680`](https://github.com/documenso/documenso/commit/382d6808e5ae23fc5c0eed66a88d18e63d97ea2b) remove unused imports from apps/web - [`d6e6d58`](https://github.com/documenso/documenso/commit/d6e6d586f488bf21793701a22e5d7db4aafd52f7) remove unused imports from packages/* ### 📊 Changes **24 files changed** (+20 additions, -82 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/components/layout.tsx` (+0 -3) 📝 `apps/web/components/logo.tsx` (+0 -3) 📝 `apps/web/components/navigation.tsx` (+0 -1) 📝 `apps/web/package-lock.json` (+0 -18) 📝 `apps/web/pages/500.jsx` (+0 -1) 📝 `apps/web/pages/api/auth/[...nextauth].ts` (+0 -1) 📝 `apps/web/pages/api/documents/[id]/fields/[fid].ts` (+0 -2) 📝 `apps/web/pages/api/documents/[id]/recipients/[rid].ts` (+0 -3) 📝 `apps/web/pages/api/documents/[id]/sign.ts` (+0 -1) 📝 `apps/web/pages/api/test-sign/[id].ts` (+2 -2) 📝 `apps/web/pages/dashboard.tsx` (+7 -11) 📝 `apps/web/pages/documents/[id]/signed.tsx` (+1 -1) 📝 `apps/web/pages/signup.tsx` (+0 -1) 📝 `package-lock.json` (+5 -21) 📝 `package.json` (+1 -2) 📝 `packages/lib/api/signDocument.ts` (+0 -1) 📝 `packages/lib/mail/baseTemplate.ts` (+0 -1) 📝 `packages/lib/mail/sendMail.ts` (+0 -1) 📝 `packages/lib/mail/signingCompleteTemplate.ts` (+0 -1) 📝 `packages/lib/mail/signingRequestTemplate.ts` (+1 -3) _...and 4 more files_ </details> ### 📄 Description **Completed Tasks:** ✅ Removed `next-transpile-modules` dependency ✅ Removed unused imports throughout the project **Build Result:** ``` user@Area-51 documenso % npm run build ... ... ... Tasks: 1 successful, 1 total Cached: 1 cached, 1 total Time: 217ms >>> FULL TURBO ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:48:54 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#785
No description provided.