Skip to content

Commit e0152e9

Browse files
committed
typecheck
1 parent 3d3ecec commit e0152e9

File tree

13 files changed

+39
-17
lines changed

13 files changed

+39
-17
lines changed

docs/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"build": "JEKYLL_ENV=production bundle exec jekyll build --trace --config _config.yml,_config.version.yml",
1515
"debug": "JEKYLL_ENV=development BUNDLE_GEMFILE=Gemfile bundle exec jekyll serve --config _config.yml,_config.dev.yml,_config.version.yml --limit_posts 100 --trace",
1616
"generate-includes": "./generate-includes.sh",
17-
"test:unit": "echo \"Documentation module has no unit tests\""
17+
"test:unit": "echo \"Documentation module has no unit tests\"",
18+
"typecheck": "echo \"Documentation module has no typescript to typecheck\""
1819
},
1920
"version": "1.0.0"
2021
}

internal/datastore/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@aws-sdk/lib-dynamodb": "^3.858.0",
55
"@internal/helpers": "*",
66
"pino": "^9.7.0",
7-
"uuid": "^9.0.0",
7+
"uuid": "^13.0.0",
88
"zod": "^4.1.11",
99
"zod-mermaid": "^1.0.9"
1010
},

internal/datastore/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ export * from "./types";
22
export * from "./mi-repository";
33
export * from "./letter-repository";
44
export * from "./supplier-repository";
5-
export * from "./healthcheck";
5+
export { default as DBHealthcheck } from "./healthcheck";

internal/events/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
"pretest:unit": "npm run gen:jsonschema",
4747
"start": "node dist/index.js",
4848
"test": "npm run test:unit",
49-
"test:unit": "jest"
49+
"test:unit": "jest",
50+
"typecheck": "tsc --noEmit"
5051
},
5152
"types": "dist/index.d.ts",
5253
"version": "1.0.2"

internal/events/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"extends": "../../tsconfig.base.json",
1515
"include": [
1616
"src/**/*",
17-
"jest.config.ts",
1817
"package.json"
1918
]
2019
}

lambdas/api-handler/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"@internal/datastore": "*",
55
"@internal/helpers": "*",
66
"esbuild": "^0.25.11",
7-
"pino": "^9.7.0"
7+
"pino": "^9.7.0",
8+
"uuid": "13.0.0"
89
},
910
"devDependencies": {
1011
"@aws-sdk/s3-request-presigner": "^3.901.0",

lambdas/api-handler/src/handlers/get-status.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { APIGatewayProxyHandler } from "aws-lambda";
22
import { Deps } from "../config/deps";
33
import { ListBucketsCommand, S3Client } from "@aws-sdk/client-s3";
4-
import { mapErrorToResponse } from "../mappers/error-mapper";
54

65
export function createGetStatusHandler(deps: Deps): APIGatewayProxyHandler {
76

package-lock.json

Lines changed: 20 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/utilities/supplier-data/src/cli/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ async function main() {
2222
},
2323
"name": {
2424
type: "string",
25-
demandOption: false,
25+
demandOption: true,
2626
},
2727
"apimId": {
2828
type: "string",
29-
demandOption: false,
29+
demandOption: true,
3030
},
3131
status: {
3232
type: "string",

tests/component-tests/apiGateway-tests/testCases/UpdateLetterStatus.ts renamed to tests/component-tests/apiGateway-tests/testCases/updateLetterStatus.ts

File renamed without changes.

0 commit comments

Comments
 (0)