Skip to content

Commit

Permalink
chore: bump [email protected] (#988)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
RedJue authored Oct 24, 2023
1 parent c4d78ab commit eda3dca
Show file tree
Hide file tree
Showing 33 changed files with 253 additions and 71 deletions.
9 changes: 9 additions & 0 deletions .dumirc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { defineConfig } from 'dumi';

export default defineConfig({
favicons: ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'],
themeConfig: {
name: 'Select',
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
},
});
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
setup:
Expand All @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@v1
with:
node-version: '12'
node-version: '18'

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

- name: create package-lock.json
run: npm i --package-lock-only
run: npm i --package-lock-only --ignore-scripts

- name: hack for singe file
run: |
Expand All @@ -43,7 +43,7 @@ jobs:
- name: install
if: steps.node_modules_cache_id.outputs.cache-hit != 'true'
run: npm ci

lint:
runs-on: ubuntu-latest
steps:
Expand All @@ -69,7 +69,7 @@ jobs:
run: npm run tsc

needs: setup

compile:
runs-on: ubuntu-latest
steps:
Expand All @@ -92,7 +92,7 @@ jobs:
run: npm run compile

needs: setup

coverage:
runs-on: ubuntu-latest
steps:
Expand Down
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ src/*.map
tslint.json
tsconfig.test.json
.prettierignore
.storybook
storybook/index.js
.doc
.umi
.umi
.dumi/tmp
.dumi/tmp-test
.dumi/tmp-production
10 changes: 8 additions & 2 deletions docs/demo/auto-adjust-dropdown.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## auto-adjust-dropdown
<code src="../examples/auto-adjust-dropdown.tsx">
---
title: auto-adjust-dropdown
nav:
title: Demo
path: /demo
---

<code src="../examples/auto-adjust-dropdown.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/combobox.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## combobox
<code src="../examples/combobox.tsx">
---
title: combobox
nav:
title: Demo
path: /demo
---

<code src="../examples/combobox.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/controlled.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## controlled
<code src="../examples/controlled.tsx">
---
title: controlled
nav:
title: Demo
path: /demo
---

<code src="../examples/controlled.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/custom-icon.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## custom-icon
<code src="../examples/custom-icon.tsx">
---
title: custom-icon
nav:
title: Demo
path: /demo
---

<code src="../examples/custom-icon.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/custom-selector.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## custom-selector
<code src="../examples/custom-selector.tsx">
---
title: custom-selector
nav:
title: Demo
path: /demo
---

<code src="../examples/custom-selector.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/custom-tags.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## custom-tags
<code src="../examples/custom-tags.tsx">
---
title: custom-tags
nav:
title: Demo
path: /demo
---

<code src="../examples/custom-tags.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/dropdownRender.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## dropdownRender
<code src="../examples/dropdownRender.tsx">
---
title: dropdownRender
nav:
title: Demo
path: /demo
---

<code src="../examples/dropdownRender.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/email.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## email
<code src="../examples/email.tsx">
---
title: email
nav:
title: Demo
path: /demo
---

<code src="../examples/email.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/filterSort.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## filterSort
<code src="../examples/filterSort.tsx">
---
title: filterSort
nav:
title: Demo
path: /demo
---

<code src="../examples/filterSort.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/force-suggest.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## force-suggest
<code src="../examples/force-suggest.tsx">
---
title: force-suggest
nav:
title: Demo
path: /demo
---

<code src="../examples/force-suggest.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/getPopupContainer.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## getPopupContainer
<code src="../examples/getPopupContainer.tsx">
---
title: getPopupContainer
nav:
title: Demo
path: /demo
---

<code src="../examples/getPopupContainer.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/loading.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## loading
<code src="../examples/loading.tsx">
---
title: loading
nav:
title: Demo
path: /demo
---

<code src="../examples/loading.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/mul-suggest.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## mul-suggest
<code src="../examples/mul-suggest.tsx">
---
title: mul-suggest
nav:
title: Demo
path: /demo
---

<code src="../examples/mul-suggest.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/mul-tag-suggest.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## mul-tag-suggest
<code src="../examples/mul-tag-suggest.tsx">
---
title: mul-tag-suggest
nav:
title: Demo
path: /demo
---

<code src="../examples/mul-tag-suggest.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/multiple-readonly.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## multiple-readonly
<code src="../examples/multiple-readonly.tsx">
---
title: multiple-readonly
nav:
title: Demo
path: /demo
---

<code src="../examples/multiple-readonly.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/multiple.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## multiple
<code src="../examples/multiple.tsx">
---
title: multiple
nav:
title: Demo
path: /demo
---

<code src="../examples/multiple.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/optgroup.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## optgroup
<code src="../examples/optgroup.tsx">
---
title: optgroup
nav:
title: Demo
path: /demo
---

<code src="../examples/optgroup.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/optionFilterProp.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## optionFilterProp
<code src="../examples/optionFilterProp.tsx">
---
title: optionFilterProp
nav:
title: Demo
path: /demo
---

<code src="../examples/optionFilterProp.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/optionLabelProp.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## optionLabelProp
<code src="../examples/optionLabelProp.tsx">
---
title: optionLabelProp
nav:
title: Demo
path: /demo
---

<code src="../examples/optionLabelProp.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/scroll-loading.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## scroll loading
<code src="../examples/scroll-loading.tsx">
---
title: scroll loading
nav:
title: Demo
path: /demo
---

<code src="../examples/scroll-loading.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/single-animation.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## single-animation
<code src="../examples/single-animation.tsx">
---
title: single-animation
nav:
title: Demo
path: /demo
---

<code src="../examples/single-animation.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/single.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## single
<code src="../examples/single.tsx">
---
title: single
nav:
title: Demo
path: /demo
---

<code src="../examples/single.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/singleFieldNames.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## singleFieldNames
<code src="../examples/singleFieldNames.tsx">
---
title: singleFieldNames
nav:
title: Demo
path: /demo
---

<code src="../examples/singleFieldNames.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/suggest.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## suggest
<code src="../examples/suggest.tsx">
---
title: suggest
nav:
title: Demo
path: /demo
---

<code src="../examples/suggest.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/tags.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## tags
<code src="../examples/tags.tsx">
---
title: tags
nav:
title: Demo
path: /demo
---

<code src="../examples/tags.tsx"></code>
10 changes: 8 additions & 2 deletions docs/demo/update-option.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
## update-option
<code src="../examples/update-option.tsx">
---
title: update-option
nav:
title: Demo
path: /demo
---

<code src="../examples/update-option.tsx"></code>
7 changes: 7 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
hero:
title: rc-select
description: React Select Component
---

<embed src="../README.md"></embed>
6 changes: 4 additions & 2 deletions now.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
{
"src": "package.json",
"use": "@now/static-build",
"config": { "distDir": ".doc" }
"config": {
"distDir": "dist"
}
}
]
}
}
Loading

1 comment on commit eda3dca

@vercel
Copy link

@vercel vercel bot commented on eda3dca Oct 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

select – ./

select.vercel.app
select-react-component.vercel.app
select-git-master-react-component.vercel.app

Please sign in to comment.