Commit e1d186b
fix(languages): add .mts/.cts extensions and *.spec.tsx test glob to the TypeScript config
The TypeScript LanguageConfig omitted the first-class .mts/.cts module
extensions, so those files resolved to null and were skipped by the
tree-sitter pipeline. It also listed *.test.tsx but not *.spec.tsx,
miscategorizing spec-named TSX test files as regular source.
Add .mts/.cts to extensions and *.spec.tsx to the test glob, mirroring
the JavaScript config's .mjs/.cjs and test/spec parity.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent fb1356a commit e1d186b
2 files changed
Lines changed: 12 additions & 2 deletions
File tree
- understand-anything-plugin/packages/core/src
- __tests__
- languages/configs
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
| |||
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
96 | 106 | | |
97 | 107 | | |
98 | 108 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
0 commit comments