0.0.1-alpha-23 • Published 4 years ago

@sheertex/infra-devops v0.0.1-alpha-23

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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.

Installation

  • git clone <repository-url> this repository
  • cd infra-devops
  • yarn 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