@qlover/scripts-context 0.0.7 → 0.0.11
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/dist/index.cjs +4897 -0
- package/dist/{cjs/index.d.ts → index.d.ts} +9 -1
- package/dist/index.js +4890 -0
- package/package.json +17 -15
- package/dist/cjs/index.js +0 -1
- package/dist/es/index.d.ts +0 -537
- package/dist/es/index.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _commitlint_types from '@commitlint/types';
|
|
2
|
-
import { Logger } from '@qlover/fe-
|
|
2
|
+
import { Logger } from '@qlover/fe-corekit';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Configuration search options interface
|
|
@@ -326,6 +326,13 @@ interface ShellExecOptions {
|
|
|
326
326
|
* @type {string}
|
|
327
327
|
*/
|
|
328
328
|
encoding?: BufferEncoding;
|
|
329
|
+
/**
|
|
330
|
+
* Whether to cache the command
|
|
331
|
+
*
|
|
332
|
+
* @type {boolean}
|
|
333
|
+
* @default `false`
|
|
334
|
+
*/
|
|
335
|
+
isCache?: boolean;
|
|
329
336
|
[key: string]: unknown;
|
|
330
337
|
}
|
|
331
338
|
/**
|
|
@@ -412,6 +419,7 @@ declare class Shell implements ShellInterface {
|
|
|
412
419
|
* @param command - Command string or array
|
|
413
420
|
* @param options - Execution options
|
|
414
421
|
* @returns Promise resolving to command output
|
|
422
|
+
* @deprecated Use `exec` instead
|
|
415
423
|
*/
|
|
416
424
|
run(command: string | string[], options?: ShellExecOptions): Promise<string>;
|
|
417
425
|
/**
|