fix(agent): vue-tsc and typescript compat (CI) (#5227)

This updates `vue-tsc` to version `2.2.0` and removes caret prefix from
TypeScript to resolve build compatibility issues that were preventing
builds in `agent`'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 `TypeScript` at `^5.8.3` with `vue-tsc` at
`^2.1.6`. The `vue-tsc` package 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.
This commit is contained in:
Shreyas 2025-07-09 16:42:09 +05:30 committed by GitHub
parent 5a79c3ba2a
commit f97fecd4b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 2959 deletions

View file

@ -28,10 +28,10 @@
"autoprefixer": "^10.4.20",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.13",
"typescript": "^5.8.3",
"typescript": "5.8.3",
"unplugin-icons": "^0.19.3",
"unplugin-vue-components": "28.4.1",
"vite": "^5.4.8",
"vue-tsc": "^2.1.6"
"vue-tsc": "2.2.0"
}
}

File diff suppressed because it is too large Load diff

View file

@ -41,6 +41,6 @@
"unplugin-icons": "0.19.3",
"unplugin-vue-components": "0.27.4",
"vite": "^5.3.1",
"vue-tsc": "^2.2.0"
"vue-tsc": "2.2.0"
}
}

View file

@ -138,7 +138,7 @@ importers:
specifier: ^3.4.13
version: 3.4.13(ts-node@10.9.2(@swc/core@1.4.2)(@types/node@22.7.5)(typescript@5.8.3))
typescript:
specifier: ^5.8.3
specifier: 5.8.3
version: 5.8.3
unplugin-icons:
specifier: ^0.19.3
@ -150,8 +150,8 @@ importers:
specifier: ^5.4.8
version: 5.4.9(@types/node@22.7.5)(sass@1.80.3)(terser@5.39.2)
vue-tsc:
specifier: ^2.1.6
version: 2.1.6(typescript@5.8.3)
specifier: 2.2.0
version: 2.2.0(typescript@5.8.3)
packages/hoppscotch-backend:
dependencies:
@ -1070,7 +1070,7 @@ importers:
specifier: ^5.3.1
version: 5.4.11(@types/node@22.15.19)(sass@1.80.3)(terser@5.39.2)
vue-tsc:
specifier: ^2.2.0
specifier: 2.2.0
version: 2.2.0(typescript@5.8.3)
packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload: