Skip to content

Commit

Permalink
chore(tsconfig): extend base node 10 config (#12163)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Dec 20, 2021
1 parent de669ec commit e835fae
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -13,6 +13,7 @@
"@crowdin/cli": "^3.5.2",
"@jest/globals": "workspace:*",
"@jest/test-utils": "workspace:*",
"@tsconfig/node10": "^1.0.8",
"@types/babel__core": "^7.0.0",
"@types/babel__generator": "^7.0.0",
"@types/babel__template": "^7.0.0",
Expand Down
6 changes: 3 additions & 3 deletions tsconfig.json
@@ -1,9 +1,8 @@
{
"extends": "@tsconfig/node10/tsconfig.json",
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
// Object.fromEntries
"lib": ["dom", "es2017", "es2019.object"],
"lib": ["dom", "es2019.object"],
"declaration": true,
"composite": true,
"emitDeclarationOnly": true,
Expand All @@ -22,6 +21,7 @@
"moduleResolution": "node",
/* This needs to be false so our types are possible to consume without setting this */
"esModuleInterop": false,
"skipLibCheck": false,
"resolveJsonModule": true
},
"exclude": [
Expand Down
8 changes: 8 additions & 0 deletions yarn.lock
Expand Up @@ -2583,6 +2583,7 @@ __metadata:
"@crowdin/cli": ^3.5.2
"@jest/globals": "workspace:*"
"@jest/test-utils": "workspace:*"
"@tsconfig/node10": ^1.0.8
"@types/babel__core": ^7.0.0
"@types/babel__generator": ^7.0.0
"@types/babel__template": ^7.0.0
Expand Down Expand Up @@ -4424,6 +4425,13 @@ __metadata:
languageName: node
linkType: hard

"@tsconfig/node10@npm:^1.0.8":
version: 1.0.8
resolution: "@tsconfig/node10@npm:1.0.8"
checksum: 0336493b89fb7c06409a1247a3fb00fac2755f21f3f8ae4b9dd2457859abfc5e8ca42b6d9ca5a279fe81bc70fe1f3450eef61e5dd5a63a7b4a6946ff31874816
languageName: node
linkType: hard

"@types/aria-query@npm:^4.2.0":
version: 4.2.2
resolution: "@types/aria-query@npm:4.2.2"
Expand Down

0 comments on commit e835fae

Please sign in to comment.