Skip to content

Commit 287a7c9

Browse files
committed
chore(deps): Use @guardian/tsconfig
Use the departmental TypeScript configuration from `@guardian/tsconfig`.
1 parent 639d744 commit 287a7c9

3 files changed

Lines changed: 12 additions & 26 deletions

File tree

cdk/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@guardian/cdk": "61.11.1",
1616
"@guardian/eslint-config": "12.0.1",
1717
"@guardian/prettier": "9.0.0",
18+
"@guardian/tsconfig": "1.0.1",
1819
"@types/jest": "^29.5.14",
1920
"@types/node": "22.15.29",
2021
"aws-cdk": "2.1029.1",

cdk/tsconfig.json

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,7 @@
11
{
2-
"ts-node": {
3-
"compilerOptions": {
4-
"module": "CommonJS"
5-
}
6-
},
2+
"extends": "@guardian/tsconfig/tsconfig.json",
73
"compilerOptions": {
8-
"target": "ES2020",
9-
"module": "ES2020",
10-
"moduleResolution": "node",
11-
"lib": ["ES2020"],
12-
"declaration": true,
13-
"strict": true,
14-
"noImplicitAny": true,
15-
"strictNullChecks": true,
16-
"esModuleInterop": true,
17-
"noImplicitThis": true,
18-
"alwaysStrict": true,
19-
"noUnusedLocals": false,
20-
"noUnusedParameters": false,
21-
"noImplicitReturns": true,
22-
"noFallthroughCasesInSwitch": false,
23-
"inlineSourceMap": true,
24-
"inlineSources": true,
25-
"experimentalDecorators": true,
26-
"strictPropertyInitialization": false,
27-
"typeRoots": ["./node_modules/@types"],
28-
"outDir": "dist"
4+
"module": "CommonJS"
295
},
306
"include": ["lib/**/*", "bin/**/*"],
317
"exclude": [
@@ -34,3 +10,4 @@
3410
"lib/**/__snapshots__/**"
3511
]
3612
}
13+

cdk/yarn.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,13 @@ __metadata:
649649
languageName: node
650650
linkType: hard
651651

652+
"@guardian/tsconfig@npm:1.0.1":
653+
version: 1.0.1
654+
resolution: "@guardian/tsconfig@npm:1.0.1"
655+
checksum: 10c0/c10301e70c5191787050801f18517475d6627c3ef651152a877bab5064136328140b99fa6c95b7997d0edbe2504aee6b3ed8b24aae9999d878a7455cae7c3339
656+
languageName: node
657+
linkType: hard
658+
652659
"@humanfs/core@npm:^0.19.1":
653660
version: 0.19.1
654661
resolution: "@humanfs/core@npm:0.19.1"
@@ -2185,6 +2192,7 @@ __metadata:
21852192
"@guardian/cdk": "npm:61.11.1"
21862193
"@guardian/eslint-config": "npm:12.0.1"
21872194
"@guardian/prettier": "npm:9.0.0"
2195+
"@guardian/tsconfig": "npm:1.0.1"
21882196
"@types/jest": "npm:^29.5.14"
21892197
"@types/node": "npm:22.15.29"
21902198
aws-cdk: "npm:2.1029.1"

0 commit comments

Comments
 (0)