Skip to content

form8ion/dependabot-scaffolder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dependabot-scaffolder

opinionated scaffolder for enabling Dependabot on a project

Node CI Workflow Status Codecov SLSA Level 2

Table of Contents

Usage

npm Try @form8ion/dependabot-scaffolder on RunKit MIT license node

Installation

$ npm install @form8ion/dependabot-scaffolder --save-prod

Features

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 repository
  • name string (required) repository name

Contributing

Conventional Commits Commitizen friendly semantic-release PRs Welcome Renovate

Dependencies

$ nvm install
$ npm install

Verification

$ npm test