Skip to content

Commit ec16320

Browse files
committed
chore: address review feedback
1 parent bbca1c7 commit ec16320

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.dumirc.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ const publicPath = process.env.GH_PAGES ? '/virtual-list/' : '/';
66

77
export default defineConfig({
88
alias: {
9-
'@rc-component/virtual-list$': path.resolve('src'),
10-
'@rc-component/virtual-list/es': path.resolve('src'),
11-
'@rc-component/virtual-list/es/*': path.resolve('src'),
9+
'@rc-component/virtual-list$': path.resolve(__dirname, 'src'),
10+
'@rc-component/virtual-list/es': path.resolve(__dirname, 'src'),
1211
},
1312
mfsu: false,
1413
favicons: ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'],

.github/workflows/react-component-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ permissions:
1111

1212
jobs:
1313
test:
14-
uses: react-component/rc-test/.github/workflows/test-utoo.yml@main
14+
uses: react-component/rc-test/.github/workflows/test-utoo.yml@b8ebddc81ef706b50faff0242ab34ad8ecdd9a59
1515
secrets: inherit

.github/workflows/surge-preview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
2121
with:
2222
persist-credentials: false
23+
- name: Install dependencies
24+
run: npm install --ignore-scripts --no-audit --loglevel=warn
2325
- uses: afc163/surge-preview@bf90a5a86111f6311ca42f0a5a0f80fb0fb03cec
2426
with:
2527
build: npm run build

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ bun.lockb
1616
.umi-production
1717
.umi-test
1818
.env.local
19-
.dumi
19+
.dumi/tmp
20+
.dumi/tmp-production
2021
lib
2122
es
2223
coverage

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,12 @@ npm start
8080
npm install
8181
npm start
8282
npm test
83-
npm run tsc
84-
npm run compile
8583
npm run build
8684
```
8785

8886
## Release
8987

90-
The release flow is handled by `@rc-component/np` from the `prepublishOnly` script:
88+
The `prepublishOnly` script runs `npm run compile` and then `rc-np` from `@rc-component/np`:
9189

9290
```bash
9391
npm publish

0 commit comments

Comments
 (0)