@nu-art/build-and-install 0.204.114 → 0.204.116
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/package.json
CHANGED
|
@@ -5,6 +5,7 @@ const BAIScreen_1 = require("./BAIScreen");
|
|
|
5
5
|
const consts_1 = require("../phase-runner/consts");
|
|
6
6
|
const firebase_units_1 = require("../unit/firebase-units");
|
|
7
7
|
const ts_common_1 = require("@nu-art/ts-common");
|
|
8
|
+
const phase_1 = require("../phase");
|
|
8
9
|
class BAIScreen_Launch extends BAIScreen_1.BAIScreen {
|
|
9
10
|
//######################### Lifecycle #########################
|
|
10
11
|
constructor() {
|
|
@@ -27,7 +28,8 @@ class BAIScreen_Launch extends BAIScreen_1.BAIScreen {
|
|
|
27
28
|
this.updateUnits = () => {
|
|
28
29
|
const runner = consts_1.MemKey_PhaseRunner.get();
|
|
29
30
|
this.allUnits = runner.getUnits().filter(unit => {
|
|
30
|
-
|
|
31
|
+
const isRelevantUnitType = unit.isInstanceOf(firebase_units_1.Unit_FirebaseHostingApp) || unit.isInstanceOf(firebase_units_1.Unit_FirebaseFunctionsApp);
|
|
32
|
+
return !!(isRelevantUnitType && (!(0, ts_common_1.exists)(phase_1.phase_Launch.unitFilter) || phase_1.phase_Launch.unitFilter(unit)));
|
|
31
33
|
});
|
|
32
34
|
if (!this.focusUnits.length)
|
|
33
35
|
this.focusUnits = this.allUnits;
|