Skip to content

Commit

Permalink
chore: do not update @ant-design/cssinjs (ant-design#48222)
Browse files Browse the repository at this point in the history
Signed-off-by: afc163 <[email protected]>
  • Loading branch information
afc163 authored Apr 2, 2024
1 parent 3add1ed commit 7b63e68
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .ncurc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ module.exports = {
packageManager: 'npm',
dep: ['prod'], // check only prod dependencies
// https://github.com/raineorshine/npm-check-updates#filter
filter: (name) => check.some((prefix) => name.startsWith(prefix)),
filter: (name) => {
if (name === '@ant-design/cssinjs') {
return false;
}
return check.some((prefix) => name.startsWith(prefix));
},
// https://github.com/raineorshine/npm-check-updates#target
target: (name, semver) => {
const { operator } = semver[0] ?? {};
Expand Down

0 comments on commit 7b63e68

Please sign in to comment.