README
infra-devops
Devops tooling for Sheertex repos
Quickstart
Installation
yarn add -D @sheertex/infra-devops
Usage
Publishing AWS lambda functions
Add publish script to package.json file of your project
"scripts": {
"deploy:lambda": "publish lambda",
...
},
Execute script when you want to publish your lambda functions
yarn run deploy:lambda
All files that have *.lambda.js or *.lambda.ts in their name will be published.
Contributing
Prerequisites
You will need the following things properly installed on your computer.
- Git
- Node.js — ⚠️ WARNING ⚠️ You should install this with Volta (unless you have a good reason not to)
- Yarn
- Terraform CLI
Installation
git clone <repository-url>this repositorycd infra-devopsyarn install
Running locally
yarn launch:dev <args>yarn build && yarn launch:prod <args>
Publishing new version
yarn test(make sure all tests passed)- Bump version in the
package.json npm publish --access public