@component-compass/plugin-core 0.1.15 → 0.1.18
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/dist/output-types.d.ts +8 -0
- package/dist/via-types.d.ts +5 -3
- package/package.json +5 -1
package/dist/output-types.d.ts
CHANGED
|
@@ -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/dist/via-types.d.ts
CHANGED
|
@@ -44,9 +44,11 @@ export type OccurrenceVia = {
|
|
|
44
44
|
specifier: string;
|
|
45
45
|
import: string;
|
|
46
46
|
} | {
|
|
47
|
-
kind: "
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
kind: "passed-as-argument";
|
|
48
|
+
callee: string;
|
|
49
|
+
index: number;
|
|
50
|
+
specifier: string;
|
|
51
|
+
import: string;
|
|
50
52
|
} | {
|
|
51
53
|
kind: "prop-forward";
|
|
52
54
|
bindingName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@component-compass/plugin-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"./logical-id": {
|
|
13
13
|
"types": "./dist/logical-id.d.ts",
|
|
14
14
|
"import": "./dist/logical-id.js"
|
|
15
|
+
},
|
|
16
|
+
"./id": {
|
|
17
|
+
"types": "./dist/id.d.ts",
|
|
18
|
+
"import": "./dist/id.js"
|
|
15
19
|
}
|
|
16
20
|
},
|
|
17
21
|
"files": [
|