Skip to content

Commit

Permalink
chore: upgrade to typescript 5.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Jan 6, 2025
1 parent bee1307 commit 5172fec
Show file tree
Hide file tree
Showing 13 changed files with 44 additions and 69 deletions.
69 changes: 14 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
"dev:docker": "docker compose --file dev/docker-compose.dev.yaml up -d"
},
"devDependencies": {
"@tsconfig/node18-strictest-esm": "1.0.1",
"@types/node": "20.12.2",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
Expand All @@ -74,7 +73,7 @@
"rimraf": "6.0.1",
"testcontainers": "9.12.0",
"tsx": "4.19.0",
"typescript": "5.3.3",
"typescript": "5.7.2",
"vitest": "2.1.8"
},
"lint-staged": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"ts-json-schema-generator": "^2.3.0",
"ts-node": "^10.9.1",
"tsup": "^8.1.0",
"typescript": "^5.3.3",
"typescript": "5.7.2",
"zod": "3.23.8"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/connect-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"tailwind-merge": "2.5.4",
"tailwindcss": "3.4.14",
"tailwindcss-animate": "1.0.7",
"typescript": "5.5.3",
"typescript": "5.7.2",
"vite": "5.4.6",
"vite-plugin-svgr": "4.2.0",
"zod": "3.23.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"tarn": "3.0.2"
},
"devDependencies": {
"typescript": "5.3.3",
"typescript": "5.7.2",
"vitest": "2.1.8"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/jobs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"devDependencies": {
"@types/node": "^20.12.2",
"nodemon": "3.1.7",
"typescript": "5.3.3",
"typescript": "5.7.2",
"type-fest": "4.26.1",
"vitest": "2.1.8"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/persist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"devDependencies": {
"@types/node": "20.12.2",
"node-fetch": "^3.3.2",
"typescript": "5.3.3",
"typescript": "5.7.2",
"vitest": "2.1.8"
}
}
2 changes: 1 addition & 1 deletion packages/runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@nangohq/types": "file:../types",
"@types/connect-timeout": "0.0.39",
"@types/node": "20.12.2",
"typescript": "5.3.3",
"typescript": "5.7.2",
"vitest": "2.1.8"
}
}
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"get-port": "7.1.0",
"nodemon": "3.1.7",
"type-fest": "4.26.1",
"typescript": "5.3.3",
"typescript": "5.7.2",
"vitest": "2.1.8"
}
}
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"json-schema": "0.4.0",
"knex": "3.1.0",
"type-fest": "4.26.1",
"typescript": "^5.3.3",
"typescript": "5.7.2",
"vitest": "2.1.8"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"swr": "2.2.5",
"tailwind-merge": "2.5.4",
"tailwindcss": "3.4.14",
"typescript": "5.3.3",
"typescript": "5.7.2",
"vaul": "0.9.1",
"web-vitals": "2.1.4",
"webpack": "5.94.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/webhooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"devDependencies": {
"@nangohq/types": "file:../types",
"typescript": "5.3.3",
"typescript": "5.7.2",
"vitest": "2.1.8"
},
"files": [
Expand Down
21 changes: 19 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,28 @@
{
"extends": "@tsconfig/node18-strictest-esm/tsconfig.json",
"compilerOptions": {
"lib": ["es2023"],
"module": "ES2022",
"target": "es2022",
"ignoreDeprecations": "5.0",
"declaration": true,
"sourceMap": true,
"composite": true,
"checkJs": false,
"importsNotUsedAsValues": "remove"
"importsNotUsedAsValues": "remove",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true
}
}

0 comments on commit 5172fec

Please sign in to comment.