diff --git a/benchmark/apps/cli/src/index.ts b/benchmark/apps/cli/src/index.ts index e6db9dfdd6..0006e5b1f5 100644 --- a/benchmark/apps/cli/src/index.ts +++ b/benchmark/apps/cli/src/index.ts @@ -17,18 +17,16 @@ export const isLanguage = (language: string): language is Language => languages. const run = async (toolbox: GluegunToolbox) => { const { config, prompt } = toolbox const id = config.runId ? Number(config.runId) : undefined - const { language, exercise } = config + let { language, exercise } = config if (language === "all") { await runAll(id) } else if (exercise === "all") { await runLanguage({ id, language }) } else { - await runLanguageExercise({ - id, - language: language || (await askLanguage(prompt)), - exercise: exercise || (await askExercise(prompt, language)), - }) + language = language || (await askLanguage(prompt)) + exercise = exercise || (await askExercise(prompt, language)) + await runLanguageExercise({ id, language, exercise }) } } @@ -73,6 +71,10 @@ const runLanguageExercise = async ({ language: Language exercise: string }) => { + if (!getExercises()[language].includes(exercise)) { + throw new Error(`Exercise ${exercise} not found for language ${language}`) + } + const run = await findOrCreateRun({ id }) const task = await findOrCreateTask({ runId: run.id, language, exercise }) return runExercise({ run, task }) diff --git a/benchmark/package.json b/benchmark/package.json index c5c484e991..5f8ad7b2df 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -9,8 +9,8 @@ "build": "turbo build", "build:extension": "cd .. && npm run vscode-test", "build:runner": "turbo build --filter @benchmark/runner", - "cli": "pnpm --filter @benchmark/cli dev", - "web": "pnpm --filter @benchmark/web dev", + "cli": "turbo dev --filter @benchmark/cli --ui tui -- run", + "web": "turbo dev --filter @benchmark/web --output-logs new-only", "studio": "pnpm --filter @benchmark/db db:studio", "docker:build": "docker build -f Dockerfile -t roo-code-benchmark ..", "docker:run": "touch /tmp/benchmarks.db && docker run -d -it -p 3000:3000 -v /tmp/benchmarks.db:/tmp/benchmarks.db roo-code-benchmark", @@ -27,7 +27,6 @@ "eslint": "^9.22.0", "globals": "^16.0.0", "prettier": "^3.5.3", - "rimraf": "^6.0.1", "tsup": "^8.4.0", "tsx": "^4.19.3", "turbo": "^2.4.4", diff --git a/benchmark/packages/db/package.json b/benchmark/packages/db/package.json index 587d15f0a9..6a88ba8bf3 100644 --- a/benchmark/packages/db/package.json +++ b/benchmark/packages/db/package.json @@ -2,9 +2,16 @@ "name": "@benchmark/db", "private": true, "type": "module", + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts", "exports": { - ".": { - "import": "./dist/index.js", + "import": { + "types": "./dist/index.d.ts", + "import": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", "require": "./dist/index.cjs" } }, @@ -12,7 +19,7 @@ "lint": "eslint src --ext ts --max-warnings=0", "check-types": "tsc --noEmit", "format": "prettier --write src", - "build": "tsup --format esm,cjs", + "build": "tsup", "drizzle-kit": "dotenvx run -f ../../.env -- tsx node_modules/drizzle-kit/bin.cjs", "db:generate": "pnpm drizzle-kit generate", "db:migrate": "pnpm drizzle-kit migrate", diff --git a/benchmark/packages/db/tsconfig.cjs.json b/benchmark/packages/db/tsconfig.cjs.json index 042a9ebec5..bbb032aed6 100644 --- a/benchmark/packages/db/tsconfig.cjs.json +++ b/benchmark/packages/db/tsconfig.cjs.json @@ -1,8 +1,5 @@ { "extends": "@benchmark/typescript-config/cjs.json", - "compilerOptions": { - "outDir": "dist" - }, "include": ["src"], "exclude": ["node_modules"] } diff --git a/benchmark/packages/db/tsup.config.ts b/benchmark/packages/db/tsup.config.ts index 283bc19262..d380b9d2b2 100644 --- a/benchmark/packages/db/tsup.config.ts +++ b/benchmark/packages/db/tsup.config.ts @@ -1,21 +1,22 @@ -import { defineConfig } from "tsup" +import { defineConfig, Options } from "tsup" + +const shared: Options = { + entry: ["src/index.ts"], + dts: true, + outDir: "dist", + clean: true, +} export default defineConfig([ { - entry: ["src/index.ts"], + ...shared, format: ["esm"], - dts: true, - outDir: "dist", tsconfig: "./tsconfig.json", - clean: true, }, { - entry: ["src/index.ts"], + ...shared, format: ["cjs"], - dts: false, - outDir: "dist", tsconfig: "./tsconfig.cjs.json", outExtension: () => ({ js: ".cjs" }), - clean: false, }, ]) diff --git a/benchmark/packages/ipc/package.json b/benchmark/packages/ipc/package.json index 18975972f0..ca8034f2b7 100644 --- a/benchmark/packages/ipc/package.json +++ b/benchmark/packages/ipc/package.json @@ -2,9 +2,16 @@ "name": "@benchmark/ipc", "private": true, "type": "module", + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts", "exports": { - ".": { - "import": "./dist/index.js", + "import": { + "types": "./dist/index.d.ts", + "import": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", "require": "./dist/index.cjs" } }, @@ -12,7 +19,7 @@ "lint": "eslint src --ext ts --max-warnings=0", "check-types": "tsc --noEmit", "format": "prettier --write src", - "build": "tsup --format esm,cjs" + "build": "tsup" }, "dependencies": { "node-ipc": "^12.0.0", diff --git a/benchmark/packages/ipc/tsconfig.cjs.json b/benchmark/packages/ipc/tsconfig.cjs.json index 042a9ebec5..bbb032aed6 100644 --- a/benchmark/packages/ipc/tsconfig.cjs.json +++ b/benchmark/packages/ipc/tsconfig.cjs.json @@ -1,8 +1,5 @@ { "extends": "@benchmark/typescript-config/cjs.json", - "compilerOptions": { - "outDir": "dist" - }, "include": ["src"], "exclude": ["node_modules"] } diff --git a/benchmark/packages/ipc/tsup.config.ts b/benchmark/packages/ipc/tsup.config.ts index 3dbdb066e1..84b2827d75 100644 --- a/benchmark/packages/ipc/tsup.config.ts +++ b/benchmark/packages/ipc/tsup.config.ts @@ -1,22 +1,23 @@ -import { defineConfig } from "tsup" +import { defineConfig, Options } from "tsup" + +const shared: Options = { + entry: ["src/index.ts"], + dts: true, + outDir: "dist", + clean: true, +} export default defineConfig([ { - entry: ["src/index.ts"], + ...shared, format: ["esm"], - dts: true, - outDir: "dist", tsconfig: "./tsconfig.json", - clean: true, }, { - entry: ["src/index.ts"], + ...shared, format: ["cjs"], - dts: false, - outDir: "dist", tsconfig: "./tsconfig.cjs.json", outExtension: () => ({ js: ".cjs" }), - clean: false, noExternal: ["node-ipc"], }, ]) diff --git a/benchmark/packages/lib/package.json b/benchmark/packages/lib/package.json index bf25fe8050..c0fa77f4ef 100644 --- a/benchmark/packages/lib/package.json +++ b/benchmark/packages/lib/package.json @@ -2,9 +2,16 @@ "name": "@benchmark/lib", "private": true, "type": "module", + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts", "exports": { - ".": { - "import": "./dist/index.js", + "import": { + "types": "./dist/index.d.ts", + "import": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", "require": "./dist/index.cjs" } }, @@ -12,7 +19,7 @@ "lint": "eslint src --ext ts --max-warnings=0", "check-types": "tsc --noEmit", "format": "prettier --write src", - "build": "tsup --format esm,cjs" + "build": "tsup" }, "dependencies": { "zod": "^3.24.2" diff --git a/benchmark/packages/lib/tsconfig.cjs.json b/benchmark/packages/lib/tsconfig.cjs.json index 042a9ebec5..bbb032aed6 100644 --- a/benchmark/packages/lib/tsconfig.cjs.json +++ b/benchmark/packages/lib/tsconfig.cjs.json @@ -1,8 +1,5 @@ { "extends": "@benchmark/typescript-config/cjs.json", - "compilerOptions": { - "outDir": "dist" - }, "include": ["src"], "exclude": ["node_modules"] } diff --git a/benchmark/packages/lib/tsup.config.ts b/benchmark/packages/lib/tsup.config.ts index 283bc19262..d380b9d2b2 100644 --- a/benchmark/packages/lib/tsup.config.ts +++ b/benchmark/packages/lib/tsup.config.ts @@ -1,21 +1,22 @@ -import { defineConfig } from "tsup" +import { defineConfig, Options } from "tsup" + +const shared: Options = { + entry: ["src/index.ts"], + dts: true, + outDir: "dist", + clean: true, +} export default defineConfig([ { - entry: ["src/index.ts"], + ...shared, format: ["esm"], - dts: true, - outDir: "dist", tsconfig: "./tsconfig.json", - clean: true, }, { - entry: ["src/index.ts"], + ...shared, format: ["cjs"], - dts: false, - outDir: "dist", tsconfig: "./tsconfig.cjs.json", outExtension: () => ({ js: ".cjs" }), - clean: false, }, ]) diff --git a/benchmark/packages/types/package.json b/benchmark/packages/types/package.json index 50a44aa356..b4dc5c9cea 100644 --- a/benchmark/packages/types/package.json +++ b/benchmark/packages/types/package.json @@ -2,9 +2,16 @@ "name": "@benchmark/types", "private": true, "type": "module", + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts", "exports": { - ".": { - "import": "./dist/index.js", + "import": { + "types": "./dist/index.d.ts", + "import": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", "require": "./dist/index.cjs" } }, @@ -12,7 +19,7 @@ "lint": "eslint src --ext ts --max-warnings=0", "check-types": "tsc --noEmit", "format": "prettier --write src", - "build": "tsup --format esm,cjs" + "build": "tsup" }, "dependencies": { "zod": "^3.24.2" diff --git a/benchmark/packages/types/tsconfig.cjs.json b/benchmark/packages/types/tsconfig.cjs.json index 042a9ebec5..bbb032aed6 100644 --- a/benchmark/packages/types/tsconfig.cjs.json +++ b/benchmark/packages/types/tsconfig.cjs.json @@ -1,8 +1,5 @@ { "extends": "@benchmark/typescript-config/cjs.json", - "compilerOptions": { - "outDir": "dist" - }, "include": ["src"], "exclude": ["node_modules"] } diff --git a/benchmark/packages/types/tsup.config.ts b/benchmark/packages/types/tsup.config.ts index 283bc19262..d380b9d2b2 100644 --- a/benchmark/packages/types/tsup.config.ts +++ b/benchmark/packages/types/tsup.config.ts @@ -1,21 +1,22 @@ -import { defineConfig } from "tsup" +import { defineConfig, Options } from "tsup" + +const shared: Options = { + entry: ["src/index.ts"], + dts: true, + outDir: "dist", + clean: true, +} export default defineConfig([ { - entry: ["src/index.ts"], + ...shared, format: ["esm"], - dts: true, - outDir: "dist", tsconfig: "./tsconfig.json", - clean: true, }, { - entry: ["src/index.ts"], + ...shared, format: ["cjs"], - dts: false, - outDir: "dist", tsconfig: "./tsconfig.cjs.json", outExtension: () => ({ js: ".cjs" }), - clean: false, }, ]) diff --git a/benchmark/pnpm-lock.yaml b/benchmark/pnpm-lock.yaml index a3164a8f97..41a1bbf605 100644 --- a/benchmark/pnpm-lock.yaml +++ b/benchmark/pnpm-lock.yaml @@ -23,12 +23,9 @@ importers: prettier: specifier: ^3.5.3 version: 3.5.3 - rimraf: - specifier: ^6.0.1 - version: 6.0.1 tsup: specifier: ^8.4.0 - version: 8.4.0(jiti@2.4.2)(postcss@8.5.3)(tsx@4.19.3)(typescript@5.8.2) + version: 8.4.0(@microsoft/api-extractor@7.52.1(@types/node@20.17.24))(jiti@2.4.2)(postcss@8.5.3)(tsx@4.19.3)(typescript@5.8.2) tsx: specifier: ^4.19.3 version: 4.19.3 @@ -1015,6 +1012,19 @@ packages: cpu: [x64] os: [win32] + '@microsoft/api-extractor-model@7.30.4': + resolution: {integrity: sha512-RobC0gyVYsd2Fao9MTKOfTdBm41P/bCMUmzS5mQ7/MoAKEqy0FOBph3JOYdq4X4BsEnMEiSHc+0NUNmdzxCpjA==} + + '@microsoft/api-extractor@7.52.1': + resolution: {integrity: sha512-m3I5uAwE05orsu3D1AGyisX5KxsgVXB+U4bWOOaX/Z7Ftp/2Cy41qsNhO6LPvSxHBaapyser5dVorF1t5M6tig==} + hasBin: true + + '@microsoft/tsdoc-config@0.17.1': + resolution: {integrity: sha512-UtjIFe0C6oYgTnad4q1QP4qXwLhe6tIpNTRStJ2RZEPIkqQPREAwE5spzVxsdn9UaEMUqhh0AqSx3X4nWAKXWw==} + + '@microsoft/tsdoc@0.15.1': + resolution: {integrity: sha512-4aErSrCR/On/e5G2hDP0wjooqDdauzEbIq8hIkIe5pXV0rtWJZvdCEKL0ykZxex+IxIwBp0eGeV48hQN07dXtw==} + '@neon-rs/load@0.0.4': resolution: {integrity: sha512-kTPhdZyTQxB+2wpiRcFWrDcejc4JI6tkPuS7UZCG4l6Zvc5kU/gGQ/ozvHTh1XR5tS+UlfAfGuPajjzQjCiHCw==} @@ -1707,6 +1717,28 @@ packages: cpu: [x64] os: [win32] + '@rushstack/node-core-library@5.12.0': + resolution: {integrity: sha512-QSwwzgzWoil1SCQse+yCHwlhRxNv2dX9siPnAb9zR/UmMhac4mjMrlMZpk64BlCeOFi1kJKgXRkihSwRMbboAQ==} + peerDependencies: + '@types/node': '*' + peerDependenciesMeta: + '@types/node': + optional: true + + '@rushstack/rig-package@0.5.3': + resolution: {integrity: sha512-olzSSjYrvCNxUFZowevC3uz8gvKr3WTpHQ7BkpjtRpA3wK+T0ybep/SRUMfr195gBzJm5gaXw0ZMgjIyHqJUow==} + + '@rushstack/terminal@0.15.1': + resolution: {integrity: sha512-3vgJYwumcjoDOXU3IxZfd616lqOdmr8Ezj4OWgJZfhmiBK4Nh7eWcv8sU8N/HdzXcuHDXCRGn/6O2Q75QvaZMA==} + peerDependencies: + '@types/node': '*' + peerDependenciesMeta: + '@types/node': + optional: true + + '@rushstack/ts-command-line@4.23.6': + resolution: {integrity: sha512-7WepygaF3YPEoToh4MAL/mmHkiIImQq3/uAkQX46kVoKTNOOlCtFGyNnze6OYuWw2o9rxsyrHVfIBKxq/am2RA==} + '@standard-schema/utils@0.3.0': resolution: {integrity: sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==} @@ -1800,6 +1832,9 @@ packages: peerDependencies: react: ^18 || ^19 + '@types/argparse@1.0.38': + resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==} + '@types/estree@1.0.6': resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} @@ -1900,9 +1935,31 @@ packages: resolution: {integrity: sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==} engines: {node: '>= 14'} + ajv-draft-04@1.0.0: + resolution: {integrity: sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==} + peerDependencies: + ajv: ^8.5.0 + peerDependenciesMeta: + ajv: + optional: true + + ajv-formats@3.0.1: + resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==} + peerDependencies: + ajv: ^8.0.0 + peerDependenciesMeta: + ajv: + optional: true + ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + ajv@8.12.0: + resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} + + ajv@8.13.0: + resolution: {integrity: sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==} + ansi-colors@4.1.3: resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} engines: {node: '>=6'} @@ -1940,6 +1997,9 @@ packages: app-module-path@2.2.0: resolution: {integrity: sha512-gkco+qxENJV+8vFcDiiFhuoSvRXb2a/QPqpSoWhVz829VNJfOTnELbBmPmNKFxf3xdNnw4DWCkzkDaavcX/1YQ==} + argparse@1.0.10: + resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} + argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} @@ -2604,6 +2664,10 @@ packages: resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==} engines: {node: '>=12.20.0'} + fs-extra@11.3.0: + resolution: {integrity: sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==} + engines: {node: '>=14.14'} + fs-jetpack@4.3.1: resolution: {integrity: sha512-dbeOK84F6BiQzk2yqqCVwCPWTxAvVGJ3fMQc6E2wuEohS28mR6yHngbrKuVCK1KHRx/ccByDylqu4H5PCP2urQ==} @@ -2669,11 +2733,6 @@ packages: resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} hasBin: true - glob@11.0.1: - resolution: {integrity: sha512-zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw==} - engines: {node: 20 || >=22} - hasBin: true - glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} deprecated: Glob versions prior to v9 are no longer supported @@ -2764,6 +2823,10 @@ packages: resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} engines: {node: '>=6'} + import-lazy@4.0.0: + resolution: {integrity: sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==} + engines: {node: '>=8'} + imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} @@ -2927,10 +2990,6 @@ packages: jackspeak@3.4.3: resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} - jackspeak@4.1.0: - resolution: {integrity: sha512-9DDdhb5j6cpeitCbvLO7n7J4IxnbM6hoF6O1g4HQ5TfhvvKN8ywDM7668ZhMHRqVmxqhps/F6syWK2KcPxYlkw==} - engines: {node: 20 || >=22} - jake@10.9.2: resolution: {integrity: sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==} engines: {node: '>=10'} @@ -2940,6 +2999,9 @@ packages: resolution: {integrity: sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==} hasBin: true + jju@1.4.0: + resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==} + joycon@3.1.1: resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} engines: {node: '>=10'} @@ -2974,9 +3036,15 @@ packages: json-schema-traverse@0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + json-schema-traverse@1.0.0: + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + json-stable-stringify-without-jsonify@1.0.1: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + jsonfile@6.1.0: + resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} + jsx-ast-utils@3.3.5: resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==} engines: {node: '>=4.0'} @@ -2993,7 +3061,6 @@ packages: libsql@0.4.7: resolution: {integrity: sha512-T9eIRCs6b0J1SHKYIvD8+KCJMcWZ900iZyxdnSCdqxN12Z1ijzT+jY5nrk72Jw4B0HGzms2NgpryArlJqvc3Lw==} - cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] lie@3.3.0: @@ -3129,6 +3196,9 @@ packages: lodash.upperfirst@4.3.1: resolution: {integrity: sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==} + lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + log-symbols@3.0.0: resolution: {integrity: sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==} engines: {node: '>=8'} @@ -3144,10 +3214,6 @@ packages: lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} - lru-cache@11.0.2: - resolution: {integrity: sha512-123qHRfJBmo2jXDbo/a5YOQrJoHF/GNQTLzQ5+IdK5pWpceK17yRc6ozlWd25FxvGKQbIUs91fDFkXmDHTKcyA==} - engines: {node: 20 || >=22} - lru-cache@6.0.0: resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} engines: {node: '>=10'} @@ -3179,9 +3245,8 @@ packages: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} engines: {node: '>=6'} - minimatch@10.0.1: - resolution: {integrity: sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==} - engines: {node: 20 || >=22} + minimatch@3.0.8: + resolution: {integrity: sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q==} minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} @@ -3369,10 +3434,6 @@ packages: resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} engines: {node: '>=16 || 14 >=14.18'} - path-scurry@2.0.0: - resolution: {integrity: sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==} - engines: {node: 20 || >=22} - path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} @@ -3550,6 +3611,10 @@ packages: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} + require-from-string@2.0.2: + resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} + engines: {node: '>=0.10.0'} + resize-observer-polyfill@1.5.1: resolution: {integrity: sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==} @@ -3564,6 +3629,11 @@ packages: resolve-pkg-maps@1.0.0: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} + resolve@1.22.10: + resolution: {integrity: sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==} + engines: {node: '>= 0.4'} + hasBin: true + resolve@2.0.0-next.5: resolution: {integrity: sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==} hasBin: true @@ -3585,11 +3655,6 @@ packages: deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true - rimraf@6.0.1: - resolution: {integrity: sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==} - engines: {node: 20 || >=22} - hasBin: true - rollup@4.36.0: resolution: {integrity: sha512-zwATAXNQxUcd40zgtQG0ZafcRK4g004WtEl7kbuhTWPvf07PsfohXl39jVUvPF7jvNAIkKPQ2XrsDlWuxBd++Q==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} @@ -3635,6 +3700,11 @@ packages: engines: {node: '>=10'} hasBin: true + semver@7.5.4: + resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} + engines: {node: '>=10'} + hasBin: true + semver@7.7.1: resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} engines: {node: '>=10'} @@ -3720,6 +3790,9 @@ packages: resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} engines: {node: '>= 8'} + sprintf-js@1.0.3: + resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + stack-generator@2.0.10: resolution: {integrity: sha512-mwnua/hkqM6pF4k8SnmZ2zfETsRUpWXREfA/goT8SLCV4iOFa4bzOX2nDipWAZFPTjLvQB82f5yaodMVhK0yJQ==} @@ -3740,6 +3813,10 @@ packages: resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==} engines: {node: '>=10.0.0'} + string-argv@0.3.2: + resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==} + engines: {node: '>=0.6.19'} + string-width@4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} @@ -3837,6 +3914,10 @@ packages: resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} engines: {node: '>=8'} + supports-color@8.1.1: + resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} + engines: {node: '>=10'} + supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} @@ -4003,6 +4084,10 @@ packages: undici-types@6.19.8: resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} + universalify@2.0.1: + resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} + engines: {node: '>= 10.0.0'} + untildify@4.0.0: resolution: {integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==} engines: {node: '>=8'} @@ -4628,6 +4713,45 @@ snapshots: '@libsql/win32-x64-msvc@0.4.7': optional: true + '@microsoft/api-extractor-model@7.30.4(@types/node@20.17.24)': + dependencies: + '@microsoft/tsdoc': 0.15.1 + '@microsoft/tsdoc-config': 0.17.1 + '@rushstack/node-core-library': 5.12.0(@types/node@20.17.24) + transitivePeerDependencies: + - '@types/node' + optional: true + + '@microsoft/api-extractor@7.52.1(@types/node@20.17.24)': + dependencies: + '@microsoft/api-extractor-model': 7.30.4(@types/node@20.17.24) + '@microsoft/tsdoc': 0.15.1 + '@microsoft/tsdoc-config': 0.17.1 + '@rushstack/node-core-library': 5.12.0(@types/node@20.17.24) + '@rushstack/rig-package': 0.5.3 + '@rushstack/terminal': 0.15.1(@types/node@20.17.24) + '@rushstack/ts-command-line': 4.23.6(@types/node@20.17.24) + lodash: 4.17.21 + minimatch: 3.0.8 + resolve: 1.22.10 + semver: 7.5.4 + source-map: 0.6.1 + typescript: 5.8.2 + transitivePeerDependencies: + - '@types/node' + optional: true + + '@microsoft/tsdoc-config@0.17.1': + dependencies: + '@microsoft/tsdoc': 0.15.1 + ajv: 8.12.0 + jju: 1.4.0 + resolve: 1.22.10 + optional: true + + '@microsoft/tsdoc@0.15.1': + optional: true + '@neon-rs/load@0.0.4': {} '@next/env@15.2.2': {} @@ -5226,6 +5350,44 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.36.0': optional: true + '@rushstack/node-core-library@5.12.0(@types/node@20.17.24)': + dependencies: + ajv: 8.13.0 + ajv-draft-04: 1.0.0(ajv@8.13.0) + ajv-formats: 3.0.1(ajv@8.13.0) + fs-extra: 11.3.0 + import-lazy: 4.0.0 + jju: 1.4.0 + resolve: 1.22.10 + semver: 7.5.4 + optionalDependencies: + '@types/node': 20.17.24 + optional: true + + '@rushstack/rig-package@0.5.3': + dependencies: + resolve: 1.22.10 + strip-json-comments: 3.1.1 + optional: true + + '@rushstack/terminal@0.15.1(@types/node@20.17.24)': + dependencies: + '@rushstack/node-core-library': 5.12.0(@types/node@20.17.24) + supports-color: 8.1.1 + optionalDependencies: + '@types/node': 20.17.24 + optional: true + + '@rushstack/ts-command-line@4.23.6(@types/node@20.17.24)': + dependencies: + '@rushstack/terminal': 0.15.1(@types/node@20.17.24) + '@types/argparse': 1.0.38 + argparse: 1.0.10 + string-argv: 0.3.2 + transitivePeerDependencies: + - '@types/node' + optional: true + '@standard-schema/utils@0.3.0': {} '@swc/counter@0.1.3': {} @@ -5303,6 +5465,9 @@ snapshots: '@tanstack/query-core': 5.69.0 react: 19.0.0 + '@types/argparse@1.0.38': + optional: true + '@types/estree@1.0.6': {} '@types/js-cookie@2.2.7': {} @@ -5430,6 +5595,16 @@ snapshots: agent-base@7.1.3: {} + ajv-draft-04@1.0.0(ajv@8.13.0): + optionalDependencies: + ajv: 8.13.0 + optional: true + + ajv-formats@3.0.1(ajv@8.13.0): + optionalDependencies: + ajv: 8.13.0 + optional: true + ajv@6.12.6: dependencies: fast-deep-equal: 3.1.3 @@ -5437,6 +5612,22 @@ snapshots: json-schema-traverse: 0.4.1 uri-js: 4.4.1 + ajv@8.12.0: + dependencies: + fast-deep-equal: 3.1.3 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + uri-js: 4.4.1 + optional: true + + ajv@8.13.0: + dependencies: + fast-deep-equal: 3.1.3 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + uri-js: 4.4.1 + optional: true + ansi-colors@4.1.3: {} ansi-regex@4.1.1: {} @@ -5465,6 +5656,11 @@ snapshots: app-module-path@2.2.0: {} + argparse@1.0.10: + dependencies: + sprintf-js: 1.0.3 + optional: true + argparse@2.0.1: {} aria-hidden@1.2.4: @@ -6257,6 +6453,13 @@ snapshots: dependencies: fetch-blob: 3.2.0 + fs-extra@11.3.0: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 6.1.0 + universalify: 2.0.1 + optional: true + fs-jetpack@4.3.1: dependencies: minimatch: 3.1.2 @@ -6342,15 +6545,6 @@ snapshots: package-json-from-dist: 1.0.1 path-scurry: 1.11.1 - glob@11.0.1: - dependencies: - foreground-child: 3.3.1 - jackspeak: 4.1.0 - minimatch: 10.0.1 - minipass: 7.1.2 - package-json-from-dist: 1.0.1 - path-scurry: 2.0.0 - glob@7.2.3: dependencies: fs.realpath: 1.0.0 @@ -6463,6 +6657,9 @@ snapshots: parent-module: 1.0.1 resolve-from: 4.0.0 + import-lazy@4.0.0: + optional: true + imurmurhash@0.1.4: {} inflight@1.0.6: @@ -6627,10 +6824,6 @@ snapshots: optionalDependencies: '@pkgjs/parseargs': 0.11.0 - jackspeak@4.1.0: - dependencies: - '@isaacs/cliui': 8.0.2 - jake@10.9.2: dependencies: async: 3.2.6 @@ -6640,6 +6833,9 @@ snapshots: jiti@2.4.2: {} + jju@1.4.0: + optional: true + joycon@3.1.1: {} js-base64@3.7.7: {} @@ -6664,8 +6860,18 @@ snapshots: json-schema-traverse@0.4.1: {} + json-schema-traverse@1.0.0: + optional: true + json-stable-stringify-without-jsonify@1.0.1: {} + jsonfile@6.1.0: + dependencies: + universalify: 2.0.1 + optionalDependencies: + graceful-fs: 4.2.11 + optional: true + jsx-ast-utils@3.3.5: dependencies: array-includes: 3.1.8 @@ -6795,6 +7001,9 @@ snapshots: lodash.upperfirst@4.3.1: {} + lodash@4.17.21: + optional: true + log-symbols@3.0.0: dependencies: chalk: 2.4.2 @@ -6810,8 +7019,6 @@ snapshots: lru-cache@10.4.3: {} - lru-cache@11.0.2: {} - lru-cache@6.0.0: dependencies: yallist: 4.0.0 @@ -6835,9 +7042,10 @@ snapshots: mimic-fn@2.1.0: {} - minimatch@10.0.1: + minimatch@3.0.8: dependencies: - brace-expansion: 2.0.1 + brace-expansion: 1.1.11 + optional: true minimatch@3.1.2: dependencies: @@ -7055,11 +7263,6 @@ snapshots: lru-cache: 10.4.3 minipass: 7.1.2 - path-scurry@2.0.0: - dependencies: - lru-cache: 11.0.2 - minipass: 7.1.2 - path-type@4.0.0: {} picocolors@1.1.1: {} @@ -7236,6 +7439,9 @@ snapshots: require-directory@2.1.1: {} + require-from-string@2.0.2: + optional: true + resize-observer-polyfill@1.5.1: {} resolve-from@4.0.0: {} @@ -7244,6 +7450,13 @@ snapshots: resolve-pkg-maps@1.0.0: {} + resolve@1.22.10: + dependencies: + is-core-module: 2.16.1 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + optional: true + resolve@2.0.0-next.5: dependencies: is-core-module: 2.16.1 @@ -7266,11 +7479,6 @@ snapshots: dependencies: glob: 7.2.3 - rimraf@6.0.1: - dependencies: - glob: 11.0.1 - package-json-from-dist: 1.0.1 - rollup@4.36.0: dependencies: '@types/estree': 1.0.6 @@ -7337,6 +7545,11 @@ snapshots: dependencies: lru-cache: 6.0.0 + semver@7.5.4: + dependencies: + lru-cache: 6.0.0 + optional: true + semver@7.7.1: {} set-function-length@1.2.2: @@ -7452,6 +7665,9 @@ snapshots: dependencies: whatwg-url: 7.1.0 + sprintf-js@1.0.3: + optional: true + stack-generator@2.0.10: dependencies: stackframe: 1.3.4 @@ -7475,6 +7691,9 @@ snapshots: streamsearch@1.1.0: {} + string-argv@0.3.2: + optional: true + string-width@4.2.3: dependencies: emoji-regex: 8.0.0 @@ -7592,6 +7811,11 @@ snapshots: dependencies: has-flag: 4.0.0 + supports-color@8.1.1: + dependencies: + has-flag: 4.0.0 + optional: true + supports-preserve-symlinks-flag@1.0.0: {} tailwind-merge@3.0.2: {} @@ -7648,7 +7872,7 @@ snapshots: tslib@2.8.1: {} - tsup@8.4.0(jiti@2.4.2)(postcss@8.5.3)(tsx@4.19.3)(typescript@5.8.2): + tsup@8.4.0(@microsoft/api-extractor@7.52.1(@types/node@20.17.24))(jiti@2.4.2)(postcss@8.5.3)(tsx@4.19.3)(typescript@5.8.2): dependencies: bundle-require: 5.1.0(esbuild@0.25.1) cac: 6.7.14 @@ -7667,6 +7891,7 @@ snapshots: tinyglobby: 0.2.12 tree-kill: 1.2.2 optionalDependencies: + '@microsoft/api-extractor': 7.52.1(@types/node@20.17.24) postcss: 8.5.3 typescript: 5.8.2 transitivePeerDependencies: @@ -7767,6 +7992,9 @@ snapshots: undici-types@6.19.8: {} + universalify@2.0.1: + optional: true + untildify@4.0.0: {} uri-js@4.4.1: diff --git a/benchmark/turbo.json b/benchmark/turbo.json index fee6dfba07..4f2056691b 100644 --- a/benchmark/turbo.json +++ b/benchmark/turbo.json @@ -14,9 +14,12 @@ "tasks": { "format": {}, "lint": {}, - "check-types": {}, + "check-types": { + "dependsOn": ["build"] + }, "test": {}, "dev": { + "dependsOn": ["build"], "cache": false, "persistent": true },