Skip to content

Commit 682cbf7

Browse files
committed
fix: update dependencies
Closes #499
1 parent 6e6bc9c commit 682cbf7

File tree

3 files changed

+88
-92
lines changed

3 files changed

+88
-92
lines changed

cdk/registry.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { packLambda } from '@bifravst/aws-cdk-lambda-helpers'
33
import { ensureGitHubOIDCProvider } from '@bifravst/ci'
44
import { mkdir } from 'node:fs/promises'
55
import path from 'node:path'
6-
import pJSON from '../package.json'
6+
import pJSON from '../package.json' assert { type: 'json' }
77
import { RegistryApp } from './RegistryApp.js'
88

99
const repoUrl = new URL(pJSON.repository.url)
@@ -25,13 +25,13 @@ const pack = async (id: string, handler = 'handler'): Promise<PackedLambda> => {
2525
} catch {
2626
// Directory exists
2727
}
28-
const zipFile = path.join(process.cwd(), 'dist', 'lambdas', `${id}.zip`)
28+
const zipFilePath = path.join(process.cwd(), 'dist', 'lambdas', `${id}.zip`)
2929
await packLambda({
30-
sourceFile: path.join(process.cwd(), 'lambda', `${id}.ts`),
31-
zipFile,
30+
sourceFilePath: path.join(process.cwd(), 'lambda', `${id}.ts`),
31+
zipFilePath,
3232
})
3333
return {
34-
lambdaZipFile: zipFile,
34+
lambdaZipFile: zipFilePath,
3535
handler: `${id}.${handler}`,
3636
}
3737
}

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@aws-sdk/client-iam": "3.699.0",
3030
"@aws-sdk/client-s3": "3.699.0",
3131
"@aws-sdk/client-ssm": "3.699.0",
32-
"@bifravst/aws-cdk-lambda-helpers": "1.10.59",
32+
"@bifravst/aws-cdk-lambda-helpers": "2.2.19",
3333
"@bifravst/bdd-markdown": "8.2.40",
3434
"@bifravst/ci": "2.0.01",
3535
"@bifravst/cloudformation-helpers": "9.1.1",

0 commit comments

Comments
 (0)