UNPKG

1.72 kBMarkdownView Raw
1# Contributing
2
3This project welcomes contributions and suggestions. Most contributions require you to agree to a
4Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
5the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
6
7When you submit a pull request, a CLA bot will automatically determine whether you need to provide
8a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
9provided by the bot. You will only need to do this once across all repos using our CLA.
10
11This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
12For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
13contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
14
15# How to contribute to the Application Insights Node.js SDK
16
17
181. Fork this repo
192. Clone your fork locally (`git clone https://github.com/<youruser>/ApplicationInsights-node.js
203. Open a terminal and move into your local copy (`cd ApplicationInsights-node.js`)
214. Install all dependencies with `npm install`.
225. Build project
23 ```bash
24 npm run build
25 ```
266. Run unit tests
27 ```bash
28 npm run test
29 ```
307. Run functional and back compatibility tests, start docker then run following commands:
31 ```bash
32 npm run functionaltest
33 ```
34 _Note: Functional tests require Docker_
35
368. Run back compatibility tests to ckeck older version of Node.js runtime and Typescript.
37 ```bash
38 npm run backcompattest
39 ```
40---
\No newline at end of file