[PR #3876] [MERGED] chore: pin dependencies across packages #4564

Closed
opened 2026-03-17 02:05:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3876
Author: @jamesgeorge007
Created: 3/4/2024
Status: Merged
Merged: 3/7/2024
Merged by: @AndrewBastin

Base: release/2024.3.0Head: pin-deps


📝 Commits (1)

  • a568140 chore: pin dependencies across packages

📊 Changes

13 files changed (+2942 additions, -6181 deletions)

View changed files

📝 .npmrc (+1 -0)
📝 package.json (+7 -7)
📝 packages/codemirror-lang-graphql/package.json (+8 -8)
📝 packages/hoppscotch-backend/package.json (+73 -73)
📝 packages/hoppscotch-cli/package.json (+21 -23)
📝 packages/hoppscotch-common/package.json (+135 -135)
📝 packages/hoppscotch-common/src/components.d.ts (+7 -6)
📝 packages/hoppscotch-data/package.json (+10 -10)
📝 packages/hoppscotch-js-sandbox/package.json (+21 -21)
📝 packages/hoppscotch-selfhost-desktop/package.json (+58 -58)
📝 packages/hoppscotch-selfhost-web/package.json (+54 -54)
📝 packages/hoppscotch-sh-admin/package.json (+51 -51)
📝 pnpm-lock.yaml (+2496 -5735)

📄 Description

Description

This PR pins dependencies to the resolved versions (obtained via pnpm list) across packages ensuring consistency. We'll have frequent dependency bumps that will go hand in hand.

Fixes HFE-448.

Changes

  • Pins dependencies across packages.
  • Adds save-prefix config under .npmrc ensuring any dependencies added will be pinned.
  • Dependencies are bumped to the latest version for the CLI. Duplicate entries for zod present under both dependencies & devDependencies are removed. Also, moves verzod from devDependencies to dependencies (direct dependencies shouldn't be inlined in the bundle except fp-ts, Ref).
  • Bumps version to v0.7.0 for the CLI accounting for #3777 (v0.6.0 was published while shipping #3815).

Checks

  • My pull request adheres to the code style of this project
  • All the tests have passed

🔄 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/3876 **Author:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Created:** 3/4/2024 **Status:** ✅ Merged **Merged:** 3/7/2024 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2024.3.0` ← **Head:** `pin-deps` --- ### 📝 Commits (1) - [`a568140`](https://github.com/hoppscotch/hoppscotch/commit/a5681409e091ee2e8ed7225940fac7c4dd0b03d8) chore: pin dependencies across packages ### 📊 Changes **13 files changed** (+2942 additions, -6181 deletions) <details> <summary>View changed files</summary> 📝 `.npmrc` (+1 -0) 📝 `package.json` (+7 -7) 📝 `packages/codemirror-lang-graphql/package.json` (+8 -8) 📝 `packages/hoppscotch-backend/package.json` (+73 -73) 📝 `packages/hoppscotch-cli/package.json` (+21 -23) 📝 `packages/hoppscotch-common/package.json` (+135 -135) 📝 `packages/hoppscotch-common/src/components.d.ts` (+7 -6) 📝 `packages/hoppscotch-data/package.json` (+10 -10) 📝 `packages/hoppscotch-js-sandbox/package.json` (+21 -21) 📝 `packages/hoppscotch-selfhost-desktop/package.json` (+58 -58) 📝 `packages/hoppscotch-selfhost-web/package.json` (+54 -54) 📝 `packages/hoppscotch-sh-admin/package.json` (+51 -51) 📝 `pnpm-lock.yaml` (+2496 -5735) </details> ### 📄 Description ### Description This PR pins dependencies to the resolved versions (obtained via `pnpm list`) across packages ensuring consistency. We'll have frequent dependency bumps that will go hand in hand. Fixes HFE-448. ### Changes - Pins dependencies across packages. - Adds [save-prefix](https://pnpm.io/npmrc#save-prefix) config under `.npmrc` ensuring any dependencies added will be pinned. - Dependencies are bumped to the latest version for the CLI. Duplicate entries for `zod` present under both `dependencies` & `devDependencies` are removed. Also, moves `verzod` from `devDependencies` to `dependencies` (direct dependencies shouldn't be inlined in the bundle except `fp-ts`, [Ref](https://github.com/hoppscotch/hoppscotch/pull/3777)). - Bumps version to `v0.7.0` for the CLI accounting for #3777 (`v0.6.0` was published while shipping #3815). ### Checks - [x] My pull request adheres to the code style of this project - [x] All the tests have passed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:05:18 +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#4564
No description provided.