diff --git a/package-lock.json b/package-lock.json index 53be174afa..005c1b868a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ ], "devDependencies": { "@types/esbuild-copy-static-files": "0.1.4", - "@typescript-eslint/parser": "8.57.0", + "@typescript-eslint/parser": "8.57.2", "@vitest/browser": "3.2.4", "@vitest/coverage-v8": "3.2.4", "cross-env": "10.1.0", @@ -24,7 +24,7 @@ "npm-run-all": "4.1.5", "playwright": "1.58.2", "rimraf": "6.1.3", - "typescript": "5.9.3", + "typescript": "6.0.2", "typescript-eslint": "8.57.0", "vite": "7.3.1", "vitepress": "1.6.4", @@ -747,6 +747,7 @@ }, "node_modules/@clack/prompts/node_modules/is-unicode-supported": { "version": "1.3.0", + "extraneous": true, "inBundle": true, "license": "MIT", "engines": { @@ -3916,6 +3917,20 @@ "dev": true, "license": "ISC" }, + "node_modules/@observablehq/notebook-kit/node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/@observablehq/parser": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/@observablehq/parser/-/parser-6.1.0.tgz", @@ -5802,56 +5817,17 @@ "dev": true, "license": "MIT" }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.57.0.tgz", - "integrity": "sha512-qeu4rTHR3/IaFORbD16gmjq9+rEs9fGKdX0kF6BKSfi+gCuG3RCKLlSBYzn/bGsY9Tj7KE/DAQStbp8AHJGHEQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.57.0", - "@typescript-eslint/type-utils": "8.57.0", - "@typescript-eslint/utils": "8.57.0", - "@typescript-eslint/visitor-keys": "8.57.0", - "ignore": "^7.0.5", - "natural-compare": "^1.4.0", - "ts-api-utils": "^2.4.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^8.57.0", - "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", - "typescript": ">=4.8.4 <6.0.0" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", - "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, "node_modules/@typescript-eslint/parser": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.57.0.tgz", - "integrity": "sha512-XZzOmihLIr8AD1b9hL9ccNMzEMWt/dE2u7NyTY9jJG6YNiNthaD5XtUHVF2uCXZ15ng+z2hT3MVuxnUYhq6k1g==", + "version": "8.57.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.57.2.tgz", + "integrity": "sha512-30ScMRHIAD33JJQkgfGW1t8CURZtjc2JpTrq5n2HFhOefbAhb7ucc7xJwdWcrEtqUIYJ73Nybpsggii6GtAHjA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.57.0", - "@typescript-eslint/types": "8.57.0", - "@typescript-eslint/typescript-estree": "8.57.0", - "@typescript-eslint/visitor-keys": "8.57.0", + "@typescript-eslint/scope-manager": "8.57.2", + "@typescript-eslint/types": "8.57.2", + "@typescript-eslint/typescript-estree": "8.57.2", + "@typescript-eslint/visitor-keys": "8.57.2", "debug": "^4.4.3" }, "engines": { @@ -5866,16 +5842,22 @@ "typescript": ">=4.8.4 <6.0.0" } }, - "node_modules/@typescript-eslint/project-service": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.57.0.tgz", - "integrity": "sha512-pR+dK0BlxCLxtWfaKQWtYr7MhKmzqZxuii+ZjuFlZlIGRZm22HnXFqa2eY+90MUz8/i80YJmzFGDUsi8dMOV5w==", + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.57.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.57.2.tgz", + "integrity": "sha512-2MKM+I6g8tJxfSmFKOnHv2t8Sk3T6rF20A1Puk0svLK+uVapDZB/4pfAeB7nE83uAZrU6OxW+HmOd5wHVdXwXA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.57.0", - "@typescript-eslint/types": "^8.57.0", - "debug": "^4.4.3" + "@typescript-eslint/project-service": "8.57.2", + "@typescript-eslint/tsconfig-utils": "8.57.2", + "@typescript-eslint/types": "8.57.2", + "@typescript-eslint/visitor-keys": "8.57.2", + "debug": "^4.4.3", + "minimatch": "^10.2.2", + "semver": "^7.7.3", + "tinyglobby": "^0.2.15", + "ts-api-utils": "^2.4.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -5888,33 +5870,20 @@ "typescript": ">=4.8.4 <6.0.0" } }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.57.0.tgz", - "integrity": "sha512-nvExQqAHF01lUM66MskSaZulpPL5pgy5hI5RfrxviLgzZVffB5yYzw27uK/ft8QnKXI2X0LBrHJFr1TaZtAibw==", + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/project-service": { + "version": "8.57.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.57.2.tgz", + "integrity": "sha512-FuH0wipFywXRTHf+bTTjNyuNQQsQC3qh/dYzaM4I4W0jrCqjCVuUh99+xd9KamUfmCGPvbO8NDngo/vsnNVqgw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.57.0", - "@typescript-eslint/visitor-keys": "8.57.0" + "@typescript-eslint/tsconfig-utils": "^8.57.2", + "@typescript-eslint/types": "^8.57.2", + "debug": "^4.4.3" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.57.0.tgz", - "integrity": "sha512-LtXRihc5ytjJIQEH+xqjB0+YgsV4/tW35XKX3GTZHpWtcC8SPkT/d4tqdf1cKtesryHm2bgp6l555NYcT2NLvA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" @@ -5923,19 +5892,12 @@ "typescript": ">=4.8.4 <6.0.0" } }, - "node_modules/@typescript-eslint/type-utils": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.57.0.tgz", - "integrity": "sha512-yjgh7gmDcJ1+TcEg8x3uWQmn8ifvSupnPfjP21twPKrDP/pTHlEQgmKcitzF/rzPSmv7QjJ90vRpN4U+zoUjwQ==", + "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.57.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.57.2.tgz", + "integrity": "sha512-3Lm5DSM+DCowsUOJC+YqHHnKEfFh5CoGkj5Z31NQSNF4l5wdOwqGn99wmwN/LImhfY3KJnmordBq/4+VDe2eKw==", "dev": true, "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "8.57.0", - "@typescript-eslint/typescript-estree": "8.57.0", - "@typescript-eslint/utils": "8.57.0", - "debug": "^4.4.3", - "ts-api-utils": "^2.4.0" - }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -5944,40 +5906,18 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.0.0" } }, - "node_modules/@typescript-eslint/types": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.57.0.tgz", - "integrity": "sha512-dTLI8PEXhjUC7B9Kre+u0XznO696BhXcTlOn0/6kf1fHaQW8+VjJAVHJ3eTI14ZapTxdkOmc80HblPQLaEeJdg==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.57.0.tgz", - "integrity": "sha512-m7faHcyVg0BT3VdYTlX8GdJEM7COexXxS6KqGopxdtkQRvBanK377QDHr4W/vIPAR+ah9+B/RclSW5ldVniO1Q==", + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.57.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.57.2.tgz", + "integrity": "sha512-snZKH+W4WbWkrBqj4gUNRIGb/jipDW3qMqVJ4C9rzdFc+wLwruxk+2a5D+uoFcKPAqyqEnSb4l2ULuZf95eSkw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.57.0", - "@typescript-eslint/tsconfig-utils": "8.57.0", - "@typescript-eslint/types": "8.57.0", - "@typescript-eslint/visitor-keys": "8.57.0", - "debug": "^4.4.3", - "minimatch": "^10.2.2", - "semver": "^7.7.3", - "tinyglobby": "^0.2.15", - "ts-api-utils": "^2.4.0" + "@typescript-eslint/types": "8.57.2", + "@typescript-eslint/visitor-keys": "8.57.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -5985,43 +5925,30 @@ "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "typescript": ">=4.8.4 <6.0.0" } }, - "node_modules/@typescript-eslint/utils": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.57.0.tgz", - "integrity": "sha512-5iIHvpD3CZe06riAsbNxxreP+MuYgVUsV0n4bwLH//VJmgtt54sQeY2GszntJ4BjYCpMzrfVh2SBnUQTtys2lQ==", + "node_modules/@typescript-eslint/types": { + "version": "8.57.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.57.2.tgz", + "integrity": "sha512-/iZM6FnM4tnx9csuTxspMW4BOSegshwX5oBDznJ7S4WggL7Vczz5d2W11ecc4vRrQMQHXRSxzrCsyG5EsPPTbA==", "dev": true, "license": "MIT", - "dependencies": { - "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.57.0", - "@typescript-eslint/types": "8.57.0", - "@typescript-eslint/typescript-estree": "8.57.0" - }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", - "typescript": ">=4.8.4 <6.0.0" } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.57.0.tgz", - "integrity": "sha512-zm6xx8UT/Xy2oSr2ZXD0pZo7Jx2XsCoID2IUh9YSTFRu7z+WdwYTRk6LhUftm1crwqbuoF6I8zAFeCMw0YjwDg==", + "version": "8.57.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.57.2.tgz", + "integrity": "sha512-zhahknjobV2FiD6Ee9iLbS7OV9zi10rG26odsQdfBO/hjSzUQbkIYgda+iNKK1zNiW2ey+Lf8MU5btN17V3dUw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.57.0", + "@typescript-eslint/types": "8.57.2", "eslint-visitor-keys": "^5.0.0" }, "engines": { @@ -10936,9 +10863,9 @@ "peer": true }, "node_modules/flatted": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.1.tgz", - "integrity": "sha512-IxfVbRFVlV8V/yRaGzk0UVIcsKKHMSfYw66T/u4nTwlWteQePsxe//LjudR1AMX4tZW3WFCh3Zqa/sjlqpbURQ==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", + "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", "dev": true, "license": "ISC" }, @@ -13671,6 +13598,20 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, + "node_modules/lerna/node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -19519,9 +19460,9 @@ "license": "MIT" }, "node_modules/typescript": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", - "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.2.tgz", + "integrity": "sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==", "dev": true, "license": "Apache-2.0", "bin": { @@ -19556,6 +19497,236 @@ "typescript": ">=4.8.4 <6.0.0" } }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.57.0.tgz", + "integrity": "sha512-qeu4rTHR3/IaFORbD16gmjq9+rEs9fGKdX0kF6BKSfi+gCuG3RCKLlSBYzn/bGsY9Tj7KE/DAQStbp8AHJGHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.12.2", + "@typescript-eslint/scope-manager": "8.57.0", + "@typescript-eslint/type-utils": "8.57.0", + "@typescript-eslint/utils": "8.57.0", + "@typescript-eslint/visitor-keys": "8.57.0", + "ignore": "^7.0.5", + "natural-compare": "^1.4.0", + "ts-api-utils": "^2.4.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.57.0", + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.0.0" + } + }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/type-utils": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.57.0.tgz", + "integrity": "sha512-yjgh7gmDcJ1+TcEg8x3uWQmn8ifvSupnPfjP21twPKrDP/pTHlEQgmKcitzF/rzPSmv7QjJ90vRpN4U+zoUjwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.57.0", + "@typescript-eslint/typescript-estree": "8.57.0", + "@typescript-eslint/utils": "8.57.0", + "debug": "^4.4.3", + "ts-api-utils": "^2.4.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.0.0" + } + }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/parser": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.57.0.tgz", + "integrity": "sha512-XZzOmihLIr8AD1b9hL9ccNMzEMWt/dE2u7NyTY9jJG6YNiNthaD5XtUHVF2uCXZ15ng+z2hT3MVuxnUYhq6k1g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/scope-manager": "8.57.0", + "@typescript-eslint/types": "8.57.0", + "@typescript-eslint/typescript-estree": "8.57.0", + "@typescript-eslint/visitor-keys": "8.57.0", + "debug": "^4.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.0.0" + } + }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/scope-manager": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.57.0.tgz", + "integrity": "sha512-nvExQqAHF01lUM66MskSaZulpPL5pgy5hI5RfrxviLgzZVffB5yYzw27uK/ft8QnKXI2X0LBrHJFr1TaZtAibw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.57.0", + "@typescript-eslint/visitor-keys": "8.57.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/types": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.57.0.tgz", + "integrity": "sha512-dTLI8PEXhjUC7B9Kre+u0XznO696BhXcTlOn0/6kf1fHaQW8+VjJAVHJ3eTI14ZapTxdkOmc80HblPQLaEeJdg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.57.0.tgz", + "integrity": "sha512-m7faHcyVg0BT3VdYTlX8GdJEM7COexXxS6KqGopxdtkQRvBanK377QDHr4W/vIPAR+ah9+B/RclSW5ldVniO1Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/project-service": "8.57.0", + "@typescript-eslint/tsconfig-utils": "8.57.0", + "@typescript-eslint/types": "8.57.0", + "@typescript-eslint/visitor-keys": "8.57.0", + "debug": "^4.4.3", + "minimatch": "^10.2.2", + "semver": "^7.7.3", + "tinyglobby": "^0.2.15", + "ts-api-utils": "^2.4.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.0.0" + } + }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/project-service": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.57.0.tgz", + "integrity": "sha512-pR+dK0BlxCLxtWfaKQWtYr7MhKmzqZxuii+ZjuFlZlIGRZm22HnXFqa2eY+90MUz8/i80YJmzFGDUsi8dMOV5w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/tsconfig-utils": "^8.57.0", + "@typescript-eslint/types": "^8.57.0", + "debug": "^4.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.0.0" + } + }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.57.0.tgz", + "integrity": "sha512-LtXRihc5ytjJIQEH+xqjB0+YgsV4/tW35XKX3GTZHpWtcC8SPkT/d4tqdf1cKtesryHm2bgp6l555NYcT2NLvA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.0.0" + } + }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/utils": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.57.0.tgz", + "integrity": "sha512-5iIHvpD3CZe06riAsbNxxreP+MuYgVUsV0n4bwLH//VJmgtt54sQeY2GszntJ4BjYCpMzrfVh2SBnUQTtys2lQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.9.1", + "@typescript-eslint/scope-manager": "8.57.0", + "@typescript-eslint/types": "8.57.0", + "@typescript-eslint/typescript-estree": "8.57.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.0.0" + } + }, + "node_modules/typescript-eslint/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.57.0.tgz", + "integrity": "sha512-zm6xx8UT/Xy2oSr2ZXD0pZo7Jx2XsCoID2IUh9YSTFRu7z+WdwYTRk6LhUftm1crwqbuoF6I8zAFeCMw0YjwDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.57.0", + "eslint-visitor-keys": "^5.0.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/typescript-eslint/node_modules/ignore": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, "node_modules/typescript-formatter": { "version": "7.2.2", "resolved": "https://registry.npmjs.org/typescript-formatter/-/typescript-formatter-7.2.2.tgz", @@ -21505,11 +21676,26 @@ "dojox": "1.17.3", "string-replace-loader": "3.3.0", "terser-webpack-plugin": "5.4.0", + "typescript": "5.9.3", "webpack": "5.105.4", "webpack-cli": "5.1.4", "webpack-hasjs-plugin": "1.0.4" } }, + "packages/dgrid-shim/node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "packages/dgrid2": { "name": "@hpcc-js/dgrid2", "version": "3.6.2", diff --git a/package.json b/package.json index 7f9b2148cf..e2ae781b12 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ }, "devDependencies": { "@types/esbuild-copy-static-files": "0.1.4", - "@typescript-eslint/parser": "8.57.0", + "@typescript-eslint/parser": "8.57.2", "@vitest/browser": "3.2.4", "@vitest/coverage-v8": "3.2.4", "cross-env": "10.1.0", @@ -49,7 +49,7 @@ "npm-run-all": "4.1.5", "playwright": "1.58.2", "rimraf": "6.1.3", - "typescript": "5.9.3", + "typescript": "6.0.2", "typescript-eslint": "8.57.0", "vite": "7.3.1", "vitepress": "1.6.4", @@ -68,6 +68,15 @@ "tmp": "0.2.5", "dojo-webpack-plugin": { "tmp": "0.2.5" + }, + "typescript-eslint": { + "typescript": "$typescript" + }, + "@typescript-eslint/eslint-plugin": { + "typescript": "$typescript" + }, + "@typescript-eslint/parser": { + "typescript": "$typescript" } }, "repository": { diff --git a/packages/api/tsconfig.json b/packages/api/tsconfig.json index 438059bc42..142208393e 100644 --- a/packages/api/tsconfig.json +++ b/packages/api/tsconfig.json @@ -1,26 +1,13 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", - "strict": true, "noImplicitAny": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/chart/tsconfig.json b/packages/chart/tsconfig.json index 5b0f1df94d..af9950c011 100644 --- a/packages/chart/tsconfig.json +++ b/packages/chart/tsconfig.json @@ -1,27 +1,14 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "strict": false, "noImplicitAny": false, - "noImplicitThis": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/codemirror/tsconfig.json b/packages/codemirror/tsconfig.json index 438059bc42..142208393e 100644 --- a/packages/codemirror/tsconfig.json +++ b/packages/codemirror/tsconfig.json @@ -1,26 +1,13 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", - "strict": true, "noImplicitAny": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/common/tsconfig.json b/packages/common/tsconfig.json index 5151d54006..af9950c011 100644 --- a/packages/common/tsconfig.json +++ b/packages/common/tsconfig.json @@ -1,26 +1,14 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "strict": false, "noImplicitAny": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/comms/tsconfig.json b/packages/comms/tsconfig.json index 14121f8bb8..3a050ec9bf 100644 --- a/packages/comms/tsconfig.json +++ b/packages/comms/tsconfig.json @@ -1,25 +1,10 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", - "allowSyntheticDefaultImports": true, - "strict": true, "noImplicitAny": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ "./src/index.node.ts", diff --git a/packages/composite/tsconfig.json b/packages/composite/tsconfig.json index 5b0f1df94d..af9950c011 100644 --- a/packages/composite/tsconfig.json +++ b/packages/composite/tsconfig.json @@ -1,27 +1,14 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "strict": false, "noImplicitAny": false, - "noImplicitThis": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/dataflow/tsconfig.json b/packages/dataflow/tsconfig.json index 7fa3b1f4ab..c1bce93b16 100644 --- a/packages/dataflow/tsconfig.json +++ b/packages/dataflow/tsconfig.json @@ -1,22 +1,8 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, - "declarationDir": "types", - "strict": true, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "declarationDir": "types" }, "include": [ "./src/index.ts" diff --git a/packages/ddl-shim/tsconfig.json b/packages/ddl-shim/tsconfig.json index 5b0f1df94d..cc4cb8f73d 100644 --- a/packages/ddl-shim/tsconfig.json +++ b/packages/ddl-shim/tsconfig.json @@ -1,25 +1,11 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "strict": false, "noImplicitAny": false, - "noImplicitThis": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ "./src/index.ts" diff --git a/packages/dgrid-shim/.vscode/tasks.json b/packages/dgrid-shim/.vscode/tasks.json index f2e9193e81..5a57601962 100644 --- a/packages/dgrid-shim/.vscode/tasks.json +++ b/packages/dgrid-shim/.vscode/tasks.json @@ -5,8 +5,8 @@ "tasks": [ { "type": "npm", - "label": "compile cjs watch", - "script": "compile-cjs-watch", + "label": "compile watch", + "script": "compile-watch", "problemMatcher": [], "presentation": { "group": "group-build" @@ -24,7 +24,7 @@ { "label": "build", "dependsOn": [ - "compile cjs watch", + "compile watch", "bundle watch", ], "group": { diff --git a/packages/dgrid-shim/package.json b/packages/dgrid-shim/package.json index ff22c56ea5..fa2fc96d95 100644 --- a/packages/dgrid-shim/package.json +++ b/packages/dgrid-shim/package.json @@ -15,17 +15,14 @@ }, "scripts": { "clean": "rimraf --glob lib* types dist *.tsbuildinfo", - "compile-es6": "tsc --module es6 --outDir ./lib-es6", - "compile-es6-watch": "npm run compile-es6 -- -w", - "compile-amd": "tsc --module amd --outDir ./lib-amd", - "compile-cjs": "tsc --module commonjs --outDir ./lib-cjs", - "compile-cjs-watch": "npm run compile-cjs -- -w", + "compile": "tsc", + "compile-watch": "npm run compile -- -w", "bundle": "webpack", "bundle-watch": "npm run bundle -- -w", "minimize": "terser dist/index.js -c -m -o dist/index.min.js", "gen-legacy-types": "downlevel-dts ./types ./types-3.4", - "build": "npm run compile-cjs && npm run bundle", - "watch": "run-p compile-cjs-watch bundle-watch", + "build": "npm run compile && npm run bundle", + "watch": "run-p compile-watch bundle-watch", "lint": "eslint ./src", "update": "npx --yes npm-check-updates -u -t minor" }, @@ -45,6 +42,7 @@ "dojox": "1.17.3", "string-replace-loader": "3.3.0", "terser-webpack-plugin": "5.4.0", + "typescript": "5.9.3", "webpack": "5.105.4", "webpack-cli": "5.1.4", "webpack-hasjs-plugin": "1.0.4" diff --git a/packages/dgrid-shim/tsconfig.json b/packages/dgrid-shim/tsconfig.json index 978a24209d..06625c0444 100644 --- a/packages/dgrid-shim/tsconfig.json +++ b/packages/dgrid-shim/tsconfig.json @@ -2,9 +2,17 @@ "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "./src", - "outDir": "./lib-es6", - "module": "es6", + "outDir": "./lib-cjs", "declarationDir": "./types", + "target": "ES5", + "module": "commonjs", + "moduleResolution": "Node", + "emitDeclarationOnly": false, + "allowImportingTsExtensions": false, + "sourceMap": true, + "declarationMap": true, + "noImplicitAny": false, + "types": [] }, "include": [ "./src/**/*" diff --git a/packages/dgrid/tests/dgrid.browser.spec.ts b/packages/dgrid/tests/dgrid.browser.spec.ts index d5535f53a3..da2b789aa3 100644 --- a/packages/dgrid/tests/dgrid.browser.spec.ts +++ b/packages/dgrid/tests/dgrid.browser.spec.ts @@ -38,8 +38,6 @@ describe("@hpcc-js/dgrid", async () => { }); } - - if (item.prototype instanceof Class) { classDef("dgrid", item); } diff --git a/packages/dgrid/tsconfig.json b/packages/dgrid/tsconfig.json index 438059bc42..142208393e 100644 --- a/packages/dgrid/tsconfig.json +++ b/packages/dgrid/tsconfig.json @@ -1,26 +1,13 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", - "strict": true, "noImplicitAny": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/dgrid2/tsconfig.json b/packages/dgrid2/tsconfig.json index 888cf7be03..4e7f42fa73 100644 --- a/packages/dgrid2/tsconfig.json +++ b/packages/dgrid2/tsconfig.json @@ -1,28 +1,15 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "jsx": "react", "strict": false, "noImplicitAny": false, - "noImplicitThis": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/eclwatch/tsconfig.json b/packages/eclwatch/tsconfig.json index 5b0f1df94d..af9950c011 100644 --- a/packages/eclwatch/tsconfig.json +++ b/packages/eclwatch/tsconfig.json @@ -1,27 +1,14 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "strict": false, "noImplicitAny": false, - "noImplicitThis": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/esbuild-plugins/tsconfig.json b/packages/esbuild-plugins/tsconfig.json index 40f46372a5..7fa89b3acb 100644 --- a/packages/esbuild-plugins/tsconfig.json +++ b/packages/esbuild-plugins/tsconfig.json @@ -1,15 +1,8 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "./src", "declarationDir": "./types", - "module": "NodeNext", - "target": "ESNext", - "declaration": true, - "emitDeclarationOnly": true, - "strict": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, "lib": [] }, "include": [ diff --git a/packages/form/tsconfig.json b/packages/form/tsconfig.json index 5b0f1df94d..af9950c011 100644 --- a/packages/form/tsconfig.json +++ b/packages/form/tsconfig.json @@ -1,27 +1,14 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "strict": false, "noImplicitAny": false, - "noImplicitThis": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/global.d.ts b/packages/global.d.ts new file mode 100644 index 0000000000..a6f3ef14f3 --- /dev/null +++ b/packages/global.d.ts @@ -0,0 +1,4 @@ +declare module '*.css' { + const classes: { [key: string]: string }; + export default classes; +} diff --git a/packages/graph/src/Edge.ts b/packages/graph/src/Edge.ts index 10c6c3ea4f..3118b934ff 100644 --- a/packages/graph/src/Edge.ts +++ b/packages/graph/src/Edge.ts @@ -1,7 +1,7 @@ import { Platform, SVGWidget, TextBox, Widget } from "@hpcc-js/common"; import { curveBasis as d3CurveBasis, curveBundle as d3CurveBundle, curveCardinal as d3CurveCardinal, curveCatmullRom as d3CurveCatmullRom, curveLinear as d3CurveLinear, line as d3Line } from "d3-shape"; -import "../src/Edge.css"; +import "./Edge.css"; const Curve = { basis: d3CurveBasis, diff --git a/packages/graph/src/Graph.ts b/packages/graph/src/Graph.ts index e1679887d3..bc6403f76c 100644 --- a/packages/graph/src/Graph.ts +++ b/packages/graph/src/Graph.ts @@ -8,7 +8,7 @@ import * as GraphLayouts from "./GraphLayouts.ts"; import { Subgraph } from "./Subgraph.ts"; import { Vertex } from "./Vertex.ts"; -import "../src/Graph.css"; +import "./Graph.css"; export interface Lineage { parent: Widget; diff --git a/packages/graph/src/Sankey.ts b/packages/graph/src/Sankey.ts index 69fec43ebc..b01cdfbc58 100644 --- a/packages/graph/src/Sankey.ts +++ b/packages/graph/src/Sankey.ts @@ -2,7 +2,7 @@ import { sankey as d3Sankey, sankeyLinkHorizontal as d3SankeyLinkHorizontal } from "d3-sankey"; import { select as d3Select } from "d3-selection"; -import "../src/Sankey.css"; +import "./Sankey.css"; const d3Aggr = { mean: d3Mean, diff --git a/packages/graph/src/Subgraph.ts b/packages/graph/src/Subgraph.ts index 1a21515aae..583447e71c 100644 --- a/packages/graph/src/Subgraph.ts +++ b/packages/graph/src/Subgraph.ts @@ -1,7 +1,7 @@ import { Icon, Palette, SVGWidget, Text } from "@hpcc-js/common"; import "d3-transition"; -import "../src/Subgraph.css"; +import "./Subgraph.css"; const TITLE_SIZE = 14; const MINMAX_SIZE = 18; diff --git a/packages/graph/src/Vertex.ts b/packages/graph/src/Vertex.ts index f4f856634e..bbb582444f 100644 --- a/packages/graph/src/Vertex.ts +++ b/packages/graph/src/Vertex.ts @@ -1,7 +1,7 @@ import { Icon, SVGWidget, TextBox } from "@hpcc-js/common"; import { select as d3Select } from "d3-selection"; -import "../src/Vertex.css"; +import "./Vertex.css"; export interface IAnnotation { faChar?: string; diff --git a/packages/graph/tsconfig.json b/packages/graph/tsconfig.json index 8a1a0b5714..9616e01be8 100644 --- a/packages/graph/tsconfig.json +++ b/packages/graph/tsconfig.json @@ -1,27 +1,14 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "jsx": "react", - "strict": true, "noImplicitAny": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/html/tsconfig.json b/packages/html/tsconfig.json index 5e1de076f4..f7e89e42e8 100644 --- a/packages/html/tsconfig.json +++ b/packages/html/tsconfig.json @@ -1,28 +1,15 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "jsx": "react-jsx", "jsxImportSource": "preact", - "strict": true, "noImplicitAny": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/layout/tsconfig.json b/packages/layout/tsconfig.json index 5b0f1df94d..af9950c011 100644 --- a/packages/layout/tsconfig.json +++ b/packages/layout/tsconfig.json @@ -1,27 +1,14 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "strict": false, "noImplicitAny": false, - "noImplicitThis": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/map/src/Layered.ts b/packages/map/src/Layered.ts index 2694f759b1..01f7ce8dbe 100644 --- a/packages/map/src/Layered.ts +++ b/packages/map/src/Layered.ts @@ -2,7 +2,7 @@ import { geoPath as d3GeoPath } from "d3-geo"; import { select as d3Select } from "d3-selection"; import { resolve, types as projectionTypes } from "./Projection.ts"; -import "./Utility"; // For albersUsaPr +import "./Utility.ts"; // For albersUsaPr import "../src/Layered.css"; diff --git a/packages/map/tsconfig.json b/packages/map/tsconfig.json index 5b0f1df94d..af9950c011 100644 --- a/packages/map/tsconfig.json +++ b/packages/map/tsconfig.json @@ -1,27 +1,14 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "strict": false, "noImplicitAny": false, - "noImplicitThis": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/markdown-it-plugins/tsconfig.json b/packages/markdown-it-plugins/tsconfig.json index a3714d23f3..beff532186 100644 --- a/packages/markdown-it-plugins/tsconfig.json +++ b/packages/markdown-it-plugins/tsconfig.json @@ -1,23 +1,9 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", - "strict": true, - "noImplicitAny": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "noImplicitAny": false }, "include": [ "./src/index.ts", diff --git a/packages/observablehq-compiler/tsconfig.json b/packages/observablehq-compiler/tsconfig.json index abba024005..b473bda9a4 100644 --- a/packages/observablehq-compiler/tsconfig.json +++ b/packages/observablehq-compiler/tsconfig.json @@ -1,27 +1,14 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", - "strict": true, - "noImplicitAny": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "noImplicitAny": false }, "include": [ "./src/index.ts", "./src/index.node.ts", - "src/kit/runtime.ts" + "src/kit/runtime.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/other/tsconfig.json b/packages/other/tsconfig.json index 5b0f1df94d..af9950c011 100644 --- a/packages/other/tsconfig.json +++ b/packages/other/tsconfig.json @@ -1,27 +1,14 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "strict": false, "noImplicitAny": false, - "noImplicitThis": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/phosphor/tsconfig.json b/packages/phosphor/tsconfig.json index 438059bc42..142208393e 100644 --- a/packages/phosphor/tsconfig.json +++ b/packages/phosphor/tsconfig.json @@ -1,26 +1,13 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", - "strict": true, "noImplicitAny": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/react/tsconfig.json b/packages/react/tsconfig.json index 5e1de076f4..a7a3c473e9 100644 --- a/packages/react/tsconfig.json +++ b/packages/react/tsconfig.json @@ -1,26 +1,12 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "jsx": "react-jsx", "jsxImportSource": "preact", - "strict": true, "noImplicitAny": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ "./src/index.ts" diff --git a/packages/timeline/tsconfig.json b/packages/timeline/tsconfig.json index 5b0f1df94d..af9950c011 100644 --- a/packages/timeline/tsconfig.json +++ b/packages/timeline/tsconfig.json @@ -1,27 +1,14 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "strict": false, "noImplicitAny": false, - "noImplicitThis": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/tree/tsconfig.json b/packages/tree/tsconfig.json index 5b0f1df94d..af9950c011 100644 --- a/packages/tree/tsconfig.json +++ b/packages/tree/tsconfig.json @@ -1,27 +1,14 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, "declarationDir": "types", "strict": false, "noImplicitAny": false, - "noImplicitThis": false, - "strictNullChecks": false, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "strictNullChecks": false }, "include": [ - "./src/index.ts" + "./src/index.ts", + "../global.d.ts" ] } \ No newline at end of file diff --git a/packages/tsconfig.settings.json b/packages/tsconfig.settings.json index 35e7b74160..5b6cffbad8 100644 --- a/packages/tsconfig.settings.json +++ b/packages/tsconfig.settings.json @@ -1,24 +1,18 @@ { "compilerOptions": { - "composite": true, - "target": "ES5", - "module": "UMD", - "moduleResolution": "Node", - "sourceMap": true, + "target": "ESNext", + "module": "NodeNext", "declaration": true, - "declarationMap": true, - "noImplicitAny": false, - "noEmitOnError": false, - "noUnusedLocals": true, - "strictNullChecks": false, - "importHelpers": true, - "experimentalDecorators": true, - "emitDecoratorMetadata": true, + "emitDeclarationOnly": true, + "strict": true, + "allowImportingTsExtensions": true, "forceConsistentCasingInFileNames": true, + "skipLibCheck": true, + "resolveJsonModule": true, + "isolatedModules": true, "lib": [ "DOM", - "ES2015" - ], - "types": [] + "ES2020" + ] } } \ No newline at end of file diff --git a/packages/util/tsconfig.json b/packages/util/tsconfig.json index 7fa3b1f4ab..c1bce93b16 100644 --- a/packages/util/tsconfig.json +++ b/packages/util/tsconfig.json @@ -1,22 +1,8 @@ { + "extends": "../tsconfig.settings.json", "compilerOptions": { "rootDir": "src", - "module": "NodeNext", - "target": "ESNext", - "resolveJsonModule": true, - "emitDeclarationOnly": true, - "declaration": true, - "declarationDir": "types", - "strict": true, - "isolatedModules": true, - "skipLibCheck": true, - "allowImportingTsExtensions": true, - "forceConsistentCasingInFileNames": true, - "lib": [ - "DOM", - "ESNext", - "ES2020" - ] + "declarationDir": "types" }, "include": [ "./src/index.ts"