@junobuild/cli-tools 0.1.0 → 0.1.1

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,12 +1,14 @@
1
- export declare const spawn: ({ command, cwd, args, stdout, silentOut, silentErrors }: {
1
+ export declare const spawn: ({ command, cwd, args, env, stdout, silentOut, silentErrors }: {
2
2
  command: string;
3
3
  cwd?: string;
4
4
  args?: readonly string[];
5
+ env?: NodeJS.ProcessEnv;
5
6
  stdout?: (output: string) => void;
6
7
  silentOut?: boolean;
7
8
  silentErrors?: boolean;
8
9
  }) => Promise<number | null>;
9
- export declare const execute: ({ command, args }: {
10
+ export declare const execute: ({ command, args, env }: {
10
11
  command: string;
11
12
  args?: readonly string[];
13
+ env?: NodeJS.ProcessEnv;
12
14
  }) => Promise<number | null>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/cli-tools",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A collection of tools for Juno CLIs and Plugins.",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",