[PR #4229] [MERGED] fix(cli): remove postinstall script #4716

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

📋 Pull Request Information

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

Base: mainHead: hotfix/cli-installation


📝 Commits (1)

  • 9b95f95 fix: remove postinstall script from @hoppscotch/cli

📊 Changes

1 file changed (+3 additions, -5 deletions)

View changed files

📝 packages/hoppscotch-cli/package.json (+3 -5)

📄 Description

What's changed

An attempt to install the CLI was halted due to the addition of the postinstall script. This PR removes the same and resolves this behaviour. Follow up of #4189.

The pretest script executing pnpm run build has been removed and the same is achieved via clubbing it with the test script since the pretest script was found not to be executed in the CI environment.

CLI version is bumped to v0.10.1.

Closes #4227.


🔄 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/4229 **Author:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Created:** 7/31/2024 **Status:** ✅ Merged **Merged:** 7/31/2024 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `hotfix/cli-installation` --- ### 📝 Commits (1) - [`9b95f95`](https://github.com/hoppscotch/hoppscotch/commit/9b95f95991aa2ba9957f44cbe70b14ddc89279ac) fix: remove `postinstall` script from `@hoppscotch/cli` ### 📊 Changes **1 file changed** (+3 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-cli/package.json` (+3 -5) </details> ### 📄 Description ### What's changed An attempt to install the CLI was halted due to the addition of the `postinstall` script. This PR removes the same and resolves this behaviour. Follow up of #4189. The `pretest` script executing `pnpm run build` has been removed and the same is achieved via clubbing it with the `test` script since the `pretest` script was found not to be executed in the CI environment. CLI version is bumped to `v0.10.1`. Closes #4227. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:13:46 +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#4716
No description provided.