Shared Renovate configuration for M365 projects
MIT License
Bot releases are hidden (Show)
Compare source - August 22, 2024 at 9:55 PM PDT
Published by ecraig12345 8 months ago
Compare source - February 27, 2024 at 2:16 PM PST
30d65c3
- Disable minorDependencyUpdates by default and set rangeStrategy to "replace" for all npm dependencies (Thanks @ecraig12345!)Published by ecraig12345 10 months ago
Compare source - December 28, 2023 at 12:38 PM PST
cfc530c
- groupEslint: don't group typescript-eslint with other eslint packages (Thanks @ecraig12345!)Published by ecraig12345 12 months ago
Compare source - October 18, 2023 at 3:43 PM PDT
157ab35
- disableEsmVersions: add strip-ansi (Thanks @ecraig12345!)Published by ecraig12345 about 1 year ago
Compare source - September 11, 2023 at 4:46 PM PDT
#138 280a87d
- keepFresh
: Reduce noise from unnecessary lock file-only dep updates (Thanks @ecraig12345!)
#138 280a87d
- restrictNode
: enable constraintsFiltering
to prevent installing deps with incompatible engines.node
(Thanks @ecraig12345!)
280a87d
- Restrict npm package-specific presets to only apply to npm deps (Thanks @ecraig12345!)Published by ecraig12345 over 1 year ago
Compare source - May 2, 2023, 6:18 PM PDT
c61116a
- groupJest: include more packages and disable related built-in presets (Thanks @ecraig12345!)Published by ecraig12345 over 1 year ago
Compare source - May 2, 2023, 6:03 PM PDT
10807ea
- Remove rangeStrategy: "bump"
for dependencies from default preset. This is more similar to the v1 behavior. (Thanks @ecraig12345!)Published by ecraig12345 over 1 year ago
Compare source - May 2, 2023, 3:36 PM PDT
3384bbe
- Add groupLageBackfill preset (Thanks @ecraig12345!)a54b42d
- dependencyDashboardMajor: correctly specify 0.x versions (Thanks @ecraig12345!)Published by ecraig12345 over 1 year ago
Compare source - May 1, 2023, 8:46 PM PDT
5f11999
- default: Use "bump" instead of "replace" for dependencies
(Thanks @ecraig12345!)Published by ecraig12345 over 1 year ago
Compare source - May 1, 2023, 8:33 PM PDT
f6f77e3
- keepFresh: For lockFileMaintenance, rebase when behind the base branch (Thanks @ecraig12345!)Published by ecraig12345 over 1 year ago
Compare source - May 1, 2023, 3:44 PM PDT
m365-renovate-config
version 2 makes the default preset a bit more opinionated based on testing, streamlines preset naming, and updates settings to better reflect recent improvements in Renovate.
These changes have been picked up automatically unless you specified a ref (e.g. #v1
) as part of the preset names in your extends
config.
Note: <m365>
in preset names referenced below is a shorthand for github>microsoft/m365-renovate-config
. This is just for readability of the readme and will not work in actual configs (you must use the full repo prefix).
The default preset (github>microsoft/m365-renovate-config
) is now a bit more "opinionated" and includes most settings that were previously defined in <m365>:libraryRecommended
. These settings can be disabled either individually or using the excludePresets
option.
The dependency version update strategy (rangeStrategy
) has also changed as described below.
Deprecated presets still exist for now to avoid immediate breaks in consuming repos, but will be removed in version 3.
<m365>:libraryRecommended
is deprecated in favor of this repo's default preset.<m365>:beachballLibraryRecommended
is renamed to <m365>:beachball
.Previously, Renovate's config:base
would pin devDependencies
and possibly also dependencies
to exact versions. Pinning dependencies
is usually not desirable for libraries, so v1
of m365-renovate-config
omitted any pinning behavior in its default preset, and enabled pinning only devDependencies
in its <m365>:libraryRecommended
preset.
A recent Renovate update included greatly expanded support for doing in-range updates (e.g. updating the installed version for "foo": "^1.0.0"
from 1.1.0
to 1.2.0
) by changing only the lockfile. Therefore, Renovate's default rangeStrategy: "auto"
was changed to do lockfile-only updates when possible (instead of pinning or replacing versions), and config:base
no longer includes any pinning of versions.
Since the lockfile-only updates are likely a good strategy in many cases, m365-renovate-config
's default preset (which supersedes <m365>:libraryRecommended
) has been updated to remove rangeStrategy
overrides and extend config:base
.
Notes on pinning behavior:
better-deps
: npx better-deps unpin-dev-deps
devDependencies
, extend the Renovate preset :pinOnlyDevDependencies
.Published by ecraig12345 over 1 year ago
Compare source - April 28, 2023, 4:07 PM PDT
077edb3
- Testing new release setup (Thanks @ecraig12345!)