mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-06 22:33:59 -05:00
**Motivation** Use more secure way publish a release. **Description** - Use `npm` [trusted publishing](https://docs.npmjs.com/trusted-publishers) --------- Co-authored-by: Matthew Keil <me@matthewkeil.com>
53 lines
1.6 KiB
JSON
53 lines
1.6 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",
|
|
],
|
|
|
|
// TODO: This is a workaround to fix the error came after adding `@lerna-lite/version`
|
|
// Need to be cleared and cleaned this config later
|
|
//
|
|
// @lodestar/params: error TS2688: Cannot find type definition file for 'parse-path'.
|
|
// @lodestar/params: The file is in the program because:
|
|
// @lodestar/params: Entry point for implicit type library 'parse-path'
|
|
"types": ["node", "bun", "snappyjs", "mitt", "vitest"],
|
|
}
|
|
}
|