builder.io 1.1.13-12 → 1.1.13-15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "builder.io",
3
- "version": "1.1.13-12",
3
+ "version": "1.1.13-15",
4
4
  "description": "Add Builder.io code snippets to an application",
5
5
  "type": "module",
6
6
  "bin": {
@@ -19,6 +19,7 @@
19
19
  "figma"
20
20
  ],
21
21
  "dependencies": {
22
+ "chokidar": "^4.0.1",
22
23
  "glob": "10.4",
23
24
  "launch-editor": "^2.6.0",
24
25
  "open": "^10.1.0",
@@ -6,5 +6,6 @@ export declare function extractSignatureInfo(content: string): {
6
6
  };
7
7
  export declare function findBuilderFiles(basePath: string, targetContentId: string, targetSessionKey: string): Promise<FileNode[]>;
8
8
  export declare function watchDirectory(basePath: string, syncInfo: SyncInfo, onChange: (updatedSyncInfo: SyncInfo) => void): () => void;
9
+ export declare function watchDirectory2(basePath: string, syncInfo: SyncInfo, onChange: (updatedSyncInfo: SyncInfo) => void): () => void;
9
10
  export declare function setupSyncServer(sys: DevToolsSys, initialSyncInfo?: SyncInfo): Promise<void>;
10
11
  export declare function syncCommand(opts: AddCliOptions): Promise<SyncInfo | undefined>;
package/types/types.d.ts CHANGED
@@ -437,6 +437,7 @@ export interface FileNode {
437
437
  code: string;
438
438
  path: string;
439
439
  timestamp?: number;
440
+ snippetId?: string;
440
441
  }
441
442
  export interface FolderNode {
442
443
  name: string;