Skip to content

Commit eda3dca

Browse files
authored
chore: bump [email protected] (#988)
* chore: bump [email protected] * chore: remove include * chore: clean code * chore: bump [email protected] * ci: update node version * ci: update node 18 * ci: fix script * ci: fix yml
1 parent c4d78ab commit eda3dca

33 files changed

+253
-71
lines changed

.dumirc.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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: 'Select',
7+
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
8+
},
9+
});

.github/workflows/main.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:
@@ -69,7 +69,7 @@ jobs:
6969
run: npm run tsc
7070

7171
needs: setup
72-
72+
7373
compile:
7474
runs-on: ubuntu-latest
7575
steps:
@@ -92,7 +92,7 @@ jobs:
9292
run: npm run compile
9393

9494
needs: setup
95-
95+
9696
coverage:
9797
runs-on: ubuntu-latest
9898
steps:

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ src/*.map
3636
tslint.json
3737
tsconfig.test.json
3838
.prettierignore
39-
.storybook
40-
storybook/index.js
4139
.doc
42-
.umi
40+
.umi
41+
.dumi/tmp
42+
.dumi/tmp-test
43+
.dumi/tmp-production

docs/demo/auto-adjust-dropdown.md

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

docs/demo/combobox.md

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

docs/demo/controlled.md

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

docs/demo/custom-icon.md

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

docs/demo/custom-selector.md

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

docs/demo/custom-tags.md

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

docs/demo/dropdownRender.md

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

0 commit comments

Comments
 (0)