Skip to content

Commit 68c833f

Browse files
committed
chore: address review feedback
1 parent 384c7f3 commit 68c833f

6 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/surge-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Build preview
3232
if: ${{ steps.surge-token.outputs.enabled == 'true' }}
3333
run: |
34-
npm install
34+
ut install
3535
npm run build
3636
- uses: afc163/surge-preview@bf90a5a86111f6311ca42f0a5a0f80fb0fb03cec
3737
if: ${{ steps.surge-token.outputs.enabled == 'true' }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</p>
1414
</div>
1515

16-
<p align="center">English | [简体中文](./README.zh-CN.md)</p>
16+
<p align="center">English | <a href="./README.zh-CN.md">简体中文</a></p>
1717

1818
## Highlights
1919

@@ -54,7 +54,7 @@ export default () => (
5454
## Development
5555

5656
```bash
57-
npm install
57+
ut install
5858
npm start
5959
npm test
6060
npm run lint

README.zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</p>
1414
</div>
1515

16-
<p align="center">简体中文 | [English](./README.md)</p>
16+
<p align="center">简体中文 | <a href="./README.md">English</a></p>
1717

1818
## 亮点
1919

@@ -54,7 +54,7 @@ export default () => (
5454
## 本地开发
5555

5656
```bash
57-
npm install
57+
ut install
5858
npm start
5959
npm test
6060
npm run lint

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"lint": "eslint src/ --ext .tsx,.ts",
4343
"lint:tsc": "tsc -p tsconfig.json --noEmit",
4444
"build": "dumi build",
45-
"tsc": "tsc -p tsconfig.json --noEmit"
45+
"tsc": "npm run lint:tsc"
4646
},
4747
"dependencies": {
4848
"@babel/runtime": "^7.11.1",

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
"rc-overflow": ["src/index.tsx"]
1414
}
1515
},
16-
"include": ["**/*.ts", "**/*.tsx", ".dumirc.ts"]
16+
"include": ["**/*.ts", "**/*.tsx", ".dumirc.ts"],
17+
"exclude": ["node_modules", "es", "lib", "dist", "docs-dist", ".doc", ".dumi/tmp", "coverage"]
1718
}

vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"framework": "umijs",
3-
"installCommand": "npm install",
3+
"installCommand": "ut install",
44
"buildCommand": "npm run build",
55
"outputDirectory": "docs-dist"
66
}

0 commit comments

Comments
 (0)