From 4863c73f3cf95613684ae197bbb5e53554f8b0da Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Fri, 29 May 2026 09:11:13 +0100 Subject: [PATCH] feat: update type generation commands to use tsgo across multiple packages Signed-off-by: Gordon Smith --- demos/gallery/package.json | 2 +- package-lock.json | 142 ++++++++++++++++++++ package.json | 1 + packages/api/package.json | 2 +- packages/chart/package.json | 2 +- packages/codemirror/package.json | 2 +- packages/common/package.json | 2 +- packages/comms/package.json | 2 +- packages/composite/package.json | 2 +- packages/dataflow/package.json | 4 +- packages/ddl-shim/package.json | 2 +- packages/dgrid/package.json | 2 +- packages/dgrid2/package.json | 2 +- packages/eclwatch/package.json | 2 +- packages/esbuild-plugins/package.json | 4 +- packages/form/package.json | 2 +- packages/graph/package.json | 2 +- packages/html/package.json | 2 +- packages/layout/package.json | 2 +- packages/map/package.json | 2 +- packages/markdown-it-plugins/package.json | 2 +- packages/marshaller/package.json | 2 +- packages/observablehq-compiler/package.json | 2 +- packages/other/package.json | 2 +- packages/phosphor/package.json | 2 +- packages/react/package.json | 2 +- packages/timeline/package.json | 2 +- packages/tree/package.json | 2 +- packages/util/package.json | 2 +- 29 files changed, 172 insertions(+), 29 deletions(-) diff --git a/demos/gallery/package.json b/demos/gallery/package.json index 97721b38b3..2822f39637 100644 --- a/demos/gallery/package.json +++ b/demos/gallery/package.json @@ -6,7 +6,7 @@ "clean": "rimraf --glob types dist *.tsbuildinfo", "bundle": "vite build", "bundle-watch": "vite --port 5500", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "gen-filejson": "node ./util/dir2json.js ./samples", "build": "npm-run-all --serial gen-filejson --parallel gen-types bundle gen-filejson", diff --git a/package-lock.json b/package-lock.json index 63af6879cf..dbc5081e30 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "@eslint/js": "10.0.1", "@types/esbuild-copy-static-files": "0.1.4", "@typescript-eslint/parser": "8.60.0", + "@typescript/native-preview": "7.0.0-dev.20260527.2", "@vitest/browser": "4.1.7", "@vitest/browser-playwright": "4.1.7", "@vitest/coverage-v8": "4.1.7", @@ -5830,6 +5831,147 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/@typescript/native-preview": { + "version": "7.0.0-dev.20260527.2", + "resolved": "https://registry.npmjs.org/@typescript/native-preview/-/native-preview-7.0.0-dev.20260527.2.tgz", + "integrity": "sha512-piqkDwikVeizCFqA1lcwI5F4wOAtBdxuliWe77ApBNRyBPPvfCJB+u/HYi9/8t5nd0sWvFs6/qt/AzJ1CCoykQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsgo": "bin/tsgo.js" + }, + "engines": { + "node": ">=16.20.0" + }, + "optionalDependencies": { + "@typescript/native-preview-darwin-arm64": "7.0.0-dev.20260527.2", + "@typescript/native-preview-darwin-x64": "7.0.0-dev.20260527.2", + "@typescript/native-preview-linux-arm": "7.0.0-dev.20260527.2", + "@typescript/native-preview-linux-arm64": "7.0.0-dev.20260527.2", + "@typescript/native-preview-linux-x64": "7.0.0-dev.20260527.2", + "@typescript/native-preview-win32-arm64": "7.0.0-dev.20260527.2", + "@typescript/native-preview-win32-x64": "7.0.0-dev.20260527.2" + } + }, + "node_modules/@typescript/native-preview-darwin-arm64": { + "version": "7.0.0-dev.20260527.2", + "resolved": "https://registry.npmjs.org/@typescript/native-preview-darwin-arm64/-/native-preview-darwin-arm64-7.0.0-dev.20260527.2.tgz", + "integrity": "sha512-3LqSu4DlxkEfeC/Z/29QMCJn5jjkDtXI7LYuxfmjdmAatS6umDKqm8J17fnP/7fyrZUMBTIYRwSDpChGV3G1ew==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/native-preview-darwin-x64": { + "version": "7.0.0-dev.20260527.2", + "resolved": "https://registry.npmjs.org/@typescript/native-preview-darwin-x64/-/native-preview-darwin-x64-7.0.0-dev.20260527.2.tgz", + "integrity": "sha512-H4+sxE9qaBbLF83wMdWE0FsgfK0Pom+/O+/oxqyGzhVkDJlNt3vfpgQZMit48/Gm44AacGfBggJ9Dhbi3aeSFw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/native-preview-linux-arm": { + "version": "7.0.0-dev.20260527.2", + "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-arm/-/native-preview-linux-arm-7.0.0-dev.20260527.2.tgz", + "integrity": "sha512-6I9Cv9ozwfS9zB9vRQDPIYseLX3artEO9jl3yVgLj4ishwlSF4cWAbIsjl5IztPaEgHv8coej/6tX1D0uaBzXg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/native-preview-linux-arm64": { + "version": "7.0.0-dev.20260527.2", + "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-arm64/-/native-preview-linux-arm64-7.0.0-dev.20260527.2.tgz", + "integrity": "sha512-BGUDMjC2Z3TTdZRkGGwhBLelkP5UYgO2rbep8aF4dS3fu7T5lFPPrnfS6EgqJgie+cF5Fsev7xEq8wWyBDM+lg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/native-preview-linux-x64": { + "version": "7.0.0-dev.20260527.2", + "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-x64/-/native-preview-linux-x64-7.0.0-dev.20260527.2.tgz", + "integrity": "sha512-vpazOu+ozlxBo8U57YJMzsOPuxAV8H7fu36KJ8ea8At/D8pdGmOAy5TuB+9OBQV9JDe0OXJMy2kmbhOpmkTAmA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/native-preview-win32-arm64": { + "version": "7.0.0-dev.20260527.2", + "resolved": "https://registry.npmjs.org/@typescript/native-preview-win32-arm64/-/native-preview-win32-arm64-7.0.0-dev.20260527.2.tgz", + "integrity": "sha512-DBFnFE3V6AITkPO1K1VxXf3yEZKjU2FwtXlNwRqhzDu0rrL2SsJHOSrBDX+OacTxQFzZMxFcpiuhV8jHZALPEg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/native-preview-win32-x64": { + "version": "7.0.0-dev.20260527.2", + "resolved": "https://registry.npmjs.org/@typescript/native-preview-win32-x64/-/native-preview-win32-x64-7.0.0-dev.20260527.2.tgz", + "integrity": "sha512-1tBlErMvQgcMqqYwsx4tytupcjCJcOUXD3vBn1Wb/kAvus1FzWQAFE0fcKBvLfcqLQfTiiEwKKEtbLjGmakqqg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=16.20.0" + } + }, "node_modules/@ungap/structured-clone": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.1.tgz", diff --git a/package.json b/package.json index dce79e347c..14fa02b2e3 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "@eslint/js": "10.0.1", "@types/esbuild-copy-static-files": "0.1.4", "@typescript-eslint/parser": "8.60.0", + "@typescript/native-preview": "7.0.0-dev.20260527.2", "@vitest/browser": "4.1.7", "@vitest/browser-playwright": "4.1.7", "@vitest/coverage-v8": "4.1.7", diff --git a/packages/api/package.json b/packages/api/package.json index 542ad00fc5..d91e807039 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/chart/package.json b/packages/chart/package.json index ad4b60512f..a4c58eae01 100644 --- a/packages/chart/package.json +++ b/packages/chart/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5500", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/codemirror/package.json b/packages/codemirror/package.json index c3b121d750..cb27ae53e5 100644 --- a/packages/codemirror/package.json +++ b/packages/codemirror/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5501", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/common/package.json b/packages/common/package.json index 8a4d0a7967..cd293d4665 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -27,7 +27,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5502", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/comms/package.json b/packages/comms/package.json index 211b5e4614..5577a42768 100644 --- a/packages/comms/package.json +++ b/packages/comms/package.json @@ -40,7 +40,7 @@ "bundle": "run-s bundle-browser bundle-node", "bundle-watch": "vite build --watch", "bundle-serve": "vite", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/composite/package.json b/packages/composite/package.json index a577ff4eb9..bbfdea0958 100644 --- a/packages/composite/package.json +++ b/packages/composite/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5503", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/dataflow/package.json b/packages/dataflow/package.json index 026cecdad4..a7ca850f4b 100644 --- a/packages/dataflow/package.json +++ b/packages/dataflow/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", @@ -34,7 +34,7 @@ "docs": "typedoc --options tdoptions.json .", "test-browser": "vitest run --project browser", "test-node": "vitest run --project node", - "test-types": "npx --yes tsc --project tsconfig.tests.json --noEmit", + "test-types": "npx --yes tsgo --project tsconfig.tests.json --noEmit", "test-vitest": "vitest run", "test": "run-s test-types test-vitest", "bench": "vitest bench", diff --git a/packages/ddl-shim/package.json b/packages/ddl-shim/package.json index 4b9dd4e4ac..a11a29f446 100644 --- a/packages/ddl-shim/package.json +++ b/packages/ddl-shim/package.json @@ -29,7 +29,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "npm-run-all --serial generate --parallel gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/dgrid/package.json b/packages/dgrid/package.json index 4ce914c795..10dd714fae 100644 --- a/packages/dgrid/package.json +++ b/packages/dgrid/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5506", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/dgrid2/package.json b/packages/dgrid2/package.json index 76f63df25c..7490dd8033 100644 --- a/packages/dgrid2/package.json +++ b/packages/dgrid2/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5507", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/eclwatch/package.json b/packages/eclwatch/package.json index 91658ecc90..b76bd72b90 100644 --- a/packages/eclwatch/package.json +++ b/packages/eclwatch/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5520", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/esbuild-plugins/package.json b/packages/esbuild-plugins/package.json index f67e288467..e993caa5ac 100644 --- a/packages/esbuild-plugins/package.json +++ b/packages/esbuild-plugins/package.json @@ -22,7 +22,7 @@ ], "scripts": { "clean": "rimraf ./dist ./types", - "build-types": "tsc --project tsconfig.json --emitDeclarationOnly", + "build-types": "tsgo --project tsconfig.json --emitDeclarationOnly", "build-types-watch": "npm run build-types -- --watch", "build-ts-dev": "esbuild ./src/index.ts --platform=node --format=esm --bundle --packages=external --sourcemap --outfile=./dist/index.js", "build-ts": "npm run build-ts-dev -- --minify", @@ -65,4 +65,4 @@ }, "homepage": "https://hpcc-systems.github.io/hpcc-js-wasm/", "license": "Apache-2.0" -} +} \ No newline at end of file diff --git a/packages/form/package.json b/packages/form/package.json index eafb6fc170..5439ac3f6e 100644 --- a/packages/form/package.json +++ b/packages/form/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5508", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/graph/package.json b/packages/graph/package.json index 79dc79b404..eb532b5416 100644 --- a/packages/graph/package.json +++ b/packages/graph/package.json @@ -26,7 +26,7 @@ "bundle-workers": "vite build -c ./workers/vite.config.ts", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5509", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/html/package.json b/packages/html/package.json index fd0690bb46..d13b90f10e 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5510", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/layout/package.json b/packages/layout/package.json index dc611fbc64..7138c97a7a 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5511", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/map/package.json b/packages/map/package.json index 640ef3d5ce..1bb5a4d8cd 100644 --- a/packages/map/package.json +++ b/packages/map/package.json @@ -27,7 +27,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5512", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/markdown-it-plugins/package.json b/packages/markdown-it-plugins/package.json index 8182d8b899..7f987c4ca6 100644 --- a/packages/markdown-it-plugins/package.json +++ b/packages/markdown-it-plugins/package.json @@ -36,7 +36,7 @@ "bundle-serve": "vite --port 5513", "bundle2": "node esbuild.js", "bundle2-watch": "npm run bundle2 -- --development --watch", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "npm-run-all --parallel gen-types bundle --serial bundle2", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/marshaller/package.json b/packages/marshaller/package.json index 48c3cfba80..9063b091d5 100644 --- a/packages/marshaller/package.json +++ b/packages/marshaller/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5520", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/observablehq-compiler/package.json b/packages/observablehq-compiler/package.json index 70e6a3c83a..4bcd2d21f0 100644 --- a/packages/observablehq-compiler/package.json +++ b/packages/observablehq-compiler/package.json @@ -46,7 +46,7 @@ "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5514", "bundle-preview": "vite preview --outDir /", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/other/package.json b/packages/other/package.json index 84ee8231f0..904db6f299 100644 --- a/packages/other/package.json +++ b/packages/other/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5515", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/phosphor/package.json b/packages/phosphor/package.json index 68eb0eaffc..116ea5a455 100644 --- a/packages/phosphor/package.json +++ b/packages/phosphor/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5516", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/react/package.json b/packages/react/package.json index ff0043f031..cb20db849b 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5517", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/timeline/package.json b/packages/timeline/package.json index c450896743..ef25daf0d1 100644 --- a/packages/timeline/package.json +++ b/packages/timeline/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5518", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/tree/package.json b/packages/tree/package.json index f2801194ac..2501117b7d 100644 --- a/packages/tree/package.json +++ b/packages/tree/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5519", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch", diff --git a/packages/util/package.json b/packages/util/package.json index aa5ea8406a..b8d94b2287 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -25,7 +25,7 @@ "bundle": "vite build", "bundle-watch": "vite build --watch", "bundle-serve": "vite --port 5523", - "gen-types": "tsc --project tsconfig.json", + "gen-types": "tsgo --project tsconfig.json", "gen-types-watch": "npm run gen-types -- --watch", "build": "run-p gen-types bundle", "watch": "run-p gen-types-watch bundle-watch",