builder.io 1.9.23 → 1.10.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.
- package/cli/index.cjs +287 -285
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +3 -3
- package/server/index.mjs +3 -3
- package/types/cli/repo-indexing/component-indexing.d.ts +2 -1
- package/types/cli/repo-indexing/repo-indexing.d.ts +2 -2
- package/types/cli/repo-indexing/types.d.ts +5 -0
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DevToolsSys } from "../../types";
|
|
2
2
|
import type { Credentials } from "../credentials";
|
|
3
|
-
import type { Component } from "./types";
|
|
3
|
+
import type { Component, ComponentIssue } from "./types";
|
|
4
4
|
import type { WorkspaceConfiguration } from "$/ai-utils";
|
|
5
5
|
export declare const processComponent: (sys: DevToolsSys, credentials: Credentials, sessionId: string, component: Component, opts?: {
|
|
6
6
|
designSystemId?: string | null;
|
|
@@ -10,5 +10,6 @@ export declare const processComponent: (sys: DevToolsSys, credentials: Credentia
|
|
|
10
10
|
storeRepoIndexing?: boolean;
|
|
11
11
|
workspaceConfig?: WorkspaceConfiguration;
|
|
12
12
|
debug?: boolean;
|
|
13
|
+
onIssue?: (issue: ComponentIssue) => void;
|
|
13
14
|
}) => Promise<void>;
|
|
14
15
|
export declare const deprecateObsoleteComponents: (credentials: Credentials, localComponents: Component[], remoteComponents: Component[]) => Promise<void>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { DevToolsSys } from "../../types";
|
|
2
2
|
import type { CLIArgs } from "../index";
|
|
3
3
|
import { type Credentials } from "../credentials";
|
|
4
|
-
import type { Component } from "./types";
|
|
5
|
-
export declare const displayComponentLibrarySummary: (components: Component[], indexedComponents: Component[], startTime: number, numFailed: number | undefined, isForce: boolean | undefined, designSystemName: string) => void;
|
|
4
|
+
import type { Component, ComponentIssue } from "./types";
|
|
5
|
+
export declare const displayComponentLibrarySummary: (components: Component[], indexedComponents: Component[], startTime: number, numFailed: number | undefined, isForce: boolean | undefined, designSystemName: string, issues?: ComponentIssue[]) => void;
|
|
6
6
|
export interface RepoIndexingDoc {
|
|
7
7
|
name: string;
|
|
8
8
|
content: string | {
|