Skip to content

Commit

Permalink
docs: add comment about regenerating the lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
blimmer committed Feb 2, 2025
1 parent 21196f5 commit 2962dea
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ const handler = new lambda.NodejsFunction(stack, 'Function', {
nodeModules: ['axios'],
forceDockerBundling: true,
},

// To (re-)generate this lockfile:
// 1. Ensure your local version of bun matches the version in packages/aws-cdk-lib/aws-lambda-nodejs/lib/Dockerfile
// 2. Run `bun install` in the `packages/@aws-cdk-testing/framework-integ` directory
// 3. Copy the generated `bun.lockb` file (it'll be a few directories up) to this location
depsLockFilePath: path.join(__dirname, 'integ-handlers/bun/bun.lockb'),
});

Expand Down

0 comments on commit 2962dea

Please sign in to comment.