eclipse-thingweb / eclipse-thingweb/td-code

build: upgrade typescript and align TD schema with W3C IRI standards

Aperta
#23 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
9
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

# 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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.