mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-09 15:48:08 -05:00
**Motivation** - #7280 **Description** - update `@types/node` to the latest node v22 version - add `@lodestar/bun` dependency using git+https (for now! so that we don't have to republish a bazillion times) - keep in mind that this requires a manual build/rebuild of the so (via `cd node_modules/@lodestar/bun && zig build`) - Add a bun-specific `LevelDbController` which uses [`@lodestar/bun`](https://github.com/ChainSafe/lodestar-bun) - Only expose the leveldb controller via a subpath export (and for tests, as a custom import, like in #8320 ) - add bun bun global override types
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2022",
|
|
"lib": ["es2022", "dom"],
|
|
|
|
"module": "nodenext",
|
|
"moduleResolution": "nodenext",
|
|
|
|
"pretty": true,
|
|
"strict": true,
|
|
"sourceMap": true,
|
|
"alwaysStrict": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"strictBindCallApply": true,
|
|
"strictPropertyInitialization": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"noImplicitAny": true,
|
|
"noImplicitThis": true,
|
|
"noImplicitReturns": true,
|
|
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"incremental": true,
|
|
"preserveWatchOutput": true,
|
|
"noUncheckedSideEffectImports": true,
|
|
"rewriteRelativeImportExtensions": true,
|
|
// TODO: Investigate following errors:
|
|
// - Cannot find module 'rollup/parseAst' or its corresponding type declarations
|
|
"skipLibCheck": true,
|
|
|
|
// Required to run benchmark command from root directory
|
|
"typeRoots": [
|
|
"node_modules/@types",
|
|
"./types",
|
|
"${configDir}/node_modules/@types",
|
|
"${configDir}/types",
|
|
"../../node_modules/@types",
|
|
"../../types",
|
|
],
|
|
}
|
|
}
|