Skip to content

Commit

Permalink
build(functions): start using github.com/tsconfig/bases
Browse files Browse the repository at this point in the history
  • Loading branch information
jlucktay committed Feb 10, 2024
1 parent 390f6d3 commit 5006bc3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
1 change: 1 addition & 0 deletions functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"firebase-functions": "^4.6.0"
},
"devDependencies": {
"@tsconfig/node21": "^21.0.1",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
Expand Down
11 changes: 2 additions & 9 deletions functions/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,16 @@
"allowJs": false,
"baseUrl": "./",
"declaration": true,
"esModuleInterop": true,
"lib": ["ES2023"],
"listEmittedFiles": true,
"module": "node16",
"moduleResolution": "Node16",
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "lib",
"removeComments": false,
// https://github.com/stephenh/ts-proto/issues/891
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "ES2022",
"types": ["jest"]
},
"exclude": ["node_modules", "lib"]
"exclude": ["node_modules", "lib"],
"extends": "@tsconfig/node21/tsconfig.json"
}
5 changes: 5 additions & 0 deletions functions/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,11 @@
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf"
integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==

"@tsconfig/node21@^21.0.1":
version "21.0.1"
resolved "https://registry.yarnpkg.com/@tsconfig/node21/-/node21-21.0.1.tgz#a26f5ac11eb580bf6da68070f9c6eeccf9bba896"
integrity sha512-2Khg79N+z2Qkb9SjLzOi8cz2PSa/oUpHIeQm1YWzmWXkoFcPXFZSHgs+Z8iPCDjIoXFqMNYntiTXxfLYQMcRhw==

"@types/babel__core@^7.1.14":
version "7.20.5"
resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017"
Expand Down

0 comments on commit 5006bc3

Please sign in to comment.