Improve typechecking speed

This commit is contained in:
Arthur Belleville 2025-10-10 10:16:05 +02:00
parent f90a58cc72
commit 973c7f3e7f
No known key found for this signature in database
4 changed files with 77 additions and 3 deletions

View file

@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite dev",
"typecheck": "tsc -b",
"typecheck": "npx tsgo --build .",
"lint": "eslint .",
"preview": "vite preview",
"build:staging": "tsc -b && vite build --mode staging",
@ -69,6 +69,7 @@
"@tailwindcss/vite": "^4.0.14",
"@tanstack/react-query": "^5.69.0",
"@types/react-router-dom": "^5.3.3",
"@typescript/native-preview": "7.0.0-dev.20251010.1",
"ag-grid-community": "^33.2.1",
"ag-grid-react": "^33.2.1",
"axios": "^1.8.4",

View file

@ -29,6 +29,9 @@ importers:
'@types/react-router-dom':
specifier: ^5.3.3
version: 5.3.3
'@typescript/native-preview':
specifier: 7.0.0-dev.20251010.1
version: 7.0.0-dev.20251010.1
ag-grid-community:
specifier: ^33.2.1
version: 33.2.1
@ -2271,6 +2274,45 @@ packages:
resolution: {integrity: sha512-AjOC3zfnxd6S4Eiy3jwktJPclqhFHNyd8L6Gycf9WUPoKZpgM5PjkxY1X7uSy61xVpiJDhhk7XT2NVsN3ALTWg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript/native-preview-darwin-arm64@7.0.0-dev.20251010.1':
resolution: {integrity: sha512-ffVcyxVOQ2vL6oYVKDGwRa7Hylsa9FNIdQCUsXyqbIjo5pwsxL6tHdH/MXq33UbwUEzlUTzeleSwSsUzXG5d4g==}
cpu: [arm64]
os: [darwin]
'@typescript/native-preview-darwin-x64@7.0.0-dev.20251010.1':
resolution: {integrity: sha512-FUHMxbJ9inRG55zLk849jTwV6qxyUUNzuZhqnsZos7AGEtg6pX8NUlbK2soyiMNUZva2hnBACT5lbbzisU+iQQ==}
cpu: [x64]
os: [darwin]
'@typescript/native-preview-linux-arm64@7.0.0-dev.20251010.1':
resolution: {integrity: sha512-Xfmx4HecLZp103Dj+FpCoqqtCHTtOQgMEfC0Vtqt7CkSi7BjRuelNmzSB5qd544BdX7+CoIszcYKXlS4JI2W+w==}
cpu: [arm64]
os: [linux]
'@typescript/native-preview-linux-arm@7.0.0-dev.20251010.1':
resolution: {integrity: sha512-hPY/QIwWhh+PzdaASwswpsuqC83tN4QK4xA8lUm1OUP7Jw/KMoDRjt4EPgtsUQ5Ge3cwg/W3L3bZ5Pllpzh1vw==}
cpu: [arm]
os: [linux]
'@typescript/native-preview-linux-x64@7.0.0-dev.20251010.1':
resolution: {integrity: sha512-RoPVngywneGvlmdYSPv/vIGB0nR5gzh2Jhm1zVPARF2v0alkb3rwClRNlzhjFAnJsR4kWnxzb5ckHK7GwxF4zA==}
cpu: [x64]
os: [linux]
'@typescript/native-preview-win32-arm64@7.0.0-dev.20251010.1':
resolution: {integrity: sha512-AEqnt7VYIuWfzgaplS66HVTZuH9aoOvBqbjfi7TBT7s0WXRrfNiyCeQX9zseMbjaeyiTDpR2nTRLr88Pr91obA==}
cpu: [arm64]
os: [win32]
'@typescript/native-preview-win32-x64@7.0.0-dev.20251010.1':
resolution: {integrity: sha512-db8/KdUr1v8fdLZfntwjMR/HPAvEXaVzhScgHIZH0pM6KQrYg6NgBpp90cm8Gxe+C/gN8H9cM4NGdrvLUr1BEw==}
cpu: [x64]
os: [win32]
'@typescript/native-preview@7.0.0-dev.20251010.1':
resolution: {integrity: sha512-8g35sa5z05QBH4/ENUQ26/TVzruKL9XzJB9zRwDg6AqFxLhWGVfksuM8oXDtUvM4NyVhhRPnF1a7ab/DRuVLkw==}
hasBin: true
'@ungap/structured-clone@1.3.0':
resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
@ -7858,6 +7900,37 @@ snapshots:
'@typescript-eslint/types': 8.26.1
eslint-visitor-keys: 4.2.0
'@typescript/native-preview-darwin-arm64@7.0.0-dev.20251010.1':
optional: true
'@typescript/native-preview-darwin-x64@7.0.0-dev.20251010.1':
optional: true
'@typescript/native-preview-linux-arm64@7.0.0-dev.20251010.1':
optional: true
'@typescript/native-preview-linux-arm@7.0.0-dev.20251010.1':
optional: true
'@typescript/native-preview-linux-x64@7.0.0-dev.20251010.1':
optional: true
'@typescript/native-preview-win32-arm64@7.0.0-dev.20251010.1':
optional: true
'@typescript/native-preview-win32-x64@7.0.0-dev.20251010.1':
optional: true
'@typescript/native-preview@7.0.0-dev.20251010.1':
optionalDependencies:
'@typescript/native-preview-darwin-arm64': 7.0.0-dev.20251010.1
'@typescript/native-preview-darwin-x64': 7.0.0-dev.20251010.1
'@typescript/native-preview-linux-arm': 7.0.0-dev.20251010.1
'@typescript/native-preview-linux-arm64': 7.0.0-dev.20251010.1
'@typescript/native-preview-linux-x64': 7.0.0-dev.20251010.1
'@typescript/native-preview-win32-arm64': 7.0.0-dev.20251010.1
'@typescript/native-preview-win32-x64': 7.0.0-dev.20251010.1
'@ungap/structured-clone@1.3.0': {}
'@virtuoso.dev/react-urx@0.2.13(react@19.0.0)':

View file

@ -22,8 +22,8 @@
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true,
"baseUrl": ".",
"paths": {
"*": ["./*"],
"@ui/*": ["./src/*"]
}
},

View file

@ -1,4 +1,4 @@
declare const _default: {
fetch(request: Request<unknown, IncomingRequestCfProperties<unknown>>): Response;
fetch(request: Request<unknown, IncomingRequestCfProperties<unknown>>): Response;
};
export default _default;