Skip to content

Commit 8e708ff

Browse files
authored
chore(renovate): ignore demos, examples, and visual-testing (#2957)
* chore(renovate): ignore demos, examples, and visual-testing devtools/visual-testing/packages/harness depends on a locally-built packages/superdoc/superdoc.tgz that does not exist in Renovate's clean checkout, which makes pnpm install fail and breaks artifact updates on every dep PR. Skipping that subtree (and the already-non-shipped demos/examples) at discovery time avoids the issue and lets Renovate focus on dependencies that actually ship. Replaces the demos/examples packageRule (matchFileNames + enabled:false) with a single top-level ignorePaths block. * chore(renovate): preserve test/vendor ignore patterns from preset ignorePaths is non-mergeable, so setting it at the top level replaced the patterns inherited from :ignoreModulesAndTests via config:recommended. That silently brought test package.json files (tests/visual, tests/behavior, packages/superdoc/tests/cdn-smoke, etc.) back into Renovate's scope. Re-list the preset's patterns explicitly so coverage stays the same as before.
1 parent 6ef2aea commit 8e708ff

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

renovate.json5

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@
88
],
99
"schedule": ["before 7am on monday"],
1010
"prConcurrentLimit": 5,
11+
"ignorePaths": [
12+
"**/node_modules/**",
13+
"**/bower_components/**",
14+
"**/vendor/**",
15+
"**/__tests__/**",
16+
"**/test/**",
17+
"**/tests/**",
18+
"**/__fixtures__/**",
19+
"demos/**",
20+
"examples/**",
21+
"devtools/visual-testing/**"
22+
],
1123
"ignoreDeps": ["pdfjs-dist", "@hocuspocus/provider"],
1224
"packageRules": [
1325
{
@@ -18,12 +30,7 @@
1830
"groupName": "dev dependencies (patch)"
1931
},
2032
{
21-
"description": "Ignore demos and examples — not shipped to users",
22-
"matchFileNames": ["demos/**", "examples/**"],
23-
"enabled": false
24-
},
25-
{
26-
"description": "Don't touch vite — overridden with rolldown-vite",
33+
"description": "Don't touch vite - overridden with rolldown-vite",
2734
"matchPackageNames": ["vite"],
2835
"enabled": false
2936
},

0 commit comments

Comments
 (0)