Skip to content

armgit / qm

Public Imported from GitHub
0

Multiplayer agent harness for work.

Typecheck with tsrs, pinned to an exact version (#2519)

Regan Bell32d07f4edff2
diff --git a/cli/package-lock.json b/cli/package-lock.json
index 6540577b4..cd2579a4d 100644
--- a/cli/package-lock.json
+++ b/cli/package-lock.json
@@ -16,12 +16,110 @@
},
"devDependencies": {
"@types/node": "^24.0.0",
+ "tsrs": "0.14.1-ts7.1.0-dev.20260929",
"typescript": "^5.8.2"
},
"engines": {
"node": ">=24.0.0"
}
},
+ "node_modules/@ts-rs/darwin-arm64": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/darwin-arm64/-/darwin-arm64-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-SHb58/V1zTfJAeUzYTRvY4diD+f+lV2Q18O0uvt0Z8wcP0zXuBCZGYSPhBk3H6rie9HRq0sChslmTif1LF34rw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-arm64-gnu": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-arm64-gnu/-/linux-arm64-gnu-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-NmSXbK1otaGhjvEEBwpdqAGBYwnKZQfn55+mxhmuc8UVgR3yWFUNR9hdSSd/tymeb9GTgzlyKsLXTX5Ix0Q71A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-arm64-musl": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-arm64-musl/-/linux-arm64-musl-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-tahkVVhTU7kibELeEk6g4ysy6fnj6ww2/Z5W3rCno/nSVcp7Tv3K94cO9fIoaTGxYsQfCwhfFRXVR3NBMLyCrQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-x64-gnu": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-x64-gnu/-/linux-x64-gnu-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-m4OyLM2h/v/1HPiqPe+m+28CVwvC3yKI3jdOZMFRT0bEEFtnVrhzjvcrW14BLpV4cwROHQAcJPHiD5Tf4x4big==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-x64-musl": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-x64-musl/-/linux-x64-musl-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-4lkcfnAR7TnF8APeI0nvKPLo2EUz2MfrMbvY3vlJoD5erUhmNyuhboBlkekDJYaVKKSHOQiUAayFkWiiNa8EXg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
"node_modules/@types/node": {
"version": "24.13.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.2.tgz",
@@ -41,6 +139,26 @@
"node": ">=20.0.0"
}
},
+ "node_modules/tsrs": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/tsrs/-/tsrs-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-/3uI0oBebmE/J/8yQbtOOww7Fw5mmNYnts8R9EDHOqhmd0gca8fjyYtfbgha3OSqKuJq/0U4DQjPEInKPzKmsw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsrs": "bin/tsrs"
+ },
+ "engines": {
+ "node": ">=16.20.0"
+ },
+ "optionalDependencies": {
+ "@ts-rs/darwin-arm64": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-arm64-gnu": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-arm64-musl": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-x64-gnu": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-x64-musl": "0.14.1-ts7.1.0-dev.20260929"
+ }
+ },
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
diff --git a/cli/package.json b/cli/package.json
index ee7e10856..4dc8a5241 100644
--- a/cli/package.json
+++ b/cli/package.json
@@ -37,7 +37,7 @@
"qm": "node -- bin/qm.ts",
"build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json",
"prepack": "npm run build",
- "typecheck": "tsc -p tsconfig.json",
+ "typecheck": "tsrs -p tsconfig.json",
"test": "node --test test/*.test.ts",
"test:e2e": "node --test test/e2e/*.e2e.test.ts",
"test:all": "node --test test/*.test.ts test/e2e/*.e2e.test.ts",
@@ -45,6 +45,7 @@
},
"devDependencies": {
"@types/node": "^24.0.0",
+ "tsrs": "0.14.1-ts7.1.0-dev.20260929",
"typescript": "^5.8.2"
},
"dependencies": {
diff --git a/cli/tsconfig.json b/cli/tsconfig.json
index 7bdd3f5c6..9cedd8735 100644
--- a/cli/tsconfig.json
+++ b/cli/tsconfig.json
@@ -3,7 +3,7 @@
"target": "esnext",
"module": "nodenext",
"moduleResolution": "nodenext",
- "lib": ["esnext"],
+ "lib": ["es2024"],
"types": ["node"],
"strict": true,
"noUncheckedIndexedAccess": true,
diff --git a/package-lock.json b/package-lock.json
index 4f75b61f0..d2e67a2e2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -67,6 +67,7 @@
"lint-staged": "17.0.1",
"oxlint": "^1.74.0",
"prettier": "3.9.1",
+ "tsrs": "0.14.1-ts7.1.0-dev.20260929",
"typescript": "^5.8.2",
"typescript-eslint": "^8.61.0"
},
@@ -4129,6 +4130,103 @@
"integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==",
"license": "MIT"
},
+ "node_modules/@ts-rs/darwin-arm64": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/darwin-arm64/-/darwin-arm64-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-SHb58/V1zTfJAeUzYTRvY4diD+f+lV2Q18O0uvt0Z8wcP0zXuBCZGYSPhBk3H6rie9HRq0sChslmTif1LF34rw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-arm64-gnu": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-arm64-gnu/-/linux-arm64-gnu-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-NmSXbK1otaGhjvEEBwpdqAGBYwnKZQfn55+mxhmuc8UVgR3yWFUNR9hdSSd/tymeb9GTgzlyKsLXTX5Ix0Q71A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-arm64-musl": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-arm64-musl/-/linux-arm64-musl-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-tahkVVhTU7kibELeEk6g4ysy6fnj6ww2/Z5W3rCno/nSVcp7Tv3K94cO9fIoaTGxYsQfCwhfFRXVR3NBMLyCrQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-x64-gnu": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-x64-gnu/-/linux-x64-gnu-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-m4OyLM2h/v/1HPiqPe+m+28CVwvC3yKI3jdOZMFRT0bEEFtnVrhzjvcrW14BLpV4cwROHQAcJPHiD5Tf4x4big==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-x64-musl": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-x64-musl/-/linux-x64-musl-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-4lkcfnAR7TnF8APeI0nvKPLo2EUz2MfrMbvY3vlJoD5erUhmNyuhboBlkekDJYaVKKSHOQiUAayFkWiiNa8EXg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
"node_modules/@tybys/wasm-util": {
"version": "0.10.3",
"resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.3.tgz",
@@ -9239,6 +9337,26 @@
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
"license": "0BSD"
},
+ "node_modules/tsrs": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/tsrs/-/tsrs-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-/3uI0oBebmE/J/8yQbtOOww7Fw5mmNYnts8R9EDHOqhmd0gca8fjyYtfbgha3OSqKuJq/0U4DQjPEInKPzKmsw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsrs": "bin/tsrs"
+ },
+ "engines": {
+ "node": ">=16.20.0"
+ },
+ "optionalDependencies": {
+ "@ts-rs/darwin-arm64": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-arm64-gnu": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-arm64-musl": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-x64-gnu": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-x64-musl": "0.14.1-ts7.1.0-dev.20260929"
+ }
+ },
"node_modules/tsscmp": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.6.tgz",
diff --git a/package.json b/package.json
index 63f3d9776..4c268892e 100644
--- a/package.json
+++ b/package.json
@@ -52,8 +52,8 @@
"livetest": "node scripts/api-livetest.ts",
"bench:memory": "node --env-file-if-exists=.env scripts/memory-bench.ts",
"prepare": "node .husky/install.mjs",
- "typecheck": "tsc --noEmit",
- "typecheck:contract": "tsc -p tsconfig.contract.json",
+ "typecheck": "tsrs --noEmit",
+ "typecheck:contract": "tsrs -p tsconfig.contract.json",
"format": "prettier --write --ignore-unknown .",
"format:check": "prettier --check --ignore-unknown .",
"lint": "eslint .",
@@ -143,6 +143,7 @@
"lint-staged": "17.0.1",
"oxlint": "^1.74.0",
"prettier": "3.9.1",
+ "tsrs": "0.14.1-ts7.1.0-dev.20260929",
"typescript": "^5.8.2",
"typescript-eslint": "^8.61.0"
}
diff --git a/plugins/admin/package-lock.json b/plugins/admin/package-lock.json
index 68323b18c..52290bfa6 100644
--- a/plugins/admin/package-lock.json
+++ b/plugins/admin/package-lock.json
@@ -18,6 +18,7 @@
"@types/jsdom": "^28.0.3",
"@types/node": "^24.0.0",
"jsdom": "^29.1.1",
+ "tsrs": "0.14.1-ts7.1.0-dev.20260929",
"typescript": "^5.8.2"
},
"engines": {
@@ -176,7 +177,6 @@
}
],
"license": "MIT",
- "peer": true,
"engines": {
"node": ">=20.19.0"
},
@@ -225,7 +225,6 @@
}
],
"license": "MIT",
- "peer": true,
"engines": {
"node": ">=20.19.0"
}
@@ -684,7 +683,6 @@
"resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.1.tgz",
"integrity": "sha512-gLyJlPHPZYdAk1JENA9LeHejZe1Ti77/pTeFm/nMXmQH/HFZlcS/O2XJB+L8fkbrNSqhdtlvjBVjxwUYanNH5Q==",
"license": "Apache-2.0",
- "peer": true,
"engines": {
"node": ">=8.0.0"
}
@@ -706,7 +704,6 @@
"resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-2.11.0.tgz",
"integrity": "sha512-7YP44XH0tV6+Mb54x2YGf84i7yi+31MBZlE8JwvozkxyTvXbSp10X7cI7YE49ChJ3shMJoBmCJF3+1QFBJctGA==",
"license": "Apache-2.0",
- "peer": true,
"dependencies": {
"@opentelemetry/semantic-conventions": "^1.29.0"
},
@@ -722,7 +719,6 @@
"resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.220.0.tgz",
"integrity": "sha512-xQx3E2WxP1mDvKzxLxX+CTCtNLa560YJZ3087qYHerl2YmiKpv7AH+dAy7vmx+eVrZ5BwhfWUAVoKOoxCNHcpw==",
"license": "Apache-2.0",
- "peer": true,
"dependencies": {
"@opentelemetry/api-logs": "0.220.0",
"import-in-the-middle": "^3.0.0",
@@ -773,7 +769,6 @@
"resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-2.11.0.tgz",
"integrity": "sha512-H19x/TX/LZdqiYOjM7fqtSxwlplC5pgelavqbQdHbhdq0q/AI/TGkM2dfGuuynTXmJPeF2HoZVoPDu+TGoW78A==",
"license": "Apache-2.0",
- "peer": true,
"dependencies": {
"@opentelemetry/core": "2.11.0",
"@opentelemetry/resources": "2.11.0",
@@ -907,6 +902,103 @@
"node": ">=18"
}
},
+ "node_modules/@ts-rs/darwin-arm64": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/darwin-arm64/-/darwin-arm64-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-SHb58/V1zTfJAeUzYTRvY4diD+f+lV2Q18O0uvt0Z8wcP0zXuBCZGYSPhBk3H6rie9HRq0sChslmTif1LF34rw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-arm64-gnu": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-arm64-gnu/-/linux-arm64-gnu-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-NmSXbK1otaGhjvEEBwpdqAGBYwnKZQfn55+mxhmuc8UVgR3yWFUNR9hdSSd/tymeb9GTgzlyKsLXTX5Ix0Q71A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-arm64-musl": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-arm64-musl/-/linux-arm64-musl-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-tahkVVhTU7kibELeEk6g4ysy6fnj6ww2/Z5W3rCno/nSVcp7Tv3K94cO9fIoaTGxYsQfCwhfFRXVR3NBMLyCrQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-x64-gnu": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-x64-gnu/-/linux-x64-gnu-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-m4OyLM2h/v/1HPiqPe+m+28CVwvC3yKI3jdOZMFRT0bEEFtnVrhzjvcrW14BLpV4cwROHQAcJPHiD5Tf4x4big==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-x64-musl": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-x64-musl/-/linux-x64-musl-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-4lkcfnAR7TnF8APeI0nvKPLo2EUz2MfrMbvY3vlJoD5erUhmNyuhboBlkekDJYaVKKSHOQiUAayFkWiiNa8EXg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
"node_modules/@types/jsdom": {
"version": "28.0.3",
"resolved": "https://registry.npmjs.org/@types/jsdom/-/jsdom-28.0.3.tgz",
@@ -1347,6 +1439,26 @@
"node": ">=20"
}
},
+ "node_modules/tsrs": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/tsrs/-/tsrs-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-/3uI0oBebmE/J/8yQbtOOww7Fw5mmNYnts8R9EDHOqhmd0gca8fjyYtfbgha3OSqKuJq/0U4DQjPEInKPzKmsw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsrs": "bin/tsrs"
+ },
+ "engines": {
+ "node": ">=16.20.0"
+ },
+ "optionalDependencies": {
+ "@ts-rs/darwin-arm64": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-arm64-gnu": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-arm64-musl": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-x64-gnu": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-x64-musl": "0.14.1-ts7.1.0-dev.20260929"
+ }
+ },
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
diff --git a/plugins/admin/package.json b/plugins/admin/package.json
index 918601f25..d0fd040a4 100644
--- a/plugins/admin/package.json
+++ b/plugins/admin/package.json
@@ -9,13 +9,14 @@
},
"scripts": {
"start": "node src/index.ts",
- "typecheck": "tsc --noEmit",
+ "typecheck": "tsrs --noEmit",
"test": "NODE_ENV=test ALLOW_UNSIGNED_TEST_IDENTITY=1 node --test"
},
"devDependencies": {
"@types/jsdom": "^28.0.3",
"@types/node": "^24.0.0",
"jsdom": "^29.1.1",
+ "tsrs": "0.14.1-ts7.1.0-dev.20260929",
"typescript": "^5.8.2"
},
"dependencies": {
diff --git a/plugins/admin/tsconfig.json b/plugins/admin/tsconfig.json
index 37bf9d2c5..72ebfcc47 100644
--- a/plugins/admin/tsconfig.json
+++ b/plugins/admin/tsconfig.json
@@ -3,7 +3,7 @@
"target": "esnext",
"module": "nodenext",
"moduleResolution": "nodenext",
- "lib": ["esnext", "dom", "dom.iterable"],
+ "lib": ["es2024", "dom", "dom.iterable"],
"types": ["node"],
"strict": true,
"verbatimModuleSyntax": true,
diff --git a/plugins/auth/package-lock.json b/plugins/auth/package-lock.json
index 03b3ee974..fa3798c30 100644
--- a/plugins/auth/package-lock.json
+++ b/plugins/auth/package-lock.json
@@ -14,6 +14,7 @@
},
"devDependencies": {
"@types/node": "^24.0.0",
+ "tsrs": "0.14.1-ts7.1.0-dev.20260929",
"typescript": "^5.8.2"
},
"engines": {
@@ -25,7 +26,6 @@
"resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.1.tgz",
"integrity": "sha512-gLyJlPHPZYdAk1JENA9LeHejZe1Ti77/pTeFm/nMXmQH/HFZlcS/O2XJB+L8fkbrNSqhdtlvjBVjxwUYanNH5Q==",
"license": "Apache-2.0",
- "peer": true,
"engines": {
"node": ">=8.0.0"
}
@@ -47,7 +47,6 @@
"resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-2.11.0.tgz",
"integrity": "sha512-7YP44XH0tV6+Mb54x2YGf84i7yi+31MBZlE8JwvozkxyTvXbSp10X7cI7YE49ChJ3shMJoBmCJF3+1QFBJctGA==",
"license": "Apache-2.0",
- "peer": true,
"dependencies": {
"@opentelemetry/semantic-conventions": "^1.29.0"
},
@@ -63,7 +62,6 @@
"resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.220.0.tgz",
"integrity": "sha512-xQx3E2WxP1mDvKzxLxX+CTCtNLa560YJZ3087qYHerl2YmiKpv7AH+dAy7vmx+eVrZ5BwhfWUAVoKOoxCNHcpw==",
"license": "Apache-2.0",
- "peer": true,
"dependencies": {
"@opentelemetry/api-logs": "0.220.0",
"import-in-the-middle": "^3.0.0",
@@ -114,7 +112,6 @@
"resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-2.11.0.tgz",
"integrity": "sha512-H19x/TX/LZdqiYOjM7fqtSxwlplC5pgelavqbQdHbhdq0q/AI/TGkM2dfGuuynTXmJPeF2HoZVoPDu+TGoW78A==",
"license": "Apache-2.0",
- "peer": true,
"dependencies": {
"@opentelemetry/core": "2.11.0",
"@opentelemetry/resources": "2.11.0",
@@ -248,6 +245,103 @@
"node": ">=18"
}
},
+ "node_modules/@ts-rs/darwin-arm64": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/darwin-arm64/-/darwin-arm64-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-SHb58/V1zTfJAeUzYTRvY4diD+f+lV2Q18O0uvt0Z8wcP0zXuBCZGYSPhBk3H6rie9HRq0sChslmTif1LF34rw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-arm64-gnu": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-arm64-gnu/-/linux-arm64-gnu-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-NmSXbK1otaGhjvEEBwpdqAGBYwnKZQfn55+mxhmuc8UVgR3yWFUNR9hdSSd/tymeb9GTgzlyKsLXTX5Ix0Q71A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-arm64-musl": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-arm64-musl/-/linux-arm64-musl-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-tahkVVhTU7kibELeEk6g4ysy6fnj6ww2/Z5W3rCno/nSVcp7Tv3K94cO9fIoaTGxYsQfCwhfFRXVR3NBMLyCrQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-x64-gnu": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-x64-gnu/-/linux-x64-gnu-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-m4OyLM2h/v/1HPiqPe+m+28CVwvC3yKI3jdOZMFRT0bEEFtnVrhzjvcrW14BLpV4cwROHQAcJPHiD5Tf4x4big==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-x64-musl": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-x64-musl/-/linux-x64-musl-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-4lkcfnAR7TnF8APeI0nvKPLo2EUz2MfrMbvY3vlJoD5erUhmNyuhboBlkekDJYaVKKSHOQiUAayFkWiiNa8EXg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
"node_modules/@types/node": {
"version": "24.13.3",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",
@@ -344,6 +438,26 @@
"node": ">=9.3.0 || >=8.10.0 <9.0.0"
}
},
+ "node_modules/tsrs": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/tsrs/-/tsrs-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-/3uI0oBebmE/J/8yQbtOOww7Fw5mmNYnts8R9EDHOqhmd0gca8fjyYtfbgha3OSqKuJq/0U4DQjPEInKPzKmsw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsrs": "bin/tsrs"
+ },
+ "engines": {
+ "node": ">=16.20.0"
+ },
+ "optionalDependencies": {
+ "@ts-rs/darwin-arm64": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-arm64-gnu": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-arm64-musl": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-x64-gnu": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-x64-musl": "0.14.1-ts7.1.0-dev.20260929"
+ }
+ },
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
diff --git a/plugins/auth/package.json b/plugins/auth/package.json
index 6ed3d1575..5396d5409 100644
--- a/plugins/auth/package.json
+++ b/plugins/auth/package.json
@@ -9,12 +9,13 @@
},
"scripts": {
"start": "node src/index.ts",
- "typecheck": "tsc --noEmit",
+ "typecheck": "tsrs --noEmit",
"test": "node --test",
"hash-password": "node src/hash-password.ts"
},
"devDependencies": {
"@types/node": "^24.0.0",
+ "tsrs": "0.14.1-ts7.1.0-dev.20260929",
"typescript": "^5.8.2"
},
"dependencies": {
diff --git a/plugins/auth/tsconfig.json b/plugins/auth/tsconfig.json
index ff71a63ef..a58412d90 100644
--- a/plugins/auth/tsconfig.json
+++ b/plugins/auth/tsconfig.json
@@ -3,7 +3,7 @@
"target": "esnext",
"module": "nodenext",
"moduleResolution": "nodenext",
- "lib": ["esnext"],
+ "lib": ["es2024"],
"types": ["node"],
"strict": true,
"verbatimModuleSyntax": true,
diff --git a/plugins/portal/package-lock.json b/plugins/portal/package-lock.json
index 2f322d89c..ecd03c793 100644
--- a/plugins/portal/package-lock.json
+++ b/plugins/portal/package-lock.json
@@ -15,6 +15,7 @@
},
"devDependencies": {
"@types/node": "^24.0.0",
+ "tsrs": "0.14.1-ts7.1.0-dev.20260929",
"typescript": "^5.8.2"
},
"engines": {
@@ -26,7 +27,6 @@
"resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.1.tgz",
"integrity": "sha512-gLyJlPHPZYdAk1JENA9LeHejZe1Ti77/pTeFm/nMXmQH/HFZlcS/O2XJB+L8fkbrNSqhdtlvjBVjxwUYanNH5Q==",
"license": "Apache-2.0",
- "peer": true,
"engines": {
"node": ">=8.0.0"
}
@@ -48,7 +48,6 @@
"resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-2.11.0.tgz",
"integrity": "sha512-7YP44XH0tV6+Mb54x2YGf84i7yi+31MBZlE8JwvozkxyTvXbSp10X7cI7YE49ChJ3shMJoBmCJF3+1QFBJctGA==",
"license": "Apache-2.0",
- "peer": true,
"dependencies": {
"@opentelemetry/semantic-conventions": "^1.29.0"
},
@@ -64,7 +63,6 @@
"resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.220.0.tgz",
"integrity": "sha512-xQx3E2WxP1mDvKzxLxX+CTCtNLa560YJZ3087qYHerl2YmiKpv7AH+dAy7vmx+eVrZ5BwhfWUAVoKOoxCNHcpw==",
"license": "Apache-2.0",
- "peer": true,
"dependencies": {
"@opentelemetry/api-logs": "0.220.0",
"import-in-the-middle": "^3.0.0",
@@ -115,7 +113,6 @@
"resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-2.11.0.tgz",
"integrity": "sha512-H19x/TX/LZdqiYOjM7fqtSxwlplC5pgelavqbQdHbhdq0q/AI/TGkM2dfGuuynTXmJPeF2HoZVoPDu+TGoW78A==",
"license": "Apache-2.0",
- "peer": true,
"dependencies": {
"@opentelemetry/core": "2.11.0",
"@opentelemetry/resources": "2.11.0",
@@ -249,6 +246,103 @@
"node": ">=18"
}
},
+ "node_modules/@ts-rs/darwin-arm64": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/darwin-arm64/-/darwin-arm64-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-SHb58/V1zTfJAeUzYTRvY4diD+f+lV2Q18O0uvt0Z8wcP0zXuBCZGYSPhBk3H6rie9HRq0sChslmTif1LF34rw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-arm64-gnu": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-arm64-gnu/-/linux-arm64-gnu-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-NmSXbK1otaGhjvEEBwpdqAGBYwnKZQfn55+mxhmuc8UVgR3yWFUNR9hdSSd/tymeb9GTgzlyKsLXTX5Ix0Q71A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-arm64-musl": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-arm64-musl/-/linux-arm64-musl-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-tahkVVhTU7kibELeEk6g4ysy6fnj6ww2/Z5W3rCno/nSVcp7Tv3K94cO9fIoaTGxYsQfCwhfFRXVR3NBMLyCrQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-x64-gnu": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-x64-gnu/-/linux-x64-gnu-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-m4OyLM2h/v/1HPiqPe+m+28CVwvC3yKI3jdOZMFRT0bEEFtnVrhzjvcrW14BLpV4cwROHQAcJPHiD5Tf4x4big==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-x64-musl": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-x64-musl/-/linux-x64-musl-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-4lkcfnAR7TnF8APeI0nvKPLo2EUz2MfrMbvY3vlJoD5erUhmNyuhboBlkekDJYaVKKSHOQiUAayFkWiiNa8EXg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
"node_modules/@types/node": {
"version": "24.12.4",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.4.tgz",
@@ -354,6 +448,26 @@
"node": ">=9.3.0 || >=8.10.0 <9.0.0"
}
},
+ "node_modules/tsrs": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/tsrs/-/tsrs-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-/3uI0oBebmE/J/8yQbtOOww7Fw5mmNYnts8R9EDHOqhmd0gca8fjyYtfbgha3OSqKuJq/0U4DQjPEInKPzKmsw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsrs": "bin/tsrs"
+ },
+ "engines": {
+ "node": ">=16.20.0"
+ },
+ "optionalDependencies": {
+ "@ts-rs/darwin-arm64": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-arm64-gnu": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-arm64-musl": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-x64-gnu": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-x64-musl": "0.14.1-ts7.1.0-dev.20260929"
+ }
+ },
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
diff --git a/plugins/portal/package.json b/plugins/portal/package.json
index 10cc19142..29cf314b8 100644
--- a/plugins/portal/package.json
+++ b/plugins/portal/package.json
@@ -9,11 +9,12 @@
},
"scripts": {
"start": "node src/index.ts",
- "typecheck": "tsc --noEmit",
+ "typecheck": "tsrs --noEmit",
"test": "node --test"
},
"devDependencies": {
"@types/node": "^24.0.0",
+ "tsrs": "0.14.1-ts7.1.0-dev.20260929",
"typescript": "^5.8.2"
},
"dependencies": {
diff --git a/plugins/portal/tsconfig.json b/plugins/portal/tsconfig.json
index ff71a63ef..a58412d90 100644
--- a/plugins/portal/tsconfig.json
+++ b/plugins/portal/tsconfig.json
@@ -3,7 +3,7 @@
"target": "esnext",
"module": "nodenext",
"moduleResolution": "nodenext",
- "lib": ["esnext"],
+ "lib": ["es2024"],
"types": ["node"],
"strict": true,
"verbatimModuleSyntax": true,
diff --git a/plugins/web-ui/package-lock.json b/plugins/web-ui/package-lock.json
index a2b3cc5d9..29d0bd583 100644
--- a/plugins/web-ui/package-lock.json
+++ b/plugins/web-ui/package-lock.json
@@ -43,6 +43,7 @@
"@types/papaparse": "5.5.2",
"jsdom": "^29.1.1",
"katex": "^0.16.47",
+ "tsrs": "0.14.1-ts7.1.0-dev.20260929",
"typescript": "^5.8.2",
"vite": "^7.3.7"
},
@@ -3252,6 +3253,103 @@
"url": "https://github.com/sponsors/tannerlinsley"
}
},
+ "node_modules/@ts-rs/darwin-arm64": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/darwin-arm64/-/darwin-arm64-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-SHb58/V1zTfJAeUzYTRvY4diD+f+lV2Q18O0uvt0Z8wcP0zXuBCZGYSPhBk3H6rie9HRq0sChslmTif1LF34rw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-arm64-gnu": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-arm64-gnu/-/linux-arm64-gnu-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-NmSXbK1otaGhjvEEBwpdqAGBYwnKZQfn55+mxhmuc8UVgR3yWFUNR9hdSSd/tymeb9GTgzlyKsLXTX5Ix0Q71A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-arm64-musl": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-arm64-musl/-/linux-arm64-musl-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-tahkVVhTU7kibELeEk6g4ysy6fnj6ww2/Z5W3rCno/nSVcp7Tv3K94cO9fIoaTGxYsQfCwhfFRXVR3NBMLyCrQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-x64-gnu": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-x64-gnu/-/linux-x64-gnu-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-m4OyLM2h/v/1HPiqPe+m+28CVwvC3yKI3jdOZMFRT0bEEFtnVrhzjvcrW14BLpV4cwROHQAcJPHiD5Tf4x4big==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/@ts-rs/linux-x64-musl": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/@ts-rs/linux-x64-musl/-/linux-x64-musl-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-4lkcfnAR7TnF8APeI0nvKPLo2EUz2MfrMbvY3vlJoD5erUhmNyuhboBlkekDJYaVKKSHOQiUAayFkWiiNa8EXg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
"node_modules/@types/d3": {
"version": "7.4.3",
"resolved": "https://registry.npmjs.org/@types/d3/-/d3-7.4.3.tgz",
@@ -5829,6 +5927,26 @@
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
"license": "0BSD"
},
+ "node_modules/tsrs": {
+ "version": "0.14.1-ts7.1.0-dev.20260929",
+ "resolved": "https://registry.npmjs.org/tsrs/-/tsrs-0.14.1-ts7.1.0-dev.20260929.tgz",
+ "integrity": "sha512-/3uI0oBebmE/J/8yQbtOOww7Fw5mmNYnts8R9EDHOqhmd0gca8fjyYtfbgha3OSqKuJq/0U4DQjPEInKPzKmsw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsrs": "bin/tsrs"
+ },
+ "engines": {
+ "node": ">=16.20.0"
+ },
+ "optionalDependencies": {
+ "@ts-rs/darwin-arm64": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-arm64-gnu": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-arm64-musl": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-x64-gnu": "0.14.1-ts7.1.0-dev.20260929",
+ "@ts-rs/linux-x64-musl": "0.14.1-ts7.1.0-dev.20260929"
+ }
+ },
"node_modules/typebox": {
"version": "1.1.38",
"resolved": "https://registry.npmjs.org/typebox/-/typebox-1.1.38.tgz",
diff --git a/plugins/web-ui/package.json b/plugins/web-ui/package.json
index 3319b57d1..fbdd6ba8a 100644
--- a/plugins/web-ui/package.json
+++ b/plugins/web-ui/package.json
@@ -13,7 +13,7 @@
"serve": "node --env-file-if-exists=.env server/index.ts",
"start": "npm run build && npm run serve",
"test": "NODE_ENV=test ALLOW_UNSIGNED_TEST_IDENTITY=1 node --test \"test/**/*.test.ts\"",
- "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.server.json --noEmit && tsc -p tsconfig.test.json --noEmit"
+ "typecheck": "tsrs -p tsconfig.json --noEmit && tsrs -p tsconfig.server.json --noEmit && tsrs -p tsconfig.test.json --noEmit"
},
"dependencies": {
"@codemirror/language": "6.12.4",
@@ -51,6 +51,7 @@
"@types/papaparse": "5.5.2",
"jsdom": "^29.1.1",
"katex": "^0.16.47",
+ "tsrs": "0.14.1-ts7.1.0-dev.20260929",
"typescript": "^5.8.2",
"vite": "^7.3.7"
},
diff --git a/plugins/web-ui/test/composer-picker.test.ts b/plugins/web-ui/test/composer-picker.test.ts
index afb021cd7..c5018f7e9 100644
--- a/plugins/web-ui/test/composer-picker.test.ts
+++ b/plugins/web-ui/test/composer-picker.test.ts
@@ -588,8 +588,9 @@ test("the personal-account picker preserves composer choices and saves context d
input.focus();
input.value = query;
input.dispatchEvent(new dom.window.Event("input", { bubbles: true }));
- assert.equal(document.activeElement, contextHost.querySelector(".loadout-search input"));
- assert.equal((document.activeElement as HTMLInputElement).value, query);
+ const focused = contextHost.querySelector<HTMLInputElement>(".loadout-search input");
+ assert.equal(document.activeElement, focused);
+ assert.equal(focused?.value, query);
}
contextButton('[aria-label="Add Delta to presets"]').click();
await tick();
diff --git a/plugins/web-ui/tsconfig.json b/plugins/web-ui/tsconfig.json
index a204b434d..818dc4d8f 100644
--- a/plugins/web-ui/tsconfig.json
+++ b/plugins/web-ui/tsconfig.json
@@ -3,10 +3,11 @@
"target": "esnext",
"module": "esnext",
"moduleResolution": "bundler",
- "lib": ["esnext", "DOM", "DOM.Iterable"],
+ "lib": ["es2024", "DOM", "DOM.Iterable"],
"types": [],
"strict": true,
"noEmit": true,
+ "noUncheckedSideEffectImports": false,
"skipLibCheck": true,
"useDefineForClassFields": false,
"experimentalDecorators": true,
diff --git a/plugins/web-ui/tsconfig.server.json b/plugins/web-ui/tsconfig.server.json
index d679621df..048609ffd 100644
--- a/plugins/web-ui/tsconfig.server.json
+++ b/plugins/web-ui/tsconfig.server.json
@@ -3,7 +3,7 @@
"target": "esnext",
"module": "nodenext",
"moduleResolution": "nodenext",
- "lib": ["esnext"],
+ "lib": ["es2024"],
"types": ["node"],
"strict": true,
"verbatimModuleSyntax": true,
diff --git a/tsconfig.json b/tsconfig.json
index 961a30b07..872da3d6d 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -3,7 +3,7 @@
"target": "esnext",
"module": "nodenext",
"moduleResolution": "nodenext",
- "lib": ["esnext"],
+ "lib": ["es2024", "esnext.array"],
"types": ["node"],
"strict": true,
"noUncheckedIndexedAccess": true,