@nu-art/build-and-install 0.204.45 → 0.204.46

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.
@@ -9,7 +9,6 @@ export declare class CommandExecutor_FirebaseFunction {
9
9
  private readonly pkg;
10
10
  private readonly commandos;
11
11
  private listeners;
12
- private debugMode?;
13
12
  private onReadyCallbacks;
14
13
  constructor(pkg: Package_FirebaseFunctionsApp);
15
14
  private initListeners;
@@ -20,7 +19,6 @@ export declare class CommandExecutor_FirebaseFunction {
20
19
  private onReady;
21
20
  execute(): Promise<this>;
22
21
  kill(): Promise<void>;
23
- setDebug(debug: boolean): void;
24
22
  addOnReadyCallback(cb: OnReadyCallback): void;
25
23
  }
26
24
  export {};
@@ -5,6 +5,7 @@ const nvm_1 = require("@nu-art/commando/cli/nvm");
5
5
  const basic_1 = require("@nu-art/commando/cli/basic");
6
6
  const cli_1 = require("@nu-art/commando/core/cli");
7
7
  const ts_common_1 = require("@nu-art/ts-common");
8
+ const params_1 = require("../../core/params/params");
8
9
  class CommandExecutor_FirebaseFunction {
9
10
  constructor(pkg) {
10
11
  this.PROXY_PID_LOG = '_PROXY_PID_';
@@ -63,7 +64,7 @@ class CommandExecutor_FirebaseFunction {
63
64
  await this.commandos.emulator
64
65
  .setUID(this.pkg.name)
65
66
  .cd(this.pkg.path)
66
- .append(`firebase emulators:start --export-on-exit --import=.trash/data ${this.debugMode ? `--inspect-functions ${this.pkg.envConfig.ssl}` : ''} &`)
67
+ .append(`firebase emulators:start --export-on-exit --import=.trash/data ${params_1.RuntimeParams.debugBackend ? `--inspect-functions ${this.pkg.envConfig.debugPort}` : ''} &`)
67
68
  .append('pid=$!')
68
69
  .append(`echo "${this.EMULATOR_PID_LOG}=\${pid}"`)
69
70
  .append(`wait \$pid`)
@@ -91,9 +92,6 @@ class CommandExecutor_FirebaseFunction {
91
92
  await this.commandos.emulator.gracefullyKill(emulatorPid);
92
93
  await this.commandos.proxy.gracefullyKill(proxyPid);
93
94
  }
94
- setDebug(debug) {
95
- this.debugMode = debug;
96
- }
97
95
  addOnReadyCallback(cb) {
98
96
  this.onReadyCallbacks.push(cb);
99
97
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nu-art/build-and-install",
3
- "version": "0.204.45",
3
+ "version": "0.204.46",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "TacB0sS",