diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b6e9ca358f242..0aad0af9d9d78 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -16,7 +16,20 @@ updates: # https://caniuse.com/js-regexp-lookbehind - dependency-name: 'decamelize' - dependency-name: 'humanize-string' - + groups: + # All official @docusaurus/* packages should have the exact same version as @docusaurus/core. + # From https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups: + # "You cannot apply a single grouping set of rules to both version updates and security + # updates [...] you must define two, separately named, grouping sets of rules" + # See https://github.com/badges/shields/issues/10242 for more information. + docusaurus-version-updates: + applies-to: version-updates + patterns: + - '@docusaurus/*' + docusaurus-security-updates: + applies-to: security-updates + patterns: + - '@docusaurus/*' # badge-maker package dependencies - package-ecosystem: npm directory: '/badge-maker' diff --git a/package-lock.json b/package-lock.json index f2c71650dce65..7767b1e7dd27c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -59,6 +59,7 @@ }, "devDependencies": { "@docusaurus/core": "^3.4.0", + "@docusaurus/preset-classic": "^3.4.0", "@easyops-cn/docusaurus-search-local": "^0.44.0", "@mdx-js/react": "^3.0.1", "@typescript-eslint/parser": "^7.13.0", diff --git a/package.json b/package.json index 5996f0dda9cb8..2d69401e8b84f 100644 --- a/package.json +++ b/package.json @@ -146,6 +146,7 @@ }, "devDependencies": { "@docusaurus/core": "^3.4.0", + "@docusaurus/preset-classic": "^3.4.0", "@easyops-cn/docusaurus-search-local": "^0.44.0", "@mdx-js/react": "^3.0.1", "@typescript-eslint/parser": "^7.13.0",