Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
c0fdbf0
chore: standardize repository config
afc163 Jun 26, 2026
111b866
fix: keep default CodeQL setup
afc163 Jun 26, 2026
e8e2e25
chore: address AI review feedback
afc163 Jun 26, 2026
aba3fd1
docs: standardize README release details
afc163 Jun 26, 2026
4002d9e
ci: make surge preview non-blocking
afc163 Jun 26, 2026
2f48e26
ci: keep surge preview as fallback
afc163 Jun 26, 2026
ecef26d
docs: refine README usage and ecosystem note
afc163 Jun 27, 2026
2047063
ci: isolate surge preview token
afc163 Jun 27, 2026
81606a5
docs: add Chinese README
afc163 Jun 27, 2026
e612463
docs: add Ant Design logo to README
afc163 Jun 27, 2026
2b13601
docs: refine bilingual README branding
afc163 Jun 27, 2026
5419342
chore: standardize rc tooling and docs
afc163 Jun 27, 2026
d450609
chore: address standardization review comments
afc163 Jun 27, 2026
b03c064
chore: include father config in type checks
afc163 Jun 27, 2026
3c01b1c
docs: add license file
afc163 Jun 28, 2026
8f76da0
ci: use actions checkout v7
afc163 Jun 28, 2026
a10cfce
chore: standardize package metadata
afc163 Jun 28, 2026
fd19a6a
ci: standardize dependabot updates
afc163 Jun 28, 2026
6d3cc72
chore: ignore generated docs artifacts
afc163 Jun 28, 2026
1fa7ebc
docs: localize Chinese README descriptions
afc163 Jun 28, 2026
e790868
chore: refine preview workflow ignores
afc163 Jun 28, 2026
c787110
docs: polish Chinese README wording
afc163 Jun 28, 2026
e62e61e
docs: document dumi dev server port
afc163 Jun 28, 2026
d7c73fd
chore: standardize husky configuration
afc163 Jun 28, 2026
dc32523
chore: standardize package type entry
afc163 Jun 28, 2026
dbbc4a7
docs: normalize readme badges
afc163 Jun 28, 2026
75a7f4c
ci: limit reusable workflow secrets
afc163 Jun 28, 2026
c5c2061
ci: restore reusable workflow compatibility
afc163 Jun 28, 2026
eaab0a3
ci: narrow surge preview permissions
afc163 Jun 28, 2026
55fdd73
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
9 changes: 8 additions & 1 deletion .dumirc.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
import { defineConfig } from 'dumi';
import path from 'path';

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

export default defineConfig({
alias: {
'@rc-component/steps$': path.resolve('src'),
'@rc-component/steps/es': path.resolve('src'),
'@rc-component/steps/assets': path.resolve('assets'),
},
mfsu: false,
favicons: ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'],
themeConfig: {
name: 'Steps',
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
},
});
outputPath: 'docs-dist',
base: basePath,
publicPath,
});
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: ant-design
open_collective: ant-design
27 changes: 6 additions & 21 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "21:00"
open-pull-requests-limit: 10
ignore:
- dependency-name: "@types/react-dom"
versions:
- 17.0.0
- 17.0.1
- 17.0.2
- dependency-name: "@types/react"
versions:
- 17.0.0
- 17.0.1
- 17.0.2
- 17.0.3
- dependency-name: less
versions:
- 4.1.0
- package-ecosystem: npm
directory: '/'
schedule:
interval: daily
time: '21:00'
open-pull-requests-limit: 10
43 changes: 43 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: 'CodeQL'

on:
push:
branches: ['master']
pull_request:
branches: ['master']
schedule:
- cron: '17 10 * * 1'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [javascript]

steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
persist-credentials: false

- name: Initialize CodeQL
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@8aad20d150bbac5944a9f9d289da16a4b0d87c1e

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e
with:
category: '/language:${{ matrix.language }}'
6 changes: 0 additions & 6 deletions .github/workflows/main.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/react-component-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: ✅ test
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
test:
uses: react-component/rc-test/.github/workflows/test-utoo.yml@main
secrets: inherit
27 changes: 27 additions & 0 deletions .github/workflows/react-doctor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
fetch-depth: 0
persist-credentials: false
- uses: millionco/react-doctor@0b4f4f4bd248a154e64eb508a48347f71154b3f3
39 changes: 39 additions & 0 deletions .github/workflows/surge-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Surge Preview

on:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true

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

jobs:
preview:
runs-on: ubuntu-latest
env:
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
PREVIEW: true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
persist-credentials: false
- uses: afc163/surge-preview@bf90a5a86111f6311ca42f0a5a0f80fb0fb03cec
if: ${{ env.SURGE_TOKEN != '' }}
with:
surge_token: ${{ env.SURGE_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
dist: docs-dist
failOnError: true
setCommitStatus: true
build: |
npm install
npm run build
- name: Skip Surge preview
if: ${{ env.SURGE_TOKEN == '' }}
run: echo "SURGE_TOKEN is not configured; skip Surge preview."
24 changes: 14 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.iml
*.iml
*.log
*.log.*
.idea/
.ipr
.iws
Expand All @@ -25,18 +26,21 @@ assets/**/*.css
build
lib
es
coverage
/coverage
yarn.lock
package-lock.json
pnpm-lock.yaml
yarn.lock
.doc
.umi
.npmrc
docs-dist
.vercel
.storybook

# dumi
.dumi/tmp
.dumi/tmp-test
.dumi/tmp-production
# umi
.umi
.umi-production
.umi-test
.env.local
.dumi/

bun.lockb
bun.lockb
bun.lock
Loading
Loading