@codependix/configuration 0.0.10 → 0.0.12
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 +16 -0
- package/README.md +30 -30
- package/dist/src/index.d.ts +22 -1
- package/dist/src/index.js +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## 0.0.12 (2026-10-08)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- ⚠️ **codependix:** 💥 charge boundary findings to the projects they belong to ([#1409](https://github.com/organizzolini/codebase/pull/1409), [#1400](https://github.com/organizzolini/codebase/issues/1400))
|
|
6
|
+
|
|
7
|
+
### ⚠️ Breaking Changes
|
|
8
|
+
|
|
9
|
+
- **codependix:** 💥 charge boundary findings to the projects they belong to ([#1409](https://github.com/organizzolini/codebase/pull/1409), [#1400](https://github.com/organizzolini/codebase/issues/1400))
|
|
10
|
+
|
|
11
|
+
## 0.0.11 (2026-10-08)
|
|
12
|
+
|
|
13
|
+
### 🧱 Updated Dependencies
|
|
14
|
+
|
|
15
|
+
- Updated codependix-core to 0.0.10
|
|
16
|
+
|
|
1
17
|
## 0.0.10 (2026-10-08)
|
|
2
18
|
|
|
3
19
|
### 🧱 Updated Dependencies
|
package/README.md
CHANGED
|
@@ -182,16 +182,16 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
182
182
|
| Callable | Breadth | Calls directly | Location |
|
|
183
183
|
| --- | --- | --- | --- |
|
|
184
184
|
| `FlagResolutionService.selectMode` | 3 | `FlagResolutionService.readCheckNames`, `FlagResolutionService.emptyMode`, `FlagResolutionService.promptForMode` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/flag-resolution.service.ts:139` |
|
|
185
|
-
| `ConfigurationService.loadConfiguration` | 3 | `ConfigurationLoaderService.readAuthoredConfiguration`, `OverrideResolutionService.applyOverrides`, `ConfigurationService.resolveConfiguration` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
186
|
-
| `ConfigurationService.loadProjectConfiguration` | 3 | `ConfigurationLoaderService.findProjectConfigurationFile`, `UnknownConfigurationFileTypeError.constructor`, `ConfigurationLoaderService.loadConfigurationModule` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
185
|
+
| `ConfigurationService.loadConfiguration` | 3 | `ConfigurationLoaderService.readAuthoredConfiguration`, `OverrideResolutionService.applyOverrides`, `ConfigurationService.resolveConfiguration` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:222` |
|
|
186
|
+
| `ConfigurationService.loadProjectConfiguration` | 3 | `ConfigurationLoaderService.findProjectConfigurationFile`, `UnknownConfigurationFileTypeError.constructor`, `ConfigurationLoaderService.loadConfigurationModule` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:246` |
|
|
187
187
|
| `OverrideResolutionService.resolveOverride` | 2 | `InputError.constructor`, `buildUndeclaredOverrideMessage` | `packages/ic-suite/codependix/codependix-configuration/src/modules/override-resolution/override-resolution.service.ts:48` |
|
|
188
188
|
| `ConfigurationLoaderService.parseConfigurationFile` | 2 | `UnknownConfigurationFileTypeError.constructor`, `ConfigurationLoaderService.loadConfigurationModule` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration-loader.service.ts:151` |
|
|
189
189
|
| `ConfigurationLoaderService.resolveConfigurationPath` | 2 | `ConfigurationLoaderService.findWorkspaceRoot`, `ConfigurationFileNotFoundError.constructor` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration-loader.service.ts:187` |
|
|
190
190
|
| `ConfigurationService.isProjectNamedOnCommandLine` | 2 | `ConfigurationService.matchesAnyName`, `ConfigurationService.some(…)` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:67` |
|
|
191
|
-
| `ConfigurationService.splitSelectionArgument` | 2 | `ConfigurationService.filter(…)`, `ConfigurationService.map(…)` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
192
|
-
| `ConfigurationService.isProjectIncluded` | 2 | `ConfigurationService.matchesAnyName`, `ConfigurationService.isProjectNamedOnCommandLine` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
193
|
-
| `ConfigurationService.resolveConfiguration` | 2 | `ConfigurationService.resolveBoundaries`, `ConfigurationService.resolveSelection` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
194
|
-
| `ConfigurationService.resolveForProject` | 2 | `ConfigurationService.isProjectIncluded`, `ConfigurationService.resolveGraphOutput` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
191
|
+
| `ConfigurationService.splitSelectionArgument` | 2 | `ConfigurationService.filter(…)`, `ConfigurationService.map(…)` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:159` |
|
|
192
|
+
| `ConfigurationService.isProjectIncluded` | 2 | `ConfigurationService.matchesAnyName`, `ConfigurationService.isProjectNamedOnCommandLine` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:179` |
|
|
193
|
+
| `ConfigurationService.resolveConfiguration` | 2 | `ConfigurationService.resolveBoundaries`, `ConfigurationService.resolveSelection` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:307` |
|
|
194
|
+
| `ConfigurationService.resolveForProject` | 2 | `ConfigurationService.isProjectIncluded`, `ConfigurationService.resolveGraphOutput` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:335` |
|
|
195
195
|
| `refine(…)` | 1 | `some(…)` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.constants.ts:103` |
|
|
196
196
|
| `missingInputError` | 1 | `InputError.constructor` | `packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.constants.ts:29` |
|
|
197
197
|
| `promptCancelledError` | 1 | `InputError.constructor` | `packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.constants.ts:41` |
|
|
@@ -206,15 +206,15 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
206
206
|
| `FlagResolutionService.validateCheckNames` | 1 | `FlagResolutionService.describeAcceptedCheckNames` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/flag-resolution.service.ts:109` |
|
|
207
207
|
| `ConfigurationService.matchesAnyGlob` | 1 | `ConfigurationService.some(…)` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:82` |
|
|
208
208
|
| `ConfigurationService.matchesAnyName` | 1 | `ConfigurationService.matchesAnyGlob` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:87` |
|
|
209
|
-
| `ConfigurationService.resolveSelection` | 1 | `ConfigurationService.splitSelectionArgument` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
210
|
-
| `ConfigurationService.isProjectSelected` | 1 | `ConfigurationService.isProjectNamedOnCommandLine` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
211
|
-
| `ConfigurationService.parseCommaDelimitedOption` | 1 | `InputService.parseCommaDelimitedOption` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
212
|
-
| `ConfigurationService.parseFlagOption` | 1 | `InputService.parseFlagOption` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
213
|
-
| `ConfigurationService.parseOptionalOption` | 1 | `InputService.parseOptionalOption` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
214
|
-
| `ConfigurationService.parsePathOption` | 1 | `InputService.parsePathOption` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
215
|
-
| `ConfigurationService.resolveForWorkspace` | 1 | `ConfigurationService.resolveGraphOutput` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
216
|
-
| `ConfigurationService.selectMode` | 1 | `FlagResolutionService.selectMode` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
217
|
-
| `ConfigurationService.touchesFiles` | 1 | `FlagResolutionService.touchesFiles` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
209
|
+
| `ConfigurationService.resolveSelection` | 1 | `ConfigurationService.splitSelectionArgument` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:148` |
|
|
210
|
+
| `ConfigurationService.isProjectSelected` | 1 | `ConfigurationService.isProjectNamedOnCommandLine` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:204` |
|
|
211
|
+
| `ConfigurationService.parseCommaDelimitedOption` | 1 | `InputService.parseCommaDelimitedOption` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:281` |
|
|
212
|
+
| `ConfigurationService.parseFlagOption` | 1 | `InputService.parseFlagOption` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:286` |
|
|
213
|
+
| `ConfigurationService.parseOptionalOption` | 1 | `InputService.parseOptionalOption` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:291` |
|
|
214
|
+
| `ConfigurationService.parsePathOption` | 1 | `InputService.parsePathOption` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:296` |
|
|
215
|
+
| `ConfigurationService.resolveForWorkspace` | 1 | `ConfigurationService.resolveGraphOutput` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:377` |
|
|
216
|
+
| `ConfigurationService.selectMode` | 1 | `FlagResolutionService.selectMode` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:390` |
|
|
217
|
+
| `ConfigurationService.touchesFiles` | 1 | `FlagResolutionService.touchesFiles` | `packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:397` |
|
|
218
218
|
|
|
219
219
|
</details>
|
|
220
220
|
<!-- callidescope:end -->
|
|
@@ -225,14 +225,14 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
225
225
|
|
|
226
226
|
### Project
|
|
227
227
|
|
|
228
|
-

|
|
229
|
+

|
|
230
230
|

|
|
231
231
|

|
|
232
232
|
|
|
233
233
|
### Measured Targets
|
|
234
234
|
|
|
235
|
-

|
|
236
236
|
|
|
237
237
|
### TypeScript
|
|
238
238
|
|
|
@@ -241,7 +241,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
241
241
|

|
|
242
242
|

|
|
243
243
|

|
|
244
|
-

|
|
245
245
|

|
|
246
246
|
|
|
247
247
|
### JavaScript
|
|
@@ -250,15 +250,15 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
250
250
|

|
|
251
251
|

|
|
252
252
|

|
|
253
|
-

|
|
254
254
|

|
|
255
|
-

|
|
256
256
|

|
|
257
257
|

|
|
258
258
|

|
|
259
259
|

|
|
260
|
-

|
|
261
|
+

|
|
262
262
|

|
|
263
263
|
|
|
264
264
|
### Python
|
|
@@ -414,20 +414,20 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
414
414
|
### Markdown
|
|
415
415
|
|
|
416
416
|

|
|
417
|
-

|
|
418
418
|

|
|
419
|
-

|
|
420
|
+

|
|
421
421
|

|
|
422
422
|

|
|
423
423
|

|
|
424
|
-

|
|
425
|
+

|
|
426
|
+

|
|
427
427
|

|
|
428
428
|

|
|
429
429
|

|
|
430
|
-

|
|
431
431
|

|
|
432
432
|

|
|
433
433
|

|
package/dist/src/index.d.ts
CHANGED
|
@@ -563,6 +563,8 @@ export declare const codependixProjectConfigurationSchema: z.ZodObject<{
|
|
|
563
563
|
* beside the configuration file this package already parses.
|
|
564
564
|
*/
|
|
565
565
|
export declare interface CodependixSelectionArguments {
|
|
566
|
+
/** `false` for `--no-dependencies` — see `ResolvedCodependixSelection`. */
|
|
567
|
+
dependencies?: boolean | undefined;
|
|
566
568
|
projects?: string | undefined;
|
|
567
569
|
tags?: string | undefined;
|
|
568
570
|
}
|
|
@@ -694,7 +696,8 @@ export declare class ConfigurationService {
|
|
|
694
696
|
/** Applies defaults to one graph type's export configuration. */
|
|
695
697
|
private resolveGraphOutput;
|
|
696
698
|
/**
|
|
697
|
-
* Splits the `--projects` and `--tags` arguments into lists
|
|
699
|
+
* Splits the `--projects` and `--tags` arguments into lists, and reads
|
|
700
|
+
* `--no-dependencies` as building over the selected projects alone.
|
|
698
701
|
*
|
|
699
702
|
* Empty entries are dropped, so a trailing comma and a doubled one are both
|
|
700
703
|
* read as the author meant them rather than as a glob matching nothing.
|
|
@@ -984,6 +987,15 @@ export declare interface MapCommandOptions {
|
|
|
984
987
|
*/
|
|
985
988
|
check?: string | true | undefined;
|
|
986
989
|
config?: string | undefined;
|
|
990
|
+
/**
|
|
991
|
+
* Whether `--projects`/`--tags` build over the named projects' dependency
|
|
992
|
+
* closure too — `false` for `--no-dependencies`.
|
|
993
|
+
*
|
|
994
|
+
* `undefined` when neither `--dependencies` nor `--no-dependencies` was
|
|
995
|
+
* given, which builds over the closure. Inert without a selection, since
|
|
996
|
+
* every project is then both built and judged.
|
|
997
|
+
*/
|
|
998
|
+
dependencies?: boolean | undefined;
|
|
987
999
|
directory?: string | undefined;
|
|
988
1000
|
/** Overrides `exclude` for this run. Refused when never configured. */
|
|
989
1001
|
exclude?: string[] | undefined;
|
|
@@ -1188,6 +1200,15 @@ export declare interface ResolvedCodependixMarkdownOutput {
|
|
|
1188
1200
|
* selection naming something narrows both to what it names.
|
|
1189
1201
|
*/
|
|
1190
1202
|
export declare interface ResolvedCodependixSelection {
|
|
1203
|
+
/**
|
|
1204
|
+
* Whether graphs are built over the selected projects' dependency closure,
|
|
1205
|
+
* or over the selected projects alone.
|
|
1206
|
+
*
|
|
1207
|
+
* `true` unless `--no-dependencies` was given. Either way only the selected
|
|
1208
|
+
* projects are judged: a finding charged to a dependency is reported as a
|
|
1209
|
+
* note rather than failing the run.
|
|
1210
|
+
*/
|
|
1211
|
+
dependencies: boolean;
|
|
1191
1212
|
/** Globs matched against a project's name or its workspace-relative root. */
|
|
1192
1213
|
projects: string[];
|
|
1193
1214
|
/** Nx tags, matched exactly against a project's own. */
|
package/dist/src/index.js
CHANGED
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"url": "https://github.com/organizzolini/codebase/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@codependix/core": "0.0.
|
|
7
|
+
"@codependix/core": "0.0.10",
|
|
8
8
|
"@nestjs/common": "^11.1.21 || ^12.0.1",
|
|
9
9
|
"jiti": "^2.7.0",
|
|
10
10
|
"prompts": "^2.4.2",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"strict": true
|
|
63
63
|
},
|
|
64
64
|
"types": "./dist/src/index.d.ts",
|
|
65
|
-
"version": "0.0.
|
|
65
|
+
"version": "0.0.12"
|
|
66
66
|
}
|