1 | # @artsy/dupe-report
|
2 |
|
3 | A tool for reporting on duplicate dependencies in a webpack bundle.
|
4 |
|
5 | ## Overview
|
6 |
|
7 | Intended to be deployed to a now lambda, it exposes a simple REST api to perform a duplicate comparison between a PR and master.
|
8 |
|
9 | This project currently has the baked in assumptions that you use CircleCI, GitHub, and Slack.
|
10 |
|
11 | ## API
|
12 |
|
13 | ```
|
14 | GET /?owner={github_repo_owner}&repo={github_repo}&buildNum=${circle_ci_build_num}
|
15 | ```
|
16 |
|
17 | There's an optional `dryRun` query param that an be used for debugging
|
18 |
|
19 | ## Deployment
|
20 |
|
21 | To deploy a staging build scoped to your user use `yarn dev`.
|
22 |
|
23 | For a production deployment use `yarn deploy`.
|