A base TSConfig for working with Node 14.
84
{
"context": "This criteria evaluates how well the engineer uses the @tsconfig/bases package to load, analyze, and recommend TypeScript configurations for different JavaScript runtime environments (Deno, Bun, QJSEngine). The focus is on proper package usage to access runtime-specific configurations.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Load Deno Config",
"description": "Successfully loads the Deno TypeScript configuration from @tsconfig/bases package (e.g., using @tsconfig/deno/tsconfig.json or @tsconfig/bases/deno)",
"max_score": 15
},
{
"name": "Load Bun Config",
"description": "Successfully loads the Bun TypeScript configuration from @tsconfig/bases package (e.g., using @tsconfig/bun/tsconfig.json or @tsconfig/bases/bun)",
"max_score": 15
},
{
"name": "Load QJSEngine Config",
"description": "Successfully loads the QJSEngine TypeScript configuration from @tsconfig/bases package (e.g., using @tsconfig/qjsengine/tsconfig.json or @tsconfig/bases/qjsengine)",
"max_score": 15
},
{
"name": "Extract Target Setting",
"description": "Correctly extracts and reports the 'target' compiler option from loaded configurations (e.g., 'ESNext' for Bun, 'ES5' for QJSEngine)",
"max_score": 10
},
{
"name": "Extract Module Setting",
"description": "Correctly extracts and reports the 'module' compiler option from loaded configurations (e.g., 'Preserve' for Bun, 'none' for QJSEngine)",
"max_score": 10
},
{
"name": "Extract Module Resolution",
"description": "Correctly extracts and reports the 'moduleResolution' compiler option from loaded configurations (e.g., 'bundler' for Bun and Deno)",
"max_score": 10
},
{
"name": "Detect Empty Lib Array",
"description": "Correctly identifies and reports when a configuration has an empty lib array (e.g., Deno's lib: [] indicating runtime-provided types)",
"max_score": 8
},
{
"name": "Detect JSX Support",
"description": "Correctly identifies and reports JSX-related compiler options from configurations (e.g., jsx setting in Deno configuration)",
"max_score": 7
},
{
"name": "Detect Import Extensions",
"description": "Correctly identifies and reports the 'allowImportingTsExtensions' compiler option in Bun configuration",
"max_score": 5
},
{
"name": "Handle Multiple Runtimes",
"description": "Implementation correctly handles all three runtime configurations (Deno, Bun, QJSEngine) through a consistent interface",
"max_score": 5
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-tsconfig--node14docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10