chore(deps): drop @typescript/native-preview in favor of typescript 7 native tsc

TypeScript 7's own tsc is the Go-native compiler, so the separate tsgo
binary from the dev-preview package is redundant. yarn type-check now
runs tsc --noEmit. Bump tsconfig target to ES2018 and add types: [node]
to fix the pre-existing NodeJS namespace, global, and /s regex flag
errors that stable tsc reports but tsgo did not.
This commit is contained in:
Tommaso Casaburi
2026-07-09 15:17:35 +07:00
parent 217fccf2d6
commit ece58da78b
6 changed files with 7 additions and 89 deletions
-82
View File
@@ -35,7 +35,6 @@ __metadata:
"@types/node": "npm:20.19.37"
"@types/react": "npm:19.2.16"
"@types/react-dom": "npm:19.2.3"
"@typescript/native-preview": "npm:^7.0.0-dev.20251226.1"
"@use-gesture/react": "npm:10.3.1"
"@vercel/analytics": "npm:^1.6.1"
"@vitejs/plugin-react": "npm:6.0.0"
@@ -7385,87 +7384,6 @@ __metadata:
languageName: node
linkType: hard
"@typescript/native-preview-darwin-arm64@npm:7.0.0-dev.20251226.1":
version: 7.0.0-dev.20251226.1
resolution: "@typescript/native-preview-darwin-arm64@npm:7.0.0-dev.20251226.1"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"@typescript/native-preview-darwin-x64@npm:7.0.0-dev.20251226.1":
version: 7.0.0-dev.20251226.1
resolution: "@typescript/native-preview-darwin-x64@npm:7.0.0-dev.20251226.1"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
"@typescript/native-preview-linux-arm64@npm:7.0.0-dev.20251226.1":
version: 7.0.0-dev.20251226.1
resolution: "@typescript/native-preview-linux-arm64@npm:7.0.0-dev.20251226.1"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard
"@typescript/native-preview-linux-arm@npm:7.0.0-dev.20251226.1":
version: 7.0.0-dev.20251226.1
resolution: "@typescript/native-preview-linux-arm@npm:7.0.0-dev.20251226.1"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard
"@typescript/native-preview-linux-x64@npm:7.0.0-dev.20251226.1":
version: 7.0.0-dev.20251226.1
resolution: "@typescript/native-preview-linux-x64@npm:7.0.0-dev.20251226.1"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard
"@typescript/native-preview-win32-arm64@npm:7.0.0-dev.20251226.1":
version: 7.0.0-dev.20251226.1
resolution: "@typescript/native-preview-win32-arm64@npm:7.0.0-dev.20251226.1"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
"@typescript/native-preview-win32-x64@npm:7.0.0-dev.20251226.1":
version: 7.0.0-dev.20251226.1
resolution: "@typescript/native-preview-win32-x64@npm:7.0.0-dev.20251226.1"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"@typescript/native-preview@npm:^7.0.0-dev.20251226.1":
version: 7.0.0-dev.20251226.1
resolution: "@typescript/native-preview@npm:7.0.0-dev.20251226.1"
dependencies:
"@typescript/native-preview-darwin-arm64": "npm:7.0.0-dev.20251226.1"
"@typescript/native-preview-darwin-x64": "npm:7.0.0-dev.20251226.1"
"@typescript/native-preview-linux-arm": "npm:7.0.0-dev.20251226.1"
"@typescript/native-preview-linux-arm64": "npm:7.0.0-dev.20251226.1"
"@typescript/native-preview-linux-x64": "npm:7.0.0-dev.20251226.1"
"@typescript/native-preview-win32-arm64": "npm:7.0.0-dev.20251226.1"
"@typescript/native-preview-win32-x64": "npm:7.0.0-dev.20251226.1"
dependenciesMeta:
"@typescript/native-preview-darwin-arm64":
optional: true
"@typescript/native-preview-darwin-x64":
optional: true
"@typescript/native-preview-linux-arm":
optional: true
"@typescript/native-preview-linux-arm64":
optional: true
"@typescript/native-preview-linux-x64":
optional: true
"@typescript/native-preview-win32-arm64":
optional: true
"@typescript/native-preview-win32-x64":
optional: true
bin:
tsgo: bin/tsgo.js
checksum: 10c0/99df69ff117c2e5d4d6ca028f20f0453b1151cfab54a5614231f60a57fd98ea0152a423a58127b1b61aa7f677004931a03217e9ebe71d968be3d91e3776ad49f
languageName: node
linkType: hard
"@typescript/typescript-aix-ppc64@npm:7.0.2":
version: 7.0.2
resolution: "@typescript/typescript-aix-ppc64@npm:7.0.2"