Merge pull request #48223 from ant-design/master

chore: feature merge master
This commit is contained in:
Amumu 2024-04-02 11:37:44 +08:00 committed by GitHub
commit f5c00a8607
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 118 deletions

View File

@ -8,7 +8,7 @@ on:
jobs:
upgrade-deps:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
if: github.repository == 'ant-design/ant-design' && github.ref == 'refs/heads/master'
permissions:
pull-requests: write # for peter-evans/create-pull-request to create PRs
contents: write # for git push

View File

@ -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] ?? {};

View File

@ -35,20 +35,6 @@ exports[`Carousel should works for dotPosition bottom 1`] = `
class="slick-track"
style="opacity: 1; transform: translate3d(0px, 0px, 0px);"
>
<div
aria-hidden="true"
class="slick-slide slick-cloned"
data-index="-1"
style="width: 0px;"
tabindex="-1"
>
<div>
<div
style="width: 100%; display: inline-block;"
tabindex="-1"
/>
</div>
</div>
<div
aria-hidden="false"
class="slick-slide slick-active slick-current"
@ -63,20 +49,6 @@ exports[`Carousel should works for dotPosition bottom 1`] = `
/>
</div>
</div>
<div
aria-hidden="true"
class="slick-slide slick-cloned"
data-index="1"
style="width: 0px;"
tabindex="-1"
>
<div>
<div
style="width: 100%; display: inline-block;"
tabindex="-1"
/>
</div>
</div>
</div>
</div>
<ul
@ -111,20 +83,6 @@ exports[`Carousel should works for dotPosition left 1`] = `
class="slick-track"
style="opacity: 1; transform: translate3d(0px, 0px, 0px);"
>
<div
aria-hidden="true"
class="slick-slide slick-cloned"
data-index="-1"
style="width: 0px;"
tabindex="-1"
>
<div>
<div
style="width: 100%; display: inline-block;"
tabindex="-1"
/>
</div>
</div>
<div
aria-hidden="false"
class="slick-slide slick-active slick-current"
@ -139,20 +97,6 @@ exports[`Carousel should works for dotPosition left 1`] = `
/>
</div>
</div>
<div
aria-hidden="true"
class="slick-slide slick-cloned"
data-index="1"
style="width: 0px;"
tabindex="-1"
>
<div>
<div
style="width: 100%; display: inline-block;"
tabindex="-1"
/>
</div>
</div>
</div>
</div>
<ul
@ -187,20 +131,6 @@ exports[`Carousel should works for dotPosition right 1`] = `
class="slick-track"
style="opacity: 1; transform: translate3d(0px, 0px, 0px);"
>
<div
aria-hidden="true"
class="slick-slide slick-cloned"
data-index="-1"
style="width: 0px;"
tabindex="-1"
>
<div>
<div
style="width: 100%; display: inline-block;"
tabindex="-1"
/>
</div>
</div>
<div
aria-hidden="false"
class="slick-slide slick-active slick-current"
@ -215,20 +145,6 @@ exports[`Carousel should works for dotPosition right 1`] = `
/>
</div>
</div>
<div
aria-hidden="true"
class="slick-slide slick-cloned"
data-index="1"
style="width: 0px;"
tabindex="-1"
>
<div>
<div
style="width: 100%; display: inline-block;"
tabindex="-1"
/>
</div>
</div>
</div>
</div>
<ul
@ -262,20 +178,6 @@ exports[`Carousel should works for dotPosition top 1`] = `
class="slick-track"
style="opacity: 1; transform: translate3d(0px, 0px, 0px);"
>
<div
aria-hidden="true"
class="slick-slide slick-cloned"
data-index="-1"
style="width: 0px;"
tabindex="-1"
>
<div>
<div
style="width: 100%; display: inline-block;"
tabindex="-1"
/>
</div>
</div>
<div
aria-hidden="false"
class="slick-slide slick-active slick-current"
@ -290,20 +192,6 @@ exports[`Carousel should works for dotPosition top 1`] = `
/>
</div>
</div>
<div
aria-hidden="true"
class="slick-slide slick-cloned"
data-index="1"
style="width: 0px;"
tabindex="-1"
>
<div>
<div
style="width: 100%; display: inline-block;"
tabindex="-1"
/>
</div>
</div>
</div>
</div>
<ul

View File

@ -118,7 +118,7 @@
"@ant-design/colors": "^7.0.2",
"@ant-design/cssinjs": "^1.18.5",
"@ant-design/icons": "^5.3.6",
"@ant-design/react-slick": "~1.1.1",
"@ant-design/react-slick": "~1.1.2",
"@babel/runtime": "^7.24.1",
"@ctrl/tinycolor": "^3.6.1",
"@rc-component/color-picker": "~1.5.3",
@ -153,7 +153,7 @@
"rc-slider": "~10.5.0",
"rc-steps": "~6.0.1",
"rc-switch": "~4.1.0",
"rc-table": "~7.45.0",
"rc-table": "~7.45.2",
"rc-tabs": "~14.1.1",
"rc-textarea": "~1.6.3",
"rc-tooltip": "~6.2.0",
@ -201,7 +201,7 @@
"@types/jsdom": "^21.1.6",
"@types/lodash": "^4.17.0",
"@types/minimist": "^1.2.5",
"@types/node": "^20.11.30",
"@types/node": "^20.12.2",
"@types/nprogress": "^0.2.3",
"@types/pixelmatch": "^5.2.6",
"@types/pngjs": "^6.0.4",
@ -256,7 +256,7 @@
"husky": "^9.0.11",
"identity-obj-proxy": "^3.0.0",
"immer": "^10.0.4",
"inquirer": "^9.2.16",
"inquirer": "^9.2.17",
"is-ci": "^3.0.1",
"isomorphic-fetch": "^3.0.0",
"jest": "^29.7.0",