Skip to content

Commit

Permalink
feat(terraform): add preset
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanb committed Nov 19, 2024
1 parent a27356f commit 017e0f3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@ To use a preset, just reference it in your renovate config file:

These are the available presets:

| Preset | Description |
| ------- | ----------------------------------------------------------------------------------------------------- |
| jvm | Preset for JVM based projects (Java, Kotlin, Scala, Groovy, ...) |
| npm | [deprecated favor of the npm-app or npm-lib] Preset for NPM based repositories |
| npm-app | Preset for NPM based applications (all dependencies will be pinned) |
| npm-lib | Preset for NPM based libraries (browser or node + browser libs) (only devDependencies will be pinned) |
| Preset | Description |
| --------- | ----------------------------------------------------------------------------------------------------- |
| jvm | Preset for JVM based projects (Java, Kotlin, Scala, Groovy, ...) |
| npm | [deprecated favor of the npm-app or npm-lib] Preset for NPM based repositories |
| npm-app | Preset for NPM based applications (all dependencies will be pinned) |
| npm-lib | Preset for NPM based libraries (browser or node + browser libs) (only devDependencies will be pinned) |
| terraform | Preset for Terraform repositories (all provider versions will be pinned) |

## Development

Expand Down
12 changes: 12 additions & 0 deletions terraform.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"packageRules": [
{
"packageRules": [
{
"matchDatasources": ["terraform-provider"],
"rangeStrategy": "pin"
}
]
}
]
}

0 comments on commit 017e0f3

Please sign in to comment.