build(typescript): add tsgo and separate typecheck:tsgo npm script

This commit is contained in:
Jack Westbrook
2025-11-28 10:02:30 +01:00
parent 646fb2aa35
commit ba380fd15d
2 changed files with 84 additions and 0 deletions
+2
View File
@@ -66,6 +66,7 @@
"themes-generate": "yarn themes-schema && esbuild --target=es6 ./scripts/cli/generateSassVariableFiles.ts --bundle --platform=node --tsconfig=./scripts/cli/tsconfig.json | node",
"themes:usage": "eslint . --ignore-pattern '*.test.ts*' --ignore-pattern '*.spec.ts*' --cache --plugin '@grafana' --rule '{ @grafana/theme-token-usage: \"error\" }'",
"typecheck": "tsc --noEmit && yarn run packages:typecheck",
"typecheck:tsgo": "tsgo --noEmit",
"plugins:build-bundled": "echo 'bundled plugins are no longer supported'",
"watch": "yarn start -d watch,start core:start --watchTheme",
"i18n:stats": "node ./scripts/cli/reportI18nStats.mjs",
@@ -166,6 +167,7 @@
"@types/yargs": "17.0.33",
"@typescript-eslint/eslint-plugin": "8.38.0",
"@typescript-eslint/parser": "8.38.0",
"@typescript/native-preview": "^7.0.0-dev.20251128.1",
"autoprefixer": "10.4.21",
"babel-loader": "10.0.0",
"blob-polyfill": "9.0.20240710",
+82
View File
@@ -11244,6 +11244,87 @@ __metadata:
languageName: node
linkType: hard
"@typescript/native-preview-darwin-arm64@npm:7.0.0-dev.20251128.1":
version: 7.0.0-dev.20251128.1
resolution: "@typescript/native-preview-darwin-arm64@npm:7.0.0-dev.20251128.1"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"@typescript/native-preview-darwin-x64@npm:7.0.0-dev.20251128.1":
version: 7.0.0-dev.20251128.1
resolution: "@typescript/native-preview-darwin-x64@npm:7.0.0-dev.20251128.1"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
"@typescript/native-preview-linux-arm64@npm:7.0.0-dev.20251128.1":
version: 7.0.0-dev.20251128.1
resolution: "@typescript/native-preview-linux-arm64@npm:7.0.0-dev.20251128.1"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard
"@typescript/native-preview-linux-arm@npm:7.0.0-dev.20251128.1":
version: 7.0.0-dev.20251128.1
resolution: "@typescript/native-preview-linux-arm@npm:7.0.0-dev.20251128.1"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard
"@typescript/native-preview-linux-x64@npm:7.0.0-dev.20251128.1":
version: 7.0.0-dev.20251128.1
resolution: "@typescript/native-preview-linux-x64@npm:7.0.0-dev.20251128.1"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard
"@typescript/native-preview-win32-arm64@npm:7.0.0-dev.20251128.1":
version: 7.0.0-dev.20251128.1
resolution: "@typescript/native-preview-win32-arm64@npm:7.0.0-dev.20251128.1"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
"@typescript/native-preview-win32-x64@npm:7.0.0-dev.20251128.1":
version: 7.0.0-dev.20251128.1
resolution: "@typescript/native-preview-win32-x64@npm:7.0.0-dev.20251128.1"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"@typescript/native-preview@npm:^7.0.0-dev.20251128.1":
version: 7.0.0-dev.20251128.1
resolution: "@typescript/native-preview@npm:7.0.0-dev.20251128.1"
dependencies:
"@typescript/native-preview-darwin-arm64": "npm:7.0.0-dev.20251128.1"
"@typescript/native-preview-darwin-x64": "npm:7.0.0-dev.20251128.1"
"@typescript/native-preview-linux-arm": "npm:7.0.0-dev.20251128.1"
"@typescript/native-preview-linux-arm64": "npm:7.0.0-dev.20251128.1"
"@typescript/native-preview-linux-x64": "npm:7.0.0-dev.20251128.1"
"@typescript/native-preview-win32-arm64": "npm:7.0.0-dev.20251128.1"
"@typescript/native-preview-win32-x64": "npm:7.0.0-dev.20251128.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: 10/797dccc0ffdc81525f0497daeb9e475744936be89ef12386f6b73fca5b2b3c11ef34ce052b803194e65b9a85d61c3494094c0063ce4c00579307769aa1e3cfa1
languageName: node
linkType: hard
"@visx/bounds@npm:3.12.0":
version: 3.12.0
resolution: "@visx/bounds@npm:3.12.0"
@@ -19334,6 +19415,7 @@ __metadata:
"@types/yargs": "npm:17.0.33"
"@typescript-eslint/eslint-plugin": "npm:8.38.0"
"@typescript-eslint/parser": "npm:8.38.0"
"@typescript/native-preview": "npm:^7.0.0-dev.20251128.1"
"@visx/event": "npm:3.12.0"
"@visx/gradient": "npm:3.12.0"
"@visx/group": "npm:3.12.0"