@datapos/datapos-development 0.3.326 → 0.3.327

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.
@@ -1,6 +1,7 @@
1
1
  import { Dirent, ObjectEncodingOptions, Stats } from 'node:fs';
2
2
  declare function extractOperationsFromSource<T>(source: string): T[];
3
3
  declare function execCommand(label: string | undefined, command_: string, arguments_?: string[], outputFilePath?: string): Promise<void>;
4
+ declare function clearDirectory(directoryPath: string): Promise<void>;
4
5
  declare function getDirectoryEntries(path: string): Promise<string[]>;
5
6
  declare function getDirectoryEntries(path: string, options: ObjectEncodingOptions): Promise<Dirent[]>;
6
7
  declare function getStatsForPath(path: string): Promise<Stats>;
@@ -14,4 +15,4 @@ declare function removeFile(path: string): Promise<void>;
14
15
  declare function spawnCommand(label: string, command: string, arguments_?: string[], ignoreErrors?: boolean): Promise<void>;
15
16
  declare function writeJSONFile(path: string, data: object): Promise<void>;
16
17
  declare function writeTextFile(path: string, data: string): Promise<void>;
17
- export { execCommand, extractOperationsFromSource, getDirectoryEntries, getStatsForPath, loadEnvironmentVariables, logOperationHeader, logOperationSuccess, logStepHeader, readJSONFile, readTextFile, removeFile, spawnCommand, writeJSONFile, writeTextFile };
18
+ export { clearDirectory, execCommand, extractOperationsFromSource, getDirectoryEntries, getStatsForPath, loadEnvironmentVariables, logOperationHeader, logOperationSuccess, logStepHeader, readJSONFile, readTextFile, removeFile, spawnCommand, writeJSONFile, writeTextFile };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-development",
3
- "version": "0.3.326",
3
+ "version": "0.3.327",
4
4
  "description": "A library of utilities used to manage Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",