diff --git a/bun.lock b/bun.lock index ab0a685139..dae27964d8 100644 --- a/bun.lock +++ b/bun.lock @@ -7,10 +7,11 @@ "devDependencies": { "@biomejs/biome": "^2.4.16", "@typescript/native-preview": "7.0.0-dev.20260624.1", + "@typescript/typescript6": "6.0.2", "dotenv-cli": "^11.0.0", "fast-xml-parser": "^5.11.2", "turbo": "^2.9.17", - "typescript": "6.0.3", + "typescript": "7.0.2", "ultracite": "^7.8.2", }, "optionalDependencies": { @@ -116,7 +117,7 @@ "devDependencies": { "@pascal/typescript-config": "*", "@types/node": "^22.19.20", - "typescript": "6.0.3", + "typescript": "7.0.2", }, }, "packages/core": { @@ -138,8 +139,9 @@ "@types/bun": "^1.4.2", "@types/react": "19.3.0", "@types/three": "^0.184.0", + "@typescript/typescript6": "6.0.2", "fake-indexeddb": "^6.2.5", - "typescript": "6.0.3", + "typescript": "7.0.2", }, "peerDependencies": { "@react-three/drei": "^10", @@ -204,7 +206,7 @@ "@types/react-dom": "19.3.0", "@types/three": "^0.184.0", "fast-xml-parser": "^5.11.2", - "typescript": "6.0.3", + "typescript": "7.0.2", }, "peerDependencies": { "@pascal-app/core": "^1.0.4", @@ -245,7 +247,7 @@ "@pascal/typescript-config": "*", "@types/bun": "^1.4.2", "@types/three": "^0.184.0", - "typescript": "6.0.3", + "typescript": "7.0.2", }, "peerDependencies": { "three": "^0.186", @@ -261,7 +263,7 @@ "devDependencies": { "@pascal/typescript-config": "*", "@types/bun": "^1.4.2", - "typescript": "6.0.3", + "typescript": "7.0.2", }, }, "packages/mcp": { @@ -280,7 +282,7 @@ "@pascal-app/core": "^1.0.4", "@pascal/typescript-config": "*", "@types/node": "^22.19.20", - "typescript": "6.0.3", + "typescript": "7.0.2", }, "peerDependencies": { "@pascal-app/core": "^1.0.4", @@ -300,7 +302,7 @@ "@types/react": "19.3.0", "@types/react-dom": "19.3.0", "@types/three": "^0.184.0", - "typescript": "6.0.3", + "typescript": "7.0.2", }, "peerDependencies": { "@pascal-app/core": "^1.0.4", @@ -333,7 +335,7 @@ "@types/react": "19.3.0", "@types/react-dom": "19.3.0", "eslint": "^9.39.1", - "typescript": "6.0.3", + "typescript": "7.0.2", }, }, "packages/viewer": { @@ -352,7 +354,7 @@ "@types/react": "19.3.0", "@types/react-dom": "19.3.0", "@types/three": "^0.184.0", - "typescript": "6.0.3", + "typescript": "7.0.2", }, "peerDependencies": { "@pascal-app/core": "^1.0.4", @@ -1052,6 +1054,8 @@ "@typescript/native-preview-win32-x64": ["@typescript/native-preview-win32-x64@7.0.0-dev.20260624.1", "", { "os": "win32", "cpu": "x64" }, "sha512-WaZ+ue63NgB2j/lqjirfevh/TqcsCxSqnKhGGiRnlxHyYIBcoq+x7KngyEnyGIaywJE1PcFeXA+2EMSIPlSEiQ=="], + "@typescript/old": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="], + "@typescript/typescript-aix-ppc64": ["@typescript/typescript-aix-ppc64@7.0.2", "", { "os": "aix", "cpu": "ppc64" }, "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ=="], "@typescript/typescript-darwin-arm64": ["@typescript/typescript-darwin-arm64@7.0.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA=="], @@ -1092,6 +1096,8 @@ "@typescript/typescript-win32-x64": ["@typescript/typescript-win32-x64@7.0.2", "", { "os": "win32", "cpu": "x64" }, "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g=="], + "@typescript/typescript6": ["@typescript/typescript6@6.0.2", "", { "dependencies": { "@typescript/old": "npm:typescript@^6" }, "bin": { "tsc6": "bin/tsc6" } }, "sha512-mbCddXd+jm7hfx7w2YU64/Av4/NqqeG3GoRZgxPcgoTxYjhrcfJRw9ULch71SS4G+Q3bOXFhRvPqjguN0Hyp5w=="], + "@use-gesture/core": ["@use-gesture/core@10.3.1", "", {}, "sha512-WcINiDt8WjqBdUXye25anHiNxPc0VOrlT8F6LLkU6cycrOGUDyY/yyFmsg3k8i5OLvv25llc0QC45GhR/C8llw=="], "@use-gesture/react": ["@use-gesture/react@10.3.1", "", { "dependencies": { "@use-gesture/core": "10.3.1" }, "peerDependencies": { "react": ">= 16.8.0" } }, "sha512-Yy19y6O2GJq8f7CHf7L0nxL8bf4PZCPaVOCgJrusOeFHY1LvHgYXnmnXg6N5iwAnbgbZCDjo60SiM6IPJi9C5g=="], @@ -2056,7 +2062,7 @@ "typed-array-length": ["typed-array-length@1.0.8", "", { "dependencies": { "call-bind": "^1.0.9", "for-each": "^0.3.5", "gopd": "^1.2.0", "is-typed-array": "^1.1.15", "possible-typed-array-names": "^1.1.0", "reflect.getprototypeof": "^1.0.10" } }, "sha512-phPGCwqr2+Qo0fwniCE8e4pKnGu/yFb5nD5Y8bf0EEeiI5GklnACYA9GFy/DrAeRrKHXvHn+1SUsOWgJp6RO+g=="], - "typescript": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="], + "typescript": ["typescript@7.0.2", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="], "typescript-eslint": ["typescript-eslint@8.61.0", "", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.61.0", "@typescript-eslint/parser": "8.61.0", "@typescript-eslint/typescript-estree": "8.61.0", "@typescript-eslint/utils": "8.61.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-8y31Rd0eGTrDKqhy6vT0HtzhN+YLjQizwX3aA3hPXP/ynSfnrBXcQY5IzsP9/DM7+klX4IUncZZjkchP0z+rUw=="], @@ -2180,6 +2186,8 @@ "@react-three/xr/zustand": ["zustand@4.5.7", "", { "dependencies": { "use-sync-external-store": "^1.2.2" }, "peerDependencies": { "@types/react": ">=16.8", "immer": ">=9.0.6", "react": ">=16.8" }, "optionalPeers": ["@types/react", "immer", "react"] }, "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw=="], + "@repo/eslint-config/typescript": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="], + "@tailwindcss/oxide-wasm32-wasi/@emnapi/core": ["@emnapi/core@1.11.0", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.2", "tslib": "^2.4.0" }, "bundled": true }, "sha512-l9Oo58x0HOP5znGzVhYW9U3e5wVuA4LAZU2AGezTmkhO1CgQRFDhDg4nneHsu/t3WniXg9QrG2nIXL/ZS8ln8Q=="], "@tailwindcss/oxide-wasm32-wasi/@emnapi/runtime": ["@emnapi/runtime@1.11.0", "", { "dependencies": { "tslib": "^2.4.0" }, "bundled": true }, "sha512-55coeOFKHv1ywEcUXJtWU5f+Jr/W5tZDvZig8DLKSwUN1JpROQ4rk/SNOQiFWmaR/VKF4zuFyW1B8JduOSv6Pg=="], @@ -2212,12 +2220,12 @@ "deslop-js/minimatch": ["minimatch@10.2.5", "", { "dependencies": { "brace-expansion": "^5.0.5" } }, "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg=="], + "deslop-js/typescript": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="], + "dotenv-expand/dotenv": ["dotenv@16.6.1", "", {}, "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow=="], "dprint-node/detect-libc": ["detect-libc@1.0.3", "", { "bin": { "detect-libc": "./bin/detect-libc.js" } }, "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg=="], - "editor/typescript": ["typescript@7.0.2", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="], - "eslint/ajv": ["ajv@6.15.0", "", { "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" } }, "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw=="], "eslint-plugin-turbo/dotenv": ["dotenv@16.0.3", "", {}, "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ=="], @@ -2228,8 +2236,6 @@ "glob/minimatch": ["minimatch@10.2.5", "", { "dependencies": { "brace-expansion": "^5.0.5" } }, "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg=="], - "ifc-converter-app/typescript": ["typescript@7.0.2", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="], - "linebreak/base64-js": ["base64-js@0.0.8", "", {}, "sha512-3XSA2cR/h/73EzlXXdU6YNycmYI7+kicTxks4eJg2g39biHR84slg2+des+p7iHYhbRg/udIS4TD53WabcOUkw=="], "manifold-3d/commander": ["commander@13.1.0", "", {}, "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw=="], @@ -2254,6 +2260,8 @@ "react-doctor/eslint-plugin-react-hooks": ["eslint-plugin-react-hooks@7.1.1", "", { "dependencies": { "@babel/core": "^7.24.4", "@babel/parser": "^7.24.4", "hermes-parser": "^0.25.1", "zod": "^3.25.0 || ^4.0.0", "zod-validation-error": "^3.5.0 || ^4.0.0" }, "peerDependencies": { "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 || ^10.0.0" } }, "sha512-f2I7Gw6JbvCexzIInuSbZpfdQ44D7iqdWX01FKLvrPgqxoE7oMj8clOfto8U6vYiz4yd5oKu39rRSVOe1zRu0g=="], + "react-doctor/typescript": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="], + "react-scan/bippy": ["bippy@0.5.41", "", { "peerDependencies": { "react": ">=17.0.1" } }, "sha512-jCP2pXXLhXqPrAN+iSEFZmLI4uUM4fjSqajh0K+TmM062VehfDT3ZJNkrTGyN701Z5XMejs9qAudSqkMGhSMKg=="], "react-scan/commander": ["commander@14.0.3", "", {}, "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw=="], diff --git a/package.json b/package.json index 0c2ff91eea..0c6e91a123 100644 --- a/package.json +++ b/package.json @@ -28,10 +28,11 @@ "devDependencies": { "@biomejs/biome": "^2.4.16", "@typescript/native-preview": "7.0.0-dev.20260624.1", + "@typescript/typescript6": "6.0.2", "dotenv-cli": "^11.0.0", "fast-xml-parser": "^5.11.2", "turbo": "^2.9.17", - "typescript": "6.0.3", + "typescript": "7.0.2", "ultracite": "^7.8.2" }, "engines": { diff --git a/packages/cli/package.json b/packages/cli/package.json index a695225193..0074e519a5 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@pascal/typescript-config": "*", "@types/node": "^22.19.20", - "typescript": "6.0.3" + "typescript": "7.0.2" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.30.0" diff --git a/packages/core/package.json b/packages/core/package.json index 3b4784546f..7334a255fe 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -143,8 +143,9 @@ "@types/bun": "^1.4.2", "@types/react": "19.3.0", "@types/three": "^0.184.0", + "@typescript/typescript6": "6.0.2", "fake-indexeddb": "^6.2.5", - "typescript": "6.0.3" + "typescript": "7.0.2" }, "keywords": [ "3d", diff --git a/packages/core/src/contracts/metadata-scan.ts b/packages/core/src/contracts/metadata-scan.ts index 2eb626027c..1fa5769d07 100644 --- a/packages/core/src/contracts/metadata-scan.ts +++ b/packages/core/src/contracts/metadata-scan.ts @@ -1,6 +1,6 @@ import * as nodeFs from 'node:fs' import path from 'node:path' -import ts from 'typescript' +import ts from '@typescript/typescript6' /** * Metadata keys a source file reads or writes (R3 coverage for `metadata.*`, diff --git a/packages/editor/package.json b/packages/editor/package.json index 1cd4fa24f1..0470a26988 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -77,7 +77,7 @@ "@types/react-dom": "19.3.0", "@types/three": "^0.184.0", "fast-xml-parser": "^5.11.2", - "typescript": "6.0.3" + "typescript": "7.0.2" }, "repository": { "type": "git", diff --git a/packages/geometry-script/package.json b/packages/geometry-script/package.json index d824de669d..e034ce5326 100644 --- a/packages/geometry-script/package.json +++ b/packages/geometry-script/package.json @@ -55,7 +55,7 @@ "@pascal/typescript-config": "*", "@types/bun": "^1.4.2", "@types/three": "^0.184.0", - "typescript": "6.0.3" + "typescript": "7.0.2" }, "repository": { "type": "git", diff --git a/packages/ifc-converter/package.json b/packages/ifc-converter/package.json index 5213051a6c..437dbfc1d0 100644 --- a/packages/ifc-converter/package.json +++ b/packages/ifc-converter/package.json @@ -34,7 +34,7 @@ "devDependencies": { "@pascal/typescript-config": "*", "@types/bun": "^1.4.2", - "typescript": "6.0.3" + "typescript": "7.0.2" }, "repository": { "type": "git", diff --git a/packages/mcp/package.json b/packages/mcp/package.json index 24ba8180fb..e2fd2442b7 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -73,7 +73,7 @@ "@pascal-app/core": "^1.0.4", "@pascal/typescript-config": "*", "@types/node": "^22.19.20", - "typescript": "6.0.3" + "typescript": "7.0.2" }, "keywords": [ "mcp", diff --git a/packages/nodes/package.json b/packages/nodes/package.json index 8c19459a57..b2f0b4ab94 100644 --- a/packages/nodes/package.json +++ b/packages/nodes/package.json @@ -50,7 +50,7 @@ "@types/react": "19.3.0", "@types/react-dom": "19.3.0", "@types/three": "^0.184.0", - "typescript": "6.0.3" + "typescript": "7.0.2" }, "keywords": [ "pascal", diff --git a/packages/ui/package.json b/packages/ui/package.json index 68aee16018..6e234d5691 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -17,7 +17,7 @@ "@types/react": "19.3.0", "@types/react-dom": "19.3.0", "eslint": "^9.39.1", - "typescript": "6.0.3" + "typescript": "7.0.2" }, "dependencies": { "react": "19.3.0", diff --git a/packages/viewer/package.json b/packages/viewer/package.json index 5d5d75e2cc..2726a723ca 100644 --- a/packages/viewer/package.json +++ b/packages/viewer/package.json @@ -53,7 +53,7 @@ "@types/react": "19.3.0", "@types/react-dom": "19.3.0", "@types/three": "^0.184.0", - "typescript": "6.0.3" + "typescript": "7.0.2" }, "keywords": [ "3d", diff --git a/scripts/fix-node-esm-imports.ts b/scripts/fix-node-esm-imports.ts index 402f01508d..0bd2e460a6 100644 --- a/scripts/fix-node-esm-imports.ts +++ b/scripts/fix-node-esm-imports.ts @@ -1,6 +1,6 @@ import { existsSync, readdirSync, readFileSync, writeFileSync } from 'node:fs' import { dirname, join, resolve } from 'node:path' -import ts from 'typescript' +import ts from '@typescript/typescript6' const distDir = resolve(process.cwd(), process.argv[2] ?? 'dist')