Commit ca97ad0
committed
fix: repair broken CI pipelines
- rollup.config.mjs: switch tsconfig from tsconfig.json to tsconfig.lib.json
tsconfig.json includes root-level JS files (lint-staged.config.js, jest.config.js),
making TypeScript compute rootDir as the project root and emit to dist/src/index.js.
@rollup/plugin-typescript uses ts.getOutputFileNames which returns dist/index.js,
so emittedFiles lookup always misses and the plugin falls through without transpiling.
tsconfig.lib.json includes only src files, rootDir is inferred as src/, and both
paths agree on dist/index.js.
- .eslintrc.js: ignore src/stories since tsconfig.json now excludes it;
@typescript-eslint/parser requires project-included files to parse type-aware rules.
- pullDown.test.tsx: global -> globalThis to fix no-unsafe-member-access lint error.1 parent ca35db7 commit ca97ad0
3 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments