aboutsummaryrefslogtreecommitdiff
path: root/package-lock.json
Commit message (Collapse)AuthorAgeFilesLines
* Implement file handling for reportsKevin J Hoerr2019-11-291-0/+704
|
* Implement report parsing for TarpaulinKevin J Hoerr2019-11-291-0/+366
| | | | | | | | | | The generated Tarpaulin HTML report does not have stats to parse via the DOM - the data is injected via a script tag, which only has line-by-line coverage, though it includes statistics for each file. The total coverage is counted by summing the covered/coverable stats reported for each file. Also, the bad version for express is fixed, and messages are included for errors that occur for the POST endpoint.
* Add Prettier to projectKevin J Hoerr2019-11-231-365/+5
| | | | Signed-off-by: Kevin J Hoerr <kjhoerr@protonmail.com>
* Set up initial projectKevin J Hoerr2019-11-101-0/+449
Initializes project with TypeScript, ExpressJS, and Badgen. Defines initial (v1) request paths: GET /bash GET /v1/:org/:repo/:branch.svg GET /v1/:org/:repo/:branch.html GET /v1/:org/:repo/:branch/:commit.svg GET /v1/:org/:repo/:branch/:commit.html POST /v1/:org/:repo/:branch/:commit.html?token=&format= Also sets up interfaces for defining multiple formats. Tarpaulin is defined but not implemented. All requests (aside from GET /bash) return 501 NOT IMPLEMENTED. A global TOKEN is expected for POST request. This can and should be adapted to assigning tokens per repository, though this may require verification from the originating repository or administrative designation.