Commit 061ab8f
committed
Add best-effort @sap/cds-indexer support to CDS extractor
- Integrate indexer orchestration into cds-extractor.ts between
dependency installation and compilation phases
- New src/cds/indexer.ts: detect projects using @sap/cds-indexer and
run `npx --yes @sap/cds-indexer` before compilation, with graceful
error handling and diagnostic warnings on failure
- Include @sap/cds-indexer in dependency cache when declared in
project package.json (dependencies or devDependencies)
- Add addCdsIndexerDiagnostic() to diagnostics.ts
- Add unit tests to cover new indexer and diagnostic functions
- Fix Jest localstorage-file warnings on Node.js v25+1 parent 9bf2f04 commit 061ab8f
File tree
11 files changed
+1182
-166
lines changed- extractors/cds/tools
- dist
- src
- cds
- packageManager
- test/src
- cds
11 files changed
+1182
-166
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
209 | 227 | | |
210 | 228 | | |
211 | 229 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
1 | 18 | | |
2 | 19 | | |
3 | 20 | | |
| |||
0 commit comments