Commit 94c67b5
committed
fix(ts): strictness improvements + CI timeouts
- src/stdio/prompts.ts: replace the forbidden `as any` on the
selectModule destructure with a scoped `as unknown as {...}` that
narrows to the two properties we actually use (default + Separator).
Keeps CLAUDE.md's no-any rule satisfied.
- src/dlx/package.ts: tighten dlxPackage() signature — options was
declared optional but then immediately `options!`-asserted. Since
DlxPackageOptions.package is required, calling dlxPackage() without
options is nonsense; make options required at the type level instead
of hiding the requirement behind a non-null assertion.
- .github/workflows/weekly-update.yml: add job-level timeout-minutes
(15 for check-updates, 30 for apply-updates). The apply-updates job
invokes Claude Code in automation which could hang; step-level
timeouts (10–15m) were insufficient without a job-level ceiling.1 parent 05fb4b8 commit 94c67b5
3 files changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
0 commit comments