@component-compass/plugin-core 0.1.2 → 0.1.5
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/index.d.ts +1 -1
- package/dist/output-types.d.ts +0 -2
- package/dist/scan-types.d.ts +0 -6
- package/dist/scan-types.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { validateManifest } from "./validate.js";
|
|
|
4
4
|
export type { ValidationResult } from "./validate.js";
|
|
5
5
|
export { manifestJsonSchema } from "./schema.js";
|
|
6
6
|
export { ManifestBuilder } from "./builder.js";
|
|
7
|
-
export type { TagName, WrapperId,
|
|
7
|
+
export type { TagName, WrapperId, IndexedComponent, Loc, WarningCode, Warning, ScanConfig, PropUsage, OccurrenceVia, Occurrence, WrapperDef, FileImport, ParseResult, ParseContext, ParserPlugin, ScanOutput, ManifestRef, ScanStats, DetectorId, LocalDefinition, LocalDefinitionIndex, ResolveLazyManifest, ResolveLocalExport, LookupByTag, LazyResolverHit, CemIndex, CemIndexEntry, } from "./scan-types.js";
|
|
8
8
|
export { asTagName, asWrapperId, emptyLocalIndex } from "./scan-types.js";
|
|
9
9
|
export type { Enrichment, AuthoredLeafPayload } from "./enrichment.js";
|
|
10
10
|
export { normalizeOwnerPath } from "./owner-utils.js";
|
package/dist/output-types.d.ts
CHANGED
|
@@ -138,8 +138,6 @@ export type OutputComponent = {
|
|
|
138
138
|
composition?: CompositionRollup;
|
|
139
139
|
/** Package version from package.json or CEM. Null for external packages not versioned at scan time. */
|
|
140
140
|
version: string | null;
|
|
141
|
-
/** Deprecation flag from CEM @deprecated declaration. False if the component's CEM declaration does not carry `@deprecated`; CEM declarations on external packages flow through to this field. */
|
|
142
|
-
deprecated: boolean;
|
|
143
141
|
/** Git-mtime: first commit of the declaring file. ISO 8601 string, or null for external packages. */
|
|
144
142
|
createdAt: string | null;
|
|
145
143
|
/** Git-mtime: last commit of the declaring file. ISO 8601 string, or null for external packages. */
|
package/dist/scan-types.d.ts
CHANGED
|
@@ -36,16 +36,10 @@ export type CemIndex = {
|
|
|
36
36
|
manifest: unknown;
|
|
37
37
|
}>;
|
|
38
38
|
};
|
|
39
|
-
export type ImportRole = "native" | "react";
|
|
40
|
-
export type ImportEntry = {
|
|
41
|
-
specifier: string;
|
|
42
|
-
export?: string;
|
|
43
|
-
};
|
|
44
39
|
export type IndexedComponent = (Extract<ManifestComponent, {
|
|
45
40
|
kind: "custom-element";
|
|
46
41
|
}> & {
|
|
47
42
|
className?: string;
|
|
48
|
-
imports: Partial<Record<ImportRole, ImportEntry[]>>;
|
|
49
43
|
}) | Extract<ManifestComponent, {
|
|
50
44
|
kind: "react-component" | "vue-component";
|
|
51
45
|
}>;
|
package/dist/scan-types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scan-types.js","sourceRoot":"","sources":["../src/scan-types.ts"],"names":[],"mappings":"AAsBA,kEAAkE;AAClE,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAS,EAAW,EAAE,CAAC,CAAY,CAAC;AAC9D,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAS,EAAa,EAAE,CAAC,CAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"scan-types.js","sourceRoot":"","sources":["../src/scan-types.ts"],"names":[],"mappings":"AAsBA,kEAAkE;AAClE,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAS,EAAW,EAAE,CAAC,CAAY,CAAC;AAC9D,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAS,EAAa,EAAE,CAAC,CAAc,CAAC;AAkHpE,MAAM,CAAC,MAAM,eAAe,GAAyB;IACnD,MAAM,EAAE,IAAI,GAAG,EAAE;IACjB,KAAK,EAAE,IAAI,GAAG,EAAE;CACjB,CAAC"}
|