Skip to content

Commit 162909f

Browse files
authored
chore: turn on strict mode everywhere (#18652)
I wrote a script that turns on strict mode everywhere (didn't do this by hand :) ). Hopefully this is the direction that we want to go down. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 6f27bd5 commit 162909f

File tree

116 files changed

+951
-117
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+951
-117
lines changed

Diff for: packages/@aws-cdk/alexa-ask/package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@
2828
]
2929
}
3030
},
31-
"projectReferences": true
31+
"projectReferences": true,
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
38+
}
3239
},
3340
"repository": {
3441
"type": "git",

Diff for: packages/@aws-cdk/assets/package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@
2828
]
2929
}
3030
},
31-
"projectReferences": true
31+
"projectReferences": true,
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
38+
}
3239
},
3340
"repository": {
3441
"type": "git",

Diff for: packages/@aws-cdk/aws-accessanalyzer/package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@
2828
]
2929
}
3030
},
31-
"projectReferences": true
31+
"projectReferences": true,
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
38+
}
3239
},
3340
"repository": {
3441
"type": "git",

Diff for: packages/@aws-cdk/aws-amazonmq/package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@
2828
]
2929
}
3030
},
31-
"projectReferences": true
31+
"projectReferences": true,
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
38+
}
3239
},
3340
"repository": {
3441
"type": "git",

Diff for: packages/@aws-cdk/aws-appconfig/package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@
2828
]
2929
}
3030
},
31-
"projectReferences": true
31+
"projectReferences": true,
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
38+
}
3239
},
3340
"repository": {
3441
"type": "git",

Diff for: packages/@aws-cdk/aws-appflow/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@
2828
"Framework :: AWS CDK :: 1"
2929
]
3030
}
31+
},
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
3138
}
3239
},
3340
"repository": {

Diff for: packages/@aws-cdk/aws-appintegrations/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
"distName": "aws-cdk.aws-appintegrations",
3131
"module": "aws_cdk.aws_appintegrations"
3232
}
33+
},
34+
"metadata": {
35+
"jsii": {
36+
"rosetta": {
37+
"strict": true
38+
}
39+
}
3340
}
3441
},
3542
"repository": {

Diff for: packages/@aws-cdk/aws-applicationinsights/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@
2828
"Framework :: AWS CDK :: 1"
2929
]
3030
}
31+
},
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
3138
}
3239
},
3340
"repository": {

Diff for: packages/@aws-cdk/aws-appstream/package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@
2828
]
2929
}
3030
},
31-
"projectReferences": true
31+
"projectReferences": true,
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
38+
}
3239
},
3340
"repository": {
3441
"type": "git",

Diff for: packages/@aws-cdk/aws-aps/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
"distName": "aws-cdk.aws-aps",
3131
"module": "aws_cdk.aws_aps"
3232
}
33+
},
34+
"metadata": {
35+
"jsii": {
36+
"rosetta": {
37+
"strict": true
38+
}
39+
}
3340
}
3441
},
3542
"repository": {

Diff for: packages/@aws-cdk/aws-athena/package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@
2828
]
2929
}
3030
},
31-
"projectReferences": true
31+
"projectReferences": true,
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
38+
}
3239
},
3340
"cdk-build": {
3441
"cloudformation": "AWS::Athena",

Diff for: packages/@aws-cdk/aws-auditmanager/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@
2828
"distName": "aws-cdk.aws-auditmanager",
2929
"module": "aws_cdk.aws_auditmanager"
3030
}
31+
},
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
3138
}
3239
},
3340
"repository": {

Diff for: packages/@aws-cdk/aws-autoscaling-common/package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@
2828
]
2929
}
3030
},
31-
"projectReferences": true
31+
"projectReferences": true,
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
38+
}
3239
},
3340
"repository": {
3441
"type": "git",

Diff for: packages/@aws-cdk/aws-autoscaling-hooktargets/package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@
2828
]
2929
}
3030
},
31-
"projectReferences": true
31+
"projectReferences": true,
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
38+
}
3239
},
3340
"repository": {
3441
"type": "git",

Diff for: packages/@aws-cdk/aws-autoscalingplans/package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@
2828
]
2929
}
3030
},
31-
"projectReferences": true
31+
"projectReferences": true,
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
38+
}
3239
},
3340
"repository": {
3441
"type": "git",

Diff for: packages/@aws-cdk/aws-budgets/package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@
2828
]
2929
}
3030
},
31-
"projectReferences": true
31+
"projectReferences": true,
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
38+
}
3239
},
3340
"repository": {
3441
"type": "git",

Diff for: packages/@aws-cdk/aws-cassandra/package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@
2828
]
2929
}
3030
},
31-
"projectReferences": true
31+
"projectReferences": true,
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
38+
}
3239
},
3340
"repository": {
3441
"type": "git",

Diff for: packages/@aws-cdk/aws-ce/package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@
2828
]
2929
}
3030
},
31-
"projectReferences": true
31+
"projectReferences": true,
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
38+
}
3239
},
3340
"repository": {
3441
"type": "git",

Diff for: packages/@aws-cdk/aws-codeartifact/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@
2828
"distName": "aws-cdk.aws-codeartifact",
2929
"module": "aws_cdk.aws_codeartifact"
3030
}
31+
},
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
3138
}
3239
},
3340
"repository": {

Diff for: packages/@aws-cdk/aws-codegurureviewer/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
"jsii": {
88
"outdir": "dist",
99
"projectReferences": true,
10+
"metadata": {
11+
"jsii": {
12+
"rosetta": {
13+
"strict": true
14+
}
15+
}
16+
},
1017
"targets": {
1118
"dotnet": {
1219
"namespace": "Amazon.CDK.AWS.CodeGuruReviewer",

Diff for: packages/@aws-cdk/aws-codestarconnections/package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@
2828
]
2929
}
3030
},
31-
"projectReferences": true
31+
"projectReferences": true,
32+
"metadata": {
33+
"jsii": {
34+
"rosetta": {
35+
"strict": true
36+
}
37+
}
38+
}
3239
},
3340
"repository": {
3441
"type": "git",

0 commit comments

Comments
 (0)