@codependix/file-imports 0.0.16 β 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/README.md +67 -67
- package/dist/src/index.js +11 -11
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 0.0.18 (2026-10-13)
|
|
2
|
+
|
|
3
|
+
This was a version bump only for codependix-file-imports to align it with other projects, there were no code changes.
|
|
4
|
+
|
|
5
|
+
## 0.0.17 (2026-10-13)
|
|
6
|
+
|
|
7
|
+
### π
Refactors
|
|
8
|
+
|
|
9
|
+
- **configuration,codometer,validation:** β»οΈ nest every project under a single projects folder ([#1439](https://github.com/organizzolini/codebase/pull/1439))
|
|
10
|
+
|
|
1
11
|
## 0.0.16 (2026-10-13)
|
|
2
12
|
|
|
3
13
|
This was a version bump only for codependix-file-imports to align it with other projects, there were no code changes.
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ nx run codependix-file-imports:vitest
|
|
|
12
12
|
|
|
13
13
|
## πΈοΈ Codependix
|
|
14
14
|
|
|
15
|
-
Dependency graphs exported by [codependix](https://github.com/Organizzolini/codebase/tree/main/
|
|
15
|
+
Dependency graphs exported by [codependix](https://github.com/Organizzolini/codebase/tree/main/projects/ic-suite/codependix/codependix-cli), regenerated by `nx run codebase:codependix:write`.
|
|
16
16
|
|
|
17
17
|
### Nx Neighborhood
|
|
18
18
|
|
|
@@ -158,7 +158,7 @@ graph LR
|
|
|
158
158
|
|
|
159
159
|
## π Callidescope
|
|
160
160
|
|
|
161
|
-
Call stacks traced through `
|
|
161
|
+
Call stacks traced through `projects/ic-suite/codependix/codependix-file-imports`, deepest first. Each frame shows what it takes, what it returns, and what its documentation says.
|
|
162
162
|
|
|
163
163
|
| Measure | Value |
|
|
164
164
|
| --- | --- |
|
|
@@ -187,68 +187,68 @@ None.
|
|
|
187
187
|
|
|
188
188
|
| Callable | Breadth | Calls directly | Location |
|
|
189
189
|
| --- | --- | --- | --- |
|
|
190
|
-
| `TypescriptImportGraphService.buildGraph` | 8 | `TypescriptImportGraphService.resolveOwnedFileNames`, `TypescriptImportGraphService.listOwnedSourceFileNames`, `TypescriptImportGraphService.dedupeEdges`, `TypescriptImportGraphService.flatMap(β¦)`, `TypescriptImportGraphService.flatMap(β¦)`, `TypescriptImportGraphService.toSorted(β¦)`, `TypescriptImportGraphService.map(β¦)`, `TypescriptImportGraphService.filter(β¦)` | `
|
|
191
|
-
| `PythonImportGraphService.buildGraph` | 7 | `PythonProjectService.listSourceFileNames`, `PythonImportGraphService.dedupeEdges`, `PythonImportGraphService.flatMap(β¦)`, `PythonImportGraphService.flatMap(β¦)`, `PythonImportGraphService.toSorted(β¦)`, `PythonImportGraphService.map(β¦)`, `PythonImportGraphService.filter(β¦)` | `
|
|
192
|
-
| `FileImportsWorkspaceGraphService.buildWorkspaceGraph` | 4 | `FileImportsWorkspaceGraphService.sortNames`, `FileImportsWorkspaceGraphService.flatMap(β¦)`, `FileImportsWorkspaceGraphService.toSorted(β¦)`, `FileImportsWorkspaceGraphService.flatMap(β¦)` | `
|
|
190
|
+
| `TypescriptImportGraphService.buildGraph` | 8 | `TypescriptImportGraphService.resolveOwnedFileNames`, `TypescriptImportGraphService.listOwnedSourceFileNames`, `TypescriptImportGraphService.dedupeEdges`, `TypescriptImportGraphService.flatMap(β¦)`, `TypescriptImportGraphService.flatMap(β¦)`, `TypescriptImportGraphService.toSorted(β¦)`, `TypescriptImportGraphService.map(β¦)`, `TypescriptImportGraphService.filter(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:185` |
|
|
191
|
+
| `PythonImportGraphService.buildGraph` | 7 | `PythonProjectService.listSourceFileNames`, `PythonImportGraphService.dedupeEdges`, `PythonImportGraphService.flatMap(β¦)`, `PythonImportGraphService.flatMap(β¦)`, `PythonImportGraphService.toSorted(β¦)`, `PythonImportGraphService.map(β¦)`, `PythonImportGraphService.filter(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:180` |
|
|
192
|
+
| `FileImportsWorkspaceGraphService.buildWorkspaceGraph` | 4 | `FileImportsWorkspaceGraphService.sortNames`, `FileImportsWorkspaceGraphService.flatMap(β¦)`, `FileImportsWorkspaceGraphService.toSorted(β¦)`, `FileImportsWorkspaceGraphService.flatMap(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:84` |
|
|
193
193
|
|
|
194
194
|
<details>
|
|
195
195
|
<summary>53 more callables</summary>
|
|
196
196
|
|
|
197
197
|
| Callable | Breadth | Calls directly | Location |
|
|
198
198
|
| --- | --- | --- | --- |
|
|
199
|
-
| `PythonImportParserService.parseImportStatement` | 3 | `PythonImportParserService.map(β¦)`, `PythonImportParserService.filter(β¦)`, `PythonImportParserService.map(β¦)` | `
|
|
200
|
-
| `PythonImportParserService.parseImportSpecifiers` | 3 | `PythonImportParserService.isTopLevelImportStart`, `PythonImportParserService.collectStatement`, `PythonImportParserService.parseStatement` | `
|
|
201
|
-
| `PythonImportGraphService.collectEdgesForFile` | 3 | `PythonImportParserService.parseImportSpecifiers`, `PythonImportGraphService.resolveSpecifierPath`, `PythonImportGraphService.toRelativePath` | `
|
|
202
|
-
| `TypescriptProjectService.parseConfiguration` | 3 | `TypescriptProjectService.readJsonConfigFile(β¦)`, `TypescriptProjectConfigurationError.constructor`, `TypescriptProjectService.map(β¦)` | `
|
|
203
|
-
| `TypescriptImportGraphService.listOwnedSourceFileNames` | 3 | `TypescriptImportGraphService.toSorted(β¦)`, `TypescriptImportGraphService.filter(β¦)`, `TypescriptImportGraphService.resolveOwnedFileNames` | `
|
|
204
|
-
| `FileImportsWorkspaceGraphService.renderMermaid` | 2 | `FileImportsWorkspaceGraphService.map(β¦)`, `FileImportsWorkspaceGraphService.map(β¦)` | `
|
|
205
|
-
| `PythonImportParserService.collectStatement` | 2 | `PythonImportParserService.stripComment`, `PythonImportParserService.countCharacter` | `
|
|
206
|
-
| `PythonImportParserService.isTopLevelImportStart` | 2 | `PythonImportParserService.measureIndent`, `PythonImportParserService.stripComment` | `
|
|
207
|
-
| `PythonImportParserService.parseStatement` | 2 | `PythonImportParserService.parseFromStatement`, `PythonImportParserService.parseImportStatement` | `
|
|
208
|
-
| `PythonProjectService.discoverProjects` | 2 | `PythonProjectService.map(β¦)`, `PythonProjectService.filter(β¦)` | `
|
|
209
|
-
| `PythonProjectService.listSourceFileNames` | 2 | `PythonProjectService.toSorted(β¦)`, `PythonProjectService.listSourceFilesInDirectory` | `
|
|
210
|
-
| `PythonImportGraphService.renderMermaid` | 2 | `PythonImportGraphService.map(β¦)`, `PythonImportGraphService.map(β¦)` | `
|
|
211
|
-
| `TypescriptProjectService.discoverProjects` | 2 | `TypescriptProjectService.map(β¦)`, `TypescriptProjectService.filter(β¦)` | `
|
|
212
|
-
| `TypescriptImportGraphService.collectEdgesForFile` | 2 | `TypescriptImportGraphService.resolveImportTarget`, `TypescriptImportGraphService.toRelativePath` | `
|
|
213
|
-
| `TypescriptImportGraphService.renderMermaid` | 2 | `TypescriptImportGraphService.map(β¦)`, `TypescriptImportGraphService.map(β¦)` | `
|
|
214
|
-
| `FileImportsWorkspaceGraphService.renderNode` | 1 | `FileImportsWorkspaceGraphService.toNodeIdentifier` | `
|
|
215
|
-
| `FileImportsWorkspaceGraphService.sortNames` | 1 | `FileImportsWorkspaceGraphService.toSorted(β¦)` | `
|
|
216
|
-
| `FileImportsWorkspaceGraphService.flatMap(β¦)` | 1 | `FileImportsWorkspaceGraphService.map(β¦)` | `
|
|
217
|
-
| `FileImportsWorkspaceGraphService.map(β¦)` | 1 | `FileImportsWorkspaceGraphService.qualifyFileName` | `
|
|
218
|
-
| `FileImportsWorkspaceGraphService.flatMap(β¦)` | 1 | `FileImportsWorkspaceGraphService.map(β¦)` | `
|
|
219
|
-
| `FileImportsWorkspaceGraphService.map(β¦)` | 1 | `FileImportsWorkspaceGraphService.qualifyFileName` | `
|
|
220
|
-
| `FileImportsWorkspaceGraphService.toSorted(β¦)` | 1 | `FileImportsWorkspaceGraphService.compareEdges` | `
|
|
221
|
-
| `FileImportsWorkspaceGraphService.map(β¦)` | 1 | `FileImportsWorkspaceGraphService.renderNode` | `
|
|
222
|
-
| `FileImportsWorkspaceGraphService.map(β¦)` | 1 | `FileImportsWorkspaceGraphService.toNodeIdentifier` | `
|
|
223
|
-
| `PythonProjectService.filter(β¦)` | 1 | `PythonProjectService.isPythonProject` | `
|
|
224
|
-
| `PythonProjectService.map(β¦)` | 1 | `PythonProjectService.describeProject` | `
|
|
225
|
-
| `PythonImportGraphService.dedupeEdges` | 1 | `PythonImportGraphService.toSorted(β¦)` | `
|
|
226
|
-
| `PythonImportGraphService.toSorted(β¦)` | 1 | `PythonImportGraphService.compareEdges` | `
|
|
227
|
-
| `PythonImportGraphService.renderNode` | 1 | `PythonImportGraphService.toNodeIdentifier` | `
|
|
228
|
-
| `PythonImportGraphService.resolveSpecifierPath` | 1 | `PythonImportGraphService.ascendDirectories` | `
|
|
229
|
-
| `PythonImportGraphService.flatMap(β¦)` | 1 | `PythonImportGraphService.collectEdgesForFile` | `
|
|
230
|
-
| `PythonImportGraphService.map(β¦)` | 1 | `PythonImportGraphService.toRelativePath` | `
|
|
231
|
-
| `PythonImportGraphService.map(β¦)` | 1 | `PythonImportGraphService.renderNode` | `
|
|
232
|
-
| `PythonImportGraphService.map(β¦)` | 1 | `PythonImportGraphService.toNodeIdentifier` | `
|
|
233
|
-
| `PythonService.buildGraph` | 1 | `PythonImportGraphService.buildGraph` | `
|
|
234
|
-
| `PythonService.discoverProjects` | 1 | `PythonProjectService.discoverProjects` | `
|
|
235
|
-
| `PythonService.renderMermaid` | 1 | `PythonImportGraphService.renderMermaid` | `
|
|
236
|
-
| `TypescriptProjectService.buildProgram` | 1 | `TypescriptProjectService.parseConfiguration` | `
|
|
237
|
-
| `TypescriptProjectService.map(β¦)` | 1 | `TypescriptProjectService.describeProject` | `
|
|
238
|
-
| `TypescriptImportGraphService.dedupeEdges` | 1 | `TypescriptImportGraphService.toSorted(β¦)` | `
|
|
239
|
-
| `TypescriptImportGraphService.toSorted(β¦)` | 1 | `TypescriptImportGraphService.compareEdges` | `
|
|
240
|
-
| `TypescriptImportGraphService.renderNode` | 1 | `TypescriptImportGraphService.toNodeIdentifier` | `
|
|
241
|
-
| `TypescriptImportGraphService.resolveImportTarget` | 1 | `TypescriptProjectService.toRealPath` | `
|
|
242
|
-
| `TypescriptImportGraphService.resolveOwnedFileNames` | 1 | `TypescriptImportGraphService.map(β¦)` | `
|
|
243
|
-
| `TypescriptImportGraphService.map(β¦)` | 1 | `TypescriptProjectService.toRealPath` | `
|
|
244
|
-
| `TypescriptImportGraphService.flatMap(β¦)` | 1 | `TypescriptImportGraphService.collectEdgesForFile` | `
|
|
245
|
-
| `TypescriptImportGraphService.map(β¦)` | 1 | `TypescriptImportGraphService.toRelativePath` | `
|
|
246
|
-
| `TypescriptImportGraphService.map(β¦)` | 1 | `TypescriptImportGraphService.renderNode` | `
|
|
247
|
-
| `TypescriptImportGraphService.map(β¦)` | 1 | `TypescriptImportGraphService.toNodeIdentifier` | `
|
|
248
|
-
| `TypescriptService.buildGraph` | 1 | `TypescriptImportGraphService.buildGraph` | `
|
|
249
|
-
| `TypescriptService.buildProgram` | 1 | `TypescriptProjectService.buildProgram` | `
|
|
250
|
-
| `TypescriptService.discoverProjects` | 1 | `TypescriptProjectService.discoverProjects` | `
|
|
251
|
-
| `TypescriptService.renderMermaid` | 1 | `TypescriptImportGraphService.renderMermaid` | `
|
|
199
|
+
| `PythonImportParserService.parseImportStatement` | 3 | `PythonImportParserService.map(β¦)`, `PythonImportParserService.filter(β¦)`, `PythonImportParserService.map(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-parser.service.ts:105` |
|
|
200
|
+
| `PythonImportParserService.parseImportSpecifiers` | 3 | `PythonImportParserService.isTopLevelImportStart`, `PythonImportParserService.collectStatement`, `PythonImportParserService.parseStatement` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-parser.service.ts:158` |
|
|
201
|
+
| `PythonImportGraphService.collectEdgesForFile` | 3 | `PythonImportParserService.parseImportSpecifiers`, `PythonImportGraphService.resolveSpecifierPath`, `PythonImportGraphService.toRelativePath` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:64` |
|
|
202
|
+
| `TypescriptProjectService.parseConfiguration` | 3 | `TypescriptProjectService.readJsonConfigFile(β¦)`, `TypescriptProjectConfigurationError.constructor`, `TypescriptProjectService.map(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-project.service.ts:51` |
|
|
203
|
+
| `TypescriptImportGraphService.listOwnedSourceFileNames` | 3 | `TypescriptImportGraphService.toSorted(β¦)`, `TypescriptImportGraphService.filter(β¦)`, `TypescriptImportGraphService.resolveOwnedFileNames` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:122` |
|
|
204
|
+
| `FileImportsWorkspaceGraphService.renderMermaid` | 2 | `FileImportsWorkspaceGraphService.map(β¦)`, `FileImportsWorkspaceGraphService.map(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:109` |
|
|
205
|
+
| `PythonImportParserService.collectStatement` | 2 | `PythonImportParserService.stripComment`, `PythonImportParserService.countCharacter` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-parser.service.ts:42` |
|
|
206
|
+
| `PythonImportParserService.isTopLevelImportStart` | 2 | `PythonImportParserService.measureIndent`, `PythonImportParserService.stripComment` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-parser.service.ts:79` |
|
|
207
|
+
| `PythonImportParserService.parseStatement` | 2 | `PythonImportParserService.parseFromStatement`, `PythonImportParserService.parseImportStatement` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-parser.service.ts:126` |
|
|
208
|
+
| `PythonProjectService.discoverProjects` | 2 | `PythonProjectService.map(β¦)`, `PythonProjectService.filter(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-project.service.ts:69` |
|
|
209
|
+
| `PythonProjectService.listSourceFileNames` | 2 | `PythonProjectService.toSorted(β¦)`, `PythonProjectService.listSourceFilesInDirectory` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-project.service.ts:85` |
|
|
210
|
+
| `PythonImportGraphService.renderMermaid` | 2 | `PythonImportGraphService.map(β¦)`, `PythonImportGraphService.map(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:207` |
|
|
211
|
+
| `TypescriptProjectService.discoverProjects` | 2 | `TypescriptProjectService.map(β¦)`, `TypescriptProjectService.filter(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-project.service.ts:107` |
|
|
212
|
+
| `TypescriptImportGraphService.collectEdgesForFile` | 2 | `TypescriptImportGraphService.resolveImportTarget`, `TypescriptImportGraphService.toRelativePath` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:49` |
|
|
213
|
+
| `TypescriptImportGraphService.renderMermaid` | 2 | `TypescriptImportGraphService.map(β¦)`, `TypescriptImportGraphService.map(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:215` |
|
|
214
|
+
| `FileImportsWorkspaceGraphService.renderNode` | 1 | `FileImportsWorkspaceGraphService.toNodeIdentifier` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:64` |
|
|
215
|
+
| `FileImportsWorkspaceGraphService.sortNames` | 1 | `FileImportsWorkspaceGraphService.toSorted(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:69` |
|
|
216
|
+
| `FileImportsWorkspaceGraphService.flatMap(β¦)` | 1 | `FileImportsWorkspaceGraphService.map(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:90` |
|
|
217
|
+
| `FileImportsWorkspaceGraphService.map(β¦)` | 1 | `FileImportsWorkspaceGraphService.qualifyFileName` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:91` |
|
|
218
|
+
| `FileImportsWorkspaceGraphService.flatMap(β¦)` | 1 | `FileImportsWorkspaceGraphService.map(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:97` |
|
|
219
|
+
| `FileImportsWorkspaceGraphService.map(β¦)` | 1 | `FileImportsWorkspaceGraphService.qualifyFileName` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:98` |
|
|
220
|
+
| `FileImportsWorkspaceGraphService.toSorted(β¦)` | 1 | `FileImportsWorkspaceGraphService.compareEdges` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:103` |
|
|
221
|
+
| `FileImportsWorkspaceGraphService.map(β¦)` | 1 | `FileImportsWorkspaceGraphService.renderNode` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:117` |
|
|
222
|
+
| `FileImportsWorkspaceGraphService.map(β¦)` | 1 | `FileImportsWorkspaceGraphService.toNodeIdentifier` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:119` |
|
|
223
|
+
| `PythonProjectService.filter(β¦)` | 1 | `PythonProjectService.isPythonProject` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-project.service.ts:73` |
|
|
224
|
+
| `PythonProjectService.map(β¦)` | 1 | `PythonProjectService.describeProject` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-project.service.ts:74` |
|
|
225
|
+
| `PythonImportGraphService.dedupeEdges` | 1 | `PythonImportGraphService.toSorted(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:107` |
|
|
226
|
+
| `PythonImportGraphService.toSorted(β¦)` | 1 | `PythonImportGraphService.compareEdges` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:114` |
|
|
227
|
+
| `PythonImportGraphService.renderNode` | 1 | `PythonImportGraphService.toNodeIdentifier` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:120` |
|
|
228
|
+
| `PythonImportGraphService.resolveSpecifierPath` | 1 | `PythonImportGraphService.ascendDirectories` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:133` |
|
|
229
|
+
| `PythonImportGraphService.flatMap(β¦)` | 1 | `PythonImportGraphService.collectEdgesForFile` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:185` |
|
|
230
|
+
| `PythonImportGraphService.map(β¦)` | 1 | `PythonImportGraphService.toRelativePath` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:193` |
|
|
231
|
+
| `PythonImportGraphService.map(β¦)` | 1 | `PythonImportGraphService.renderNode` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:215` |
|
|
232
|
+
| `PythonImportGraphService.map(β¦)` | 1 | `PythonImportGraphService.toNodeIdentifier` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:217` |
|
|
233
|
+
| `PythonService.buildGraph` | 1 | `PythonImportGraphService.buildGraph` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python.service.ts:39` |
|
|
234
|
+
| `PythonService.discoverProjects` | 1 | `PythonProjectService.discoverProjects` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python.service.ts:47` |
|
|
235
|
+
| `PythonService.renderMermaid` | 1 | `PythonImportGraphService.renderMermaid` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python.service.ts:54` |
|
|
236
|
+
| `TypescriptProjectService.buildProgram` | 1 | `TypescriptProjectService.parseConfiguration` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-project.service.ts:78` |
|
|
237
|
+
| `TypescriptProjectService.map(β¦)` | 1 | `TypescriptProjectService.describeProject` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-project.service.ts:116` |
|
|
238
|
+
| `TypescriptImportGraphService.dedupeEdges` | 1 | `TypescriptImportGraphService.toSorted(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:100` |
|
|
239
|
+
| `TypescriptImportGraphService.toSorted(β¦)` | 1 | `TypescriptImportGraphService.compareEdges` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:109` |
|
|
240
|
+
| `TypescriptImportGraphService.renderNode` | 1 | `TypescriptImportGraphService.toNodeIdentifier` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:131` |
|
|
241
|
+
| `TypescriptImportGraphService.resolveImportTarget` | 1 | `TypescriptProjectService.toRealPath` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:136` |
|
|
242
|
+
| `TypescriptImportGraphService.resolveOwnedFileNames` | 1 | `TypescriptImportGraphService.map(β¦)` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:156` |
|
|
243
|
+
| `TypescriptImportGraphService.map(β¦)` | 1 | `TypescriptProjectService.toRealPath` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:162` |
|
|
244
|
+
| `TypescriptImportGraphService.flatMap(β¦)` | 1 | `TypescriptImportGraphService.collectEdgesForFile` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:189` |
|
|
245
|
+
| `TypescriptImportGraphService.map(β¦)` | 1 | `TypescriptImportGraphService.toRelativePath` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:201` |
|
|
246
|
+
| `TypescriptImportGraphService.map(β¦)` | 1 | `TypescriptImportGraphService.renderNode` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:223` |
|
|
247
|
+
| `TypescriptImportGraphService.map(β¦)` | 1 | `TypescriptImportGraphService.toNodeIdentifier` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:225` |
|
|
248
|
+
| `TypescriptService.buildGraph` | 1 | `TypescriptImportGraphService.buildGraph` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript.service.ts:44` |
|
|
249
|
+
| `TypescriptService.buildProgram` | 1 | `TypescriptProjectService.buildProgram` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript.service.ts:49` |
|
|
250
|
+
| `TypescriptService.discoverProjects` | 1 | `TypescriptProjectService.discoverProjects` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript.service.ts:57` |
|
|
251
|
+
| `TypescriptService.renderMermaid` | 1 | `TypescriptImportGraphService.renderMermaid` | `projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript.service.ts:64` |
|
|
252
252
|
|
|
253
253
|
</details>
|
|
254
254
|
<!-- callidescope:end -->
|
|
@@ -260,13 +260,13 @@ None.
|
|
|
260
260
|
### Project
|
|
261
261
|
|
|
262
262
|

|
|
263
|
-

|
|
264
264
|

|
|
265
265
|

|
|
266
266
|
|
|
267
267
|
### Measured Targets
|
|
268
268
|
|
|
269
|
-

|
|
270
270
|
|
|
271
271
|
### TypeScript
|
|
272
272
|
|
|
@@ -448,20 +448,20 @@ None.
|
|
|
448
448
|
### Markdown
|
|
449
449
|
|
|
450
450
|

|
|
451
|
-

|
|
452
452
|

|
|
453
|
-

|
|
454
|
+

|
|
455
455
|

|
|
456
456
|

|
|
457
457
|

|
|
458
|
-

|
|
459
|
+

|
|
460
|
+

|
|
461
461
|

|
|
462
462
|

|
|
463
463
|

|
|
464
|
-

|
|
465
465
|

|
|
466
466
|

|
|
467
467
|

|
package/dist/src/index.js
CHANGED
|
@@ -18,7 +18,7 @@ function __decorate(e, t, n, r) {
|
|
|
18
18
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
19
19
|
}
|
|
20
20
|
//#endregion
|
|
21
|
-
//#region
|
|
21
|
+
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts
|
|
22
22
|
var l = class FileImportsWorkspaceGraphService {
|
|
23
23
|
constructor() {}
|
|
24
24
|
compareEdges(e, t) {
|
|
@@ -58,7 +58,7 @@ var l = class FileImportsWorkspaceGraphService {
|
|
|
58
58
|
};
|
|
59
59
|
l = __decorate([e(), __decorateMetadata("design:paramtypes", [])], l);
|
|
60
60
|
//#endregion
|
|
61
|
-
//#region
|
|
61
|
+
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.module.ts
|
|
62
62
|
var u = class FileImportsWorkspaceGraphModule {};
|
|
63
63
|
u = __decorate([t({
|
|
64
64
|
controllers: [],
|
|
@@ -67,7 +67,7 @@ u = __decorate([t({
|
|
|
67
67
|
providers: [l]
|
|
68
68
|
})], u);
|
|
69
69
|
//#endregion
|
|
70
|
-
//#region
|
|
70
|
+
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-parser.constants.ts
|
|
71
71
|
var d = /^from\s+(?<dots>\.*)(?<modulePath>[\w.]*)\s+import\s+.+$/u, f = /^import\s+(?<specifiers>.+)$/u, p = /^(?<modulePath>[\w.]+)/u, m = /^(?:from|import)\b/u, h = class PythonImportParserService {
|
|
72
72
|
constructor() {}
|
|
73
73
|
collectStatement(e, t) {
|
|
@@ -142,7 +142,7 @@ var d = /^from\s+(?<dots>\.*)(?<modulePath>[\w.]*)\s+import\s+.+$/u, f = /^impor
|
|
|
142
142
|
};
|
|
143
143
|
h = __decorate([e(), __decorateMetadata("design:paramtypes", [])], h);
|
|
144
144
|
//#endregion
|
|
145
|
-
//#region
|
|
145
|
+
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python.constants.ts
|
|
146
146
|
var g = "__init__.py", _ = "graph LR", v = "_This project has no internal file imports._", y = /* @__PURE__ */ new Set([
|
|
147
147
|
".git",
|
|
148
148
|
".mypy_cache",
|
|
@@ -182,7 +182,7 @@ var g = "__init__.py", _ = "graph LR", v = "_This project has no internal file i
|
|
|
182
182
|
};
|
|
183
183
|
x = __decorate([e(), __decorateMetadata("design:paramtypes", [])], x);
|
|
184
184
|
//#endregion
|
|
185
|
-
//#region
|
|
185
|
+
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts
|
|
186
186
|
var S = class PythonImportGraphService {
|
|
187
187
|
pythonImportParserService;
|
|
188
188
|
pythonProjectService;
|
|
@@ -260,7 +260,7 @@ var S = class PythonImportGraphService {
|
|
|
260
260
|
};
|
|
261
261
|
S = __decorate([e(), __decorateMetadata("design:paramtypes", [h === void 0 ? Object : h, x === void 0 ? Object : x])], S);
|
|
262
262
|
//#endregion
|
|
263
|
-
//#region
|
|
263
|
+
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python.service.ts
|
|
264
264
|
var C = class PythonService {
|
|
265
265
|
pythonImportGraphService;
|
|
266
266
|
pythonProjectService;
|
|
@@ -279,7 +279,7 @@ var C = class PythonService {
|
|
|
279
279
|
};
|
|
280
280
|
C = __decorate([e(), __decorateMetadata("design:paramtypes", [S === void 0 ? Object : S, x === void 0 ? Object : x])], C);
|
|
281
281
|
//#endregion
|
|
282
|
-
//#region
|
|
282
|
+
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python.module.ts
|
|
283
283
|
var w = class PythonModule {};
|
|
284
284
|
w = __decorate([t({
|
|
285
285
|
controllers: [],
|
|
@@ -293,7 +293,7 @@ w = __decorate([t({
|
|
|
293
293
|
]
|
|
294
294
|
})], w);
|
|
295
295
|
//#endregion
|
|
296
|
-
//#region
|
|
296
|
+
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript.constants.ts
|
|
297
297
|
var T = ".d.ts", E = "graph LR", D = "_This project has no internal file imports._", O = "tsconfig.json", TypescriptProjectConfigurationError = class extends Error {
|
|
298
298
|
constructor(e) {
|
|
299
299
|
super(`Could not read ${e.configurationPath}: ${e.messages.join("; ")}`), this.name = "TypescriptProjectConfigurationError";
|
|
@@ -337,7 +337,7 @@ var T = ".d.ts", E = "graph LR", D = "_This project has no internal file imports
|
|
|
337
337
|
};
|
|
338
338
|
k = __decorate([e(), __decorateMetadata("design:paramtypes", [])], k);
|
|
339
339
|
//#endregion
|
|
340
|
-
//#region
|
|
340
|
+
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts
|
|
341
341
|
var A = class TypescriptImportGraphService {
|
|
342
342
|
typescriptProjectService;
|
|
343
343
|
constructor(e) {
|
|
@@ -417,7 +417,7 @@ var A = class TypescriptImportGraphService {
|
|
|
417
417
|
};
|
|
418
418
|
A = __decorate([e(), __decorateMetadata("design:paramtypes", [k === void 0 ? Object : k])], A);
|
|
419
419
|
//#endregion
|
|
420
|
-
//#region
|
|
420
|
+
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript.service.ts
|
|
421
421
|
var j = class TypescriptService {
|
|
422
422
|
typescriptImportGraphService;
|
|
423
423
|
typescriptProjectService;
|
|
@@ -439,7 +439,7 @@ var j = class TypescriptService {
|
|
|
439
439
|
};
|
|
440
440
|
j = __decorate([e(), __decorateMetadata("design:paramtypes", [A === void 0 ? Object : A, k === void 0 ? Object : k])], j);
|
|
441
441
|
//#endregion
|
|
442
|
-
//#region
|
|
442
|
+
//#region projects/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript.module.ts
|
|
443
443
|
var M = class TypescriptModule {};
|
|
444
444
|
M = __decorate([t({
|
|
445
445
|
controllers: [],
|
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"LICENSE",
|
|
32
32
|
"README.md"
|
|
33
33
|
],
|
|
34
|
-
"homepage": "https://github.com/organizzolini/codebase/tree/main/
|
|
34
|
+
"homepage": "https://github.com/organizzolini/codebase/tree/main/projects/ic-suite/codependix/codependix-file-imports#readme",
|
|
35
35
|
"keywords": [
|
|
36
36
|
"circular-dependency",
|
|
37
37
|
"codependix",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"registry": "https://registry.npmjs.org"
|
|
51
51
|
},
|
|
52
52
|
"repository": {
|
|
53
|
-
"directory": "
|
|
53
|
+
"directory": "projects/ic-suite/codependix/codependix-file-imports",
|
|
54
54
|
"type": "git",
|
|
55
55
|
"url": "git+https://github.com/organizzolini/codebase.git"
|
|
56
56
|
},
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"strict": true
|
|
61
61
|
},
|
|
62
62
|
"types": "./dist/src/index.d.ts",
|
|
63
|
-
"version": "0.0.
|
|
63
|
+
"version": "0.0.18"
|
|
64
64
|
}
|