@goldstack/utils-sh
Advanced tools
Comparing version 0.5.15 to 0.5.16
@@ -29,3 +29,3 @@ import { sync as globSync } from 'glob'; | ||
declare const exec: (cmd: string, params?: ExecParams) => string; | ||
declare const execSafe: (file: string, args: string[], params?: ExecParams) => string; | ||
export declare const execSafe: (file: string, args: string[], params?: ExecParams) => string; | ||
export declare const execAsync: (cmd: string, params?: ExecParams) => Promise<string>; | ||
@@ -43,3 +43,3 @@ declare const read: (path: string) => string; | ||
declare const changeExtension: (file: string, extension: string) => string; | ||
export { exec, execSafe, pwd, read, write, cd, globSync, commandExists, readToType, tryRead, changeExtension, }; | ||
export { exec, pwd, read, write, cd, globSync, commandExists, readToType, tryRead, changeExtension, }; | ||
//# sourceMappingURL=utilsSh.d.ts.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.changeExtension = exports.tryRead = exports.readToType = exports.commandExists = exports.globSync = exports.cd = exports.write = exports.read = exports.pwd = exports.execSafe = exports.exec = exports.execAsync = exports.tempDir = exports.unzip = exports.zip = exports.mkdir = exports.rm = exports.rmSafe = exports.cp = exports.assertDirectoryExists = exports.assertFileExists = exports.copy = void 0; | ||
exports.changeExtension = exports.tryRead = exports.readToType = exports.commandExists = exports.globSync = exports.cd = exports.write = exports.read = exports.pwd = exports.exec = exports.execAsync = exports.execSafe = exports.tempDir = exports.unzip = exports.zip = exports.mkdir = exports.rm = exports.rmSafe = exports.cp = exports.assertDirectoryExists = exports.assertFileExists = exports.copy = void 0; | ||
const child_process_1 = require("child_process"); | ||
@@ -9,0 +9,0 @@ const fs_1 = __importDefault(require("fs")); |
{ | ||
"name": "@goldstack/utils-sh", | ||
"version": "0.5.15", | ||
"version": "0.5.16", | ||
"description": "Utilities for working with files and folders in a bash like manner", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
26558