3.0.2 • Published 9 months ago

@octoherd/script-setup-renovate v3.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

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

optiontypedescription
--extendsstringRequired. Location from where should inherit settings from, see the extends documentation. Example: --extends "github>octoherd/.github"
--pathstringFile path of the configuration file for Renovate, see the Configuration options documentation. Example: --path ".github/renovate.json"
--octoherd-token, -TstringA personal access token (create). Script will create one if option is not set
--octoherd-repos, -Rarray of stringsOne 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-confirmsbooleanBypass prompts to confirm mutating requests

Licenses

ISC

3.0.2

9 months ago

3.0.1

10 months ago

3.0.0

10 months ago

2.4.2

1 year ago

2.4.1

2 years ago

2.3.0

2 years ago

2.2.0

2 years ago

2.3.2

2 years ago

2.4.0

2 years ago

2.3.1

2 years ago

2.3.3

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago