use typescript go

This commit is contained in:
Linus Miller 2025-11-26 12:48:35 +01:00
parent 5c75af9aaa
commit 347bce3fd6
2 changed files with 75 additions and 12 deletions

View File

@ -20,7 +20,7 @@
"test": "pnpm run test:client && pnpm run test:server",
"test:client": "node --no-warnings --import=./client/test/jsdom_polyfills.ts --import=./client/test/register_tsx_hook.ts --test ./client/**/*.test.ts{,x}",
"test:server": "node --no-warnings --test ./server/**/*.test.ts",
"types": "tsc"
"types": "tsgo"
},
"dependencies": {
"@bmp/console": "^0.1.0",
@ -47,6 +47,7 @@
"@testing-library/preact": "^3.2.4",
"@types/lodash": "^4.17.16",
"@types/node": "^24.10.1",
"@typescript/native-preview": "7.0.0-dev.20251126.1",
"esbuild": "^0.27.0",
"globals": "^16.0.0",
"husky": "^9.1.7",
@ -56,7 +57,6 @@
"prettier": "^3.5.3",
"sass": "^1.85.1",
"typebox": "^1.0.55",
"typescript": "^5.8.2",
"vite": "^7.2.4"
}
}

83
pnpm-lock.yaml generated
View File

@ -75,6 +75,9 @@ importers:
'@types/node':
specifier: ^24.10.1
version: 24.10.1
'@typescript/native-preview':
specifier: 7.0.0-dev.20251126.1
version: 7.0.0-dev.20251126.1
esbuild:
specifier: ^0.27.0
version: 0.27.0
@ -102,9 +105,6 @@ importers:
typebox:
specifier: ^1.0.55
version: 1.0.55
typescript:
specifier: ^5.8.2
version: 5.9.3
vite:
specifier: ^7.2.4
version: 7.2.4(@types/node@24.10.1)(sass@1.94.2)(yaml@2.8.1)
@ -921,6 +921,45 @@ packages:
'@types/node@24.10.1':
resolution: {integrity: sha512-GNWcUTRBgIRJD5zj+Tq0fKOJ5XZajIiBroOF0yvj2bSU1WvNdYS/dn9UxwsujGW4JX06dnHyjV2y9rRaybH0iQ==}
'@typescript/native-preview-darwin-arm64@7.0.0-dev.20251126.1':
resolution: {integrity: sha512-+AZBntY8ORv1fD/nBFExhJT6yWiALrNhnUIpjd0NzZhgwER1rOP8l62o5iiq8j7IQkVfbehTrqTVHVP6O1TIcA==}
cpu: [arm64]
os: [darwin]
'@typescript/native-preview-darwin-x64@7.0.0-dev.20251126.1':
resolution: {integrity: sha512-HNKJBryvqZbvEElbCaAGUoTJn+r9C5Umsq1dEPnZ9Ji/5kvCx3TVOLnck60BU/W7mV9e9fyFYdM+A5ZRgs4+kw==}
cpu: [x64]
os: [darwin]
'@typescript/native-preview-linux-arm64@7.0.0-dev.20251126.1':
resolution: {integrity: sha512-WAndZy6qB4ic1oB2FseXr/7zc8hbKjmqoq+4FBssle4OrsyaXPj8zbv2V/uZQUtcXrsAB30RaqWCOnUG9u1jug==}
cpu: [arm64]
os: [linux]
'@typescript/native-preview-linux-arm@7.0.0-dev.20251126.1':
resolution: {integrity: sha512-ERyxlPWXXDIMxEQNdHn5tHO1d6aduoWv+VaO2hvypBROMtsFoPyHidWx2uxL4syL2TCfBHgH8wREwEq6fQeICg==}
cpu: [arm]
os: [linux]
'@typescript/native-preview-linux-x64@7.0.0-dev.20251126.1':
resolution: {integrity: sha512-9ov4QkLRxjbdX5VyDtV1vRZWvs+GUujHvGmyxRIe/9pVBKCqyPBrHy8X/qw3/rSVjTOZELKMuwVAbkU/tNwMtw==}
cpu: [x64]
os: [linux]
'@typescript/native-preview-win32-arm64@7.0.0-dev.20251126.1':
resolution: {integrity: sha512-m1cCO89bWHfGiU7AyGC54pax3juhZXu9TYXe+IHZngpQZgW8XXdpso3p6Jv+xVh8MSyJJnRkS2p5eGcjW4dkYg==}
cpu: [arm64]
os: [win32]
'@typescript/native-preview-win32-x64@7.0.0-dev.20251126.1':
resolution: {integrity: sha512-k4xenxGU7JhUtgya8VIb5f0+JTIysuuXeSjAQ00ODE0EbYsfnY7hgFyW8OAaHRaZa5FKsujg2jfvYY5nuugj+g==}
cpu: [x64]
os: [win32]
'@typescript/native-preview@7.0.0-dev.20251126.1':
resolution: {integrity: sha512-gkE5m4UH5ld1wgGHvnmI2uWOvP8TJB5eUOx7lYZwarjXeC+viNf02PA/3HJn5rV/RyEfFhu/QvqwVd8vJ9M//A==}
hasBin: true
abstract-logging@2.0.1:
resolution: {integrity: sha512-2BjRTZxTPvheOvGbBslFSYOUkr+SjPtOnrLP33f+VIWLzezQpZcqVg7ja3L4dBXmzzgwT+a029jRx5PCi3JuiA==}
@ -2096,11 +2135,6 @@ packages:
typebox@1.0.55:
resolution: {integrity: sha512-TP02wN0B6tDZngprrGVu/Z9s/QUyVEmR7VIg1yEOtsqyDdXXEoQPSfWdkD2PsA2lGLxu6GgwOTtGZVS9CAoERg==}
typescript@5.9.3:
resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
engines: {node: '>=14.17'}
hasBin: true
undici-types@7.16.0:
resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
@ -2884,6 +2918,37 @@ snapshots:
dependencies:
undici-types: 7.16.0
'@typescript/native-preview-darwin-arm64@7.0.0-dev.20251126.1':
optional: true
'@typescript/native-preview-darwin-x64@7.0.0-dev.20251126.1':
optional: true
'@typescript/native-preview-linux-arm64@7.0.0-dev.20251126.1':
optional: true
'@typescript/native-preview-linux-arm@7.0.0-dev.20251126.1':
optional: true
'@typescript/native-preview-linux-x64@7.0.0-dev.20251126.1':
optional: true
'@typescript/native-preview-win32-arm64@7.0.0-dev.20251126.1':
optional: true
'@typescript/native-preview-win32-x64@7.0.0-dev.20251126.1':
optional: true
'@typescript/native-preview@7.0.0-dev.20251126.1':
optionalDependencies:
'@typescript/native-preview-darwin-arm64': 7.0.0-dev.20251126.1
'@typescript/native-preview-darwin-x64': 7.0.0-dev.20251126.1
'@typescript/native-preview-linux-arm': 7.0.0-dev.20251126.1
'@typescript/native-preview-linux-arm64': 7.0.0-dev.20251126.1
'@typescript/native-preview-linux-x64': 7.0.0-dev.20251126.1
'@typescript/native-preview-win32-arm64': 7.0.0-dev.20251126.1
'@typescript/native-preview-win32-x64': 7.0.0-dev.20251126.1
abstract-logging@2.0.1: {}
agent-base@7.1.4: {}
@ -4108,8 +4173,6 @@ snapshots:
typebox@1.0.55: {}
typescript@5.9.3: {}
undici-types@7.16.0: {}
update-browserslist-db@1.1.4(browserslist@4.28.0):