diff --git a/.ncurc.js b/.ncurc.js index a521db4d80..5c17725d5d 100644 --- a/.ncurc.js +++ b/.ncurc.js @@ -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] ?? {};