@vention/vention-cli 0.38.34 → 0.38.36

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": "@vention/vention-cli",
3
- "version": "0.38.34",
3
+ "version": "0.38.36",
4
4
  "description": "CLI tool for Vention applications",
5
5
  "type": "module",
6
6
  "engines": {
@@ -1,7 +1,5 @@
1
1
  import type { DigitalTwinConnection } from "./digital-twin-connection";
2
- export interface FileSystemNode {
3
- [entryName: string]: FileSystemNode | string;
4
- }
2
+ import type { FileSystemNode } from "#machine-code/serialize-directory";
5
3
  export interface Application {
6
4
  name: string;
7
5
  id: string;
@@ -1,11 +1,7 @@
1
- export interface FileSystemNode {
2
- [entryName: string]: FileSystemNode | string;
3
- }
4
- export declare const getDefaultIgnorePatterns: () => Set<string | RegExp>;
5
- export declare const shouldIgnoreFileSystemNode: (nodeName: string, ignoredNodes: Set<string | RegExp>) => boolean;
1
+ import { type FileSystemNode, type IgnorePattern } from "#machine-code/serialize-directory";
2
+ export declare const getDefaultIgnorePatterns: () => Set<IgnorePattern>;
6
3
  export declare const sanitizeFileName: (fileName: string) => string;
7
4
  export declare const sanitizeResolvedPath: (baseDirectory: string, pathSegment: string) => string;
8
- export declare const serializeFileSystem: (sourceDirectory: string, ignoredFileSystemNodes: Set<string | RegExp>, shouldBase64Encoded: boolean) => FileSystemNode;
9
5
  export declare const createFileSystemFromJson: (fileSystemNode: FileSystemNode, targetDirectory: string) => Promise<void>;
10
6
  export declare const checkIfPathExists: (directory: string) => Promise<boolean>;
11
7
  export declare const checkIfAppDirectoryExists: (appName: string, targetDirectory: string) => Promise<boolean>;