aboutsummaryrefslogtreecommitdiff
path: root/package-lock.json
Commit message (Collapse)AuthorAgeFilesLines
* Add linting to project using EslintKevin J Hoerr2019-12-091-0/+950
|
* Change start script to start:dev with watcherKevin J Hoerr2019-12-091-237/+415
| | | | | There is currently no prod start command - this can be adopted later when desired.
* Add winston, express-winston to handle loggingKevin J Hoerr2019-12-081-0/+290
|
* Add Metadata core with MongoDB for persistenceKevin J Hoerr2019-12-071-1/+77
| | | | | | | | | | | With the new process dependency, process handling has been added to ensure that the ExpressJS server and MongoDB client connections get closed up properly. As noted in the Metadata file above the Branch interface, the schema is definitely not finalized. Eventually metadata will be needed at the repo level anyways, so reorganizing the document schema is high on the priority list.
* 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.