chore: make tsgo the default typecheck (#2013)

This commit is contained in:
Neil 2026-05-15 18:47:51 -07:00 committed by GitHub
parent ff8accba87
commit f4c67434f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 46 additions and 42 deletions

View File

@ -17,14 +17,18 @@
"check:feature-wall-assets": "node config/scripts/check-feature-wall-assets.mjs",
"verify:macos-entitlements": "node config/scripts/verify-macos-entitlements.mjs",
"vendor:feature-wall-assets": "node config/scripts/vendor-feature-wall-assets.mjs",
"tc:node": "tsgo --noEmit -p config/tsconfig.node.json",
"tc:cli": "tsgo --noEmit -p config/tsconfig.tc.cli.json",
"tc:web": "tsgo --noEmit -p config/tsconfig.tc.web.json",
"tc": "tsgo --noEmit -p config/tsconfig.node.json && tsgo --noEmit -p config/tsconfig.tc.cli.json && tsgo --noEmit -p config/tsconfig.tc.web.json",
"typecheck:node": "tsc --noEmit -p config/tsconfig.node.json --composite false",
"typecheck:cli": "tsc --noEmit -p config/tsconfig.cli.json --composite false",
"typecheck:web": "tsc --noEmit -p config/tsconfig.web.json --composite false",
"typecheck": "tsc --noEmit -p config/tsconfig.node.json --composite false && tsc --noEmit -p config/tsconfig.cli.json --composite false && tsc --noEmit -p config/tsconfig.web.json --composite false",
"tc:node": "pnpm run typecheck:node",
"tc:cli": "pnpm run typecheck:cli",
"tc:web": "pnpm run typecheck:web",
"tc": "pnpm run typecheck",
"typecheck:node": "tsgo --noEmit -p config/tsconfig.node.json",
"typecheck:cli": "tsgo --noEmit -p config/tsconfig.tc.cli.json",
"typecheck:web": "tsgo --noEmit -p config/tsconfig.tc.web.json",
"typecheck": "tsgo --noEmit -p config/tsconfig.node.json && tsgo --noEmit -p config/tsconfig.tc.cli.json && tsgo --noEmit -p config/tsconfig.tc.web.json",
"typecheck:tsc:node": "tsc --noEmit -p config/tsconfig.node.json --composite false",
"typecheck:tsc:cli": "tsc --noEmit -p config/tsconfig.cli.json --composite false",
"typecheck:tsc:web": "tsc --noEmit -p config/tsconfig.web.json --composite false",
"typecheck:tsc": "tsc --noEmit -p config/tsconfig.node.json --composite false && tsc --noEmit -p config/tsconfig.cli.json --composite false && tsc --noEmit -p config/tsconfig.web.json --composite false",
"start": "electron-vite preview",
"dev": "node config/scripts/run-electron-vite-dev.mjs",
"dev:web": "vite --config vite.web.config.ts --host 127.0.0.1",
@ -144,7 +148,7 @@
"@types/react-dom": "^19.2.3",
"@types/ssh2": "^1.15.5",
"@types/ws": "^8.18.1",
"@typescript/native-preview": "7.0.0-dev.20260406.1",
"@typescript/native-preview": "7.0.0-dev.20260421.2",
"@vitejs/plugin-react": "^5.2.0",
"electron": "^41.5.0",
"electron-builder": "^26.8.1",

View File

@ -297,8 +297,8 @@ importers:
specifier: ^8.18.1
version: 8.18.1
'@typescript/native-preview':
specifier: 7.0.0-dev.20260406.1
version: 7.0.0-dev.20260406.1
specifier: 7.0.0-dev.20260421.2
version: 7.0.0-dev.20260421.2
'@vitejs/plugin-react':
specifier: ^5.2.0
version: 5.2.0(vite@7.3.2(@types/node@25.6.0)(jiti@2.7.0)(lightningcss@1.32.0)(yaml@2.8.4))
@ -2947,43 +2947,43 @@ packages:
'@types/yauzl@2.10.3':
resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==}
'@typescript/native-preview-darwin-arm64@7.0.0-dev.20260406.1':
resolution: {integrity: sha512-q6AMrDHlD6dQHpRuGOewhvKTCBDWRgJ42678+muvHbdHkBafRSUSBRiYasUp8cInK22jlkVwNLqQn6j7Sl9zVg==}
'@typescript/native-preview-darwin-arm64@7.0.0-dev.20260421.2':
resolution: {integrity: sha512-fHv1r3ZmVo6zxuAIFmuX3w9QxbcauoG0SsWhmDwm6VmRubLlOJIcmTtlmV3JAb9oOnq8LuzZljzT7Q39fSMQDw==}
cpu: [arm64]
os: [darwin]
'@typescript/native-preview-darwin-x64@7.0.0-dev.20260406.1':
resolution: {integrity: sha512-3v8LplbhJwY4GlBawgJt4ydn0sYeowGMniGiPMBl38ioYAIJOriuBvAk+S/gbOoIfLjMLq0L65fnQN+w9+i5ag==}
'@typescript/native-preview-darwin-x64@7.0.0-dev.20260421.2':
resolution: {integrity: sha512-KWTR6xbW9t+JS7D5DQIzo75pqVXVWUxF9PMv/+S6xsnOjCVd6g0ixHcFpFMJMKSUQpGPr8Z5f7b8ks6LHW01jg==}
cpu: [x64]
os: [darwin]
'@typescript/native-preview-linux-arm64@7.0.0-dev.20260406.1':
resolution: {integrity: sha512-hRY2czBKisYtcbwgl8HZBA7u/KKUumNlL0X2OpCK1BtQzKbHXAXi1HxUCPbwgHu4v6uGibvniny0BPA6MVrHDA==}
'@typescript/native-preview-linux-arm64@7.0.0-dev.20260421.2':
resolution: {integrity: sha512-VLMEuml3BhUb+jaL0TXQ4xvVODxJF+RhkI+tBWvlynsJI4khTXEiwWh+wPOJrsfBRYFRMXEu28Odl/HXkYze8w==}
cpu: [arm64]
os: [linux]
'@typescript/native-preview-linux-arm@7.0.0-dev.20260406.1':
resolution: {integrity: sha512-KLa4bK2BxnQwc9uefI8rtaso3cNiRI5Y19z9Jx7UzFJS4YaxtFp5cVjfy4FlQ55ixtUExmCJH7GhSzuVeFl/Jw==}
'@typescript/native-preview-linux-arm@7.0.0-dev.20260421.2':
resolution: {integrity: sha512-BWLQO3nemLDSV5PoE5GPHe1dU9Dth77Kv8/cle9Ujcp4LhPo0KincdPqFH/qKeU/xvW25mgFueflZ1nc4rKuww==}
cpu: [arm]
os: [linux]
'@typescript/native-preview-linux-x64@7.0.0-dev.20260406.1':
resolution: {integrity: sha512-Cbcy+lSctRHNmqvLl+l8RgomL0qX3wxEPKCOIdQ/ooicsIPFbkK57Cwdhw3RSpJ+Xb2LzLdneA2Q1Vg+f/Nwxg==}
'@typescript/native-preview-linux-x64@7.0.0-dev.20260421.2':
resolution: {integrity: sha512-qUrJWTB5/wv4wnRG0TRXElAxc2kykNiRNyEIEqBbLmzDlrcvAW7RRy8MXoY1ZyTiKGMu14itZ3x9oW6+blFpRw==}
cpu: [x64]
os: [linux]
'@typescript/native-preview-win32-arm64@7.0.0-dev.20260406.1':
resolution: {integrity: sha512-IFIkbYABge7f83A16awJJWUCrDG1Lw4//NCdU927i/CjgxG09q4ZJeVXcIbZQ5lJWwraiSTa6AMqvhF/tnR2KQ==}
'@typescript/native-preview-win32-arm64@7.0.0-dev.20260421.2':
resolution: {integrity: sha512-Rc6NsWlZmCs5YUKVzKgwoBOoRUGsPzct4BDMRX0csD1devLBBc4AbUXWKsJRbpwIAnqMO1ld4sNHEb+wXgfNHQ==}
cpu: [arm64]
os: [win32]
'@typescript/native-preview-win32-x64@7.0.0-dev.20260406.1':
resolution: {integrity: sha512-Jk7wP6SPaELTGY+ijvpude+dmXX9WeuLQLk9qjevQXTusFVcT8vjvepxJVshSJ1+Thmxy1t9v4l1pHnM3XUMjw==}
'@typescript/native-preview-win32-x64@7.0.0-dev.20260421.2':
resolution: {integrity: sha512-GQv1+dya1t6EqF2Cpsb+xoozovdX10JUSf6Kl/8xNkTapzmlHd+uMr+8ku3jIASTxoRGn0Mklgjj3MDKrOTuLg==}
cpu: [x64]
os: [win32]
'@typescript/native-preview@7.0.0-dev.20260406.1':
resolution: {integrity: sha512-hlVajr01Y/ZmI9iZ7A6BgPxqXccGqxuc/PmVNdanr/LZdtsH9q11y2H3NFMaOrbPlDoeWxHvGUT3wsZllCphyg==}
'@typescript/native-preview@7.0.0-dev.20260421.2':
resolution: {integrity: sha512-CmajHI25HpVWE9R1XFoxr+cphJPxoYD3eFioQtAvXYkMFKnLdICMS9pXre9Pybizb75ejRxjKD5/CVG055rEIg==}
hasBin: true
'@ungap/structured-clone@1.3.1':
@ -8851,36 +8851,36 @@ snapshots:
'@types/node': 25.6.0
optional: true
'@typescript/native-preview-darwin-arm64@7.0.0-dev.20260406.1':
'@typescript/native-preview-darwin-arm64@7.0.0-dev.20260421.2':
optional: true
'@typescript/native-preview-darwin-x64@7.0.0-dev.20260406.1':
'@typescript/native-preview-darwin-x64@7.0.0-dev.20260421.2':
optional: true
'@typescript/native-preview-linux-arm64@7.0.0-dev.20260406.1':
'@typescript/native-preview-linux-arm64@7.0.0-dev.20260421.2':
optional: true
'@typescript/native-preview-linux-arm@7.0.0-dev.20260406.1':
'@typescript/native-preview-linux-arm@7.0.0-dev.20260421.2':
optional: true
'@typescript/native-preview-linux-x64@7.0.0-dev.20260406.1':
'@typescript/native-preview-linux-x64@7.0.0-dev.20260421.2':
optional: true
'@typescript/native-preview-win32-arm64@7.0.0-dev.20260406.1':
'@typescript/native-preview-win32-arm64@7.0.0-dev.20260421.2':
optional: true
'@typescript/native-preview-win32-x64@7.0.0-dev.20260406.1':
'@typescript/native-preview-win32-x64@7.0.0-dev.20260421.2':
optional: true
'@typescript/native-preview@7.0.0-dev.20260406.1':
'@typescript/native-preview@7.0.0-dev.20260421.2':
optionalDependencies:
'@typescript/native-preview-darwin-arm64': 7.0.0-dev.20260406.1
'@typescript/native-preview-darwin-x64': 7.0.0-dev.20260406.1
'@typescript/native-preview-linux-arm': 7.0.0-dev.20260406.1
'@typescript/native-preview-linux-arm64': 7.0.0-dev.20260406.1
'@typescript/native-preview-linux-x64': 7.0.0-dev.20260406.1
'@typescript/native-preview-win32-arm64': 7.0.0-dev.20260406.1
'@typescript/native-preview-win32-x64': 7.0.0-dev.20260406.1
'@typescript/native-preview-darwin-arm64': 7.0.0-dev.20260421.2
'@typescript/native-preview-darwin-x64': 7.0.0-dev.20260421.2
'@typescript/native-preview-linux-arm': 7.0.0-dev.20260421.2
'@typescript/native-preview-linux-arm64': 7.0.0-dev.20260421.2
'@typescript/native-preview-linux-x64': 7.0.0-dev.20260421.2
'@typescript/native-preview-win32-arm64': 7.0.0-dev.20260421.2
'@typescript/native-preview-win32-x64': 7.0.0-dev.20260421.2
'@ungap/structured-clone@1.3.1': {}