Skip to content

Commit 6bd90a5

Browse files
renovate[bot]cwillisf
authored andcommitted
chore: enable Renovate with scratch-renovate-config
1 parent 7c3c594 commit 6bd90a5

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

renovate.json5

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
4+
"packageRules": [
5+
{
6+
// JS packages we want to treat as apps
7+
"matchCategories": ["js"],
8+
"matchPackageNames": [
9+
// scratch-gui is kind of a lib (wrapped by www, desktop, etc.) but kind of an app (esp. standalone)
10+
// treating it as an app is slightly safer, so let's do that
11+
"@scratch/scratch-gui"
12+
],
13+
"extends": [
14+
"github>scratchfoundation/scratch-renovate-config:js-app"
15+
]
16+
},
17+
{
18+
// JS packages we want to treat as libs (should cover all JS except apps handled above)
19+
"matchCategories": ["js"],
20+
"matchPackageNames": [
21+
"!@scratch/scratch-gui"
22+
],
23+
"extends": [
24+
"github>scratchfoundation/scratch-renovate-config:js-lib"
25+
]
26+
},
27+
{
28+
// Non-JS updates use default Scratch config
29+
"matchCategories": ["!js"],
30+
"extends": [
31+
"github>scratchfoundation/scratch-renovate-config"
32+
]
33+
}
34+
]
35+
}

0 commit comments

Comments
 (0)