@sap/ux-ui5-tooling 1.15.4 → 1.15.6
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/CHANGELOG.md +1 -1
- package/dist/cli/index.js +28708 -14229
- package/dist/middlewares/fiori-tools-appreload.js +156 -27
- package/dist/middlewares/fiori-tools-preview.js +11309 -2304
- package/dist/middlewares/fiori-tools-proxy.js +40887 -26238
- package/dist/tasks/cf-deploy/index.js +11586 -2582
- package/dist/tasks/deploy/index.js +35546 -21067
- package/package.json +16 -17
- package/apply-patches.js +0 -14
- package/patches/@sap-ux+preview-middleware+0.16.96.patch +0 -47
|
@@ -28868,6 +28868,122 @@ var require_proxy_from_env = __commonJS({
|
|
|
28868
28868
|
}
|
|
28869
28869
|
});
|
|
28870
28870
|
|
|
28871
|
+
// ../../node_modules/debug/node_modules/ms/index.js
|
|
28872
|
+
var require_ms3 = __commonJS({
|
|
28873
|
+
"../../node_modules/debug/node_modules/ms/index.js"(exports2, module2) {
|
|
28874
|
+
var s = 1e3;
|
|
28875
|
+
var m = s * 60;
|
|
28876
|
+
var h = m * 60;
|
|
28877
|
+
var d = h * 24;
|
|
28878
|
+
var w = d * 7;
|
|
28879
|
+
var y = d * 365.25;
|
|
28880
|
+
module2.exports = function(val, options) {
|
|
28881
|
+
options = options || {};
|
|
28882
|
+
var type = typeof val;
|
|
28883
|
+
if (type === "string" && val.length > 0) {
|
|
28884
|
+
return parse2(val);
|
|
28885
|
+
} else if (type === "number" && isFinite(val)) {
|
|
28886
|
+
return options.long ? fmtLong(val) : fmtShort(val);
|
|
28887
|
+
}
|
|
28888
|
+
throw new Error(
|
|
28889
|
+
"val is not a non-empty string or a valid number. val=" + JSON.stringify(val)
|
|
28890
|
+
);
|
|
28891
|
+
};
|
|
28892
|
+
function parse2(str) {
|
|
28893
|
+
str = String(str);
|
|
28894
|
+
if (str.length > 100) {
|
|
28895
|
+
return;
|
|
28896
|
+
}
|
|
28897
|
+
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
|
28898
|
+
str
|
|
28899
|
+
);
|
|
28900
|
+
if (!match) {
|
|
28901
|
+
return;
|
|
28902
|
+
}
|
|
28903
|
+
var n = parseFloat(match[1]);
|
|
28904
|
+
var type = (match[2] || "ms").toLowerCase();
|
|
28905
|
+
switch (type) {
|
|
28906
|
+
case "years":
|
|
28907
|
+
case "year":
|
|
28908
|
+
case "yrs":
|
|
28909
|
+
case "yr":
|
|
28910
|
+
case "y":
|
|
28911
|
+
return n * y;
|
|
28912
|
+
case "weeks":
|
|
28913
|
+
case "week":
|
|
28914
|
+
case "w":
|
|
28915
|
+
return n * w;
|
|
28916
|
+
case "days":
|
|
28917
|
+
case "day":
|
|
28918
|
+
case "d":
|
|
28919
|
+
return n * d;
|
|
28920
|
+
case "hours":
|
|
28921
|
+
case "hour":
|
|
28922
|
+
case "hrs":
|
|
28923
|
+
case "hr":
|
|
28924
|
+
case "h":
|
|
28925
|
+
return n * h;
|
|
28926
|
+
case "minutes":
|
|
28927
|
+
case "minute":
|
|
28928
|
+
case "mins":
|
|
28929
|
+
case "min":
|
|
28930
|
+
case "m":
|
|
28931
|
+
return n * m;
|
|
28932
|
+
case "seconds":
|
|
28933
|
+
case "second":
|
|
28934
|
+
case "secs":
|
|
28935
|
+
case "sec":
|
|
28936
|
+
case "s":
|
|
28937
|
+
return n * s;
|
|
28938
|
+
case "milliseconds":
|
|
28939
|
+
case "millisecond":
|
|
28940
|
+
case "msecs":
|
|
28941
|
+
case "msec":
|
|
28942
|
+
case "ms":
|
|
28943
|
+
return n;
|
|
28944
|
+
default:
|
|
28945
|
+
return void 0;
|
|
28946
|
+
}
|
|
28947
|
+
}
|
|
28948
|
+
function fmtShort(ms) {
|
|
28949
|
+
var msAbs = Math.abs(ms);
|
|
28950
|
+
if (msAbs >= d) {
|
|
28951
|
+
return Math.round(ms / d) + "d";
|
|
28952
|
+
}
|
|
28953
|
+
if (msAbs >= h) {
|
|
28954
|
+
return Math.round(ms / h) + "h";
|
|
28955
|
+
}
|
|
28956
|
+
if (msAbs >= m) {
|
|
28957
|
+
return Math.round(ms / m) + "m";
|
|
28958
|
+
}
|
|
28959
|
+
if (msAbs >= s) {
|
|
28960
|
+
return Math.round(ms / s) + "s";
|
|
28961
|
+
}
|
|
28962
|
+
return ms + "ms";
|
|
28963
|
+
}
|
|
28964
|
+
function fmtLong(ms) {
|
|
28965
|
+
var msAbs = Math.abs(ms);
|
|
28966
|
+
if (msAbs >= d) {
|
|
28967
|
+
return plural(ms, msAbs, d, "day");
|
|
28968
|
+
}
|
|
28969
|
+
if (msAbs >= h) {
|
|
28970
|
+
return plural(ms, msAbs, h, "hour");
|
|
28971
|
+
}
|
|
28972
|
+
if (msAbs >= m) {
|
|
28973
|
+
return plural(ms, msAbs, m, "minute");
|
|
28974
|
+
}
|
|
28975
|
+
if (msAbs >= s) {
|
|
28976
|
+
return plural(ms, msAbs, s, "second");
|
|
28977
|
+
}
|
|
28978
|
+
return ms + " ms";
|
|
28979
|
+
}
|
|
28980
|
+
function plural(ms, msAbs, n, name) {
|
|
28981
|
+
var isPlural = msAbs >= n * 1.5;
|
|
28982
|
+
return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
|
|
28983
|
+
}
|
|
28984
|
+
}
|
|
28985
|
+
});
|
|
28986
|
+
|
|
28871
28987
|
// ../../node_modules/debug/src/common.js
|
|
28872
28988
|
var require_common3 = __commonJS({
|
|
28873
28989
|
"../../node_modules/debug/src/common.js"(exports2, module2) {
|
|
@@ -28878,7 +28994,7 @@ var require_common3 = __commonJS({
|
|
|
28878
28994
|
createDebug.disable = disable;
|
|
28879
28995
|
createDebug.enable = enable;
|
|
28880
28996
|
createDebug.enabled = enabled;
|
|
28881
|
-
createDebug.humanize =
|
|
28997
|
+
createDebug.humanize = require_ms3();
|
|
28882
28998
|
createDebug.destroy = destroy;
|
|
28883
28999
|
Object.keys(env).forEach((key) => {
|
|
28884
29000
|
createDebug[key] = env[key];
|
|
@@ -29133,10 +29249,11 @@ var require_browser2 = __commonJS({
|
|
|
29133
29249
|
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
29134
29250
|
return false;
|
|
29135
29251
|
}
|
|
29252
|
+
let m;
|
|
29136
29253
|
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
|
29137
29254
|
typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
|
29138
29255
|
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
29139
|
-
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(
|
|
29256
|
+
typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
|
29140
29257
|
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
29141
29258
|
}
|
|
29142
29259
|
function formatArgs(args) {
|
|
@@ -29342,7 +29459,7 @@ var require_node4 = __commonJS({
|
|
|
29342
29459
|
return (/* @__PURE__ */ new Date()).toISOString() + " ";
|
|
29343
29460
|
}
|
|
29344
29461
|
function log3(...args) {
|
|
29345
|
-
return process.stderr.write(util.
|
|
29462
|
+
return process.stderr.write(util.formatWithOptions(exports2.inspectOpts, ...args) + "\n");
|
|
29346
29463
|
}
|
|
29347
29464
|
function save(namespaces) {
|
|
29348
29465
|
if (namespaces) {
|
|
@@ -47532,7 +47649,14 @@ var require_app_studio = __commonJS({
|
|
|
47532
47649
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
47533
47650
|
};
|
|
47534
47651
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
47535
|
-
exports2.
|
|
47652
|
+
exports2.BAS_DEST_INSTANCE_CRED_HEADER = void 0;
|
|
47653
|
+
exports2.isAppStudio = isAppStudio;
|
|
47654
|
+
exports2.getAppStudioProxyURL = getAppStudioProxyURL;
|
|
47655
|
+
exports2.getAppStudioBaseURL = getAppStudioBaseURL;
|
|
47656
|
+
exports2.getCredentialsForDestinationService = getCredentialsForDestinationService;
|
|
47657
|
+
exports2.getDestinationUrlForAppStudio = getDestinationUrlForAppStudio;
|
|
47658
|
+
exports2.listDestinations = listDestinations;
|
|
47659
|
+
exports2.exposePort = exposePort;
|
|
47536
47660
|
var axios_1 = __importDefault(require_axios());
|
|
47537
47661
|
var cf_tools_1 = require_src5();
|
|
47538
47662
|
var app_studio_env_1 = require_app_studio_env();
|
|
@@ -47540,15 +47664,12 @@ var require_app_studio = __commonJS({
|
|
|
47540
47664
|
function isAppStudio() {
|
|
47541
47665
|
return !!process.env[app_studio_env_1.ENV.H2O_URL];
|
|
47542
47666
|
}
|
|
47543
|
-
exports2.isAppStudio = isAppStudio;
|
|
47544
47667
|
function getAppStudioProxyURL() {
|
|
47545
47668
|
return process.env[app_studio_env_1.ENV.PROXY_URL];
|
|
47546
47669
|
}
|
|
47547
|
-
exports2.getAppStudioProxyURL = getAppStudioProxyURL;
|
|
47548
47670
|
function getAppStudioBaseURL() {
|
|
47549
47671
|
return process.env[app_studio_env_1.ENV.H2O_URL];
|
|
47550
47672
|
}
|
|
47551
|
-
exports2.getAppStudioBaseURL = getAppStudioBaseURL;
|
|
47552
47673
|
async function getCredentialsForDestinationService(instance) {
|
|
47553
47674
|
var _a, _b;
|
|
47554
47675
|
try {
|
|
@@ -47567,12 +47688,10 @@ var require_app_studio = __commonJS({
|
|
|
47567
47688
|
throw new Error(`An error occurred while retrieving service key for the destination instance ${instance}: ${error2}`);
|
|
47568
47689
|
}
|
|
47569
47690
|
}
|
|
47570
|
-
exports2.getCredentialsForDestinationService = getCredentialsForDestinationService;
|
|
47571
47691
|
function getDestinationUrlForAppStudio(name, path) {
|
|
47572
47692
|
const origin = `https://${name}.dest`;
|
|
47573
47693
|
return path && path.length > 1 ? new URL(path, origin).toString() : origin;
|
|
47574
47694
|
}
|
|
47575
|
-
exports2.getDestinationUrlForAppStudio = getDestinationUrlForAppStudio;
|
|
47576
47695
|
async function listDestinations() {
|
|
47577
47696
|
const destinations = {};
|
|
47578
47697
|
await axios_1.default.get("/reload", { baseURL: process.env[app_studio_env_1.ENV.PROXY_URL] });
|
|
@@ -47585,7 +47704,6 @@ var require_app_studio = __commonJS({
|
|
|
47585
47704
|
});
|
|
47586
47705
|
return destinations;
|
|
47587
47706
|
}
|
|
47588
|
-
exports2.listDestinations = listDestinations;
|
|
47589
47707
|
async function exposePort(port, logger) {
|
|
47590
47708
|
try {
|
|
47591
47709
|
const response = await axios_1.default.get(`http://localhost:3001/AppStudio/api/getHostByPort?port=${port}`);
|
|
@@ -47595,7 +47713,6 @@ var require_app_studio = __commonJS({
|
|
|
47595
47713
|
return "";
|
|
47596
47714
|
}
|
|
47597
47715
|
}
|
|
47598
|
-
exports2.exposePort = exposePort;
|
|
47599
47716
|
}
|
|
47600
47717
|
});
|
|
47601
47718
|
|
|
@@ -47604,7 +47721,17 @@ var require_destination = __commonJS({
|
|
|
47604
47721
|
"../../node_modules/@sap-ux/btp-utils/dist/destination.js"(exports2) {
|
|
47605
47722
|
"use strict";
|
|
47606
47723
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
47607
|
-
exports2.
|
|
47724
|
+
exports2.DestinationProxyType = exports2.WebIDEAdditionalData = exports2.WebIDEUsage = exports2.ProxyType = exports2.Suffix = exports2.Authentication = void 0;
|
|
47725
|
+
exports2.isAbapSystem = isAbapSystem;
|
|
47726
|
+
exports2.isAbapEnvironmentOnBtp = isAbapEnvironmentOnBtp;
|
|
47727
|
+
exports2.isGenericODataDestination = isGenericODataDestination;
|
|
47728
|
+
exports2.isPartialUrlDestination = isPartialUrlDestination;
|
|
47729
|
+
exports2.isFullUrlDestination = isFullUrlDestination;
|
|
47730
|
+
exports2.isOnPremiseDestination = isOnPremiseDestination;
|
|
47731
|
+
exports2.isHTML5DynamicConfigured = isHTML5DynamicConfigured;
|
|
47732
|
+
exports2.getDisplayName = getDisplayName;
|
|
47733
|
+
exports2.isS4HC = isS4HC;
|
|
47734
|
+
exports2.isAbapODataDestination = isAbapODataDestination;
|
|
47608
47735
|
var Authentication;
|
|
47609
47736
|
(function(Authentication2) {
|
|
47610
47737
|
Authentication2["BASIC_AUTHENTICATION"] = "BasicAuthentication";
|
|
@@ -47651,35 +47778,28 @@ var require_destination = __commonJS({
|
|
|
47651
47778
|
var _a, _b;
|
|
47652
47779
|
return Boolean(((_a = destination.WebIDEUsage) == null ? void 0 : _a.includes("abap")) || destination["sap-client"] || ((_b = destination["sap-platform"]) == null ? void 0 : _b.toLocaleLowerCase()) === "abap");
|
|
47653
47780
|
}
|
|
47654
|
-
exports2.isAbapSystem = isAbapSystem;
|
|
47655
47781
|
function isAbapEnvironmentOnBtp(destination) {
|
|
47656
47782
|
var _a, _b;
|
|
47657
47783
|
return Boolean(((_a = destination.WebIDEUsage) == null ? void 0 : _a.includes(WebIDEUsage.ABAP_CLOUD)) || ((_b = destination["sap-platform"]) == null ? void 0 : _b.toLocaleLowerCase()) === "abap");
|
|
47658
47784
|
}
|
|
47659
|
-
exports2.isAbapEnvironmentOnBtp = isAbapEnvironmentOnBtp;
|
|
47660
47785
|
function isGenericODataDestination(destination) {
|
|
47661
47786
|
var _a;
|
|
47662
47787
|
return Boolean(((_a = destination.WebIDEUsage) == null ? void 0 : _a.includes(WebIDEUsage.ODATA_GENERIC)) && !destination.WebIDEUsage.includes(WebIDEUsage.ODATA_ABAP));
|
|
47663
47788
|
}
|
|
47664
|
-
exports2.isGenericODataDestination = isGenericODataDestination;
|
|
47665
47789
|
function isPartialUrlDestination(destination) {
|
|
47666
47790
|
var _a;
|
|
47667
47791
|
return Boolean(!((_a = destination.WebIDEAdditionalData) == null ? void 0 : _a.includes(WebIDEAdditionalData.FULL_URL)) && isGenericODataDestination(destination));
|
|
47668
47792
|
}
|
|
47669
|
-
exports2.isPartialUrlDestination = isPartialUrlDestination;
|
|
47670
47793
|
function isFullUrlDestination(destination) {
|
|
47671
47794
|
var _a;
|
|
47672
47795
|
return Boolean(((_a = destination.WebIDEAdditionalData) == null ? void 0 : _a.includes(WebIDEAdditionalData.FULL_URL)) && isGenericODataDestination(destination));
|
|
47673
47796
|
}
|
|
47674
|
-
exports2.isFullUrlDestination = isFullUrlDestination;
|
|
47675
47797
|
function isOnPremiseDestination(destination) {
|
|
47676
47798
|
return Boolean(destination.ProxyType.includes(DestinationProxyType.ON_PREMISE));
|
|
47677
47799
|
}
|
|
47678
|
-
exports2.isOnPremiseDestination = isOnPremiseDestination;
|
|
47679
47800
|
function isHTML5DynamicConfigured(destination) {
|
|
47680
47801
|
return Boolean(destination["HTML5.DynamicDestination"]);
|
|
47681
47802
|
}
|
|
47682
|
-
exports2.isHTML5DynamicConfigured = isHTML5DynamicConfigured;
|
|
47683
47803
|
function escapeRegExp(str) {
|
|
47684
47804
|
return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
47685
47805
|
}
|
|
@@ -47699,12 +47819,14 @@ var require_destination = __commonJS({
|
|
|
47699
47819
|
}
|
|
47700
47820
|
return `${systemDisplayName}${userDisplayName}`;
|
|
47701
47821
|
}
|
|
47702
|
-
exports2.getDisplayName = getDisplayName;
|
|
47703
47822
|
function isS4HC(destination) {
|
|
47704
47823
|
var _a;
|
|
47705
47824
|
return Boolean(((_a = destination.WebIDEUsage) == null ? void 0 : _a.includes(WebIDEUsage.ODATA_ABAP)) && destination.Authentication === Authentication.SAML_ASSERTION && destination.ProxyType === ProxyType.INTERNET);
|
|
47706
47825
|
}
|
|
47707
|
-
|
|
47826
|
+
function isAbapODataDestination(destination) {
|
|
47827
|
+
var _a;
|
|
47828
|
+
return !!((_a = destination.WebIDEUsage) == null ? void 0 : _a.includes(WebIDEUsage.ODATA_ABAP));
|
|
47829
|
+
}
|
|
47708
47830
|
}
|
|
47709
47831
|
});
|
|
47710
47832
|
|
|
@@ -47780,7 +47902,8 @@ var require_livereload = __commonJS({
|
|
|
47780
47902
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
47781
47903
|
};
|
|
47782
47904
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
47783
|
-
exports2.
|
|
47905
|
+
exports2.getConnectLivereload = exports2.getLivereloadServer = void 0;
|
|
47906
|
+
exports2.watchManifestChanges = watchManifestChanges2;
|
|
47784
47907
|
var livereload_1 = require("livereload");
|
|
47785
47908
|
var connect_livereload_1 = __importDefault(require_connect_livereload());
|
|
47786
47909
|
var utils_1 = require_utils();
|
|
@@ -47813,19 +47936,18 @@ var require_livereload = __commonJS({
|
|
|
47813
47936
|
return (0, connect_livereload_1.default)({ ...connectOpts, ...options });
|
|
47814
47937
|
};
|
|
47815
47938
|
exports2.getConnectLivereload = getConnectLivereload2;
|
|
47816
|
-
function
|
|
47939
|
+
function watchManifestChanges2(livereload) {
|
|
47817
47940
|
livereload.watcher.on("all", async (_event, path) => {
|
|
47818
47941
|
const fileExtension = (0, path_1.extname)(path);
|
|
47819
47942
|
if (fileExtension === ".appdescr_variant") {
|
|
47820
47943
|
global.__SAP_UX_MANIFEST_SYNC_REQUIRED__ = true;
|
|
47821
47944
|
} else if (fileExtension === ".change") {
|
|
47822
|
-
if (path.endsWith("appdescr_fe_changePageConfiguration.change")) {
|
|
47945
|
+
if (path.endsWith("appdescr_fe_changePageConfiguration.change") || path.endsWith("appdescr_ui_generic_app_changePageConfiguration.change")) {
|
|
47823
47946
|
global.__SAP_UX_MANIFEST_SYNC_REQUIRED__ = true;
|
|
47824
47947
|
}
|
|
47825
47948
|
}
|
|
47826
47949
|
});
|
|
47827
47950
|
}
|
|
47828
|
-
exports2.watchManifestChanges = watchManifestChanges;
|
|
47829
47951
|
}
|
|
47830
47952
|
});
|
|
47831
47953
|
|
|
@@ -47834,7 +47956,7 @@ var require_base = __commonJS({
|
|
|
47834
47956
|
"../../node_modules/@sap-ux/reload-middleware/dist/base/index.js"(exports2) {
|
|
47835
47957
|
"use strict";
|
|
47836
47958
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
47837
|
-
exports2.defaultConnectLivereloadOpts = exports2.defaultLiveReloadOpts = exports2.getConnectLivereload = exports2.getLivereloadServer = void 0;
|
|
47959
|
+
exports2.defaultConnectLivereloadOpts = exports2.defaultLiveReloadOpts = exports2.watchManifestChanges = exports2.getConnectLivereload = exports2.getLivereloadServer = void 0;
|
|
47838
47960
|
var livereload_1 = require_livereload();
|
|
47839
47961
|
Object.defineProperty(exports2, "getLivereloadServer", { enumerable: true, get: function() {
|
|
47840
47962
|
return livereload_1.getLivereloadServer;
|
|
@@ -47842,6 +47964,9 @@ var require_base = __commonJS({
|
|
|
47842
47964
|
Object.defineProperty(exports2, "getConnectLivereload", { enumerable: true, get: function() {
|
|
47843
47965
|
return livereload_1.getConnectLivereload;
|
|
47844
47966
|
} });
|
|
47967
|
+
Object.defineProperty(exports2, "watchManifestChanges", { enumerable: true, get: function() {
|
|
47968
|
+
return livereload_1.watchManifestChanges;
|
|
47969
|
+
} });
|
|
47845
47970
|
var constants_1 = require_constants();
|
|
47846
47971
|
Object.defineProperty(exports2, "defaultLiveReloadOpts", { enumerable: true, get: function() {
|
|
47847
47972
|
return constants_1.defaultLiveReloadOpts;
|
|
@@ -47857,7 +47982,7 @@ var require_dist3 = __commonJS({
|
|
|
47857
47982
|
"../../node_modules/@sap-ux/reload-middleware/dist/index.js"(exports2) {
|
|
47858
47983
|
"use strict";
|
|
47859
47984
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
47860
|
-
exports2.getConnectLivereload = exports2.getLivereloadServer = void 0;
|
|
47985
|
+
exports2.watchManifestChanges = exports2.getConnectLivereload = exports2.getLivereloadServer = void 0;
|
|
47861
47986
|
var base_1 = require_base();
|
|
47862
47987
|
Object.defineProperty(exports2, "getLivereloadServer", { enumerable: true, get: function() {
|
|
47863
47988
|
return base_1.getLivereloadServer;
|
|
@@ -47865,6 +47990,9 @@ var require_dist3 = __commonJS({
|
|
|
47865
47990
|
Object.defineProperty(exports2, "getConnectLivereload", { enumerable: true, get: function() {
|
|
47866
47991
|
return base_1.getConnectLivereload;
|
|
47867
47992
|
} });
|
|
47993
|
+
Object.defineProperty(exports2, "watchManifestChanges", { enumerable: true, get: function() {
|
|
47994
|
+
return base_1.watchManifestChanges;
|
|
47995
|
+
} });
|
|
47868
47996
|
}
|
|
47869
47997
|
});
|
|
47870
47998
|
|
|
@@ -50110,6 +50238,7 @@ module.exports = async function({
|
|
|
50110
50238
|
log3.info(i18next_default.t("INFO_LIVERELOAD_STARTED", { port: livereloadPort, watchPath }));
|
|
50111
50239
|
livereloadServer.watch(watchPath);
|
|
50112
50240
|
}
|
|
50241
|
+
(0, import_reload_middleware.watchManifestChanges)(livereloadServer);
|
|
50113
50242
|
return (0, import_reload_middleware.getConnectLivereload)({ ...connectOpts, port: livereloadPort });
|
|
50114
50243
|
};
|
|
50115
50244
|
/*! Bundled license information:
|