mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #5227] [MERGED] fix(agent): vue-tsc and typescript compat (CI) #5116
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#5116
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/5227
Author: @CuriousCorrelation
Created: 7/7/2025
Status: ✅ Merged
Merged: 7/9/2025
Merged by: @jamesgeorge007
Base:
patch← Head:fix-agent-vue-tsc-compat-error📝 Commits (1)
3001027fix(agent):vue-tscandtypescriptcompat (CI)📊 Changes
4 files changed (+7 additions, -2959 deletions)
View changed files
📝
packages/hoppscotch-agent/package.json(+2 -2)➖
packages/hoppscotch-agent/pnpm-lock.yaml(+0 -2952)📝
packages/hoppscotch-desktop/package.json(+1 -1)📝
pnpm-lock.yaml(+4 -4)📄 Description
This updates
vue-tscto version2.2.0and removes caret prefix from TypeScript to resolve build compatibility issues that were preventing builds inagent's CI/CD pipeline.The build process was failing with "Search string not found" errors when vue-tsc attempted to patch TypeScript's internal structure.
Initially thought to be related to FE-925, FE-924.
Closes FE-926
The previous config used
TypeScriptat^5.8.3withvue-tscat^2.1.6. Thevue-tscpackage contains hardcoded regex patterns for patching TypeScript's internals, and these patterns in version 2.1.6 don't match the structure in TypeScript 5.8.3.Changes made
vue-tscto "2.2.0"vue-tscto "2.2.0" for consistencypnpn-lock.yamlfileUsing exact version pinning prevents package managers from automatically updating to perhaps an incompatible versions during future installs.
Notes to reviewers
This change only affects the build process and development dependencies. Runtime behavior and functionality remain unchanged. Both the Hoppscotch Agent and Desktop app will continue to work exactly as before, but builds will now complete successfully.
Testing should verify that
pnpm tauri buildcompletes without vue-tsc errors in both agent and desktop and all existing features continue to function normally.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.