@codependix/nx 0.0.47 → 0.0.49
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 +15 -15
- 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.49 (2026-11-04)
|
|
2
|
+
|
|
3
|
+
### 💅 Refactors
|
|
4
|
+
|
|
5
|
+
- **callidescope,codependix,configuration,validation:** ♻️ rename gate targets to restrict and bound ([#2100](https://github.com/organizzolini/codebase/pull/2100))
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated codependix-configuration to 0.0.62
|
|
10
|
+
- Updated codependix-cli to 0.0.63
|
|
11
|
+
|
|
12
|
+
## 0.0.48 (2026-11-03)
|
|
13
|
+
|
|
14
|
+
### 🧱 Updated Dependencies
|
|
15
|
+
|
|
16
|
+
- Updated codependix-configuration to 0.0.61
|
|
17
|
+
- Updated codependix-cli to 0.0.62
|
|
18
|
+
|
|
1
19
|
## 0.0.47 (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 |
|
|
@@ -348,7 +348,7 @@ graph LR
|
|
|
348
348
|
### Project
|
|
349
349
|
|
|
350
350
|

|
|
351
|
-

|
|
352
352
|

|
|
353
353
|

|
|
354
354
|
|
|
@@ -532,20 +532,20 @@ graph LR
|
|
|
532
532
|
### Markdown
|
|
533
533
|
|
|
534
534
|

|
|
535
|
-

|
|
536
536
|

|
|
537
|
-

|
|
538
|
+

|
|
539
539
|

|
|
540
540
|

|
|
541
541
|

|
|
542
|
-

|
|
543
|
+

|
|
544
|
+

|
|
545
545
|

|
|
546
546
|

|
|
547
547
|

|
|
548
|
-

|
|
549
549
|

|
|
550
550
|

|
|
551
551
|

|
|
@@ -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.63",
|
|
8
|
+
"@codependix/configuration": "0.0.62",
|
|
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.49"
|
|
81
81
|
}
|