chore: do not update @ant-design/cssinjs (#48222)

Signed-off-by: afc163 <afc163@gmail.com>
This commit is contained in:
afc163 2024-04-02 10:27:54 +08:00 committed by GitHub
parent 3add1ed5b4
commit 7b63e68fd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,12 @@ module.exports = {
packageManager: 'npm', packageManager: 'npm',
dep: ['prod'], // check only prod dependencies dep: ['prod'], // check only prod dependencies
// https://github.com/raineorshine/npm-check-updates#filter // 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 // https://github.com/raineorshine/npm-check-updates#target
target: (name, semver) => { target: (name, semver) => {
const { operator } = semver[0] ?? {}; const { operator } = semver[0] ?? {};