eclipse-thingweb / eclipse-thingweb/td-code

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

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
9
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.