-
-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eth-json-rpc-provider
migration - B2: Replace typescript, jest conf…
…ig files. (#1765) ## Explanation This PR implements the following incremental step in the process for migrating `eth-json-rpc-provider` into the core monorepo: *** ### Phase B: Staging in `migrated-packages/` #### 2. Replace config files. - [x] Update `tsconfig*.json`, `typedoc.json`, `jest.config.js` to extend from corresponding files in root. Copy contents of corresponding files in other non-root packages. - [x] Keep TypeScript compiler flags. - [x] Add tsconfig reference paths for non-root packages that are upstream dependencies of the migration target. - [x] Keep Jest coverage threshold values. - [x] Add `deepmerge` as a devDependency. *** See #1551 (comment) for an outline of the entire process. ## References - Contributes to #1685 - Contributes to #1551 ## Changelog N/A ## Checklist - [x] I've updated the test suite for new or updated code as appropriate - [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [x] I've highlighted breaking changes using the "BREAKING" category above as appropriate
- Loading branch information
Showing
4 changed files
with
21 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"extends": "../../tsconfig.packages.build.json", | ||
"compilerOptions": { | ||
"declaration": true, | ||
"inlineSources": true, | ||
"noEmit": false, | ||
"outDir": "dist", | ||
"rootDir": "src", | ||
"sourceMap": true | ||
"baseUrl": "./", | ||
"outDir": "./dist", | ||
"rootDir": "./src" | ||
}, | ||
"include": ["./src/**/*.ts"], | ||
"exclude": ["./src/**/*.test.ts"] | ||
"references": [], | ||
"include": ["../../types", "./src"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
{ | ||
"extends": "../../tsconfig.packages.json", | ||
"compilerOptions": { | ||
"esModuleInterop": true, | ||
"baseUrl": "./", | ||
"rootDir": "../..", | ||
"exactOptionalPropertyTypes": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"lib": ["ES2020"], | ||
"module": "CommonJS", | ||
"moduleResolution": "node", | ||
"noEmit": true, | ||
"noErrorTruncation": true, | ||
"noUncheckedIndexedAccess": true, | ||
"strict": true, | ||
"target": "es2017" | ||
}, | ||
"exclude": ["./dist/**/*"] | ||
"references": [], | ||
"include": ["../../types", "../../tests", "./src", "./tests"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters