diff --git a/package.json b/package.json index 235d760ba1..a3856f8820 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ }, "scripts": { "clean": "node -e \"fs.rmSync('dist', { recursive: true, force: true })\" && node -e \"fs.rmSync('packages/tsconfig.json', { force: true })\" && lerna exec -- \"node -e \\\"fs.rmSync('dist', { recursive: true, force: true })\\\" && node -e \\\"fs.rmSync('tsconfig.tsbuildinfo', { recursive: true, force: true })\\\" && node -e \\\"fs.rmSync('tsconfig.json', { force: true })\\\"\"", - "build": "tsgo -b packages && tsx tools/test-dist", - "build:watch": "tsgo -b packages --watch", + "build": "tsc -b packages && tsx tools/test-dist", + "build:watch": "tsc -b packages --watch", "docs": "yarn build && typedoc", "lerna:version": "./tools/version.sh", "lint:js": "oxfmt --check . && oxlint", @@ -50,7 +50,7 @@ "@types/node": "^22.10.7", "@types/semver": "^7.3.4", "@types/which": "^3.0.4", - "@typescript/native-preview": "^7.0.0-dev.20260416.2", + "@typescript/native": "npm:typescript@^7.0.0", "@yarnpkg/types": "^4.0.1", "debug": "^4.3.1", "electron": "^42.3.3", @@ -66,7 +66,7 @@ "ref-napi": "^3.0.3", "tsx": "^4.21.0", "typedoc": "~0.28.0", - "typescript": "^6.0.2", + "typescript": "npm:@typescript/typescript6@^6.0.2", "verdaccio": "^6.2.4", "vitest": "catalog:", "xvfb-maybe": "^0.2.1" diff --git a/yarn.lock b/yarn.lock index ed020db7b8..71fe9ec137 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5331,84 +5331,224 @@ __metadata: languageName: node linkType: hard -"@typescript/native-preview-darwin-arm64@npm:7.0.0-dev.20260416.2": - version: 7.0.0-dev.20260416.2 - resolution: "@typescript/native-preview-darwin-arm64@npm:7.0.0-dev.20260416.2" +"@typescript/native@npm:typescript@^7.0.0": + version: 7.0.2 + resolution: "typescript@npm:7.0.2" + dependencies: + "@typescript/typescript-aix-ppc64": "npm:7.0.2" + "@typescript/typescript-darwin-arm64": "npm:7.0.2" + "@typescript/typescript-darwin-x64": "npm:7.0.2" + "@typescript/typescript-freebsd-arm64": "npm:7.0.2" + "@typescript/typescript-freebsd-x64": "npm:7.0.2" + "@typescript/typescript-linux-arm": "npm:7.0.2" + "@typescript/typescript-linux-arm64": "npm:7.0.2" + "@typescript/typescript-linux-loong64": "npm:7.0.2" + "@typescript/typescript-linux-mips64el": "npm:7.0.2" + "@typescript/typescript-linux-ppc64": "npm:7.0.2" + "@typescript/typescript-linux-riscv64": "npm:7.0.2" + "@typescript/typescript-linux-s390x": "npm:7.0.2" + "@typescript/typescript-linux-x64": "npm:7.0.2" + "@typescript/typescript-netbsd-arm64": "npm:7.0.2" + "@typescript/typescript-netbsd-x64": "npm:7.0.2" + "@typescript/typescript-openbsd-arm64": "npm:7.0.2" + "@typescript/typescript-openbsd-x64": "npm:7.0.2" + "@typescript/typescript-sunos-x64": "npm:7.0.2" + "@typescript/typescript-win32-arm64": "npm:7.0.2" + "@typescript/typescript-win32-x64": "npm:7.0.2" + dependenciesMeta: + "@typescript/typescript-aix-ppc64": + optional: true + "@typescript/typescript-darwin-arm64": + optional: true + "@typescript/typescript-darwin-x64": + optional: true + "@typescript/typescript-freebsd-arm64": + optional: true + "@typescript/typescript-freebsd-x64": + optional: true + "@typescript/typescript-linux-arm": + optional: true + "@typescript/typescript-linux-arm64": + optional: true + "@typescript/typescript-linux-loong64": + optional: true + "@typescript/typescript-linux-mips64el": + optional: true + "@typescript/typescript-linux-ppc64": + optional: true + "@typescript/typescript-linux-riscv64": + optional: true + "@typescript/typescript-linux-s390x": + optional: true + "@typescript/typescript-linux-x64": + optional: true + "@typescript/typescript-netbsd-arm64": + optional: true + "@typescript/typescript-netbsd-x64": + optional: true + "@typescript/typescript-openbsd-arm64": + optional: true + "@typescript/typescript-openbsd-x64": + optional: true + "@typescript/typescript-sunos-x64": + optional: true + "@typescript/typescript-win32-arm64": + optional: true + "@typescript/typescript-win32-x64": + optional: true + bin: + tsc: bin/tsc + checksum: 10c0/3dcee51ec8c332492325bcdbf7df48b66668751f127e622ae7d41b6c716eb19184424a45e14f7750f50f340232388b69e6287859155f06a5ce2df76f12cb31cf + languageName: node + linkType: hard + +"@typescript/old@npm:typescript@^6": + version: 6.0.3 + resolution: "typescript@npm:6.0.3" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/4a25ff5045b984370f48f196b3a0120779b1b343d40b9a68d114ea5e5fff099809b2bb777576991a63a5cd59cf7bffd96ff6fe10afcefbcb8bd6fb96ad4b6606 + 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" + conditions: os=aix & cpu=ppc64 + languageName: node + linkType: hard + +"@typescript/typescript-darwin-arm64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-darwin-arm64@npm:7.0.2" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@typescript/native-preview-darwin-x64@npm:7.0.0-dev.20260416.2": - version: 7.0.0-dev.20260416.2 - resolution: "@typescript/native-preview-darwin-x64@npm:7.0.0-dev.20260416.2" +"@typescript/typescript-darwin-x64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-darwin-x64@npm:7.0.2" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@typescript/native-preview-linux-arm64@npm:7.0.0-dev.20260416.2": - version: 7.0.0-dev.20260416.2 - resolution: "@typescript/native-preview-linux-arm64@npm:7.0.0-dev.20260416.2" +"@typescript/typescript-freebsd-arm64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-freebsd-arm64@npm:7.0.2" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"@typescript/typescript-freebsd-x64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-freebsd-x64@npm:7.0.2" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@typescript/typescript-linux-arm64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-linux-arm64@npm:7.0.2" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"@typescript/native-preview-linux-arm@npm:7.0.0-dev.20260416.2": - version: 7.0.0-dev.20260416.2 - resolution: "@typescript/native-preview-linux-arm@npm:7.0.0-dev.20260416.2" +"@typescript/typescript-linux-arm@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-linux-arm@npm:7.0.2" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@typescript/native-preview-linux-x64@npm:7.0.0-dev.20260416.2": - version: 7.0.0-dev.20260416.2 - resolution: "@typescript/native-preview-linux-x64@npm:7.0.0-dev.20260416.2" +"@typescript/typescript-linux-loong64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-linux-loong64@npm:7.0.2" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + +"@typescript/typescript-linux-mips64el@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-linux-mips64el@npm:7.0.2" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + +"@typescript/typescript-linux-ppc64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-linux-ppc64@npm:7.0.2" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + +"@typescript/typescript-linux-riscv64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-linux-riscv64@npm:7.0.2" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + +"@typescript/typescript-linux-s390x@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-linux-s390x@npm:7.0.2" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + +"@typescript/typescript-linux-x64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-linux-x64@npm:7.0.2" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"@typescript/native-preview-win32-arm64@npm:7.0.0-dev.20260416.2": - version: 7.0.0-dev.20260416.2 - resolution: "@typescript/native-preview-win32-arm64@npm:7.0.0-dev.20260416.2" - conditions: os=win32 & cpu=arm64 +"@typescript/typescript-netbsd-arm64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-netbsd-arm64@npm:7.0.2" + conditions: os=netbsd & cpu=arm64 languageName: node linkType: hard -"@typescript/native-preview-win32-x64@npm:7.0.0-dev.20260416.2": - version: 7.0.0-dev.20260416.2 - resolution: "@typescript/native-preview-win32-x64@npm:7.0.0-dev.20260416.2" - conditions: os=win32 & cpu=x64 +"@typescript/typescript-netbsd-x64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-netbsd-x64@npm:7.0.2" + conditions: os=netbsd & cpu=x64 languageName: node linkType: hard -"@typescript/native-preview@npm:^7.0.0-dev.20260416.2": - version: 7.0.0-dev.20260416.2 - resolution: "@typescript/native-preview@npm:7.0.0-dev.20260416.2" - dependencies: - "@typescript/native-preview-darwin-arm64": "npm:7.0.0-dev.20260416.2" - "@typescript/native-preview-darwin-x64": "npm:7.0.0-dev.20260416.2" - "@typescript/native-preview-linux-arm": "npm:7.0.0-dev.20260416.2" - "@typescript/native-preview-linux-arm64": "npm:7.0.0-dev.20260416.2" - "@typescript/native-preview-linux-x64": "npm:7.0.0-dev.20260416.2" - "@typescript/native-preview-win32-arm64": "npm:7.0.0-dev.20260416.2" - "@typescript/native-preview-win32-x64": "npm:7.0.0-dev.20260416.2" - 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/d11c852486cad44094d204ab9cb5af1671fb3142387983fec2fbdf357ab768ee7711f303e7dcc32289716bec567ea19e8fd23a0fddf1dfa21038d5ee04b10d89 +"@typescript/typescript-openbsd-arm64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-openbsd-arm64@npm:7.0.2" + conditions: os=openbsd & cpu=arm64 + languageName: node + linkType: hard + +"@typescript/typescript-openbsd-x64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-openbsd-x64@npm:7.0.2" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + +"@typescript/typescript-sunos-x64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-sunos-x64@npm:7.0.2" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + +"@typescript/typescript-win32-arm64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-win32-arm64@npm:7.0.2" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@typescript/typescript-win32-x64@npm:7.0.2": + version: 7.0.2 + resolution: "@typescript/typescript-win32-x64@npm:7.0.2" + conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -8305,7 +8445,7 @@ __metadata: "@types/node": "npm:^22.10.7" "@types/semver": "npm:^7.3.4" "@types/which": "npm:^3.0.4" - "@typescript/native-preview": "npm:^7.0.0-dev.20260416.2" + "@typescript/native": "npm:typescript@^7.0.0" "@yarnpkg/types": "npm:^4.0.1" debug: "npm:^4.3.1" electron: "npm:^42.3.3" @@ -8329,7 +8469,7 @@ __metadata: ref-napi: "npm:^3.0.3" tsx: "npm:^4.21.0" typedoc: "npm:~0.28.0" - typescript: "npm:^6.0.2" + typescript: "npm:@typescript/typescript6@^6.0.2" verdaccio: "npm:^6.2.4" vitest: "catalog:" xvfb-maybe: "npm:^0.2.1" @@ -17905,13 +18045,14 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^6.0.2": +"typescript@npm:@typescript/typescript6@^6.0.2": version: 6.0.2 - resolution: "typescript@npm:6.0.2" + resolution: "@typescript/typescript6@npm:6.0.2" + dependencies: + "@typescript/old": "npm:typescript@^6" bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10c0/4b860b0bf87cc0fee0f66d8ef2640b5a8a8a8c74d1129adb82e389e5f97124383823c47946bef8a73ede371461143a3aa8544399d2133c7b2e4f07e81860af7f + tsc6: bin/tsc6 + checksum: 10c0/0c6e5c1c3a61b79f2bc61506feb82f8ce54275b2af1aebc3dd9310d7f57b1de2aca40256d018cf736c524152ae4a731f5810ff7cd028d565158d53368e681af2 languageName: node linkType: hard @@ -17925,13 +18066,14 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^6.0.2#optional!builtin": +"typescript@patch:typescript@npm%3A@typescript/typescript6@^6.0.2#optional!builtin": version: 6.0.2 - resolution: "typescript@patch:typescript@npm%3A6.0.2#optional!builtin::version=6.0.2&hash=5786d5" + resolution: "typescript@patch:@typescript/typescript6@npm%3A6.0.2#optional!builtin::version=6.0.2&hash=5786d5" + dependencies: + "@typescript/old": "npm:typescript@^6" bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10c0/49f0b84fc6ca55653e77752b8a61beabc09ee3dae5d965c31596225aa6ef213c5727b1d2e895b900416dc603854ba0872ac4a812c2a4ed6793a601f9c675de02 + tsc6: bin/tsc6 + checksum: 10c0/ba91bd03aaf52617b757d8f186f5559587159f7984cc188f51435cf0cd36b7fc750825409db62d7f62ab22e292c41422e2c25b4b763b6a05e1dbde8c2ba93c3f languageName: node linkType: hard