mirror of
https://github.com/hanzoai/branding.git
synced 2026-10-30 18:46:35 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so tsup's dts build cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for the tools. The native compiler does not sweep in every installed @types, so the node globals generate-palettes.ts uses need declaring: types: ["node"]. Neutral on 6. 20 diagnostics before and after, on both compilers. Co-authored-by: Hanzo Dev <[email protected]>
19 lines
396 B
JSON
19 lines
396 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"declaration": true,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"types": ["node"],
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true,
|
|
"jsx": "react-jsx",
|
|
"outDir": "dist",
|
|
"rootDir": "src"
|
|
},
|
|
"include": ["src"],
|
|
"exclude": ["dist", "node_modules"]
|
|
}
|