Skip to content

Commit e4d0bfa

Browse files
authored
chore: bump [email protected] (#446)
* chore: bump [email protected] * chore: update update-example.js and generate markdown file * chore: local run compile
1 parent e85d617 commit e4d0bfa

21 files changed

+126
-59
lines changed

.dumirc.ts

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

.github/workflows/react-component-ci.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: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
.storybook
21
.doc
32
*.iml
43
*.log
@@ -29,8 +28,8 @@ coverage
2928
yarn.lock
3029
package-lock.json
3130
es/*
32-
# umi
33-
.umi
34-
.umi-production
35-
.umi-test
31+
# dumi
32+
.dumi/tmp
33+
.dumi/tmp-test
34+
.dumi/tmp-production
3635
.env.local

.umirc.ts

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

docs/demo/basic.md

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

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

docs/demo/big-data.md

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

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

docs/demo/controlled.md

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

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

docs/demo/custom-icons.md

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

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

docs/demo/debug.md

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

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

docs/demo/disable.md

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

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

0 commit comments

Comments
 (0)