@code-review-leaderboard/azure
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

@code-review-leaderboard/azure

Build Status semantic-release

Setting up your environment

Install the SAM CLI

Create a new file events/secret-event.json and copy/paste in the contents of test-event.json. Then replace the "body" value with a JSON formatted config as a string.

For example:

{
    "body": "{\"azure\":{\"baseUrl\":\"https://dev.azure.com/MyOrg\",\"personalAccessToken\":\"abc123\"}}",
   ...
    }
}

Running locally

  1. Install dependencies:

    yarn
    
  2. Compile TS to JS

    yarn build
    
  3. Build Lambda

    sam build
    
  4. Invoke Lambda locally and pass in your secret-event

    sam local invoke --event=events/secret-event.json
    

Debugging locally

  1. Open this project in Visual Studio Code

  2. Install dependencies:

    yarn
    
  3. Compile TS to JS

    yarn build
    
  4. (optional) add breakpoints to TS/JS files

  5. Press F5 to run the AzureFunction launch task, which will build and invoke the Lambda in debug mode

Readme

Keywords

none

Package Sidebar

Install

npm i @code-review-leaderboard/azure

Weekly Downloads

0

Version

1.2.1

License

MIT

Unpacked Size

392 kB

Total Files

30

Last publish

Collaborators

  • lachiejames