@form8ion/dependabot-scaffolder
v3.0.0
Published
opinionated scaffolder for enabling dependabot on a project
Downloads
1,225
Readme
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, test, scaffold} from '@form8ion/dependabot-scaffolder';
Execute
await scaffold({projectRoot: process.cwd()});
if (await test({projectRoot: process.cwd()})) {
await lift({vcs: {owner: 'form8ion', name: 'the-repo'}});
}
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