opinionated scaffolder for enabling Renovate on a project
- Creates the config file for Renovate, extending an appropriate shareable config
$ npm install @form8ion/renovate-scaffolder --save-prod
import {lift, test as projectUsesRenovate, scaffold} from '@form8ion/renovate-scaffolder';
(async () => {
await scaffold({projectRoot: process.cwd()});
if (await projectUsesRenovate({projectRoot: process.cwd()})) {
await lift({projectRoot: process.cwd()});
}
})();
path to the root of the project
$ nvm install
$ npm install
$ npm test