Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

build-lambda-layer

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

build-lambda-layer

Build node awesome lambda layers with controls 🕹

  • 0.2.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
decreased by-75.51%
Maintainers
1
Weekly downloads
 
Created
Source

Build Lambda Layer

Typed with TypeScript ci npm Github

Builds Awesome Node Lambda Layers with Control! 🕹

Build Lambda Layer is a small utility CLI for building Lambda Layers with control for AWS Node Lambda projects.


Why is this written?

Build Lambda Layer is built to take any consideration out of the seemingly simple task of building a lambda layer.
Sure, you could do it manually but why when Build Lambda Layer will get it done it for you!


Do I get any other benefits?

Yes! Build Lambda Layer is built to assist with optimizing your node lambda layer builds, it:

  • Works with and for monorepos
  • Provides ignore and include support

Install

pnpm install build-lambda-layer

Usage

Build Lambda Layer is built to work as a CLI.

Easy mode
build-layer <dir>
Full API
Usage: build-layer [options] <dir>

Build Lambda Layer, Build node awesome lambda layers with controls 🕹

Arguments:
  dir                                 lambda layer directory to build to

Options:
  --architectures [architectures...]  architectures for deployment to AWS
  --bucket <bucket>                   bucket to deploy to using AWS
  -c, --config <config>               path to a config file
  --deploy                            deploy your lambda layer
  -n, --name <name>                   lambda layer name
  --debug                             enable debugging
  -f, --files [files...]              file glob pattern
  -i, --ignore [ignore...]            ignore glob pattern
  --isTesting                         enable running fn tests w/o overwriting
  --noZip                             don't zip lambda layer
  -o, --output <output>               output path
  -r, --rootDir <rootDir>             root directory to start search
  --runner <runner>                   npm, pnpm, or yarn
  --runtimes [runtimes...]            runtimes for deployment to AWS
  -t, --isTestingCLI                  enable CLI only testing
  -h, --help                          display help for command

Recipes

Debugging

Gets you logging in your terminal

build-layer <dir> --debug
No Zip

Just build you a directory

build-layer <dir> --noZip
Customer runner

Build everything with a runner besides npm. Options are npm, pnpm, or yarn

build-layer <dir> --runner 'pnpm'
AWS Deploy

Assumes you're authenticated and have the AWS CLI

build-layer <dir> --bucket <bucket> --runtimes [runtimes...] --architectures [architectures...]

Made by @yowainwright for fun with passion! MIT, 2022

Keywords

FAQs

Package last updated on 30 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc