@codependix/nx 0.0.3 β 0.0.4
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 +64 -64
- package/dist/{plugin-context.utilities-BR1ONpzC.js β plugin-context.utilities-Cp-6dCat.js} +6 -6
- package/dist/src/executors/gate/executor.js +2 -2
- package/dist/src/executors/gate/hasher.js +2 -2
- package/dist/src/index.js +4 -4
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 0.0.4 (2026-10-13)
|
|
2
|
+
|
|
3
|
+
### π
Refactors
|
|
4
|
+
|
|
5
|
+
- **configuration,codometer,validation:** β»οΈ nest every project under a single projects folder ([#1439](https://github.com/organizzolini/codebase/pull/1439))
|
|
6
|
+
|
|
7
|
+
### π§± Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated codependix-cli to 0.0.19
|
|
10
|
+
|
|
1
11
|
## 0.0.3 (2026-10-13)
|
|
2
12
|
|
|
3
13
|
### π©Ή Fixes
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Canonical documentation for graph exports, configuration, boundary rules, and
|
|
8
8
|
how a finding is charged to a project is in the
|
|
9
|
-
[`@codependix/cli` README](https://github.com/Organizzolini/codebase/tree/main/
|
|
9
|
+
[`@codependix/cli` README](https://github.com/Organizzolini/codebase/tree/main/projects/ic-suite/codependix/codependix-cli#readme).
|
|
10
10
|
`@codependix/cli` needs no Nx plugin: `--projects` and `--tags` already
|
|
11
11
|
narrow a `--check boundaries` run to the projects it judges, from a plain
|
|
12
12
|
shell. This package is the one place in the toolchain that depends on
|
|
@@ -217,7 +217,7 @@ This project was generated from the [nestjs-service-project](../../../../configu
|
|
|
217
217
|
|
|
218
218
|
## πΈοΈ Codependix
|
|
219
219
|
|
|
220
|
-
Dependency graphs exported by [codependix](https://github.com/Organizzolini/codebase/tree/main/
|
|
220
|
+
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`.
|
|
221
221
|
|
|
222
222
|
### Nx Neighborhood
|
|
223
223
|
|
|
@@ -343,7 +343,7 @@ graph LR
|
|
|
343
343
|
|
|
344
344
|
## π Callidescope
|
|
345
345
|
|
|
346
|
-
Call stacks traced through `
|
|
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
347
|
|
|
348
348
|
| Measure | Value |
|
|
349
349
|
| --- | --- |
|
|
@@ -369,96 +369,96 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
369
369
|
**1. `anonymous`** β depth β₯ 6 Β· orphan-root
|
|
370
370
|
|
|
371
371
|
```text
|
|
372
|
-
π anonymous(β¦): Promise<CreateNodesResultArray> [
|
|
373
|
-
ββ> resolveToolInputs(args: ResolveToolInputsArguments): InferredInput[] [
|
|
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
374
|
β³ The cache inputs that tie a gate to the codependix command line it runs.
|
|
375
|
-
ββ> resolveWorkspaceInputs(β¦): InferredInput[] [
|
|
375
|
+
ββ> resolveWorkspaceInputs(β¦): InferredInput[] [projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:209]
|
|
376
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 [
|
|
377
|
+
ββ> collectWorkspacePackages(cliDirectory: string): WorkspacePackages [projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:103]
|
|
378
378
|
β³ Collects a workspace package and every workspace package it reaches, development dependencies included: a package thisβ¦
|
|
379
|
-
ββ> readDependencies(directory: string): [string, unknown][] [
|
|
379
|
+
ββ> readDependencies(directory: string): [string, unknown][] [projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:41]
|
|
380
380
|
β³ Every dependency a package's manifest declares, in either map.
|
|
381
|
-
ββ> readManifest(directory: string): Record<string, unknown> [
|
|
381
|
+
ββ> readManifest(directory: string): Record<string, unknown> [projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts:173]
|
|
382
382
|
β³ Reads a package directory's manifest, or an empty one when there is none or it cannot be parsed β which leaves thatβ¦
|
|
383
383
|
```
|
|
384
384
|
|
|
385
385
|
**2. `gateExecutor`** β depth β₯ 6 Β· orphan-root
|
|
386
386
|
|
|
387
387
|
```text
|
|
388
|
-
π gateExecutor(β¦): Promise<{ success: boolean; }> [
|
|
388
|
+
π gateExecutor(β¦): Promise<{ success: boolean; }> [projects/ic-suite/codependix/codependix-nx/src/executors/gate/executor.ts:21]
|
|
389
389
|
β³ Fails one project's task when a codependix boundary finding is charged to it.
|
|
390
|
-
ββ> GateService.run(args: RunGateArguments): Promise<boolean> [
|
|
390
|
+
ββ> GateService.run(args: RunGateArguments): Promise<boolean> [projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:287]
|
|
391
391
|
β³ Runs one gate, and settles on whether it passed.
|
|
392
|
-
ββ> GateService.resolveConfigurationPath(β¦): string [
|
|
392
|
+
ββ> GateService.resolveConfigurationPath(β¦): string [projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:241]
|
|
393
393
|
β³ Resolves the configuration path one gate runs with.
|
|
394
|
-
ββ> PluginService.readRegisteredOptions(nxConfiguration: unknown): unknown [
|
|
394
|
+
ββ> PluginService.readRegisteredOptions(nxConfiguration: unknown): unknown [projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin.service.ts:136]
|
|
395
395
|
β³ Finds this plugin's own entry in an `nx.json` and returns its options.
|
|
396
|
-
ββ> PluginService.map(β¦)(entry: unknown): Record<string, unknown> [
|
|
397
|
-
ββ> PluginService.toRecord(value: unknown): Record<string, unknown> [
|
|
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
398
|
β³ Copies an untrusted value into a record, or an empty one.
|
|
399
399
|
```
|
|
400
400
|
|
|
401
401
|
**3. `gateHasher`** β depth 6 Β· orphan-root
|
|
402
402
|
|
|
403
403
|
```text
|
|
404
|
-
π gateHasher(task: Task, context: GateHasherContext): Promise<Hash> [
|
|
404
|
+
π gateHasher(task: Task, context: GateHasherContext): Promise<Hash> [projects/ic-suite/codependix/codependix-nx/src/executors/gate/hasher.ts:17]
|
|
405
405
|
β³ Hashes one gate task for Nx's cache.
|
|
406
|
-
ββ> GateService.hashTask(args: HashGateTaskArguments): Promise<Hash> [
|
|
406
|
+
ββ> GateService.hashTask(args: HashGateTaskArguments): Promise<Hash> [projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:215]
|
|
407
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 [
|
|
408
|
+
ββ> GateService.judgesOwnProject(args: HashGateTaskArguments): boolean [projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:55]
|
|
409
409
|
β³ Whether a gate task judges exactly the project it belongs to.
|
|
410
|
-
ββ> GateService.resolveSelection(β¦): GateSelection [
|
|
410
|
+
ββ> GateService.resolveSelection(β¦): GateSelection [projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:266]
|
|
411
411
|
β³ Resolves which projects one gate judges.
|
|
412
|
-
ββ> GateService.readNameList(value: readonly string[] | undefined): string[] [
|
|
412
|
+
ββ> GateService.readNameList(value: readonly string[] | undefined): string[] [projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:81]
|
|
413
413
|
β³ Reads a list of names out of an executor's options.
|
|
414
|
-
ββ> GateService.filter(β¦)(entry: string): boolean [
|
|
414
|
+
ββ> GateService.filter(β¦)(entry: string): boolean [projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.service.ts:85]
|
|
415
415
|
```
|
|
416
416
|
|
|
417
417
|
### Breadth
|
|
418
418
|
|
|
419
419
|
| Callable | Breadth | Calls directly | Location |
|
|
420
420
|
| --- | --- | --- | --- |
|
|
421
|
-
| `resolveToolInputs` | 5 | `locatePackage`, `warnUnresolved`, `isInsideWorkspace`, `resolveWorkspaceInputs`, `resolveExternalInputs` | `
|
|
422
|
-
| `anonymous` | 5 | `resolvePluginService`, `PluginService.inferTargets`, `resolveToolInputs`, `resolveTsconfigInputs`, `flatMap(β¦)` | `
|
|
423
|
-
| `PluginService.readRegisteredOptions` | 4 | `PluginService.toRecord`, `PluginService.isUnknownArray`, `PluginService.find(β¦)`, `PluginService.map(β¦)` | `
|
|
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
424
|
|
|
425
425
|
<details>
|
|
426
426
|
<summary>32 more callables</summary>
|
|
427
427
|
|
|
428
428
|
| Callable | Breadth | Calls directly | Location |
|
|
429
429
|
| --- | --- | --- | --- |
|
|
430
|
-
| `GateService.run` | 4 | `GateService.buildCommandArguments`, `GateService.resolveSelection`, `GateService.resolveConfigurationPath`, `GateService.spawnCommandLine` | `
|
|
431
|
-
| `collectWorkspacePackages` | 4 | `map(β¦)`, `filter(β¦)`, `readDependencies`, `locatePackage` | `
|
|
432
|
-
| `followExtendsChain` | 4 | `readRegistryDependencies`, `readExtends`, `resolveExtendedBase`, `warnSkipped` | `
|
|
433
|
-
| `resolveExtendedBase` | 4 | `resolvePathBase`, `resolvePackageBase`, `isInsideWorkspace`, `readInstalledPackageName` | `
|
|
434
|
-
| `PluginService.selectProjectRoots` | 3 | `PluginService.filter(β¦)`, `PluginService.map(β¦)`, `PluginService.filter(β¦)` | `
|
|
435
|
-
| `PluginService.inferTargets` | 3 | `PluginService.resolvePluginOptions`, `PluginService.map(β¦)`, `PluginService.selectProjectRoots` | `
|
|
436
|
-
| `PluginService.resolvePluginOptions` | 3 | `PluginService.toRecord`, `PluginService.readString`, `PluginService.find(β¦)` | `
|
|
437
|
-
| `GateService.judgesOwnProject` | 3 | `GateService.readTaskOptions`, `GateService.resolveSelection`, `GateService.toNameList` | `
|
|
438
|
-
| `GateService.readNameList` | 3 | `GateService.filter(β¦)`, `GateService.map(β¦)`, `GateService.flatMap(β¦)` | `
|
|
439
|
-
| `GateService.anonymous` | 3 | `GateService.on(β¦)`, `GateService.on(β¦)`, `GateService.on(β¦)` | `
|
|
440
|
-
| `GateService.resolveConfigurationPath` | 3 | `PluginService.resolvePluginOptions`, `PluginService.readRegisteredOptions`, `GateService.readNxConfiguration` | `
|
|
441
|
-
| `resolveExternalInputs` | 3 | `filter(β¦)`, `map(β¦)`, `readDependencies` | `
|
|
442
|
-
| `resolveWorkspaceInputs` | 3 | `collectWorkspacePackages`, `warnUnresolved`, `flatMap(β¦)` | `
|
|
443
|
-
| `readRegistryDependencies` | 3 | `map(β¦)`, `filter(β¦)`, `readDependencies` | `
|
|
444
|
-
| `readDependencies` | 2 | `readManifest`, `toRecord` | `
|
|
445
|
-
| `resolveTsconfigInputs` | 2 | `followExtendsChain`, `map(β¦)` | `
|
|
446
|
-
| `gateExecutor` | 2 | `resolveGateService`, `GateService.run` | `
|
|
447
|
-
| `gateHasher` | 2 | `resolveGateService`, `GateService.hashTask` | `
|
|
448
|
-
| `PluginService.map(β¦)` | 1 | `PluginService.toRecord` | `
|
|
449
|
-
| `GateService.readTaskOptions` | 1 | `GateService.toRecord` | `
|
|
450
|
-
| `GateService.spawnCommandLine` | 1 | `GateService.anonymous` | `
|
|
451
|
-
| `GateService.toNameList` | 1 | `GateService.filter(β¦)` | `
|
|
452
|
-
| `GateService.hashTask` | 1 | `GateService.judgesOwnProject` | `
|
|
453
|
-
| `GateService.resolveSelection` | 1 | `GateService.readNameList` | `
|
|
454
|
-
| `resolveGateService` | 1 | `resolvePluginContext` | `
|
|
455
|
-
| `resolvePluginService` | 1 | `resolvePluginContext` | `
|
|
456
|
-
| `locatePackage` | 1 | `readManifest` | `
|
|
457
|
-
| `flatMap(β¦)` | 1 | `map(β¦)` | `
|
|
458
|
-
| `readExtends` | 1 | `filter(β¦)` | `
|
|
459
|
-
| `filter(β¦)` | 1 | `some(β¦)` | `
|
|
460
|
-
| `resolvePackageBase` | 1 | `flatMap(β¦)` | `
|
|
461
|
-
| `warnSkipped` | 1 | `describeSkippedBase` | `
|
|
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
462
|
|
|
463
463
|
</details>
|
|
464
464
|
<!-- callidescope:end -->
|
|
@@ -470,7 +470,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
470
470
|
### Project
|
|
471
471
|
|
|
472
472
|

|
|
473
|
-

|
|
474
474
|

|
|
475
475
|

|
|
476
476
|
|
|
@@ -654,20 +654,20 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
654
654
|
### Markdown
|
|
655
655
|
|
|
656
656
|

|
|
657
|
-

|
|
658
658
|

|
|
659
|
-

|
|
660
|
+

|
|
661
661
|

|
|
662
662
|

|
|
663
663
|

|
|
664
|
-

|
|
665
|
+

|
|
666
|
+

|
|
667
667
|

|
|
668
668
|

|
|
669
669
|

|
|
670
|
-

|
|
671
671
|

|
|
672
672
|

|
|
673
673
|

|
package/dist/{plugin-context.utilities-BR1ONpzC.js β plugin-context.utilities-Cp-6dCat.js}
RENAMED
|
@@ -34,7 +34,7 @@ function __decorate(e, t, n, r) {
|
|
|
34
34
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
35
35
|
}
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region
|
|
37
|
+
//#region projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin.service.ts
|
|
38
38
|
var T = class PluginService {
|
|
39
39
|
constructor() {}
|
|
40
40
|
isUnknownArray(e) {
|
|
@@ -90,7 +90,7 @@ var T = class PluginService {
|
|
|
90
90
|
};
|
|
91
91
|
T = __decorate([t(), __decorateMetadata("design:paramtypes", [])], T);
|
|
92
92
|
//#endregion
|
|
93
|
-
//#region
|
|
93
|
+
//#region projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin.module.ts
|
|
94
94
|
var E = class PluginModule {};
|
|
95
95
|
E = __decorate([n({
|
|
96
96
|
controllers: [],
|
|
@@ -99,7 +99,7 @@ E = __decorate([n({
|
|
|
99
99
|
providers: [T]
|
|
100
100
|
})], E);
|
|
101
101
|
//#endregion
|
|
102
|
-
//#region
|
|
102
|
+
//#region projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.constants.ts
|
|
103
103
|
var D = "@codependix/nx/loader", O = "@codependix/cli/main", k = "nx.json", A = class GateService {
|
|
104
104
|
pluginService;
|
|
105
105
|
constructor(e) {
|
|
@@ -218,7 +218,7 @@ var D = "@codependix/nx/loader", O = "@codependix/cli/main", k = "nx.json", A =
|
|
|
218
218
|
};
|
|
219
219
|
A = __decorate([t(), __decorateMetadata("design:paramtypes", [T === void 0 ? Object : T])], A);
|
|
220
220
|
//#endregion
|
|
221
|
-
//#region
|
|
221
|
+
//#region projects/ic-suite/codependix/codependix-nx/src/modules/gate/gate.module.ts
|
|
222
222
|
var j = class GateModule {};
|
|
223
223
|
j = __decorate([n({
|
|
224
224
|
controllers: [],
|
|
@@ -227,7 +227,7 @@ j = __decorate([n({
|
|
|
227
227
|
providers: [A]
|
|
228
228
|
})], j);
|
|
229
229
|
//#endregion
|
|
230
|
-
//#region
|
|
230
|
+
//#region projects/ic-suite/codependix/codependix-nx/src/main.module.ts
|
|
231
231
|
var M = class MainModule {};
|
|
232
232
|
M = __decorate([n({
|
|
233
233
|
controllers: [],
|
|
@@ -236,7 +236,7 @@ M = __decorate([n({
|
|
|
236
236
|
providers: []
|
|
237
237
|
})], M);
|
|
238
238
|
//#endregion
|
|
239
|
-
//#region
|
|
239
|
+
//#region projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-context.utilities.ts
|
|
240
240
|
async function resolveGateService() {
|
|
241
241
|
return (await resolvePluginContext()).get(A);
|
|
242
242
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../../../plugin-context.utilities-
|
|
2
|
-
//#region
|
|
1
|
+
import { t as e } from "../../../plugin-context.utilities-Cp-6dCat.js";
|
|
2
|
+
//#region projects/ic-suite/codependix/codependix-nx/src/executors/gate/executor.ts
|
|
3
3
|
async function gateExecutor(t, n) {
|
|
4
4
|
return { success: await (await e()).run({
|
|
5
5
|
options: t,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../../../plugin-context.utilities-
|
|
2
|
-
//#region
|
|
1
|
+
import { t as e } from "../../../plugin-context.utilities-Cp-6dCat.js";
|
|
2
|
+
//#region projects/ic-suite/codependix/codependix-nx/src/executors/gate/hasher.ts
|
|
3
3
|
async function gateHasher(t, n) {
|
|
4
4
|
return await (await e()).hashTask({
|
|
5
5
|
context: n,
|
package/dist/src/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "../plugin-context.utilities-
|
|
1
|
+
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "../plugin-context.utilities-Cp-6dCat.js";
|
|
2
2
|
import { existsSync as _, readFileSync as v, realpathSync as y, statSync as b } from "node:fs";
|
|
3
3
|
import x from "node:path";
|
|
4
4
|
import { createRequire as S } from "node:module";
|
|
5
5
|
import { logger as C, readJsonFile as w } from "@nx/devkit";
|
|
6
|
-
//#region
|
|
6
|
+
//#region projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-inputs.utilities.ts
|
|
7
7
|
function isInsideWorkspace(e) {
|
|
8
8
|
let t = x.relative(y(e.workspaceRoot), e.directory);
|
|
9
9
|
return !(t.startsWith("..") || x.isAbsolute(t) || t.split(x.sep).includes("node_modules"));
|
|
@@ -91,7 +91,7 @@ function warnUnresolved(e) {
|
|
|
91
91
|
e.logger.warn(`πΈοΈ Skipped the cache inputs of ${e.names.join(", ")}, which could not be resolved, so a change to ${e.names.length === 1 ? "it" : "them"} will not invalidate a cached codependix gate.`);
|
|
92
92
|
}
|
|
93
93
|
//#endregion
|
|
94
|
-
//#region
|
|
94
|
+
//#region projects/ic-suite/codependix/codependix-nx/src/modules/plugin/plugin-tsconfig.utilities.ts
|
|
95
95
|
function resolveTsconfigInputs(t) {
|
|
96
96
|
try {
|
|
97
97
|
let e = y(t.workspaceRoot), { files: n, packages: r } = followExtendsChain({
|
|
@@ -188,7 +188,7 @@ function warnSkipped(e) {
|
|
|
188
188
|
e.logger.warn(`πΈοΈ Skipped the cache input of ${e.specifier}, which ${x.relative(e.workspaceRoot, e.file)} extends, because ${describeSkippedBase(e.base)}, so a change to it will not invalidate a cached codependix gate.`);
|
|
189
189
|
}
|
|
190
190
|
//#endregion
|
|
191
|
-
//#region
|
|
191
|
+
//#region projects/ic-suite/codependix/codependix-nx/src/index.ts
|
|
192
192
|
var T = {
|
|
193
193
|
createNodes: [f, async (e, t, n) => {
|
|
194
194
|
let r = (await u()).inferTargets({
|
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.19",
|
|
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",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"src/executors/*/schema.json",
|
|
44
44
|
"src/executors/gate/loader.mjs"
|
|
45
45
|
],
|
|
46
|
-
"homepage": "https://github.com/organizzolini/codebase/tree/main/
|
|
46
|
+
"homepage": "https://github.com/organizzolini/codebase/tree/main/projects/ic-suite/codependix/codependix-nx#readme",
|
|
47
47
|
"keywords": [
|
|
48
48
|
"architecture-linter",
|
|
49
49
|
"boundaries",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"registry": "https://registry.npmjs.org"
|
|
67
67
|
},
|
|
68
68
|
"repository": {
|
|
69
|
-
"directory": "
|
|
69
|
+
"directory": "projects/ic-suite/codependix/codependix-nx",
|
|
70
70
|
"type": "git",
|
|
71
71
|
"url": "git+https://github.com/organizzolini/codebase.git"
|
|
72
72
|
},
|
|
@@ -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.4"
|
|
80
80
|
}
|