The build process relies on npm
,
esbuild
, and the TypeScript compiler. You only
need to install npm
manually; it will take care of installing the rest of the
toolchain.
Change the current working directory to events-a
.
You can build the eponymous service like so:
npm install
npm run build
npm run postbuild
You can use the custom create
script to create and publish the remote AWS
Lambda, but you will likely need to modify the --role
parameter. Once
customized for your AWS environment, you can:
npm run create
If you need to redeploy (because you made changes):
npm run package
npm run deploy
Change the current working directory to events-b
.
You can build the eponymous service like so:
npm install
npm run build
npm run postbuild
You can use the custom create
script to create and publish the remote AWS
Lambda, but you will likely need to modify the --role
parameter. Once
customized for your AWS environment, you can:
npm run create
If you need to redeploy (because you made changes):
npm run package
npm run deploy