@nx/aws-lambda v17.2.3
@nx/aws-lambda
⚠️ The AWS Lambda plugin is deprecated and will no longer receive updates. We are committed to providing high-quality tooling to community, and we no longer have the capacity to keep this plugin updated.
Setup
Create a new Nx worksapce if you don't already have one.
npx create-nx-workspace@latest aws-lambda-demo --preset=@nx/aws-lambda:presetNow, you can go into the aws-lambda-demo folder and start development.
Note: You must have SAM installed and esbuild available in your PATH before you start building / deploying your functions.
You can do this by running
npm install -g esbuildNow to run your functions locally you can
cd aws-lambda-demo
npx nx run devYou can also run lint, test and deploy for the project.
npx nx run lint
npx nx run test
npx nx run deployFor deploy this runs
sam deploy --guidedNote: Change aws-lambda-demo to any project name you want.
Existing workspaces
You can add aws-lambda to any existing Nx workspace.
First, install the plugin:
npm install -DE @nx/aws-lambda@latestCreate a new Aws Lambda App
npx nx g @nx/aws-lambda:serverless2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago