Commit feee16d
chore(ci): ignore TypeScript major bumps in Dependabot (#77)
TypeScript 7 (the native port) removes the legacy JS API surface that
@capacitor/cli depends on. requireTS() reads ts.ModuleKind.CommonJS and
ts.ModuleResolutionKind.NodeJs to parse capacitor.config.ts, but on
typescript@7.0.2 ModuleKind, ModuleResolutionKind, ScriptTarget and
transpileModule are all undefined.
The result is `npx cap sync android` failing with
"Cannot read properties of undefined (reading CommonJS)", which turned
the Android CodeQL job red on the TypeScript 7 bump (PR #76).
No released @capacitor/cli fixes this (latest is 8.4.2, already in use),
so ignore major TypeScript updates until Capacitor supports TS 7.
Co-authored-by: Yuval <Yuval@YUBEN-2025>1 parent eec1a13 commit feee16d
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
33 | 45 | | |
34 | 46 | | |
35 | 47 | | |
| |||
0 commit comments