6.2.0 • Published 1 year ago
@form8ion/codecov v6.2.0
codecov
code coverage service plugin for form8ion
Table of Contents
Features
Lift
- Define a coverage status badge to communicate current coverage details
- Link from the status badge to further details on the Codecov site
- Migrate from the legacy node uploader
to the modern uploader
- Currently supports the following CI Providers:
Usage
Installation
$ npm install @form8ion/codecov --saveExample
Import
import {packageManagers} from '@form8ion/javascript-core';
import {scaffold, lift} from '@form8ion/codecov';Execute
(async () => {
await scaffold();
await lift({
projectRoot: process.cwd(),
packageManager: packageManagers.NPM,
vcs: {
host: 'github',
owner: 'foo',
name: 'bar'
}
});
})();API
scaffold
The scaffolder of this plugin is currently a no-op since the work is all done as part of the lifting process
lift
Migrates Codecov details from legacy conventions to modern conventions.
Takes a single options object as an argument, containing:
projectRoot string (required)
path to the root of the project
packageManager string (required)
chosen package manager to be used for the project
vcs object (required)
hoststring (required) VCS hosting serviceownerstring (required) account name on the host service for the repositorynamestring (required) repository name
Contributing
Dependencies
$ nvm install
$ npm installVerification
$ npm test6.1.0
1 year ago
6.0.0
1 year ago
6.2.0
1 year ago
5.3.0
2 years ago
5.2.0
2 years ago
5.1.0
2 years ago
5.0.0
2 years ago
5.0.0-beta.2
2 years ago
5.0.0-beta.3
2 years ago
5.0.0-beta.1
2 years ago
3.0.1
3 years ago
4.0.1
3 years ago
4.0.0
3 years ago
3.0.0
4 years ago
2.0.2
4 years ago
1.7.0
4 years ago
1.6.0
4 years ago
1.5.0
4 years ago
1.4.0
4 years ago
1.3.0
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.2.0
4 years ago
1.1.0
4 years ago
1.1.0-alpha.2
4 years ago
1.1.0-alpha.1
4 years ago
1.0.0
4 years ago
1.0.0-alpha.2
4 years ago
1.0.0-alpha.1
4 years ago