@octoherd/script-setup-renovate

3.0.2 • Public • Published

setup renovate

An octoherd script to setup renovate

At this point, this script adds / updates a repository's package.json file. Repositories without a package.json file in the root folder are ignored. Currently only the extends option is supported, but in theory all Renovate Configuration Options could be supported.

Usage

npx @octoherd/script-setup-renovate \
  --extends "github>octoherd/.github"

Pass all options as CLI flags to avoid user prompts

npx @octoherd/script-setup-renovate \
  --extends "github>octoherd/.github"\
  -T ghp_0123456789abcdefghjklmnopqrstuvwxyzA \
  -R "octoherd/repository-with-script-folders"

Options

option type description
--extends string Required. Location from where should inherit settings from, see the extends documentation. Example: --extends "github>octoherd/.github"
--path string File path of the configuration file for Renovate, see the Configuration options documentation. Example: --path ".github/renovate.json"
--octoherd-token, -T string A personal access token (create). Script will create one if option is not set
--octoherd-repos, -R array of strings One or multiple space-separated repositories in the form of repo-owner/repo-name. repo-owner/* will find all repositories for one owner. * will find all repositories the user has access to. Will prompt for repositories if not set
--octoherd-bypass-confirms boolean Bypass prompts to confirm mutating requests

Licenses

ISC

Readme

Keywords

Package Sidebar

Install

npm i @octoherd/script-setup-renovate

Weekly Downloads

6

Version

3.0.2

License

ISC

Unpacked Size

49.7 kB

Total Files

11

Last publish

Collaborators

  • gr2m