/renovate-config

Shareable config for Renovate (renovatebot.com)

Primary LanguageJavaScript

@azu/renovate-config Actions Status: test

Shareable config for Renovate

Setup

Enable Renovate in your repo and just extends in renovate.json.

Default preset

{
  "extends": [
    "github>azu/renovate-config"
  ]
}

Note: Don't necessary to do npm i -D @azu/renovate-config

Features

  • Auto merge patch and minor version
  • Support npm/Node.js ecosystem
  • Defined package groups like TypeScript, Prettier, Linters
  • Prevent supply-chain attack by "minimumReleaseAge": 7 days

Maintenance preset

{
  "extends": [
    "github>azu/renovate-config:non-major"
  ]
}

Features

Same features with Default preset. The only difference from default preset, It disables major updates.

  • Add { major: { enabled: false }}

It aims to less create Pull Request by renovate-bot.

Migration from npm based preset to GitHub based preset

If you used default preset, you can migrate to GitHub based preset by following steps.

{
  "extends": [
-    "@azu"
+    "github>azu/renovate-config"
  ]
}

If you used maintenance preset, you can migrate to GitHub based preset by following steps.

{
    "extends": [
-        "@azu:maintenance"
+        "github>azu/renovate-config:non-major"
    ]
}

References

License

MIT