/
studio-v3.json
34 lines (34 loc) · 1.28 KB
/
studio-v3.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Use best practices for [Sanity Studio v3](https://www.sanity.io/studio?utm_source=github&utm_medium=referral&utm_campaign=ecosystem-renovate-preset) development.",
"packageRules": [
{
"description": "Use the latest major of React that is supported by Sanity Studio v3",
"allowedVersions": "<=18",
"matchDepTypes": ["dependencies", "devDependencies", "resolutions"],
"matchPackagePrefixes": ["@types/react", "react"]
},
{
"description": "Upgrade Sanity Studio v2 dependencies to v3",
"matchDatasources": ["npm"],
"matchPackageNames": [
"@sanity/base",
"@sanity/core",
"@sanity/default-layout",
"@sanity/default-login",
"@sanity/desk-tool"
],
"prPriority": 5,
"replacementName": "sanity",
"replacementVersion": "^3.0.0",
"schedule": ["at any time"]
},
{
"description": "Use the latest stable and tested version of framer-motion used by sanity, @sanity/ui and @sanity/presentation",
"allowedVersions": "11.0.8",
"matchDepTypes": ["dependencies", "devDependencies", "peerDependencies"],
"matchPackageNames": ["framer-motion"],
"rangeStrategy": "pin"
}
]
}