@codependix/nx 0.0.48 → 0.0.50
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 +18 -0
- package/README.md +149 -24
- package/dist/{plugin-context.utilities-BP_5JXUo.js → plugin-context.utilities-Bc3NR0GZ.js} +2 -2
- package/dist/src/executors/gate/executor.d.ts +1 -1
- package/dist/src/executors/gate/executor.js +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 0.0.50 (2026-11-04)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated codependix-configuration to 0.0.63
|
|
6
|
+
- Updated codependix-cli to 0.0.64
|
|
7
|
+
|
|
8
|
+
## 0.0.49 (2026-11-04)
|
|
9
|
+
|
|
10
|
+
### 💅 Refactors
|
|
11
|
+
|
|
12
|
+
- **callidescope,codependix,configuration,validation:** ♻️ rename gate targets to restrict and bound ([#2100](https://github.com/organizzolini/codebase/pull/2100))
|
|
13
|
+
|
|
14
|
+
### 🧱 Updated Dependencies
|
|
15
|
+
|
|
16
|
+
- Updated codependix-configuration to 0.0.62
|
|
17
|
+
- Updated codependix-cli to 0.0.63
|
|
18
|
+
|
|
1
19
|
## 0.0.48 (2026-11-03)
|
|
2
20
|
|
|
3
21
|
### 🧱 Updated Dependencies
|
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ Register it in `nx.json`:
|
|
|
32
32
|
"plugin": "@codependix/nx",
|
|
33
33
|
"options": {
|
|
34
34
|
"configurationPath": "configuration/codependix.config.ts",
|
|
35
|
-
"gateTargetName": "codependix-
|
|
35
|
+
"gateTargetName": "codependix-bound"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
]
|
|
@@ -42,7 +42,7 @@ Register it in `nx.json`:
|
|
|
42
42
|
| Option | Meaning |
|
|
43
43
|
| ------ | ------- |
|
|
44
44
|
| `configurationPath` | **Required.** Where the codependix configuration lives. Registering the plugin without it fails inference, naming the option; there is no default path |
|
|
45
|
-
| `gateTargetName` | Name of the inferred gate target. `codependix-
|
|
45
|
+
| `gateTargetName` | Name of the inferred gate target. `codependix-bound` when omitted |
|
|
46
46
|
|
|
47
47
|
The gate runs the command line under the `@swc-node/register` hooks, which
|
|
48
48
|
this plugin depends on and registers itself — the workspace does not need to
|
|
@@ -59,9 +59,9 @@ project Nx infers from a `package.json` alone gets no gate until it is given
|
|
|
59
59
|
a `project.json` as well.
|
|
60
60
|
|
|
61
61
|
```bash
|
|
62
|
-
nx run lexico-entities:codependix-
|
|
63
|
-
nx run-many -t codependix-
|
|
64
|
-
nx affected -t codependix-
|
|
62
|
+
nx run lexico-entities:codependix-bound # one project
|
|
63
|
+
nx run-many -t codependix-bound # every project
|
|
64
|
+
nx affected -t codependix-bound # only what changed
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
### The gate
|
|
@@ -169,8 +169,8 @@ stays cached.
|
|
|
169
169
|
### Executor options
|
|
170
170
|
|
|
171
171
|
```bash
|
|
172
|
-
nx run lexico-api:codependix-
|
|
173
|
-
nx run logging:codependix-
|
|
172
|
+
nx run lexico-api:codependix-bound --projects=lexico-entities,lexico-api
|
|
173
|
+
nx run logging:codependix-bound --tags=type:package --dependencies=false
|
|
174
174
|
```
|
|
175
175
|
|
|
176
176
|
| Option | Meaning |
|
|
@@ -264,6 +264,7 @@ graph LR
|
|
|
264
264
|
file_callidescope_config_ts["callidescope.config.ts"]
|
|
265
265
|
file_codependix_config_ts["codependix.config.ts"]
|
|
266
266
|
file_codometer_config_ts["codometer.config.ts"]
|
|
267
|
+
file_coinagerie_config_ts["coinagerie.config.ts"]
|
|
267
268
|
file_eslint_config_ts["eslint.config.ts"]
|
|
268
269
|
file_src_codependix_nx_module_ts["src/codependix-nx.module.ts"]
|
|
269
270
|
file_src_executors_gate_executor_integration_test_ts["src/executors/gate/executor.integration.test.ts"]
|
|
@@ -347,14 +348,14 @@ graph LR
|
|
|
347
348
|
|
|
348
349
|
### Project
|
|
349
350
|
|
|
350
|
-

|
|
352
|
+

|
|
352
353
|

|
|
353
|
-

|
|
354
355
|
|
|
355
356
|
### TypeScript
|
|
356
357
|
|
|
357
|
-

|
|
358
359
|

|
|
359
360
|

|
|
360
361
|

|
|
@@ -373,7 +374,7 @@ graph LR
|
|
|
373
374
|

|
|
374
375
|

|
|
375
376
|

|
|
376
|
-

|
|
377
378
|

|
|
378
379
|

|
|
379
380
|

|
|
@@ -397,16 +398,16 @@ graph LR
|
|
|
397
398
|
### JSON
|
|
398
399
|
|
|
399
400
|

|
|
400
|
-

|
|
401
402
|

|
|
402
403
|

|
|
403
404
|

|
|
404
|
-

|
|
405
406
|

|
|
406
407
|

|
|
407
408
|

|
|
408
|
-

|
|
410
|
+

|
|
410
411
|

|
|
411
412
|
|
|
412
413
|
### YAML
|
|
@@ -532,20 +533,20 @@ graph LR
|
|
|
532
533
|
### Markdown
|
|
533
534
|
|
|
534
535
|

|
|
535
|
-

|
|
536
537
|

|
|
537
|
-

|
|
539
|
+

|
|
539
540
|

|
|
540
541
|

|
|
541
542
|

|
|
542
|
-

|
|
544
|
+

|
|
545
|
+

|
|
545
546
|

|
|
546
547
|

|
|
547
548
|

|
|
548
|
-

|
|
549
550
|

|
|
550
551
|

|
|
551
552
|

|
|
@@ -553,6 +554,130 @@ graph LR
|
|
|
553
554
|

|
|
554
555
|
<!-- codometer:end -->
|
|
555
556
|
|
|
557
|
+
<!-- coinagerie:start -->
|
|
558
|
+
|
|
559
|
+
## 🪙 Coinagerie
|
|
560
|
+
|
|
561
|
+
The words this project uses that the root glossary does not define, regenerated with `nx run codependix-nx:coinagerie-check:write`.
|
|
562
|
+
|
|
563
|
+
- **abort**:
|
|
564
|
+
- **absolute**:
|
|
565
|
+
- **after**:
|
|
566
|
+
- **alpha**:
|
|
567
|
+
- **argv**:
|
|
568
|
+
- **array**:
|
|
569
|
+
- **assertion**:
|
|
570
|
+
- **basename**:
|
|
571
|
+
- **bind**:
|
|
572
|
+
- **boundary**:
|
|
573
|
+
- **breadth**:
|
|
574
|
+
- **buffer**:
|
|
575
|
+
- **bug**:
|
|
576
|
+
- **call**:
|
|
577
|
+
- **callback**:
|
|
578
|
+
- **chain**:
|
|
579
|
+
- **child**:
|
|
580
|
+
- **chunk**:
|
|
581
|
+
- **clear**:
|
|
582
|
+
- **comment**:
|
|
583
|
+
- **compile**:
|
|
584
|
+
- **compiler**:
|
|
585
|
+
- **console**:
|
|
586
|
+
- **constant**:
|
|
587
|
+
- **controller**:
|
|
588
|
+
- **decorator**:
|
|
589
|
+
- **define**:
|
|
590
|
+
- **describe**:
|
|
591
|
+
- **each**:
|
|
592
|
+
- **edge**:
|
|
593
|
+
- **entry**:
|
|
594
|
+
- **equal**:
|
|
595
|
+
- **exactly**:
|
|
596
|
+
- **experimental**:
|
|
597
|
+
- **factory**:
|
|
598
|
+
- **fake**:
|
|
599
|
+
- **filename**:
|
|
600
|
+
- **fixture**:
|
|
601
|
+
- **flag**:
|
|
602
|
+
- **flat**:
|
|
603
|
+
- **follow**:
|
|
604
|
+
- **force**:
|
|
605
|
+
- **gitkeep**:
|
|
606
|
+
- **hoist**:
|
|
607
|
+
- **homepage**:
|
|
608
|
+
- **href**:
|
|
609
|
+
- **immediate**:
|
|
610
|
+
- **implementation**:
|
|
611
|
+
- **implicit**:
|
|
612
|
+
- **inject**:
|
|
613
|
+
- **injectable**:
|
|
614
|
+
- **inside**:
|
|
615
|
+
- **instance**:
|
|
616
|
+
- **item**:
|
|
617
|
+
- **judge**:
|
|
618
|
+
- **kind**:
|
|
619
|
+
- **last**:
|
|
620
|
+
- **least**:
|
|
621
|
+
- **length**:
|
|
622
|
+
- **link**:
|
|
623
|
+
- **loader**:
|
|
624
|
+
- **locate**:
|
|
625
|
+
- **logger**:
|
|
626
|
+
- **manifest**:
|
|
627
|
+
- **maximum**:
|
|
628
|
+
- **meta**:
|
|
629
|
+
- **misname**:
|
|
630
|
+
- **miss**:
|
|
631
|
+
- **mkdtemp**:
|
|
632
|
+
- **mock**:
|
|
633
|
+
- **once**:
|
|
634
|
+
- **original**:
|
|
635
|
+
- **own**:
|
|
636
|
+
- **pending**:
|
|
637
|
+
- **pop**:
|
|
638
|
+
- **promise**:
|
|
639
|
+
- **protocol**:
|
|
640
|
+
- **publish**:
|
|
641
|
+
- **real**:
|
|
642
|
+
- **realpath**:
|
|
643
|
+
- **reason**:
|
|
644
|
+
- **recursive**:
|
|
645
|
+
- **registration**:
|
|
646
|
+
- **reject**:
|
|
647
|
+
- **relative**:
|
|
648
|
+
- **replace**:
|
|
649
|
+
- **resolution**:
|
|
650
|
+
- **segment**:
|
|
651
|
+
- **selection**:
|
|
652
|
+
- **sep**:
|
|
653
|
+
- **slice**:
|
|
654
|
+
- **some**:
|
|
655
|
+
- **sort**:
|
|
656
|
+
- **spawn**:
|
|
657
|
+
- **split**:
|
|
658
|
+
- **spy**:
|
|
659
|
+
- **stat**:
|
|
660
|
+
- **stdio**:
|
|
661
|
+
- **stdout**:
|
|
662
|
+
- **strict**:
|
|
663
|
+
- **strictest**:
|
|
664
|
+
- **stringify**:
|
|
665
|
+
- **stub**:
|
|
666
|
+
- **success**:
|
|
667
|
+
- **surface**:
|
|
668
|
+
- **symlink**:
|
|
669
|
+
- **synthetic**:
|
|
670
|
+
- **through**:
|
|
671
|
+
- **timer**:
|
|
672
|
+
- **trim**:
|
|
673
|
+
- **undeclared**:
|
|
674
|
+
- **unresolved**:
|
|
675
|
+
- **unscoped**:
|
|
676
|
+
- **vi**:
|
|
677
|
+
- **warn**:
|
|
678
|
+
|
|
679
|
+
<!-- coinagerie:end -->
|
|
680
|
+
|
|
556
681
|
<!-- callidescope:start -->
|
|
557
682
|
|
|
558
683
|
## 🔭 Callidescope
|
|
@@ -562,7 +687,7 @@ Call stacks traced through `projects/ic-suite/codependix/codependix-nx`, deepest
|
|
|
562
687
|
| Measure | Value |
|
|
563
688
|
| --- | --- |
|
|
564
689
|
| Callables | 68 |
|
|
565
|
-
| Files |
|
|
690
|
+
| Files | 22 |
|
|
566
691
|
| Calls traced | 79 |
|
|
567
692
|
| Call stacks | 2 |
|
|
568
693
|
| Deepest stack | 6 |
|
|
@@ -11,7 +11,7 @@ import { pathToFileURL as l } from "node:url";
|
|
|
11
11
|
var u = Object.defineProperty, __name = (e, t) => u(e, "name", {
|
|
12
12
|
value: t,
|
|
13
13
|
configurable: !0
|
|
14
|
-
}), d = "**/{project.json,codependix.config.*}", f = "project.json", p = "{projectRoot}/codependix.config.*", m = "__codependixPluginContext", h = "@codependix/nx", g = "codependix-
|
|
14
|
+
}), d = "**/{project.json,codependix.config.*}", f = "project.json", p = "{projectRoot}/codependix.config.*", m = "__codependixPluginContext", h = "@codependix/nx", g = "codependix-bound", _ = "`configurationPath` option on the @codependix/nx plugin's entry in nx.json", v = "@codependix/cli", y = "workspace:", b = [
|
|
15
15
|
"file:",
|
|
16
16
|
"link:",
|
|
17
17
|
"portal:",
|
|
@@ -81,7 +81,7 @@ var T = class PluginService {
|
|
|
81
81
|
gateTargetName: this.readString({
|
|
82
82
|
key: "gateTargetName",
|
|
83
83
|
record: t
|
|
84
|
-
}) ?? "codependix-
|
|
84
|
+
}) ?? "codependix-bound"
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
};
|
|
@@ -4,7 +4,7 @@ import { ExecutorContext } from '@nx/devkit';
|
|
|
4
4
|
* Fails one project's task when a codependix boundary finding is charged to it.
|
|
5
5
|
*
|
|
6
6
|
* Inferred onto every project but the workspace root, so
|
|
7
|
-
* `nx affected -t codependix-
|
|
7
|
+
* `nx affected -t codependix-bound` checks a branch's boundaries by the
|
|
8
8
|
* projects it changed, and the task that fails is named after the project
|
|
9
9
|
* whose boundary broke — which one workspace-wide check never could.
|
|
10
10
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../../../plugin-context.utilities-
|
|
1
|
+
import { t as e } from "../../../plugin-context.utilities-Bc3NR0GZ.js";
|
|
2
2
|
// src/executors/gate/executor.ts
|
|
3
3
|
async function gateExecutor(t, n) {
|
|
4
4
|
let r = await e(), i = n.projectName === void 0 || n.targetName === void 0 ? void 0 : n.projectGraph.nodes[n.projectName]?.data.targets?.[n.targetName];
|
package/dist/src/index.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export declare interface CodependixPluginOptions {
|
|
|
37
37
|
* registering both plugins would otherwise infer two targets under one name,
|
|
38
38
|
* and Nx keeps whichever plugin it ran last without saying so.
|
|
39
39
|
*/
|
|
40
|
-
export declare const DEFAULT_GATE_TARGET_NAME = "codependix-
|
|
40
|
+
export declare const DEFAULT_GATE_TARGET_NAME = "codependix-bound";
|
|
41
41
|
|
|
42
42
|
/** Provides the run behind the gate executor. */
|
|
43
43
|
export declare class GateModule {
|
package/dist/src/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-Bc3NR0GZ.js";
|
|
2
2
|
import _ from "node:path";
|
|
3
3
|
import { existsSync as v, readFileSync as y, realpathSync as b, statSync as x } from "node:fs";
|
|
4
4
|
import { createRequire as S } from "node:module";
|
package/package.json
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"url": "https://github.com/organizzolini/codebase/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@codependix/cli": "0.0.
|
|
8
|
-
"@codependix/configuration": "0.0.
|
|
7
|
+
"@codependix/cli": "0.0.64",
|
|
8
|
+
"@codependix/configuration": "0.0.63",
|
|
9
9
|
"@nestjs/common": "^11.1.21 || ^12.0.1",
|
|
10
10
|
"@nestjs/core": "^11.1.21 || ^12.0.1",
|
|
11
11
|
"@nx/devkit": "^24.0.0",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"strict": true
|
|
78
78
|
},
|
|
79
79
|
"types": "./dist/src/index.d.ts",
|
|
80
|
-
"version": "0.0.
|
|
80
|
+
"version": "0.0.50"
|
|
81
81
|
}
|