From 78296e3f0c197cbe78662ba140ff675eb1f62918 Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Thu, 11 Jul 2024 19:02:48 +0200 Subject: [PATCH] chore: tell renovate to pin all development and doc dependencies (#692) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### ๐Ÿ”— Linked issue ### โ“ Type of change - [ ] ๐Ÿ“– Documentation (updates to the documentation or readme) - [ ] ๐Ÿž Bug fix (a non-breaking change that fixes an issue) - [ ] ๐Ÿ‘Œ Enhancement (improving an existing functionality) - [ ] โœจ New feature (a non-breaking change that adds functionality) - [ ] ๐Ÿงน Chore (updates to the build process or auxiliary tools and libraries) - [ ] โš ๏ธ Breaking change (fix or feature that would cause existing functionality to change) ### ๐Ÿ“š Description Following https://docs.renovatebot.com/dependency-pinning/ since we have a bit of problems with handling the dependencies currently. In particular, https://github.com/nuxt-modules/storybook/pull/690 updates a package (in the lock file) that is not working, and its not easy to just revert that particular update. --- renovate.json5 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/renovate.json5 b/renovate.json5 index 378a8df0..4bde7a9f 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -8,8 +8,15 @@ 'schedule:weekends', // Use "chore" type for all commit messages ':semanticCommitTypeAll(chore)', + // Pin all dev dependencies following https://docs.renovatebot.com/dependency-pinning/ + ':pinDevDependencies', ], packageRules: [ + { + // Pin all docs dependencies following https://docs.renovatebot.com/dependency-pinning/ + matchFileNames: ['docs/package.json'], + rangeStrategy: 'pin', + }, { // Bump all @storybook/* packages so that always the latest version is used matchPackagePatterns: ['storybook', '@storybook/*'],