[PR #3077] [MERGED] chore: removed unnecessary dependencies from hoppscotch-ui #4219

Closed
opened 2026-03-17 01:46:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3077
Author: @anwarulislam
Created: 5/24/2023
Status: Merged
Merged: 8/23/2023
Merged by: @AndrewBastin

Base: release/2023.8.0Head: chore/bump-hopp-ui-dependencies


📝 Commits (1)

  • 8cb0dea chore: removed unnecessary dependencies from hoppscotch-ui

📊 Changes

4 files changed (+50 additions, -188 deletions)

View changed files

📝 packages/hoppscotch-ui/package.json (+1 -21)
📝 packages/hoppscotch-ui/tsconfig.json (+1 -8)
📝 packages/hoppscotch-ui/vite.config.ts (+3 -2)
📝 pnpm-lock.yaml (+45 -157)

📄 Description

🤖 Generated by Copilot at d720e51

Summary

🛠️🗑️🎨

This pull request simplifies and cleans up the configuration files for the hoppscotch-ui package. It removes unused or unnecessary dependencies, types, and code to reduce the bundle size and improve the readability and maintainability of the code. It also applies consistent formatting and style rules to the files.

We purge the code of excess and waste
We slash the types and dependencies
We format the files with ruthless grace
We optimize the hoppscotch-ui

Walkthrough

  • Simplify package.json by removing unused or redundant packages from peerDependencies, dependencies, and devDependencies (link, link, link)
  • Update tsconfig.json to remove unnecessary types and format the file for consistency (link)
  • Format vite.config.ts to use double quotes and trailing commas for consistency (link, link, link)
  • Remove vue-router from the external array of the rollupOptions object in vite.config.ts as it is not used by the hoppscotch-ui package (link)

Closes HFE-37


🔄 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/hoppscotch/hoppscotch/pull/3077 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 5/24/2023 **Status:** ✅ Merged **Merged:** 8/23/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2023.8.0` ← **Head:** `chore/bump-hopp-ui-dependencies` --- ### 📝 Commits (1) - [`8cb0dea`](https://github.com/hoppscotch/hoppscotch/commit/8cb0deacdc6ddd34bec7ea44958bbb9f29e4be43) chore: removed unnecessary dependencies from hoppscotch-ui ### 📊 Changes **4 files changed** (+50 additions, -188 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-ui/package.json` (+1 -21) 📝 `packages/hoppscotch-ui/tsconfig.json` (+1 -8) 📝 `packages/hoppscotch-ui/vite.config.ts` (+3 -2) 📝 `pnpm-lock.yaml` (+45 -157) </details> ### 📄 Description <!-- copilot:all --> ### <samp>🤖 Generated by Copilot at d720e51</samp> ### Summary 🛠️🗑️🎨 <!-- 1. 🛠️ - This emoji represents a tool or a fix, and can be used to indicate the changes to the `tsconfig.json` and `vite.config.ts` files, which improve the configuration and performance of the `hoppscotch-ui` package. 2. 🗑️ - This emoji represents a trash can or a deletion, and can be used to indicate the removal of unnecessary or unused packages from the `package.json` file, which simplifies the dependencies and reduces the bundle size of the `hoppscotch-ui` package. 3. 🎨 - This emoji represents a paintbrush or a style, and can be used to indicate the formatting and styling changes applied to the `tsconfig.json` and `vite.config.ts` files, which make the code more consistent and readable. --> This pull request simplifies and cleans up the configuration files for the `hoppscotch-ui` package. It removes unused or unnecessary dependencies, types, and code to reduce the bundle size and improve the readability and maintainability of the code. It also applies consistent formatting and style rules to the files. > _We purge the code of excess and waste_ > _We slash the types and dependencies_ > _We format the files with ruthless grace_ > _We optimize the hoppscotch-ui_ ### Walkthrough * Simplify `package.json` by removing unused or redundant packages from `peerDependencies`, `dependencies`, and `devDependencies` ([link](https://github.com/hoppscotch/hoppscotch/pull/3077/files?diff=unified&w=0#diff-ee4a298dac90032cf9423afdeb697d18f3efb3bb9c43690fb78831a4c1960c94L17-R24), [link](https://github.com/hoppscotch/hoppscotch/pull/3077/files?diff=unified&w=0#diff-ee4a298dac90032cf9423afdeb697d18f3efb3bb9c43690fb78831a4c1960c94L61-R45), [link](https://github.com/hoppscotch/hoppscotch/pull/3077/files?diff=unified&w=0#diff-ee4a298dac90032cf9423afdeb697d18f3efb3bb9c43690fb78831a4c1960c94L73-R55)) * Update `tsconfig.json` to remove unnecessary types and format the file for consistency ([link](https://github.com/hoppscotch/hoppscotch/pull/3077/files?diff=unified&w=0#diff-7d4ca7dca7d222c2360bba0f31313e1e6902c5ed1a90724ef7c228cdae191b48L14-R28)) * Format `vite.config.ts` to use double quotes and trailing commas for consistency ([link](https://github.com/hoppscotch/hoppscotch/pull/3077/files?diff=unified&w=0#diff-012000d29e52a0f2306dbbf84f8705714f7b7987d4a1cd71b93acc363dc99a61L15-R15), [link](https://github.com/hoppscotch/hoppscotch/pull/3077/files?diff=unified&w=0#diff-012000d29e52a0f2306dbbf84f8705714f7b7987d4a1cd71b93acc363dc99a61L21-R21), [link](https://github.com/hoppscotch/hoppscotch/pull/3077/files?diff=unified&w=0#diff-012000d29e52a0f2306dbbf84f8705714f7b7987d4a1cd71b93acc363dc99a61L43-R48)) * Remove `vue-router` from the `external` array of the `rollupOptions` object in `vite.config.ts` as it is not used by the `hoppscotch-ui` package ([link](https://github.com/hoppscotch/hoppscotch/pull/3077/files?diff=unified&w=0#diff-012000d29e52a0f2306dbbf84f8705714f7b7987d4a1cd71b93acc363dc99a61L43-R48)) Closes HFE-37 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:46:27 +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/hoppscotch#4219
No description provided.