companion: port to TypeScript (#6179)

Supersedes #6178.

This branch keeps the exact same final content as #6178, but splits
history for reviewability:

1. `chore(companion): rename source and test files from .js to .ts`
(pure `git mv`, no content changes)
2. `feat(companion): port Companion to TypeScript` (actual
content/type/schema/build updates)

Validation note:
- Final tree is byte-for-byte identical to `ts-companion`
(`7b5b16a298690b0492de4cc4fab744f998b45570`).

---------

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
This commit is contained in:
Kevin van Zonneveld 2026-05-04 14:50:43 +02:00 committed by GitHub
parent 7ac262374f
commit e99a17f1fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
151 changed files with 7979 additions and 4897 deletions

View file

@ -67,6 +67,18 @@
}
}
},
"overrides": [
{
"includes": ["packages/@uppy/companion/**"],
"linter": {
"rules": {
"complexity": {
"useLiteralKeys": "off"
}
}
}
}
],
"javascript": {
"formatter": {
"quoteStyle": "single",