Skip to content

Commit

Permalink
chore: add @types/aws-lambda to bundledDependencies
Browse files Browse the repository at this point in the history
Fixes: Error: Unable to locate jsii assembly for "@types/aws-lambda". If this module is not jsii-enabled, it must also be declared under bundledDependencies: Error: Cannot find module '@types/aws-lambda'
  • Loading branch information
berenddeboer committed May 11, 2024
1 parent 7e6afd0 commit 3dcf2b4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .projen/deps.json

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

4 changes: 2 additions & 2 deletions .projen/tasks.json

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

1 change: 1 addition & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
docgen: false,
deps: ["exponential-backoff", "@types/aws-lambda"],
bundledDeps: [
"@types/aws-lambda",
"@aws-sdk/client-secrets-manager",
"pg",
"node-pg-format",
Expand Down
4 changes: 3 additions & 1 deletion package-lock.json

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

1 change: 1 addition & 0 deletions package.json

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

0 comments on commit 3dcf2b4

Please sign in to comment.