eclipse-thingweb / eclipse-thingweb/td-code
build: upgrade typescript and align TD schema with W3C IRI standards
- Vorherrschende Sprache
- TypeScript
- Sterne
- 9
- Forks
- 3
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
# Fix: Upgrade TypeScript to resolve build errors
## Description
The project was failing to compile due to a TypeScript version mismatch. The existing version (`^3.8.3`) was incompatible with newer type definitions in dependencies (specifically `@types/whatwg-url`), causing multiple syntax errors during the build process, such as:
```text
../../node_modules/@types/whatwg-url/index.d.ts:66:13 - error TS1109: Expression expected.
```
## Changes
- Upgraded `typescript` dev dependency in `package.json` to `^4.9.5`.
- Updated `package-lock.json` to reflect the dependency changes.
## Verification
1. Run `npm install` to update dependencies.
2. Run `npm run compile` to verify that the build now completes successfully without errors.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.