From 7b63e68fd85943268f53af1db6aa668ab21ab109 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 2 Apr 2024 10:27:54 +0800 Subject: [PATCH] chore: do not update @ant-design/cssinjs (#48222) Signed-off-by: afc163 --- .ncurc.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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] ?? {};