Skip to content

Commit cd93d80

Browse files
DBSDsliangjun.chen
andauthored
chore: bump [email protected] (#42)
* chore: bump [email protected] * chore: fix father 4.x compile * chore: use rc-test * chore: vercel deploy --------- Co-authored-by: liangjun.chen <[email protected]>
1 parent 0553047 commit cd93d80

20 files changed

+128
-74
lines changed

.dumirc.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import { defineConfig } from 'dumi';
2+
const isGitPagesSite = process.env.GITHUB_ACTIONS;
3+
4+
export default defineConfig({
5+
favicons: ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'],
6+
themeConfig: {
7+
name: 'rc-overflow',
8+
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
9+
},
10+
exportStatic: {},
11+
outputPath: 'docs-dist',
12+
base: isGitPagesSite ? `/rc-overflow/` : ``,
13+
publicPath: isGitPagesSite ? `/rc-overflow/` : ``,
14+
styles: [
15+
`
16+
.markdown table {
17+
width: auto !important;
18+
}
19+
`,
20+
],
21+
});

.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/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
.storybook
21
*.iml
32
*.log
43
.idea/
@@ -29,5 +28,10 @@ yarn.lock
2928
package-lock.json
3029
coverage/
3130
.doc
32-
.umi
33-
dist/
31+
dist/
32+
33+
# dumi
34+
.dumi/tmp
35+
.dumi/tmp-test
36+
.dumi/tmp-production
37+
.env.local

.umirc.ts

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

docs/demo/base.md

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

docs/demo/basic.md

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

docs/demo/blink.md

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

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

docs/demo/fill-width.md

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

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

0 commit comments

Comments
 (0)