mirror of
https://github.com/luxfi/brand.git
synced 2026-10-30 17:01:27 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so tsup's --dts pass cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for tsup. 3 diagnostics under both compilers. types gains an explicit ["node"] because 7 no longer sweeps in every installed @types, and ignoreDeprecations pins the 6.0 grace period for the baseUrl tsup injects into its dts pass. Both are free on 6. The 3 remaining diagnostics are a @luxfi/logo API break, not a compiler difference: src/index.ts re-exports favicon, lx and LuxWordmark, and no published @luxfi/logo 1.0.x provides them. The lockfile had been pinned a minor behind the declared 1.0.8, which hid it. Co-authored-by: Hanzo Dev <[email protected]>
27 lines
735 B
JSON
27 lines
735 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"module": "ESNext",
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"types": ["node"],
|
|
"ignoreDeprecations": "6.0",
|
|
"jsx": "react",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"moduleResolution": "bundler",
|
|
"allowSyntheticDefaultImports": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist", "build"]
|
|
} |