Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
43fb832
chore: standardize repository tooling
afc163 Jun 26, 2026
517478a
chore: remove cloudflare preview and now-build
afc163 Jun 26, 2026
7df088c
docs: add Ant Design logo to README header
afc163 Jun 26, 2026
963742e
docs: standardize README release details
afc163 Jun 26, 2026
25b0730
ci: make surge preview non-blocking
afc163 Jun 26, 2026
3ab4b03
docs: clarify Ant Design ecosystem note
afc163 Jun 26, 2026
8a27c9a
ci: keep surge preview as fallback
afc163 Jun 26, 2026
471f33d
docs: refine README usage and ecosystem note
afc163 Jun 27, 2026
04f337f
ci: isolate surge preview token
afc163 Jun 27, 2026
098ca20
chore: address review comments
afc163 Jun 27, 2026
3de6301
docs: update Ant Design logo
afc163 Jun 27, 2026
12b3f53
docs: add Chinese README
afc163 Jun 27, 2026
9238280
docs: refine bilingual README branding
afc163 Jun 27, 2026
4d2f9bf
chore: standardize rc tooling and docs
afc163 Jun 27, 2026
113f8db
chore: address standardization review comments
afc163 Jun 27, 2026
9969cd8
chore: ignore dumi build output
afc163 Jun 28, 2026
61e1fd3
ci: use actions checkout v7
afc163 Jun 28, 2026
2e68a0c
chore: standardize package metadata
afc163 Jun 28, 2026
9307467
ci: standardize dependabot updates
afc163 Jun 28, 2026
ffb12f5
docs: localize Chinese README labels
afc163 Jun 28, 2026
172a6a6
docs: fix Chinese README API names
afc163 Jun 28, 2026
62b9334
docs: localize Chinese README descriptions
afc163 Jun 28, 2026
c314ed6
chore: refine preview workflow ignores
afc163 Jun 28, 2026
e0fccf7
docs: polish Chinese README wording
afc163 Jun 28, 2026
fdc1d29
chore: add father config
afc163 Jun 28, 2026
f0af5ff
docs: document dumi dev server port
afc163 Jun 28, 2026
8390d4b
chore: standardize husky configuration
afc163 Jun 28, 2026
9918824
chore: standardize package type entry
afc163 Jun 28, 2026
bb216c8
docs: normalize readme badges
afc163 Jun 28, 2026
84b6959
ci: limit reusable workflow secrets
afc163 Jun 28, 2026
59b87c9
ci: restore reusable workflow compatibility
afc163 Jun 28, 2026
796415d
chore: limit reusable workflow secrets
afc163 Jun 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .dumirc.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import { defineConfig } from 'dumi';
import path from 'path';

const basePath = process.env.GH_PAGES ? '/drawer/' : '/';
const publicPath = basePath;

export default defineConfig({
outputPath: 'docs-dist',
base: basePath,
publicPath,
alias: {
'rc-drawer$': path.resolve('src'),
'rc-drawer/es': path.resolve('src'),
Expand Down
5 changes: 5 additions & 0 deletions .fatherrc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { defineConfig } from 'father';

export default defineConfig({
plugins: ['@rc-component/father-plugin'],
});
17 changes: 2 additions & 15 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,2 @@
# These are supported funding model platforms

github: ant-design # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: ant-design # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
polar: # Replace with a single Polar username
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
thanks_dev: # Replace with a single thanks.dev username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
github: ant-design
open_collective: ant-design
36 changes: 12 additions & 24 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,17 @@ updates:
- package-ecosystem: npm
directory: '/'
schedule:
interval: daily
interval: weekly
day: monday
time: '21:00'
timezone: Asia/Shanghai
open-pull-requests-limit: 10

- package-ecosystem: github-actions
directory: '/'
schedule:
interval: weekly
day: monday
time: '21:00'
timezone: Asia/Shanghai
open-pull-requests-limit: 10
ignore:
- dependency-name: np
versions:
- 7.2.0
- 7.3.0
- 7.4.0
- dependency-name: '@types/react'
versions:
- 17.0.0
- 17.0.1
- 17.0.2
- 17.0.3
- dependency-name: '@types/react-dom'
versions:
- 17.0.0
- 17.0.1
- 17.0.2
- dependency-name: react
versions:
- 17.0.1
- dependency-name: less
versions:
- 4.1.0
7 changes: 5 additions & 2 deletions .github/workflows/react-component-ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: ✅ test
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
uses: react-component/rc-test/.github/workflows/test.yml@main
secrets: inherit
uses: react-component/rc-test/.github/workflows/test-utoo.yml@main
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
26 changes: 26 additions & 0 deletions .github/workflows/react-doctor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: React Doctor
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches: [master]

permissions:
contents: read
pull-requests: write
issues: write
statuses: write

concurrency:
group: react-doctor-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
react-doctor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
persist-credentials: false
- uses: millionco/react-doctor@0b4f4f4bd248a154e64eb508a48347f71154b3f3
48 changes: 48 additions & 0 deletions .github/workflows/surge-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Surge Preview

on:
pull_request:

permissions:
contents: read
pull-requests: write
checks: write

jobs:
preview:
runs-on: ubuntu-latest
concurrency:
group: surge-preview-${{ github.event.pull_request.number }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Check Surge token
id: surge-token
env:
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
run: |
if [ -n "$SURGE_TOKEN" ]; then
echo "enabled=true" >> "$GITHUB_OUTPUT"
else
echo "enabled=false" >> "$GITHUB_OUTPUT"
fi
- name: Build preview
if: ${{ steps.surge-token.outputs.enabled == 'true' }}
run: |
npm install
npm run build
- uses: afc163/surge-preview@bf90a5a86111f6311ca42f0a5a0f80fb0fb03cec
if: ${{ steps.surge-token.outputs.enabled == 'true' }}
env:
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
with:
surge_token: ${{ env.SURGE_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
dist: docs-dist
failOnError: false
setCommitStatus: false
- name: Skip Surge preview
if: ${{ steps.surge-token.outputs.enabled != 'true' }}
run: echo "SURGE_TOKEN is not configured; skip Surge preview."
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ storybook
# dumi
.dumi/tmp
.dumi/tmp-production
docs-dist
pnpm-lock.yaml

bun.lockb
bun.lockb
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npx lint-staged
npx lint-staged
14 changes: 14 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
node_modules
coverage
docs-dist
dist
es
lib
.dumi/tmp
.dumi/tmp-production
.vercel
package-lock.json
pnpm-lock.yaml
yarn.lock
bun.lockb
*.log
Loading
Loading