onsystem 0.7.0 → 0.9.0

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.
@@ -37,6 +37,13 @@ interface DesignSystemSource {
37
37
  source: string;
38
38
  components: string[];
39
39
  imports: number;
40
+ /**
41
+ * The shadcn registry (`@signoff-ui`) whose code `npx shadcn add` copied into these files, as
42
+ * the `registries` of components.json name it: a read-only design system, after the others.
43
+ * Code that imports it is checked against its components, which are never suggested for a
44
+ * native element, and its own files are skipped like the others' are.
45
+ */
46
+ registry?: string | undefined;
40
47
  }
41
48
  //#endregion
42
49
  //#region src/types.d.ts
@@ -274,6 +281,11 @@ interface LibrarySource {
274
281
  dir?: string | undefined;
275
282
  /** The installed version. */
276
283
  version?: string | undefined;
284
+ /**
285
+ * A design-system package installed without its component sources, read from its type
286
+ * declarations ({@link declarationsPackages}) rather than as a library onsystem knows.
287
+ */
288
+ designSystem?: true | undefined;
277
289
  }
278
290
  //#endregion
279
291
  //#region src/config.d.ts