@callidescope/nx 0.0.80 → 0.0.81
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 +14 -0
- package/dist/src/executors/gate/batch-executor.d.ts +2 -4
- package/dist/src/index.d.ts +10 -25
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 0.0.81 (2026-11-11)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **codometer:** ✨ tighten the comment budgets and shorten every comment over them ([#2262](https://github.com/organizzolini/codebase/pull/2262), [#2261](https://github.com/organizzolini/codebase/issues/2261))
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated callidescope-configuration to 0.0.80
|
|
10
|
+
- Updated callidescope-output to 0.0.79
|
|
11
|
+
- Updated callidescope-graph to 0.0.79
|
|
12
|
+
- Updated callidescope-core to 0.0.79
|
|
13
|
+
- Updated callidescope-cli to 0.0.80
|
|
14
|
+
|
|
1
15
|
## 0.0.80 (2026-11-10)
|
|
2
16
|
|
|
3
17
|
### 🚀 Features
|
|
@@ -8,7 +8,7 @@ import { TaskGraph } from '@nx/devkit';
|
|
|
8
8
|
declare function gateBatchExecutor(...[taskGraph, options, overrides, context]: GateBatchExecutorArguments): Promise<Record<string, GateBatchTaskResult>>;
|
|
9
9
|
export default gateBatchExecutor;
|
|
10
10
|
|
|
11
|
-
/**
|
|
11
|
+
/** Batch executor arguments: task graph, options, overrides, and context. */
|
|
12
12
|
declare type GateBatchExecutorArguments = [
|
|
13
13
|
taskGraph: TaskGraph,
|
|
14
14
|
options: Record<string, GateExecutorOptions>,
|
|
@@ -16,9 +16,7 @@ overrides: GateExecutorOptions,
|
|
|
16
16
|
context: ExecutorContext
|
|
17
17
|
];
|
|
18
18
|
|
|
19
|
-
/**
|
|
20
|
-
* What one task of a gate batch settled on: pass or fail, and the output Nx caches.
|
|
21
|
-
*/
|
|
19
|
+
/** One gate task's verdict and the output Nx caches. */
|
|
22
20
|
declare interface GateBatchTaskResult {
|
|
23
21
|
readonly success: boolean;
|
|
24
22
|
readonly terminalOutput: string;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -77,10 +77,10 @@ export declare const DEFAULT_BREADTH_TARGET_NAME = "callidescope-breadth";
|
|
|
77
77
|
/** Name of the inferred per-project depth-lookup target. */
|
|
78
78
|
export declare const DEFAULT_DEPTH_TARGET_NAME = "callidescope-depth";
|
|
79
79
|
|
|
80
|
-
/** Inferred
|
|
80
|
+
/** Inferred gate target, named for its verdict, which pipelines read. */
|
|
81
81
|
export declare const DEFAULT_GATE_TARGET_NAME = "callidescope-restrict";
|
|
82
82
|
|
|
83
|
-
/**
|
|
83
|
+
/** Default inferred target names; prefixed to group and avoid collisions. */
|
|
84
84
|
export declare const DEFAULT_TRACE_TARGET_NAME = "callidescope-trace";
|
|
85
85
|
|
|
86
86
|
/** A target this plugin infers onto a project. */
|
|
@@ -148,10 +148,7 @@ export declare interface LookupResult {
|
|
|
148
148
|
export declare class MainModule {
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
/**
|
|
152
|
-
* One Nx project, reduced to what directory resolution needs. Deliberately not shared with
|
|
153
|
-
* `codependix-nx-projects`, which sits in another toolchain.
|
|
154
|
-
*/
|
|
151
|
+
/** Nx project fields directory resolution needs; not shared, by design. */
|
|
155
152
|
export declare interface NxProject {
|
|
156
153
|
readonly name: string;
|
|
157
154
|
/** Workspace-relative root, exactly as the Nx project graph states it. */
|
|
@@ -167,10 +164,7 @@ export declare class OptionsModule {
|
|
|
167
164
|
/**
|
|
168
165
|
* Narrows the untyped options object Nx hands a plugin.
|
|
169
166
|
*
|
|
170
|
-
* Nx passes
|
|
171
|
-
* every field is checked before use rather than cast. A bad value falls back
|
|
172
|
-
* to its default: a typo in a target name should not stop the project graph
|
|
173
|
-
* from being built.
|
|
167
|
+
* Nx passes unvalidated `nx.json` options, so every field is checked before use. A bad value falls back to its default, so a typo does not stop the project graph.
|
|
174
168
|
*/
|
|
175
169
|
export declare class OptionsService {
|
|
176
170
|
private readonly configurationService;
|
|
@@ -293,10 +287,7 @@ export declare class ProjectsModule {
|
|
|
293
287
|
/**
|
|
294
288
|
* Resolves Nx project names to the directories a callidescope run traces.
|
|
295
289
|
*
|
|
296
|
-
*
|
|
297
|
-
* packages take plain directories, so this turns a stable project name into one.
|
|
298
|
-
*
|
|
299
|
-
* The project graph is passed in, so resolution rules are testable without a workspace.
|
|
290
|
+
* Only this part of callidescope knows about Nx. The project graph is passed in, so resolution is testable without a workspace.
|
|
300
291
|
*/
|
|
301
292
|
export declare class ProjectsService {
|
|
302
293
|
constructor();
|
|
@@ -359,7 +350,7 @@ export declare interface ResolvedProjectDirectories extends ResolvedProjectSelec
|
|
|
359
350
|
readonly directories: string[];
|
|
360
351
|
}
|
|
361
352
|
|
|
362
|
-
/**
|
|
353
|
+
/** Resolved project names and tags, before directories. */
|
|
363
354
|
export declare interface ResolvedProjectSelection {
|
|
364
355
|
/**
|
|
365
356
|
* Every project name the graph knew, sorted — what a caller names back when
|
|
@@ -432,7 +423,7 @@ declare class RunConfigurationService {
|
|
|
432
423
|
load(args: LoadRunConfigurationArguments): Promise<LoadedRunConfiguration>;
|
|
433
424
|
}
|
|
434
425
|
|
|
435
|
-
/**
|
|
426
|
+
/** Trace arguments without `format`: a gate prints its findings. */
|
|
436
427
|
declare type RunGateArguments = Omit<RunTraceArguments, "format">;
|
|
437
428
|
|
|
438
429
|
/** Arguments for gating several tasks from one trace. */
|
|
@@ -443,7 +434,7 @@ declare interface RunGateBatchArguments {
|
|
|
443
434
|
readonly workspaceRoot: string;
|
|
444
435
|
}
|
|
445
436
|
|
|
446
|
-
/**
|
|
437
|
+
/** Gate batch task: projects read, and projects answered for. */
|
|
447
438
|
declare interface RunGateBatchTask {
|
|
448
439
|
/** Workspace-relative directories the task's trace reads. */
|
|
449
440
|
readonly directories: readonly string[];
|
|
@@ -471,10 +462,7 @@ export declare interface RunTraceResult {
|
|
|
471
462
|
readonly report: string;
|
|
472
463
|
}
|
|
473
464
|
|
|
474
|
-
/**
|
|
475
|
-
* What one predicate decided about a traced result. `reason` explains a verdict the findings
|
|
476
|
-
* cannot, such as a run that read nothing.
|
|
477
|
-
*/
|
|
465
|
+
/** One predicate's decision. `reason` explains what findings cannot. */
|
|
478
466
|
declare interface RunVerdict {
|
|
479
467
|
readonly findings: OwnedFindings;
|
|
480
468
|
/** Whether every rule both targets share was cleared. */
|
|
@@ -487,10 +475,7 @@ declare interface RunVerdict {
|
|
|
487
475
|
/**
|
|
488
476
|
* Decides whether a traced result passes, for every target that reads one.
|
|
489
477
|
*
|
|
490
|
-
*
|
|
491
|
-
* gates traces the workspace a single time and asks this the same question of
|
|
492
|
-
* each project, which is why a verdict takes the result and the projects to
|
|
493
|
-
* judge rather than a trace to run.
|
|
478
|
+
* One trace serves a batch: this judges each project from the same result. A verdict takes the result and the projects to judge, not a trace to run.
|
|
494
479
|
*/
|
|
495
480
|
declare class VerdictService {
|
|
496
481
|
private readonly projectReportsService;
|
package/package.json
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
"url": "https://github.com/organizzolini/codebase/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@callidescope/cli": "0.0.
|
|
8
|
-
"@callidescope/configuration": "0.0.
|
|
9
|
-
"@callidescope/core": "0.0.
|
|
10
|
-
"@callidescope/graph": "0.0.
|
|
11
|
-
"@callidescope/output": "0.0.
|
|
7
|
+
"@callidescope/cli": "0.0.80",
|
|
8
|
+
"@callidescope/configuration": "0.0.80",
|
|
9
|
+
"@callidescope/core": "0.0.79",
|
|
10
|
+
"@callidescope/graph": "0.0.79",
|
|
11
|
+
"@callidescope/output": "0.0.79",
|
|
12
12
|
"@nestjs/common": "^11.1.21 || ^12.0.1",
|
|
13
13
|
"@nestjs/core": "^11.1.21 || ^12.0.1",
|
|
14
14
|
"@nx/devkit": "^24.0.0",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"strict": true
|
|
81
81
|
},
|
|
82
82
|
"types": "./dist/src/index.d.ts",
|
|
83
|
-
"version": "0.0.
|
|
83
|
+
"version": "0.0.81"
|
|
84
84
|
}
|