Commit eaa2330
committed
fix(lint): resolve import and tsconfig issues causing CI failures
- Fix scripts/update.mjs to use local parseArgs utility instead of package import
- Add vitest.config.ts to tsconfig.test.json include array to satisfy ESLint TypeScript parser
The update script was incorrectly importing from @socketsecurity/lib/argv/parse
which doesn't exist until after the package is built. Changed to use the local
scripts/utils/parse-args.mjs utility instead.
The ESLint TypeScript parser requires all linted TypeScript files to be included
in a tsconfig project. Added vitest.config.ts to the test config's include array.1 parent 46d5af2 commit eaa2330
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | 11 | | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
0 commit comments