-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ncurc.cjs
20 lines (20 loc) · 843 Bytes
/
.ncurc.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module.exports = {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
target: (dependencyName, [{ semver, version, operator, major, minor, patch, release, build }]) => {
if (dependencyName.startsWith("@mantine/")) return "minor";
if (dependencyName === "@tabler/icons-react") return "minor";
if (dependencyName === "react") return "minor";
if (dependencyName === "@types/react") return "minor";
if (dependencyName === "react-dom") return "minor";
if (dependencyName === "@types/react-dom") return "minor";
if (major === "0") return "minor";
return "latest";
},
// eslint-disable-next-line @typescript-eslint/no-unused-vars
reject: (name, semver) => {
if (name === "tmp") {
return true;
}
return false;
},
};