1.5.3 • Published 4 months ago
@form8ion/dependabot-scaffolder v1.5.3
dependabot-scaffolder
opinionated scaffolder for enabling Dependabot on a project
Table of Contents
Usage
Installation
$ npm install @form8ion/dependabot-scaffolder --save-prod
Features
- Defines a badge that shows whether Dependabot is enabled for the project
- Creates the config file for Dependabot, enabling auto-merging
- :warning: Currently supports only the
javascript
package_manager
Example
Import
import {lift, predicate, scaffold} from '@form8ion/dependabot-scaffolder';
Execute
(async () => {
await scaffold({
projectRoot: process.cwd(),
vcs: {owner: 'form8ion', name: 'the-repo'}
});
if (await predicate({projectRoot: process.cwd()})) {
await lift();
}
})();
API
projectRoot
string (required)
path to the root of the project
vcs
object (required)
owner
string (required) account name on the host service for the repositoryname
string (required) repository name
Contributing
Dependencies
$ nvm install
$ npm install
Verification
$ npm test
1.5.3
4 months ago
1.5.2
10 months ago
1.5.1
10 months ago
1.5.0
2 years ago
1.4.1
2 years ago
1.4.0
3 years ago
1.3.0
3 years ago
1.2.0
4 years ago
1.1.0
4 years ago
1.0.0
4 years ago
1.0.0-alpha.4
4 years ago
1.0.0-alpha.3
4 years ago
1.0.0-alpha.2
4 years ago
1.0.0-alpha.1
4 years ago