@component-compass/plugin-core 0.1.15 → 0.1.17

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.
@@ -3,6 +3,7 @@
3
3
  * occurrences). Lives in plugin-core so consumers (cli, future analytics,
4
4
  * agents) share one source of truth without depending on cli internals.
5
5
  */
6
+ import type { Diagnostic } from "./diagnostic.js";
6
7
  import type { OccurrenceVia } from "./via-types.js";
7
8
  import type { Lifecycle } from "./types.js";
8
9
  export type ComponentScope = "external" | "local";
@@ -308,4 +309,11 @@ export type ScanArtifact = {
308
309
  components: OutputComponent[];
309
310
  occurrences: OutputOccurrence[];
310
311
  relationships: RelationshipEdge[];
312
+ /**
313
+ * Observations the scan could not turn into a component — unresolved tags,
314
+ * unresolved imports, bailed-out re-export chains. Reader surfaces project
315
+ * from these to tell a consumer what the scan could NOT see, which no
316
+ * component row can express.
317
+ */
318
+ diagnostics: Diagnostic[];
311
319
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@component-compass/plugin-core",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",