Skip to content

Commit b65fd88

Browse files
authored
chore: bump [email protected] && father 4.x.x (#334)
1 parent 1df83b4 commit b65fd88

23 files changed

+185
-44
lines changed

.umirc.ts renamed to .dumirc.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
import { defineConfig } from 'dumi';
33

44
export default defineConfig({
5-
title: 'rc-steps',
6-
favicon: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
7-
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
5+
favicons: ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'],
6+
themeConfig: {
7+
name: 'rc-steps',
8+
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
9+
},
810
outputPath: '.doc',
911
exportStatic: {},
1012
base: '/rc-steps',

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [master]
66
pull_request:
7-
branches: [ master ]
7+
branches: [master]
88

99
jobs:
1010
setup:
@@ -15,7 +15,7 @@ jobs:
1515

1616
- uses: actions/setup-node@v1
1717
with:
18-
node-version: '12'
18+
node-version: '18'
1919

2020
- name: cache package-lock.json
2121
uses: actions/cache@v2
@@ -24,7 +24,7 @@ jobs:
2424
key: lock-${{ github.sha }}
2525

2626
- name: create package-lock.json
27-
run: npm i --package-lock-only
27+
run: npm i --package-lock-only --ignore-scripts
2828

2929
- name: hack for singe file
3030
run: |

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
.storybook
21
.iml
32
*.log
43
.idea/
@@ -32,3 +31,9 @@ yarn.lock
3231
.doc
3332
.umi
3433
.npmrc
34+
35+
# dumi
36+
.dumi/tmp
37+
.dumi/tmp-test
38+
.dumi/tmp-production
39+
.env.local

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ React steps component.
2727
npm install rc-steps
2828
```
2929

30+
<br>
31+
3032
```jsx | pure
3133
<Steps current={1}>
3234
<Steps.Step title="first" />
@@ -179,7 +181,7 @@ https://react-component.github.io/steps/
179181

180182
## Development
181183

182-
```
184+
```bash
183185
npm install
184186
npm start
185187
```

docs/demo/alternativeLabel.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
## alternativeLabel
2-
<code src="../examples/alternativeLabel.jsx">
1+
---
2+
title: alternativeLabel
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
7+
8+
<code src="../examples/alternativeLabel.jsx"></code>

docs/demo/composable.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
## composable
2-
<code src="../examples/composable.jsx">
1+
---
2+
title: composable
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
7+
8+
<code src="../examples/composable.jsx"></code>

docs/demo/custom-svg-icon.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
## custom-svg-icon
2-
<code src="../examples/custom-svg-icon.jsx">
1+
---
2+
title: custom-svg-icon
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
7+
8+
<code src="../examples/custom-svg-icon.jsx"></code>

docs/demo/customIcon.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
## customIcon
2-
<code src="../examples/customIcon.jsx">
1+
---
2+
title: customIcon
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
7+
8+
<code src="../examples/customIcon.jsx"></code>

docs/demo/dynamic.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
## dynamic
2-
<code src="../examples/dynamic.jsx">
1+
---
2+
title: dynamic
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
7+
8+
<code src="../examples/dynamic.jsx"></code>

docs/demo/errorStep.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
## errorStep
2-
<code src="../examples/errorStep.jsx">
1+
---
2+
title: errorStep
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
7+
8+
<code src="../examples/errorStep.jsx"></code>

0 commit comments

Comments
 (0)