0f60da7ec5
The cli package had no tsconfig, so it was never type-checked under its own config. Add a tsconfig (matching the other packages, minus JSX which cli does not use) and the typescript dev dep so `tsc --noEmit` can run here — a prerequisite for the upcoming check:type script.
20 lines
451 B
JSON
20 lines
451 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"lib": ["es2023"],
|
|
"moduleDetection": "force",
|
|
"module": "nodenext",
|
|
"moduleResolution": "nodenext",
|
|
"resolveJsonModule": true,
|
|
"types": ["node"],
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noEmit": true,
|
|
"allowImportingTsExtensions": true,
|
|
"esModuleInterop": true,
|
|
"isolatedModules": true,
|
|
"verbatimModuleSyntax": true,
|
|
"skipLibCheck": true
|
|
}
|
|
}
|