@codependix/nx 0.0.7 β 0.0.9
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 +12 -0
- package/README.md +131 -7
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 0.0.9 (2026-10-15)
|
|
2
|
+
|
|
3
|
+
### π§± Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated codependix-cli to 0.0.24
|
|
6
|
+
|
|
7
|
+
## 0.0.8 (2026-10-15)
|
|
8
|
+
|
|
9
|
+
### π§± Updated Dependencies
|
|
10
|
+
|
|
11
|
+
- Updated codependix-cli to 0.0.23
|
|
12
|
+
|
|
1
13
|
## 0.0.7 (2026-10-15)
|
|
2
14
|
|
|
3
15
|
### π§± Updated Dependencies
|
package/README.md
CHANGED
|
@@ -339,6 +339,130 @@ graph LR
|
|
|
339
339
|
```
|
|
340
340
|
<!-- codependix:end name="codependix-file-imports" -->
|
|
341
341
|
|
|
342
|
+
<!-- callidescope:start -->
|
|
343
|
+
|
|
344
|
+
## π Callidescope
|
|
345
|
+
|
|
346
|
+
Call stacks traced through `projects/ic-suite/codependix/codependix-nx`, deepest first. Each frame shows what it takes, what it returns, and what its documentation says.
|
|
347
|
+
|
|
348
|
+
| Measure | Value |
|
|
349
|
+
| --- | --- |
|
|
350
|
+
| Callables | 77 |
|
|
351
|
+
| Files | 22 |
|
|
352
|
+
| Calls traced | 89 |
|
|
353
|
+
| Call stacks | 3 |
|
|
354
|
+
| Deepest stack | 6 |
|
|
355
|
+
| Stacks through recursion | 0 |
|
|
356
|
+
| Unfollowable calls | 7 |
|
|
357
|
+
|
|
358
|
+
### Limits
|
|
359
|
+
|
|
360
|
+
What this project is judged against, as declared in its own `callidescope.config.ts`.
|
|
361
|
+
|
|
362
|
+
| Limit | Value |
|
|
363
|
+
| --- | --- |
|
|
364
|
+
| `maximumDepth` | 6 |
|
|
365
|
+
| `maximumBreadth` | 5 |
|
|
366
|
+
|
|
367
|
+
### Call stacks (depth)
|
|
368
|
+
|
|
369
|
+
**1. `anonymous`** β depth β₯ 6 Β· orphan-root
|
|
370
|
+
|
|
371
|
+
```text
|
|
372
|
+
π anonymous(β¦): Promise<CreateNodesResultArray> [projects/ic-suite/codependix/codependix-nx/src/index.ts:45]
|
|
373
|
+
ββ> resolveToolInputs(args: ResolveToolInputsArguments): InferredInput[] [projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:65]
|
|
374
|
+
β³ The cache inputs that tie a gate to the codependix command line it runs.
|
|
375
|
+
ββ> resolveWorkspaceInputs(β¦): InferredInput[] [projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:209]
|
|
376
|
+
β³ Globs over the sources and manifest of the command line and of every workspace package it reaches, sorted so the cacheβ¦
|
|
377
|
+
ββ> collectWorkspacePackages(cliDirectory: string): WorkspacePackages [projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:103]
|
|
378
|
+
β³ Collects a workspace package and every workspace package it reaches, development dependencies included: a package thisβ¦
|
|
379
|
+
ββ> readDependencies(directory: string): [string, unknown][] [projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:41]
|
|
380
|
+
β³ Every dependency a package's manifest declares, in either map.
|
|
381
|
+
ββ> readManifest(directory: string): Record<string, unknown> [projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:173]
|
|
382
|
+
β³ Reads a package directory's manifest, or an empty one when there is none or it cannot be parsed β which leaves thatβ¦
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
**2. `gateExecutor`** β depth β₯ 6 Β· orphan-root
|
|
386
|
+
|
|
387
|
+
```text
|
|
388
|
+
π gateExecutor(β¦): Promise<{ success: boolean; }> [projects/ic-suite/codependix/codependix-nx/src/executors/gate/executor.ts:21]
|
|
389
|
+
β³ Fails one project's task when a codependix boundary finding is charged to it.
|
|
390
|
+
ββ> GateService.run(args: RunGateArguments): Promise<boolean> [projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:287]
|
|
391
|
+
β³ Runs one gate, and settles on whether it passed.
|
|
392
|
+
ββ> GateService.resolveConfigurationPath(β¦): string [projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:241]
|
|
393
|
+
β³ Resolves the configuration path one gate runs with.
|
|
394
|
+
ββ> PluginService.readRegisteredOptions(nxConfiguration: unknown): unknown [projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin.service.ts:136]
|
|
395
|
+
β³ Finds this plugin's own entry in an `nx.json` and returns its options.
|
|
396
|
+
ββ> PluginService.map(β¦)(entry: unknown): Record<string, unknown> [projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin.service.ts:144]
|
|
397
|
+
ββ> PluginService.toRecord(value: unknown): Record<string, unknown> [projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin.service.ts:79]
|
|
398
|
+
β³ Copies an untrusted value into a record, or an empty one.
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
**3. `gateHasher`** β depth 6 Β· orphan-root
|
|
402
|
+
|
|
403
|
+
```text
|
|
404
|
+
π gateHasher(task: Task, context: GateHasherContext): Promise<Hash> [projects/ic-suite/codependix/codependix-nx/src/executors/gate/hasher.ts:17]
|
|
405
|
+
β³ Hashes one gate task for Nx's cache.
|
|
406
|
+
ββ> GateService.hashTask(args: HashGateTaskArguments): Promise<Hash> [projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:215]
|
|
407
|
+
β³ Hashes one gate task for Nx's cache β or, when it judges any project but its own, gives it a hash no run shares, so itsβ¦
|
|
408
|
+
ββ> GateService.judgesOwnProject(args: HashGateTaskArguments): boolean [projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:55]
|
|
409
|
+
β³ Whether a gate task judges exactly the project it belongs to.
|
|
410
|
+
ββ> GateService.resolveSelection(β¦): GateSelection [projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:266]
|
|
411
|
+
β³ Resolves which projects one gate judges.
|
|
412
|
+
ββ> GateService.readNameList(value: readonly string[] | undefined): string[] [projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:81]
|
|
413
|
+
β³ Reads a list of names out of an executor's options.
|
|
414
|
+
ββ> GateService.filter(β¦)(entry: string): boolean [projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:85]
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
### Breadth
|
|
418
|
+
|
|
419
|
+
| Callable | Breadth | Calls directly | Location |
|
|
420
|
+
| --- | --- | --- | --- |
|
|
421
|
+
| `resolveToolInputs` | 5 | `locatePackage`, `warnUnresolved`, `isInsideWorkspace`, `resolveWorkspaceInputs`, `resolveExternalInputs` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:65` |
|
|
422
|
+
| `anonymous` | 5 | `resolvePluginService`, `PluginService.inferTargets`, `resolveToolInputs`, `resolveTsconfigInputs`, `flatMap(β¦)` | `projects/ic-suite/codependix/codependix-nx/src/index.ts:45` |
|
|
423
|
+
| `PluginService.readRegisteredOptions` | 4 | `PluginService.toRecord`, `PluginService.isUnknownArray`, `PluginService.find(β¦)`, `PluginService.map(β¦)` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin.service.ts:136` |
|
|
424
|
+
|
|
425
|
+
<details>
|
|
426
|
+
<summary>32 more callables</summary>
|
|
427
|
+
|
|
428
|
+
| Callable | Breadth | Calls directly | Location |
|
|
429
|
+
| --- | --- | --- | --- |
|
|
430
|
+
| `GateService.run` | 4 | `GateService.buildCommandArguments`, `GateService.resolveSelection`, `GateService.resolveConfigurationPath`, `GateService.spawnCommandLine` | `projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:287` |
|
|
431
|
+
| `collectWorkspacePackages` | 4 | `map(β¦)`, `filter(β¦)`, `readDependencies`, `locatePackage` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:103` |
|
|
432
|
+
| `followExtendsChain` | 4 | `readRegistryDependencies`, `readExtends`, `resolveExtendedBase`, `warnSkipped` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-tsconfig.utilities.ts:89` |
|
|
433
|
+
| `resolveExtendedBase` | 4 | `resolvePathBase`, `resolvePackageBase`, `isInsideWorkspace`, `readInstalledPackageName` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-tsconfig.utilities.ts:204` |
|
|
434
|
+
| `PluginService.selectProjectRoots` | 3 | `PluginService.filter(β¦)`, `PluginService.map(β¦)`, `PluginService.filter(β¦)` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin.service.ts:65` |
|
|
435
|
+
| `PluginService.inferTargets` | 3 | `PluginService.resolvePluginOptions`, `PluginService.map(β¦)`, `PluginService.selectProjectRoots` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin.service.ts:99` |
|
|
436
|
+
| `PluginService.resolvePluginOptions` | 3 | `PluginService.toRecord`, `PluginService.readString`, `PluginService.find(β¦)` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin.service.ts:158` |
|
|
437
|
+
| `GateService.judgesOwnProject` | 3 | `GateService.readTaskOptions`, `GateService.resolveSelection`, `GateService.toNameList` | `projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:55` |
|
|
438
|
+
| `GateService.readNameList` | 3 | `GateService.filter(β¦)`, `GateService.map(β¦)`, `GateService.flatMap(β¦)` | `projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:81` |
|
|
439
|
+
| `GateService.anonymous` | 3 | `GateService.on(β¦)`, `GateService.on(β¦)`, `GateService.on(β¦)` | `projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:143` |
|
|
440
|
+
| `GateService.resolveConfigurationPath` | 3 | `PluginService.resolvePluginOptions`, `PluginService.readRegisteredOptions`, `GateService.readNxConfiguration` | `projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:241` |
|
|
441
|
+
| `resolveExternalInputs` | 3 | `filter(β¦)`, `map(β¦)`, `readDependencies` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:197` |
|
|
442
|
+
| `resolveWorkspaceInputs` | 3 | `collectWorkspacePackages`, `warnUnresolved`, `flatMap(β¦)` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:209` |
|
|
443
|
+
| `readRegistryDependencies` | 3 | `map(β¦)`, `filter(β¦)`, `readDependencies` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-tsconfig.utilities.ts:180` |
|
|
444
|
+
| `readDependencies` | 2 | `readManifest`, `toRecord` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:41` |
|
|
445
|
+
| `resolveTsconfigInputs` | 2 | `followExtendsChain`, `map(β¦)` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-tsconfig.utilities.ts:42` |
|
|
446
|
+
| `gateExecutor` | 2 | `resolveGateService`, `GateService.run` | `projects/ic-suite/codependix/codependix-nx/src/executors/gate/executor.ts:21` |
|
|
447
|
+
| `gateHasher` | 2 | `resolveGateService`, `GateService.hashTask` | `projects/ic-suite/codependix/codependix-nx/src/executors/gate/hasher.ts:17` |
|
|
448
|
+
| `PluginService.map(β¦)` | 1 | `PluginService.toRecord` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin.service.ts:144` |
|
|
449
|
+
| `GateService.readTaskOptions` | 1 | `GateService.toRecord` | `projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:111` |
|
|
450
|
+
| `GateService.spawnCommandLine` | 1 | `GateService.anonymous` | `projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:139` |
|
|
451
|
+
| `GateService.toNameList` | 1 | `GateService.filter(β¦)` | `projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:162` |
|
|
452
|
+
| `GateService.hashTask` | 1 | `GateService.judgesOwnProject` | `projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:215` |
|
|
453
|
+
| `GateService.resolveSelection` | 1 | `GateService.readNameList` | `projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:266` |
|
|
454
|
+
| `resolveGateService` | 1 | `resolvePluginContext` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-context.utilities.ts:16` |
|
|
455
|
+
| `resolvePluginService` | 1 | `resolvePluginContext` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-context.utilities.ts:23` |
|
|
456
|
+
| `locatePackage` | 1 | `readManifest` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:145` |
|
|
457
|
+
| `flatMap(β¦)` | 1 | `map(β¦)` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:224` |
|
|
458
|
+
| `readExtends` | 1 | `filter(β¦)` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-tsconfig.utilities.ts:133` |
|
|
459
|
+
| `filter(β¦)` | 1 | `some(β¦)` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-tsconfig.utilities.ts:184` |
|
|
460
|
+
| `resolvePackageBase` | 1 | `flatMap(β¦)` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-tsconfig.utilities.ts:247` |
|
|
461
|
+
| `warnSkipped` | 1 | `describeSkippedBase` | `projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-tsconfig.utilities.ts:291` |
|
|
462
|
+
|
|
463
|
+
</details>
|
|
464
|
+
<!-- callidescope:end -->
|
|
465
|
+
|
|
342
466
|
<!-- codometer:start -->
|
|
343
467
|
|
|
344
468
|
## β²οΈ Codometer
|
|
@@ -346,7 +470,7 @@ graph LR
|
|
|
346
470
|
### Project
|
|
347
471
|
|
|
348
472
|

|
|
349
|
-

|
|
350
474
|

|
|
351
475
|

|
|
352
476
|
|
|
@@ -530,16 +654,16 @@ graph LR
|
|
|
530
654
|
### Markdown
|
|
531
655
|
|
|
532
656
|

|
|
533
|
-

|
|
534
658
|

|
|
535
|
-

|
|
660
|
+

|
|
537
661
|

|
|
538
662
|

|
|
539
663
|

|
|
540
|
-

|
|
665
|
+

|
|
666
|
+

|
|
543
667
|

|
|
544
668
|

|
|
545
669
|

|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"url": "https://github.com/organizzolini/codebase/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@codependix/cli": "0.0.
|
|
7
|
+
"@codependix/cli": "0.0.24",
|
|
8
8
|
"@nestjs/common": "^11.1.21 || ^12.0.1",
|
|
9
9
|
"@nestjs/core": "^11.1.21 || ^12.0.1",
|
|
10
10
|
"@nx/devkit": "^23.0.0",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"strict": true
|
|
77
77
|
},
|
|
78
78
|
"types": "./dist/src/index.d.ts",
|
|
79
|
-
"version": "0.0.
|
|
79
|
+
"version": "0.0.9"
|
|
80
80
|
}
|