Skip to content

Commit 1d2b39d

Browse files
authored
chore: bump [email protected] && father 4.x.x (#255)
* chore: bump [email protected] && father 4.x.x * chore: use rc-test
1 parent facd7be commit 1d2b39d

File tree

15 files changed

+82
-53
lines changed

15 files changed

+82
-53
lines changed

.umirc.ts renamed to .dumirc.ts

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

44
export default defineConfig({
5-
title: 'rc-progress',
6-
favicon:
7-
'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
8-
logo:
9-
'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-progress',
8+
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
9+
},
1010
outputPath: '.doc',
1111
exportStatic: {},
1212
styles: [
@@ -15,5 +15,5 @@ export default defineConfig({
1515
width: auto !important;
1616
}
1717
`,
18-
]
18+
],
1919
});

.fatherrc.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

.fatherrc.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { defineConfig } from 'father';
2+
3+
export default defineConfig({
4+
plugins: ['@rc-component/father-plugin'],
5+
});

.github/workflows/react-component-ci.yml

Lines changed: 7 additions & 7 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: |
@@ -43,7 +43,7 @@ jobs:
4343
- name: install
4444
if: steps.node_modules_cache_id.outputs.cache-hit != 'true'
4545
run: npm ci
46-
46+
4747
lint:
4848
runs-on: ubuntu-latest
4949
steps:
@@ -66,7 +66,7 @@ jobs:
6666
run: npm run lint
6767

6868
needs: setup
69-
69+
7070
compile:
7171
runs-on: ubuntu-latest
7272
steps:
@@ -89,7 +89,7 @@ jobs:
8989
run: npm run compile
9090

9191
needs: setup
92-
92+
9393
coverage:
9494
runs-on: ubuntu-latest
9595
steps:

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ package-lock.json
3232
.storybook
3333
.doc
3434

35-
# umi
36-
.umi
37-
.umi-production
38-
.umi-test
35+
# dumi
36+
.dumi/tmp
37+
.dumi/tmp-test
38+
.dumi/tmp-production
3939
.env.local

docs/demo/fast-progress.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
## fast-progress
1+
---
2+
title: fast-progress
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
27

3-
<code src="../examples/fast-progress.tsx">
8+
<code src="../examples/fast-progress.tsx"></code>

docs/demo/gap.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
## gap
1+
---
2+
title: gap
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
27

3-
<code src="../examples/gap.tsx">
8+
<code src="../examples/gap.tsx"></code>

docs/demo/gradient-circle.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
## gradient-circle
1+
---
2+
title: gradient-circle
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
27

3-
<code src="../examples/gradient-circle.tsx">
8+
<code src="../examples/gradient-circle.tsx"></code>

docs/demo/simple.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
## simple
1+
---
2+
title: simple
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
27

3-
<code src="../examples/simple.tsx">
8+
<code src="../examples/simple.tsx"></code>

docs/demo/steps.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
## steps
1+
---
2+
title: steps
3+
nav:
4+
title: Demo
5+
path: /demo
6+
---
27

3-
<code src="../examples/steps.tsx">
8+
<code src="../examples/steps.tsx"></code>

0 commit comments

Comments
 (0)