@wix/create-app 0.0.88 → 0.0.90
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/build/index.js +190 -141
- package/build/index.js.map +1 -1
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -1163,11 +1163,11 @@ var require_signal_exit = __commonJS({
|
|
|
1163
1163
|
"../../node_modules/signal-exit/index.js"(exports, module2) {
|
|
1164
1164
|
"use strict";
|
|
1165
1165
|
init_esm_shims();
|
|
1166
|
-
var
|
|
1167
|
-
var processOk2 = function(
|
|
1168
|
-
return
|
|
1166
|
+
var process30 = global.process;
|
|
1167
|
+
var processOk2 = function(process31) {
|
|
1168
|
+
return process31 && typeof process31 === "object" && typeof process31.removeListener === "function" && typeof process31.emit === "function" && typeof process31.reallyExit === "function" && typeof process31.listeners === "function" && typeof process31.kill === "function" && typeof process31.pid === "number" && typeof process31.on === "function";
|
|
1169
1169
|
};
|
|
1170
|
-
if (!processOk2(
|
|
1170
|
+
if (!processOk2(process30)) {
|
|
1171
1171
|
module2.exports = function() {
|
|
1172
1172
|
return function() {
|
|
1173
1173
|
};
|
|
@@ -1175,15 +1175,15 @@ var require_signal_exit = __commonJS({
|
|
|
1175
1175
|
} else {
|
|
1176
1176
|
assert = __require("assert");
|
|
1177
1177
|
signals2 = require_signals();
|
|
1178
|
-
isWin = /^win/i.test(
|
|
1178
|
+
isWin = /^win/i.test(process30.platform);
|
|
1179
1179
|
EE = __require("events");
|
|
1180
1180
|
if (typeof EE !== "function") {
|
|
1181
1181
|
EE = EE.EventEmitter;
|
|
1182
1182
|
}
|
|
1183
|
-
if (
|
|
1184
|
-
emitter =
|
|
1183
|
+
if (process30.__signal_exit_emitter__) {
|
|
1184
|
+
emitter = process30.__signal_exit_emitter__;
|
|
1185
1185
|
} else {
|
|
1186
|
-
emitter =
|
|
1186
|
+
emitter = process30.__signal_exit_emitter__ = new EE();
|
|
1187
1187
|
emitter.count = 0;
|
|
1188
1188
|
emitter.emitted = {};
|
|
1189
1189
|
}
|
|
@@ -1220,12 +1220,12 @@ var require_signal_exit = __commonJS({
|
|
|
1220
1220
|
loaded = false;
|
|
1221
1221
|
signals2.forEach(function(sig) {
|
|
1222
1222
|
try {
|
|
1223
|
-
|
|
1223
|
+
process30.removeListener(sig, sigListeners[sig]);
|
|
1224
1224
|
} catch (er) {
|
|
1225
1225
|
}
|
|
1226
1226
|
});
|
|
1227
|
-
|
|
1228
|
-
|
|
1227
|
+
process30.emit = originalProcessEmit;
|
|
1228
|
+
process30.reallyExit = originalProcessReallyExit;
|
|
1229
1229
|
emitter.count -= 1;
|
|
1230
1230
|
};
|
|
1231
1231
|
module2.exports.unload = unload2;
|
|
@@ -1242,7 +1242,7 @@ var require_signal_exit = __commonJS({
|
|
|
1242
1242
|
if (!processOk2(global.process)) {
|
|
1243
1243
|
return;
|
|
1244
1244
|
}
|
|
1245
|
-
var listeners =
|
|
1245
|
+
var listeners = process30.listeners(sig);
|
|
1246
1246
|
if (listeners.length === emitter.count) {
|
|
1247
1247
|
unload2();
|
|
1248
1248
|
emit("exit", null, sig);
|
|
@@ -1250,7 +1250,7 @@ var require_signal_exit = __commonJS({
|
|
|
1250
1250
|
if (isWin && sig === "SIGHUP") {
|
|
1251
1251
|
sig = "SIGINT";
|
|
1252
1252
|
}
|
|
1253
|
-
|
|
1253
|
+
process30.kill(process30.pid, sig);
|
|
1254
1254
|
}
|
|
1255
1255
|
};
|
|
1256
1256
|
});
|
|
@@ -1266,36 +1266,36 @@ var require_signal_exit = __commonJS({
|
|
|
1266
1266
|
emitter.count += 1;
|
|
1267
1267
|
signals2 = signals2.filter(function(sig) {
|
|
1268
1268
|
try {
|
|
1269
|
-
|
|
1269
|
+
process30.on(sig, sigListeners[sig]);
|
|
1270
1270
|
return true;
|
|
1271
1271
|
} catch (er) {
|
|
1272
1272
|
return false;
|
|
1273
1273
|
}
|
|
1274
1274
|
});
|
|
1275
|
-
|
|
1276
|
-
|
|
1275
|
+
process30.emit = processEmit;
|
|
1276
|
+
process30.reallyExit = processReallyExit;
|
|
1277
1277
|
};
|
|
1278
1278
|
module2.exports.load = load2;
|
|
1279
|
-
originalProcessReallyExit =
|
|
1279
|
+
originalProcessReallyExit = process30.reallyExit;
|
|
1280
1280
|
processReallyExit = function processReallyExit2(code) {
|
|
1281
1281
|
if (!processOk2(global.process)) {
|
|
1282
1282
|
return;
|
|
1283
1283
|
}
|
|
1284
|
-
|
|
1284
|
+
process30.exitCode = code || /* istanbul ignore next */
|
|
1285
1285
|
0;
|
|
1286
|
-
emit("exit",
|
|
1287
|
-
emit("afterexit",
|
|
1288
|
-
originalProcessReallyExit.call(
|
|
1286
|
+
emit("exit", process30.exitCode, null);
|
|
1287
|
+
emit("afterexit", process30.exitCode, null);
|
|
1288
|
+
originalProcessReallyExit.call(process30, process30.exitCode);
|
|
1289
1289
|
};
|
|
1290
|
-
originalProcessEmit =
|
|
1290
|
+
originalProcessEmit = process30.emit;
|
|
1291
1291
|
processEmit = function processEmit2(ev, arg) {
|
|
1292
1292
|
if (ev === "exit" && processOk2(global.process)) {
|
|
1293
1293
|
if (arg !== void 0) {
|
|
1294
|
-
|
|
1294
|
+
process30.exitCode = arg;
|
|
1295
1295
|
}
|
|
1296
1296
|
var ret = originalProcessEmit.apply(this, arguments);
|
|
1297
|
-
emit("exit",
|
|
1298
|
-
emit("afterexit",
|
|
1297
|
+
emit("exit", process30.exitCode, null);
|
|
1298
|
+
emit("afterexit", process30.exitCode, null);
|
|
1299
1299
|
return ret;
|
|
1300
1300
|
} else {
|
|
1301
1301
|
return originalProcessEmit.apply(this, arguments);
|
|
@@ -29845,7 +29845,7 @@ var require_command = __commonJS({
|
|
|
29845
29845
|
var childProcess3 = __require("node:child_process");
|
|
29846
29846
|
var path8 = __require("node:path");
|
|
29847
29847
|
var fs11 = __require("node:fs");
|
|
29848
|
-
var
|
|
29848
|
+
var process30 = __require("node:process");
|
|
29849
29849
|
var { Argument: Argument2, humanReadableArgName } = require_argument();
|
|
29850
29850
|
var { CommanderError: CommanderError2 } = require_error2();
|
|
29851
29851
|
var { Help: Help2, stripColor } = require_help();
|
|
@@ -29892,13 +29892,13 @@ var require_command = __commonJS({
|
|
|
29892
29892
|
this._showSuggestionAfterError = true;
|
|
29893
29893
|
this._savedState = null;
|
|
29894
29894
|
this._outputConfiguration = {
|
|
29895
|
-
writeOut: (str) =>
|
|
29896
|
-
writeErr: (str) =>
|
|
29895
|
+
writeOut: (str) => process30.stdout.write(str),
|
|
29896
|
+
writeErr: (str) => process30.stderr.write(str),
|
|
29897
29897
|
outputError: (str, write) => write(str),
|
|
29898
|
-
getOutHelpWidth: () =>
|
|
29899
|
-
getErrHelpWidth: () =>
|
|
29900
|
-
getOutHasColors: () => useColor() ?? (
|
|
29901
|
-
getErrHasColors: () => useColor() ?? (
|
|
29898
|
+
getOutHelpWidth: () => process30.stdout.isTTY ? process30.stdout.columns : void 0,
|
|
29899
|
+
getErrHelpWidth: () => process30.stderr.isTTY ? process30.stderr.columns : void 0,
|
|
29900
|
+
getOutHasColors: () => useColor() ?? (process30.stdout.isTTY && process30.stdout.hasColors?.()),
|
|
29901
|
+
getErrHasColors: () => useColor() ?? (process30.stderr.isTTY && process30.stderr.hasColors?.()),
|
|
29902
29902
|
stripColor: (str) => stripColor(str)
|
|
29903
29903
|
};
|
|
29904
29904
|
this._hidden = false;
|
|
@@ -30281,7 +30281,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
30281
30281
|
if (this._exitCallback) {
|
|
30282
30282
|
this._exitCallback(new CommanderError2(exitCode, code, message));
|
|
30283
30283
|
}
|
|
30284
|
-
|
|
30284
|
+
process30.exit(exitCode);
|
|
30285
30285
|
}
|
|
30286
30286
|
/**
|
|
30287
30287
|
* Register callback `fn` for the command.
|
|
@@ -30679,16 +30679,16 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
30679
30679
|
}
|
|
30680
30680
|
parseOptions = parseOptions || {};
|
|
30681
30681
|
if (argv === void 0 && parseOptions.from === void 0) {
|
|
30682
|
-
if (
|
|
30682
|
+
if (process30.versions?.electron) {
|
|
30683
30683
|
parseOptions.from = "electron";
|
|
30684
30684
|
}
|
|
30685
|
-
const execArgv =
|
|
30685
|
+
const execArgv = process30.execArgv ?? [];
|
|
30686
30686
|
if (execArgv.includes("-e") || execArgv.includes("--eval") || execArgv.includes("-p") || execArgv.includes("--print")) {
|
|
30687
30687
|
parseOptions.from = "eval";
|
|
30688
30688
|
}
|
|
30689
30689
|
}
|
|
30690
30690
|
if (argv === void 0) {
|
|
30691
|
-
argv =
|
|
30691
|
+
argv = process30.argv;
|
|
30692
30692
|
}
|
|
30693
30693
|
this.rawArgs = argv.slice();
|
|
30694
30694
|
let userArgs;
|
|
@@ -30699,7 +30699,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
30699
30699
|
userArgs = argv.slice(2);
|
|
30700
30700
|
break;
|
|
30701
30701
|
case "electron":
|
|
30702
|
-
if (
|
|
30702
|
+
if (process30.defaultApp) {
|
|
30703
30703
|
this._scriptPath = argv[1];
|
|
30704
30704
|
userArgs = argv.slice(2);
|
|
30705
30705
|
} else {
|
|
@@ -30886,11 +30886,11 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
30886
30886
|
}
|
|
30887
30887
|
launchWithNode = sourceExt.includes(path8.extname(executableFile));
|
|
30888
30888
|
let proc;
|
|
30889
|
-
if (
|
|
30889
|
+
if (process30.platform !== "win32") {
|
|
30890
30890
|
if (launchWithNode) {
|
|
30891
30891
|
args.unshift(executableFile);
|
|
30892
|
-
args = incrementNodeInspectorPort(
|
|
30893
|
-
proc = childProcess3.spawn(
|
|
30892
|
+
args = incrementNodeInspectorPort(process30.execArgv).concat(args);
|
|
30893
|
+
proc = childProcess3.spawn(process30.argv[0], args, { stdio: "inherit" });
|
|
30894
30894
|
} else {
|
|
30895
30895
|
proc = childProcess3.spawn(executableFile, args, { stdio: "inherit" });
|
|
30896
30896
|
}
|
|
@@ -30901,13 +30901,13 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
30901
30901
|
subcommand._name
|
|
30902
30902
|
);
|
|
30903
30903
|
args.unshift(executableFile);
|
|
30904
|
-
args = incrementNodeInspectorPort(
|
|
30905
|
-
proc = childProcess3.spawn(
|
|
30904
|
+
args = incrementNodeInspectorPort(process30.execArgv).concat(args);
|
|
30905
|
+
proc = childProcess3.spawn(process30.execPath, args, { stdio: "inherit" });
|
|
30906
30906
|
}
|
|
30907
30907
|
if (!proc.killed) {
|
|
30908
30908
|
const signals2 = ["SIGUSR1", "SIGUSR2", "SIGTERM", "SIGINT", "SIGHUP"];
|
|
30909
30909
|
signals2.forEach((signal) => {
|
|
30910
|
-
|
|
30910
|
+
process30.on(signal, () => {
|
|
30911
30911
|
if (proc.killed === false && proc.exitCode === null) {
|
|
30912
30912
|
proc.kill(signal);
|
|
30913
30913
|
}
|
|
@@ -30918,7 +30918,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
30918
30918
|
proc.on("close", (code) => {
|
|
30919
30919
|
code = code ?? 1;
|
|
30920
30920
|
if (!exitCallback) {
|
|
30921
|
-
|
|
30921
|
+
process30.exit(code);
|
|
30922
30922
|
} else {
|
|
30923
30923
|
exitCallback(
|
|
30924
30924
|
new CommanderError2(
|
|
@@ -30940,7 +30940,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
30940
30940
|
throw new Error(`'${executableFile}' not executable`);
|
|
30941
30941
|
}
|
|
30942
30942
|
if (!exitCallback) {
|
|
30943
|
-
|
|
30943
|
+
process30.exit(1);
|
|
30944
30944
|
} else {
|
|
30945
30945
|
const wrappedError = new CommanderError2(
|
|
30946
30946
|
1,
|
|
@@ -31435,13 +31435,13 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
31435
31435
|
*/
|
|
31436
31436
|
_parseOptionsEnv() {
|
|
31437
31437
|
this.options.forEach((option) => {
|
|
31438
|
-
if (option.envVar && option.envVar in
|
|
31438
|
+
if (option.envVar && option.envVar in process30.env) {
|
|
31439
31439
|
const optionKey = option.attributeName();
|
|
31440
31440
|
if (this.getOptionValue(optionKey) === void 0 || ["default", "config", "env"].includes(
|
|
31441
31441
|
this.getOptionValueSource(optionKey)
|
|
31442
31442
|
)) {
|
|
31443
31443
|
if (option.required || option.optional) {
|
|
31444
|
-
this.emit(`optionEnv:${option.name()}`,
|
|
31444
|
+
this.emit(`optionEnv:${option.name()}`, process30.env[option.envVar]);
|
|
31445
31445
|
} else {
|
|
31446
31446
|
this.emit(`optionEnv:${option.name()}`);
|
|
31447
31447
|
}
|
|
@@ -31896,7 +31896,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
31896
31896
|
*/
|
|
31897
31897
|
help(contextOptions) {
|
|
31898
31898
|
this.outputHelp(contextOptions);
|
|
31899
|
-
let exitCode = Number(
|
|
31899
|
+
let exitCode = Number(process30.exitCode ?? 0);
|
|
31900
31900
|
if (exitCode === 0 && contextOptions && typeof contextOptions !== "function" && contextOptions.error) {
|
|
31901
31901
|
exitCode = 1;
|
|
31902
31902
|
}
|
|
@@ -31986,9 +31986,9 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
31986
31986
|
});
|
|
31987
31987
|
}
|
|
31988
31988
|
function useColor() {
|
|
31989
|
-
if (
|
|
31989
|
+
if (process30.env.NO_COLOR || process30.env.FORCE_COLOR === "0" || process30.env.FORCE_COLOR === "false")
|
|
31990
31990
|
return false;
|
|
31991
|
-
if (
|
|
31991
|
+
if (process30.env.FORCE_COLOR || process30.env.CLICOLOR_FORCE !== void 0)
|
|
31992
31992
|
return true;
|
|
31993
31993
|
return void 0;
|
|
31994
31994
|
}
|
|
@@ -51333,10 +51333,12 @@ init_esm_shims();
|
|
|
51333
51333
|
init_esm_shims();
|
|
51334
51334
|
import process13 from "node:process";
|
|
51335
51335
|
function isUnicodeSupported() {
|
|
51336
|
+
const { env: env3 } = process13;
|
|
51337
|
+
const { TERM, TERM_PROGRAM } = env3;
|
|
51336
51338
|
if (process13.platform !== "win32") {
|
|
51337
|
-
return
|
|
51339
|
+
return TERM !== "linux";
|
|
51338
51340
|
}
|
|
51339
|
-
return Boolean(
|
|
51341
|
+
return Boolean(env3.WT_SESSION) || Boolean(env3.TERMINUS_SUBLIME) || env3.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env3.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
51340
51342
|
}
|
|
51341
51343
|
|
|
51342
51344
|
// ../cli-ui-kit/src/components/UnorderedList/DefaultMarker.ts
|
|
@@ -51688,13 +51690,23 @@ var import_react41 = __toESM(require_react(), 1);
|
|
|
51688
51690
|
|
|
51689
51691
|
// ../../node_modules/figures/index.js
|
|
51690
51692
|
init_esm_shims();
|
|
51691
|
-
import
|
|
51693
|
+
import process15 from "node:process";
|
|
51692
51694
|
|
|
51693
51695
|
// ../../node_modules/figures/node_modules/escape-string-regexp/index.js
|
|
51694
51696
|
init_esm_shims();
|
|
51695
51697
|
|
|
51698
|
+
// ../../node_modules/figures/node_modules/is-unicode-supported/index.js
|
|
51699
|
+
init_esm_shims();
|
|
51700
|
+
import process14 from "node:process";
|
|
51701
|
+
function isUnicodeSupported2() {
|
|
51702
|
+
if (process14.platform !== "win32") {
|
|
51703
|
+
return process14.env.TERM !== "linux";
|
|
51704
|
+
}
|
|
51705
|
+
return Boolean(process14.env.CI) || Boolean(process14.env.WT_SESSION) || Boolean(process14.env.TERMINUS_SUBLIME) || process14.env.ConEmuTask === "{cmd::Cmder}" || process14.env.TERM_PROGRAM === "Terminus-Sublime" || process14.env.TERM_PROGRAM === "vscode" || process14.env.TERM === "xterm-256color" || process14.env.TERM === "alacritty" || process14.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
51706
|
+
}
|
|
51707
|
+
|
|
51696
51708
|
// ../../node_modules/figures/index.js
|
|
51697
|
-
var { platform } =
|
|
51709
|
+
var { platform } = process15;
|
|
51698
51710
|
var common = {
|
|
51699
51711
|
square: "\u2588",
|
|
51700
51712
|
squareDarkShade: "\u2593",
|
|
@@ -51973,7 +51985,7 @@ var fallbackSymbols = {
|
|
|
51973
51985
|
oneNinth: "1/9",
|
|
51974
51986
|
oneTenth: "1/10"
|
|
51975
51987
|
};
|
|
51976
|
-
var shouldUseMain =
|
|
51988
|
+
var shouldUseMain = isUnicodeSupported2();
|
|
51977
51989
|
var figures = shouldUseMain ? mainSymbols : fallbackSymbols;
|
|
51978
51990
|
var figures_default = figures;
|
|
51979
51991
|
|
|
@@ -52103,7 +52115,7 @@ function Item2({
|
|
|
52103
52115
|
},
|
|
52104
52116
|
label
|
|
52105
52117
|
), isSelected && (0, import_variant5.match)(availability, {
|
|
52106
|
-
Disabled: ({ reason }) => /* @__PURE__ */ import_react45.default.createElement(Box_default, { marginLeft: 1 }, /* @__PURE__ */ import_react45.default.createElement(Text2, { skin: "warning" }, "- disabled", reason
|
|
52118
|
+
Disabled: ({ reason }) => /* @__PURE__ */ import_react45.default.createElement(Box_default, { marginLeft: 1 }, reason ? /* @__PURE__ */ import_react45.default.createElement(Text2, { skin: "warning" }, "- disabled (", reason, ")") : /* @__PURE__ */ import_react45.default.createElement(Text2, { skin: "warning" }, "- disabled")),
|
|
52107
52119
|
Enabled: () => description && /* @__PURE__ */ import_react45.default.createElement(Box_default, { marginLeft: 1 }, /* @__PURE__ */ import_react45.default.createElement(Text2, { skin: "secondary" }, "- ", description))
|
|
52108
52120
|
}));
|
|
52109
52121
|
}
|
|
@@ -52843,7 +52855,7 @@ var import_react61 = __toESM(require_react(), 1);
|
|
|
52843
52855
|
|
|
52844
52856
|
// ../cli-test-overrides/src/index.ts
|
|
52845
52857
|
init_esm_shims();
|
|
52846
|
-
import
|
|
52858
|
+
import process16 from "node:process";
|
|
52847
52859
|
|
|
52848
52860
|
// ../../node_modules/zod/lib/index.mjs
|
|
52849
52861
|
init_esm_shims();
|
|
@@ -56914,21 +56926,21 @@ var testOverridesSchema = z.object({
|
|
|
56914
56926
|
});
|
|
56915
56927
|
var TEST_OVERRIDES_ENV_VAR = "WIX_CLI_TEST_OVERRIDES";
|
|
56916
56928
|
function getTestOverrides() {
|
|
56917
|
-
const rawOverrides =
|
|
56929
|
+
const rawOverrides = process16.env[TEST_OVERRIDES_ENV_VAR];
|
|
56918
56930
|
if (!rawOverrides) {
|
|
56919
56931
|
return {};
|
|
56920
56932
|
}
|
|
56921
56933
|
return testOverridesSchema.parse(JSON.parse(rawOverrides));
|
|
56922
56934
|
}
|
|
56923
56935
|
function isTestEnv() {
|
|
56924
|
-
return !!
|
|
56936
|
+
return !!process16.env[TEST_OVERRIDES_ENV_VAR];
|
|
56925
56937
|
}
|
|
56926
56938
|
function setupTestEnv() {
|
|
56927
56939
|
if (isTestEnv()) {
|
|
56928
|
-
|
|
56929
|
-
|
|
56930
|
-
|
|
56931
|
-
|
|
56940
|
+
process16.stdout.columns = 300;
|
|
56941
|
+
process16.stderr.columns = 300;
|
|
56942
|
+
process16.stdin.isTTY = !getTestOverrides().disableTTY;
|
|
56943
|
+
process16.stdin.setRawMode = () => process16.stdin;
|
|
56932
56944
|
}
|
|
56933
56945
|
}
|
|
56934
56946
|
|
|
@@ -57060,7 +57072,9 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
|
|
|
57060
57072
|
FailedToReleaseDraftVersion: {},
|
|
57061
57073
|
FailedToDeployDocument: {},
|
|
57062
57074
|
WaitForEditorInstallationStateFailure: {},
|
|
57063
|
-
EditorPendingInstallationCheckTimedout: {}
|
|
57075
|
+
EditorPendingInstallationCheckTimedout: {},
|
|
57076
|
+
FailedToParseLatestVersion: (0, import_variant11.fields)(),
|
|
57077
|
+
FailedToGetMonitoringLoaderScript: (0, import_variant11.fields)()
|
|
57064
57078
|
});
|
|
57065
57079
|
var CliUserErrorCode = (0, import_variant11.variant)({
|
|
57066
57080
|
LatestVersionOfCreateAppRequired: (0, import_variant11.fields)(),
|
|
@@ -65571,7 +65585,7 @@ init_esm_shims();
|
|
|
65571
65585
|
|
|
65572
65586
|
// ../../node_modules/open/index.js
|
|
65573
65587
|
init_esm_shims();
|
|
65574
|
-
import
|
|
65588
|
+
import process21 from "node:process";
|
|
65575
65589
|
import { Buffer as Buffer3 } from "node:buffer";
|
|
65576
65590
|
import path from "node:path";
|
|
65577
65591
|
import { fileURLToPath } from "node:url";
|
|
@@ -65580,7 +65594,7 @@ import fs5, { constants as fsConstants } from "node:fs/promises";
|
|
|
65580
65594
|
|
|
65581
65595
|
// ../../node_modules/is-wsl/index.js
|
|
65582
65596
|
init_esm_shims();
|
|
65583
|
-
import
|
|
65597
|
+
import process17 from "node:process";
|
|
65584
65598
|
import os2 from "node:os";
|
|
65585
65599
|
import fs4 from "node:fs";
|
|
65586
65600
|
|
|
@@ -65633,7 +65647,7 @@ function isInsideContainer() {
|
|
|
65633
65647
|
|
|
65634
65648
|
// ../../node_modules/is-wsl/index.js
|
|
65635
65649
|
var isWsl = () => {
|
|
65636
|
-
if (
|
|
65650
|
+
if (process17.platform !== "linux") {
|
|
65637
65651
|
return false;
|
|
65638
65652
|
}
|
|
65639
65653
|
if (os2.release().toLowerCase().includes("microsoft")) {
|
|
@@ -65648,7 +65662,7 @@ var isWsl = () => {
|
|
|
65648
65662
|
return false;
|
|
65649
65663
|
}
|
|
65650
65664
|
};
|
|
65651
|
-
var is_wsl_default =
|
|
65665
|
+
var is_wsl_default = process17.env.__IS_WSL_TEST__ ? isWsl : isWsl();
|
|
65652
65666
|
|
|
65653
65667
|
// ../../node_modules/define-lazy-prop/index.js
|
|
65654
65668
|
init_esm_shims();
|
|
@@ -65672,17 +65686,17 @@ function defineLazyProperty(object, propertyName, valueGetter) {
|
|
|
65672
65686
|
// ../../node_modules/default-browser/index.js
|
|
65673
65687
|
init_esm_shims();
|
|
65674
65688
|
import { promisify as promisify4 } from "node:util";
|
|
65675
|
-
import
|
|
65689
|
+
import process20 from "node:process";
|
|
65676
65690
|
import { execFile as execFile4 } from "node:child_process";
|
|
65677
65691
|
|
|
65678
65692
|
// ../../node_modules/default-browser-id/index.js
|
|
65679
65693
|
init_esm_shims();
|
|
65680
65694
|
import { promisify } from "node:util";
|
|
65681
|
-
import
|
|
65695
|
+
import process18 from "node:process";
|
|
65682
65696
|
import { execFile } from "node:child_process";
|
|
65683
65697
|
var execFileAsync = promisify(execFile);
|
|
65684
65698
|
async function defaultBrowserId() {
|
|
65685
|
-
if (
|
|
65699
|
+
if (process18.platform !== "darwin") {
|
|
65686
65700
|
throw new Error("macOS only");
|
|
65687
65701
|
}
|
|
65688
65702
|
const { stdout } = await execFileAsync("defaults", ["read", "com.apple.LaunchServices/com.apple.launchservices.secure", "LSHandlers"]);
|
|
@@ -65695,12 +65709,12 @@ init_esm_shims();
|
|
|
65695
65709
|
|
|
65696
65710
|
// ../../node_modules/run-applescript/index.js
|
|
65697
65711
|
init_esm_shims();
|
|
65698
|
-
import
|
|
65712
|
+
import process19 from "node:process";
|
|
65699
65713
|
import { promisify as promisify2 } from "node:util";
|
|
65700
65714
|
import { execFile as execFile2, execFileSync } from "node:child_process";
|
|
65701
65715
|
var execFileAsync2 = promisify2(execFile2);
|
|
65702
65716
|
async function runAppleScript(script, { humanReadableOutput = true } = {}) {
|
|
65703
|
-
if (
|
|
65717
|
+
if (process19.platform !== "darwin") {
|
|
65704
65718
|
throw new Error("macOS only");
|
|
65705
65719
|
}
|
|
65706
65720
|
const outputArguments = humanReadableOutput ? [] : ["-ss"];
|
|
@@ -65757,18 +65771,18 @@ async function defaultBrowser(_execFileAsync = execFileAsync3) {
|
|
|
65757
65771
|
var execFileAsync4 = promisify4(execFile4);
|
|
65758
65772
|
var titleize = (string) => string.toLowerCase().replaceAll(/(?:^|\s|-)\S/g, (x) => x.toUpperCase());
|
|
65759
65773
|
async function defaultBrowser2() {
|
|
65760
|
-
if (
|
|
65774
|
+
if (process20.platform === "darwin") {
|
|
65761
65775
|
const id = await defaultBrowserId();
|
|
65762
65776
|
const name = await bundleName(id);
|
|
65763
65777
|
return { name, id };
|
|
65764
65778
|
}
|
|
65765
|
-
if (
|
|
65779
|
+
if (process20.platform === "linux") {
|
|
65766
65780
|
const { stdout } = await execFileAsync4("xdg-mime", ["query", "default", "x-scheme-handler/http"]);
|
|
65767
65781
|
const id = stdout.trim();
|
|
65768
65782
|
const name = titleize(id.replace(/.desktop$/, "").replace("-", " "));
|
|
65769
65783
|
return { name, id };
|
|
65770
65784
|
}
|
|
65771
|
-
if (
|
|
65785
|
+
if (process20.platform === "win32") {
|
|
65772
65786
|
return defaultBrowser();
|
|
65773
65787
|
}
|
|
65774
65788
|
throw new Error("Only macOS, Linux, and Windows are supported");
|
|
@@ -65777,7 +65791,7 @@ async function defaultBrowser2() {
|
|
|
65777
65791
|
// ../../node_modules/open/index.js
|
|
65778
65792
|
var __dirname2 = path.dirname(fileURLToPath(import.meta.url));
|
|
65779
65793
|
var localXdgOpenPath = path.join(__dirname2, "xdg-open");
|
|
65780
|
-
var { platform: platform2, arch } =
|
|
65794
|
+
var { platform: platform2, arch } = process21;
|
|
65781
65795
|
var getWslDrivesMountPoint = /* @__PURE__ */ (() => {
|
|
65782
65796
|
const defaultMountPoint = "/mnt/";
|
|
65783
65797
|
let mountPoint;
|
|
@@ -65891,7 +65905,7 @@ var baseOpen = async (options) => {
|
|
|
65891
65905
|
}
|
|
65892
65906
|
} else if (platform2 === "win32" || is_wsl_default && !isInsideContainer() && !app) {
|
|
65893
65907
|
const mountPoint = await getWslDrivesMountPoint();
|
|
65894
|
-
command = is_wsl_default ? `${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe` : `${
|
|
65908
|
+
command = is_wsl_default ? `${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe` : `${process21.env.SYSTEMROOT || process21.env.windir || "C:\\Windows"}\\System32\\WindowsPowerShell\\v1.0\\powershell`;
|
|
65895
65909
|
cliArguments.push(
|
|
65896
65910
|
"-NoProfile",
|
|
65897
65911
|
"-NonInteractive",
|
|
@@ -65930,7 +65944,7 @@ var baseOpen = async (options) => {
|
|
|
65930
65944
|
exeLocalXdgOpen = true;
|
|
65931
65945
|
} catch {
|
|
65932
65946
|
}
|
|
65933
|
-
const useSystemXdgOpen =
|
|
65947
|
+
const useSystemXdgOpen = process21.versions.electron ?? (platform2 === "android" || isBundled || !exeLocalXdgOpen);
|
|
65934
65948
|
command = useSystemXdgOpen ? "xdg-open" : localXdgOpenPath;
|
|
65935
65949
|
}
|
|
65936
65950
|
if (appArguments.length > 0) {
|
|
@@ -66062,7 +66076,7 @@ init_esm_shims();
|
|
|
66062
66076
|
// ../cli-error-reporting/src/create-error-handler.tsx
|
|
66063
66077
|
init_esm_shims();
|
|
66064
66078
|
var import_react82 = __toESM(require_react(), 1);
|
|
66065
|
-
import
|
|
66079
|
+
import process22 from "node:process";
|
|
66066
66080
|
|
|
66067
66081
|
// ../cli-debug-log/src/index.tsx
|
|
66068
66082
|
init_esm_shims();
|
|
@@ -67357,12 +67371,12 @@ function getErrorComponent(code, cause) {
|
|
|
67357
67371
|
}
|
|
67358
67372
|
);
|
|
67359
67373
|
},
|
|
67360
|
-
CannotFindConfigReferencedAsset: ({ asset,
|
|
67374
|
+
CannotFindConfigReferencedAsset: ({ asset, configPath, field }) => {
|
|
67361
67375
|
return () => /* @__PURE__ */ import_react76.default.createElement(
|
|
67362
67376
|
ErrorMessage,
|
|
67363
67377
|
{
|
|
67364
67378
|
message: `Failed to load asset ${asset}`,
|
|
67365
|
-
hint: `Make sure the asset is correctly configured in
|
|
67379
|
+
hint: `Make sure the asset is correctly configured in \`${configPath}\` under the field \`${field}\``
|
|
67366
67380
|
}
|
|
67367
67381
|
);
|
|
67368
67382
|
},
|
|
@@ -67439,6 +67453,14 @@ ${errorMessage}`
|
|
|
67439
67453
|
}
|
|
67440
67454
|
);
|
|
67441
67455
|
},
|
|
67456
|
+
FailedToGetMonitoringLoaderScript: ({ dsn }) => {
|
|
67457
|
+
return () => /* @__PURE__ */ import_react76.default.createElement(
|
|
67458
|
+
SystemErrorMessage,
|
|
67459
|
+
{
|
|
67460
|
+
message: `Failed to get a monitoring loader script for DSN "${dsn}".`
|
|
67461
|
+
}
|
|
67462
|
+
);
|
|
67463
|
+
},
|
|
67442
67464
|
DeploymentPipelineFailed: ({ tasksDescriptions }) => {
|
|
67443
67465
|
return () => /* @__PURE__ */ import_react76.default.createElement(import_react76.default.Fragment, null, /* @__PURE__ */ import_react76.default.createElement(
|
|
67444
67466
|
ErrorMessage,
|
|
@@ -67456,6 +67478,14 @@ ${errorMessage}`
|
|
|
67456
67478
|
/* @__PURE__ */ import_react76.default.createElement(Text2, { bold: true }, path8),
|
|
67457
67479
|
/* @__PURE__ */ import_react76.default.createElement(Text2, null, content.trim())
|
|
67458
67480
|
))))));
|
|
67481
|
+
},
|
|
67482
|
+
FailedToParseLatestVersion: ({ version: version2 }) => {
|
|
67483
|
+
return () => /* @__PURE__ */ import_react76.default.createElement(
|
|
67484
|
+
SystemErrorMessage,
|
|
67485
|
+
{
|
|
67486
|
+
message: `The version "${version2}" produced by the system does not conform to the expected semantic versioning format and could not be parsed.`
|
|
67487
|
+
}
|
|
67488
|
+
);
|
|
67459
67489
|
}
|
|
67460
67490
|
});
|
|
67461
67491
|
}
|
|
@@ -70379,7 +70409,7 @@ function createErrorHandler({
|
|
|
70379
70409
|
const reportResult = errorReporter2.reportError(error, { data });
|
|
70380
70410
|
renderErrorSync(/* @__PURE__ */ import_react82.default.createElement(ErrorViewer, { error }));
|
|
70381
70411
|
writeCrashReport(debugOutputPath, error);
|
|
70382
|
-
|
|
70412
|
+
process22.exitCode = 1;
|
|
70383
70413
|
collectUserFeedback({
|
|
70384
70414
|
reportResult,
|
|
70385
70415
|
errorReporter: errorReporter2,
|
|
@@ -70389,13 +70419,13 @@ function createErrorHandler({
|
|
|
70389
70419
|
});
|
|
70390
70420
|
};
|
|
70391
70421
|
const registerToProcessErrors2 = function() {
|
|
70392
|
-
|
|
70422
|
+
process22.on("uncaughtException", (error) => {
|
|
70393
70423
|
handler({
|
|
70394
70424
|
error,
|
|
70395
70425
|
data: { mechanism: { handled: false, type: "uncaughtException" } }
|
|
70396
70426
|
});
|
|
70397
70427
|
});
|
|
70398
|
-
|
|
70428
|
+
process22.on("unhandledRejection", (error) => {
|
|
70399
70429
|
if (error instanceof Error && error.message.startsWith("Build failed with") && error.stack?.includes("esbuild")) {
|
|
70400
70430
|
return;
|
|
70401
70431
|
}
|
|
@@ -70946,7 +70976,7 @@ function reportCommandStartEvent({
|
|
|
70946
70976
|
}
|
|
70947
70977
|
|
|
70948
70978
|
// package.json
|
|
70949
|
-
var version = "0.0.
|
|
70979
|
+
var version = "0.0.90";
|
|
70950
70980
|
var package_default = {
|
|
70951
70981
|
name: "@wix/create-app",
|
|
70952
70982
|
description: "Create Wix apps",
|
|
@@ -70960,7 +70990,7 @@ var package_default = {
|
|
|
70960
70990
|
"@types/react": "^18.3.3",
|
|
70961
70991
|
"@types/semver": "^7.5.8",
|
|
70962
70992
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
70963
|
-
"@wix/bi-logger-dev-tools-data": "^1.
|
|
70993
|
+
"@wix/bi-logger-dev-tools-data": "^1.94.0",
|
|
70964
70994
|
"@wix/cli-auth": "workspace:*",
|
|
70965
70995
|
"@wix/cli-error": "workspace:*",
|
|
70966
70996
|
"@wix/cli-error-reporting": "workspace:*",
|
|
@@ -71107,7 +71137,7 @@ var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
|
71107
71137
|
import { Buffer as Buffer5 } from "node:buffer";
|
|
71108
71138
|
import path5 from "node:path";
|
|
71109
71139
|
import childProcess2 from "node:child_process";
|
|
71110
|
-
import
|
|
71140
|
+
import process27 from "node:process";
|
|
71111
71141
|
|
|
71112
71142
|
// ../../node_modules/strip-final-newline/index.js
|
|
71113
71143
|
init_esm_shims();
|
|
@@ -71125,7 +71155,7 @@ function stripFinalNewline(input) {
|
|
|
71125
71155
|
|
|
71126
71156
|
// ../../node_modules/npm-run-path/index.js
|
|
71127
71157
|
init_esm_shims();
|
|
71128
|
-
import
|
|
71158
|
+
import process23 from "node:process";
|
|
71129
71159
|
import path4 from "node:path";
|
|
71130
71160
|
import url from "node:url";
|
|
71131
71161
|
|
|
@@ -71145,9 +71175,9 @@ function pathKey(options = {}) {
|
|
|
71145
71175
|
// ../../node_modules/npm-run-path/index.js
|
|
71146
71176
|
function npmRunPath(options = {}) {
|
|
71147
71177
|
const {
|
|
71148
|
-
cwd: cwd3 =
|
|
71149
|
-
path: path_ =
|
|
71150
|
-
execPath =
|
|
71178
|
+
cwd: cwd3 = process23.cwd(),
|
|
71179
|
+
path: path_ = process23.env[pathKey()],
|
|
71180
|
+
execPath = process23.execPath
|
|
71151
71181
|
} = options;
|
|
71152
71182
|
let previous;
|
|
71153
71183
|
const cwdString = cwd3 instanceof URL ? url.fileURLToPath(cwd3) : cwd3;
|
|
@@ -71161,7 +71191,7 @@ function npmRunPath(options = {}) {
|
|
|
71161
71191
|
result.push(path4.resolve(cwdString, execPath, ".."));
|
|
71162
71192
|
return [...result, path_].join(path4.delimiter);
|
|
71163
71193
|
}
|
|
71164
|
-
function npmRunPathEnv({ env: env3 =
|
|
71194
|
+
function npmRunPathEnv({ env: env3 = process23.env, ...options } = {}) {
|
|
71165
71195
|
env3 = { ...env3 };
|
|
71166
71196
|
const path8 = pathKey({ env: env3 });
|
|
71167
71197
|
options.path = env3[path8];
|
|
@@ -71251,7 +71281,7 @@ var onetime_default = onetime2;
|
|
|
71251
71281
|
|
|
71252
71282
|
// ../../node_modules/execa/lib/error.js
|
|
71253
71283
|
init_esm_shims();
|
|
71254
|
-
import
|
|
71284
|
+
import process24 from "node:process";
|
|
71255
71285
|
|
|
71256
71286
|
// ../../node_modules/human-signals/build/src/main.js
|
|
71257
71287
|
init_esm_shims();
|
|
@@ -71655,7 +71685,7 @@ var makeError = ({
|
|
|
71655
71685
|
timedOut,
|
|
71656
71686
|
isCanceled,
|
|
71657
71687
|
killed,
|
|
71658
|
-
parsed: { options: { timeout: timeout2, cwd: cwd3 =
|
|
71688
|
+
parsed: { options: { timeout: timeout2, cwd: cwd3 = process24.cwd() } }
|
|
71659
71689
|
}) => {
|
|
71660
71690
|
exitCode = exitCode === null ? void 0 : exitCode;
|
|
71661
71691
|
signal = signal === null ? void 0 : signal;
|
|
@@ -71753,7 +71783,7 @@ if (process.platform === "linux") {
|
|
|
71753
71783
|
}
|
|
71754
71784
|
|
|
71755
71785
|
// ../../node_modules/execa/node_modules/signal-exit/dist/mjs/index.js
|
|
71756
|
-
var processOk = (
|
|
71786
|
+
var processOk = (process30) => !!process30 && typeof process30 === "object" && typeof process30.removeListener === "function" && typeof process30.emit === "function" && typeof process30.reallyExit === "function" && typeof process30.listeners === "function" && typeof process30.kill === "function" && typeof process30.pid === "number" && typeof process30.on === "function";
|
|
71757
71787
|
var kExitEmitter = Symbol.for("signal-exit emitter");
|
|
71758
71788
|
var global2 = globalThis;
|
|
71759
71789
|
var ObjectDefineProperty = Object.defineProperty.bind(Object);
|
|
@@ -71838,7 +71868,7 @@ var SignalExit = class extends SignalExitBase {
|
|
|
71838
71868
|
// "SIGHUP" throws an `ENOSYS` error on Windows,
|
|
71839
71869
|
// so use a supported signal instead
|
|
71840
71870
|
/* c8 ignore start */
|
|
71841
|
-
#hupSig =
|
|
71871
|
+
#hupSig = process25.platform === "win32" ? "SIGINT" : "SIGHUP";
|
|
71842
71872
|
/* c8 ignore stop */
|
|
71843
71873
|
#emitter = new Emitter();
|
|
71844
71874
|
#process;
|
|
@@ -71846,15 +71876,15 @@ var SignalExit = class extends SignalExitBase {
|
|
|
71846
71876
|
#originalProcessReallyExit;
|
|
71847
71877
|
#sigListeners = {};
|
|
71848
71878
|
#loaded = false;
|
|
71849
|
-
constructor(
|
|
71879
|
+
constructor(process30) {
|
|
71850
71880
|
super();
|
|
71851
|
-
this.#process =
|
|
71881
|
+
this.#process = process30;
|
|
71852
71882
|
this.#sigListeners = {};
|
|
71853
71883
|
for (const sig of signals) {
|
|
71854
71884
|
this.#sigListeners[sig] = () => {
|
|
71855
71885
|
const listeners = this.#process.listeners(sig);
|
|
71856
71886
|
let { count } = this.#emitter;
|
|
71857
|
-
const p =
|
|
71887
|
+
const p = process30;
|
|
71858
71888
|
if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") {
|
|
71859
71889
|
count += p.__signal_exit_emitter__.count;
|
|
71860
71890
|
}
|
|
@@ -71863,12 +71893,12 @@ var SignalExit = class extends SignalExitBase {
|
|
|
71863
71893
|
const ret = this.#emitter.emit("exit", null, sig);
|
|
71864
71894
|
const s2 = sig === "SIGHUP" ? this.#hupSig : sig;
|
|
71865
71895
|
if (!ret)
|
|
71866
|
-
|
|
71896
|
+
process30.kill(process30.pid, s2);
|
|
71867
71897
|
}
|
|
71868
71898
|
};
|
|
71869
71899
|
}
|
|
71870
|
-
this.#originalProcessReallyExit =
|
|
71871
|
-
this.#originalProcessEmit =
|
|
71900
|
+
this.#originalProcessReallyExit = process30.reallyExit;
|
|
71901
|
+
this.#originalProcessEmit = process30.emit;
|
|
71872
71902
|
}
|
|
71873
71903
|
onExit(cb, opts) {
|
|
71874
71904
|
if (!processOk(this.#process)) {
|
|
@@ -71949,7 +71979,7 @@ var SignalExit = class extends SignalExitBase {
|
|
|
71949
71979
|
}
|
|
71950
71980
|
}
|
|
71951
71981
|
};
|
|
71952
|
-
var
|
|
71982
|
+
var process25 = globalThis.process;
|
|
71953
71983
|
var {
|
|
71954
71984
|
/**
|
|
71955
71985
|
* Called when the process is exiting, whether via signal, explicit
|
|
@@ -71977,7 +72007,7 @@ var {
|
|
|
71977
72007
|
* @internal
|
|
71978
72008
|
*/
|
|
71979
72009
|
unload
|
|
71980
|
-
} = signalExitWrap(processOk(
|
|
72010
|
+
} = signalExitWrap(processOk(process25) ? new SignalExit(process25) : new SignalExitFallback());
|
|
71981
72011
|
|
|
71982
72012
|
// ../../node_modules/execa/lib/kill.js
|
|
71983
72013
|
var DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5;
|
|
@@ -72506,7 +72536,7 @@ var parseTemplates = (templates, expressions) => {
|
|
|
72506
72536
|
// ../../node_modules/execa/lib/verbose.js
|
|
72507
72537
|
init_esm_shims();
|
|
72508
72538
|
import { debuglog } from "node:util";
|
|
72509
|
-
import
|
|
72539
|
+
import process26 from "node:process";
|
|
72510
72540
|
var verboseDefault = debuglog("execa").enabled;
|
|
72511
72541
|
var padField = (field, padding) => String(field).padStart(padding, "0");
|
|
72512
72542
|
var getTimestamp = () => {
|
|
@@ -72517,14 +72547,14 @@ var logCommand = (escapedCommand, { verbose }) => {
|
|
|
72517
72547
|
if (!verbose) {
|
|
72518
72548
|
return;
|
|
72519
72549
|
}
|
|
72520
|
-
|
|
72550
|
+
process26.stderr.write(`[${getTimestamp()}] ${escapedCommand}
|
|
72521
72551
|
`);
|
|
72522
72552
|
};
|
|
72523
72553
|
|
|
72524
72554
|
// ../../node_modules/execa/index.js
|
|
72525
72555
|
var DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100;
|
|
72526
72556
|
var getEnv2 = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
|
|
72527
|
-
const env3 = extendEnv ? { ...
|
|
72557
|
+
const env3 = extendEnv ? { ...process27.env, ...envOption } : envOption;
|
|
72528
72558
|
if (preferLocal) {
|
|
72529
72559
|
return npmRunPathEnv({ env: env3, cwd: localDir, execPath });
|
|
72530
72560
|
}
|
|
@@ -72541,8 +72571,8 @@ var handleArguments = (file, args, options = {}) => {
|
|
|
72541
72571
|
stripFinalNewline: true,
|
|
72542
72572
|
extendEnv: true,
|
|
72543
72573
|
preferLocal: false,
|
|
72544
|
-
localDir: options.cwd ||
|
|
72545
|
-
execPath:
|
|
72574
|
+
localDir: options.cwd || process27.cwd(),
|
|
72575
|
+
execPath: process27.execPath,
|
|
72546
72576
|
encoding: "utf8",
|
|
72547
72577
|
reject: true,
|
|
72548
72578
|
cleanup: true,
|
|
@@ -72553,7 +72583,7 @@ var handleArguments = (file, args, options = {}) => {
|
|
|
72553
72583
|
};
|
|
72554
72584
|
options.env = getEnv2(options);
|
|
72555
72585
|
options.stdio = normalizeStdio(options);
|
|
72556
|
-
if (
|
|
72586
|
+
if (process27.platform === "win32" && path5.basename(file, ".exe") === "cmd") {
|
|
72557
72587
|
args.unshift("/q");
|
|
72558
72588
|
}
|
|
72559
72589
|
return { file, args, options, parsed };
|
|
@@ -73011,7 +73041,7 @@ init_esm_shims();
|
|
|
73011
73041
|
|
|
73012
73042
|
// ../../node_modules/globby/index.js
|
|
73013
73043
|
init_esm_shims();
|
|
73014
|
-
import
|
|
73044
|
+
import process29 from "node:process";
|
|
73015
73045
|
import fs8 from "node:fs";
|
|
73016
73046
|
import nodePath from "node:path";
|
|
73017
73047
|
|
|
@@ -73244,7 +73274,7 @@ function toPath(urlOrPath) {
|
|
|
73244
73274
|
init_esm_shims();
|
|
73245
73275
|
var import_fast_glob = __toESM(require_out4(), 1);
|
|
73246
73276
|
var import_ignore = __toESM(require_ignore(), 1);
|
|
73247
|
-
import
|
|
73277
|
+
import process28 from "node:process";
|
|
73248
73278
|
import fs7 from "node:fs";
|
|
73249
73279
|
import fsPromises2 from "node:fs/promises";
|
|
73250
73280
|
import path6 from "node:path";
|
|
@@ -73300,7 +73330,7 @@ var getIsIgnoredPredicate = (files, cwd3) => {
|
|
|
73300
73330
|
};
|
|
73301
73331
|
};
|
|
73302
73332
|
var normalizeOptions3 = (options = {}) => ({
|
|
73303
|
-
cwd: toPath(options.cwd) ??
|
|
73333
|
+
cwd: toPath(options.cwd) ?? process28.cwd(),
|
|
73304
73334
|
suppressErrors: Boolean(options.suppressErrors),
|
|
73305
73335
|
deep: typeof options.deep === "number" ? options.deep : Number.POSITIVE_INFINITY,
|
|
73306
73336
|
ignore: [...options.ignore ?? [], ...defaultIgnoredDirectories]
|
|
@@ -73353,7 +73383,7 @@ var getDirectoryGlob = ({ directoryPath, files, extensions }) => {
|
|
|
73353
73383
|
return files ? files.map((file) => nodePath.posix.join(directoryPath, `**/${nodePath.extname(file) ? file : `${file}${extensionGlob}`}`)) : [nodePath.posix.join(directoryPath, `**${extensionGlob ? `/*${extensionGlob}` : ""}`)];
|
|
73354
73384
|
};
|
|
73355
73385
|
var directoryToGlob = async (directoryPaths, {
|
|
73356
|
-
cwd: cwd3 =
|
|
73386
|
+
cwd: cwd3 = process29.cwd(),
|
|
73357
73387
|
files,
|
|
73358
73388
|
extensions
|
|
73359
73389
|
} = {}) => {
|
|
@@ -73363,7 +73393,7 @@ var directoryToGlob = async (directoryPaths, {
|
|
|
73363
73393
|
return globs.flat();
|
|
73364
73394
|
};
|
|
73365
73395
|
var directoryToGlobSync = (directoryPaths, {
|
|
73366
|
-
cwd: cwd3 =
|
|
73396
|
+
cwd: cwd3 = process29.cwd(),
|
|
73367
73397
|
files,
|
|
73368
73398
|
extensions
|
|
73369
73399
|
} = {}) => directoryPaths.flatMap((directoryPath) => isDirectorySync(normalizePathForDirectoryGlob(directoryPath, cwd3)) ? getDirectoryGlob({ directoryPath, files, extensions }) : directoryPath);
|
|
@@ -75485,6 +75515,7 @@ var _componentData2 = {
|
|
|
75485
75515
|
devCenterTestingComponent: "_devCenterTestingComponentData",
|
|
75486
75516
|
multilingualTranslationSchema: "_multilingualTranslationSchema",
|
|
75487
75517
|
formTemplate: "_formTemplate",
|
|
75518
|
+
functionsShopPriceProvider: "_functionsShopPriceSpiConfig",
|
|
75488
75519
|
function: "_function",
|
|
75489
75520
|
papiProvider: "_pluginConfig",
|
|
75490
75521
|
multilingualTranslationSchemaGroup: "_schemaGroup"
|
|
@@ -75524,6 +75555,9 @@ var _formTemplate2 = {
|
|
|
75524
75555
|
};
|
|
75525
75556
|
var _freeTrialData = { endDate: "google.protobuf.Timestamp" };
|
|
75526
75557
|
var _function2 = { description: "_description" };
|
|
75558
|
+
var _functionsShopPriceSpiConfig = {
|
|
75559
|
+
shopNumber: "google.protobuf.DoubleValue"
|
|
75560
|
+
};
|
|
75527
75561
|
var _galleryData2 = { items: "_item", options: "_galleryOptions" };
|
|
75528
75562
|
var _galleryOptions2 = { item: "_itemStyle" };
|
|
75529
75563
|
var _image2 = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
@@ -75760,6 +75794,7 @@ function managedApps(payload5) {
|
|
|
75760
75794
|
_formTemplate: _formTemplate2,
|
|
75761
75795
|
_freeTrialData,
|
|
75762
75796
|
_function: _function2,
|
|
75797
|
+
_functionsShopPriceSpiConfig,
|
|
75763
75798
|
_galleryData: _galleryData2,
|
|
75764
75799
|
_galleryOptions: _galleryOptions2,
|
|
75765
75800
|
_image: _image2,
|
|
@@ -76055,6 +76090,10 @@ var ComponentType;
|
|
|
76055
76090
|
ComponentType3["TEXT_TO_SPEECH_ACTION_MESSAGE"] = "TEXT_TO_SPEECH_ACTION_MESSAGE";
|
|
76056
76091
|
ComponentType3["AUDIENCE_PROVIDER"] = "AUDIENCE_PROVIDER";
|
|
76057
76092
|
ComponentType3["PRICING_PLANS_PRICING"] = "PRICING_PLANS_PRICING";
|
|
76093
|
+
ComponentType3["PRICING_PLAN_CUSTOMER_START_DATE_LIMIT"] = "PRICING_PLAN_CUSTOMER_START_DATE_LIMIT";
|
|
76094
|
+
ComponentType3["PRICING_PLAN_START_DATE_POLICY"] = "PRICING_PLAN_START_DATE_POLICY";
|
|
76095
|
+
ComponentType3["EVENTS_TICKET_RESERVATIONS"] = "EVENTS_TICKET_RESERVATIONS";
|
|
76096
|
+
ComponentType3["PAYMENTS_DISPUTE_SERVICE_PLUGIN"] = "PAYMENTS_DISPUTE_SERVICE_PLUGIN";
|
|
76058
76097
|
})(ComponentType || (ComponentType = {}));
|
|
76059
76098
|
var WidgetVertical;
|
|
76060
76099
|
(function(WidgetVertical3) {
|
|
@@ -76128,6 +76167,25 @@ var PluginInterface;
|
|
|
76128
76167
|
PluginInterface3["BOOKINGS_CALENDAR"] = "BOOKINGS_CALENDAR";
|
|
76129
76168
|
PluginInterface3["CART"] = "CART";
|
|
76130
76169
|
})(PluginInterface || (PluginInterface = {}));
|
|
76170
|
+
var ExtensionExposureExposure;
|
|
76171
|
+
(function(ExtensionExposureExposure3) {
|
|
76172
|
+
ExtensionExposureExposure3["PRIVATE"] = "PRIVATE";
|
|
76173
|
+
ExtensionExposureExposure3["INTERNAL"] = "INTERNAL";
|
|
76174
|
+
ExtensionExposureExposure3["PUBLIC"] = "PUBLIC";
|
|
76175
|
+
})(ExtensionExposureExposure || (ExtensionExposureExposure = {}));
|
|
76176
|
+
var Maturity;
|
|
76177
|
+
(function(Maturity3) {
|
|
76178
|
+
Maturity3["ALPHA"] = "ALPHA";
|
|
76179
|
+
Maturity3["BETA"] = "BETA";
|
|
76180
|
+
Maturity3["GA"] = "GA";
|
|
76181
|
+
Maturity3["NOT_IMPLEMENTED"] = "NOT_IMPLEMENTED";
|
|
76182
|
+
})(Maturity || (Maturity = {}));
|
|
76183
|
+
var HTTPMethod;
|
|
76184
|
+
(function(HTTPMethod3) {
|
|
76185
|
+
HTTPMethod3["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
76186
|
+
HTTPMethod3["GET"] = "GET";
|
|
76187
|
+
HTTPMethod3["POST"] = "POST";
|
|
76188
|
+
})(HTTPMethod || (HTTPMethod = {}));
|
|
76131
76189
|
var InstallPage;
|
|
76132
76190
|
(function(InstallPage3) {
|
|
76133
76191
|
InstallPage3["NO_PAGE"] = "NO_PAGE";
|
|
@@ -76291,6 +76349,12 @@ var Type;
|
|
|
76291
76349
|
Type3["WIDGET_COMPONENT"] = "WIDGET_COMPONENT";
|
|
76292
76350
|
Type3["GENERIC"] = "GENERIC";
|
|
76293
76351
|
})(Type || (Type = {}));
|
|
76352
|
+
var SourceType;
|
|
76353
|
+
(function(SourceType2) {
|
|
76354
|
+
SourceType2["UNKNOWN_SOURCE_TYPE"] = "UNKNOWN_SOURCE_TYPE";
|
|
76355
|
+
SourceType2["DEV_CENTER"] = "DEV_CENTER";
|
|
76356
|
+
SourceType2["WIX_API"] = "WIX_API";
|
|
76357
|
+
})(SourceType || (SourceType = {}));
|
|
76294
76358
|
var ExecutionType;
|
|
76295
76359
|
(function(ExecutionType3) {
|
|
76296
76360
|
ExecutionType3["UNKNOWN_EXECUTION_TYPE"] = "UNKNOWN_EXECUTION_TYPE";
|
|
@@ -76335,19 +76399,6 @@ var SlotDataType;
|
|
|
76335
76399
|
SlotDataType3["WIDGET"] = "WIDGET";
|
|
76336
76400
|
SlotDataType3["MENU"] = "MENU";
|
|
76337
76401
|
})(SlotDataType || (SlotDataType = {}));
|
|
76338
|
-
var ExtensionExposureExposure;
|
|
76339
|
-
(function(ExtensionExposureExposure3) {
|
|
76340
|
-
ExtensionExposureExposure3["PRIVATE"] = "PRIVATE";
|
|
76341
|
-
ExtensionExposureExposure3["INTERNAL"] = "INTERNAL";
|
|
76342
|
-
ExtensionExposureExposure3["PUBLIC"] = "PUBLIC";
|
|
76343
|
-
})(ExtensionExposureExposure || (ExtensionExposureExposure = {}));
|
|
76344
|
-
var Maturity;
|
|
76345
|
-
(function(Maturity3) {
|
|
76346
|
-
Maturity3["ALPHA"] = "ALPHA";
|
|
76347
|
-
Maturity3["BETA"] = "BETA";
|
|
76348
|
-
Maturity3["GA"] = "GA";
|
|
76349
|
-
Maturity3["NOT_IMPLEMENTED"] = "NOT_IMPLEMENTED";
|
|
76350
|
-
})(Maturity || (Maturity = {}));
|
|
76351
76402
|
var BackOfficeScriptAssetType;
|
|
76352
76403
|
(function(BackOfficeScriptAssetType3) {
|
|
76353
76404
|
BackOfficeScriptAssetType3["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
@@ -76432,11 +76483,13 @@ var FilterSelectionType;
|
|
|
76432
76483
|
(function(FilterSelectionType3) {
|
|
76433
76484
|
FilterSelectionType3["UNKNOWN_SELECTION"] = "UNKNOWN_SELECTION";
|
|
76434
76485
|
FilterSelectionType3["SINGLE_SELECTION"] = "SINGLE_SELECTION";
|
|
76486
|
+
FilterSelectionType3["MULTIPLE_SELECTION"] = "MULTIPLE_SELECTION";
|
|
76435
76487
|
})(FilterSelectionType || (FilterSelectionType = {}));
|
|
76436
76488
|
var FilterOptionsType;
|
|
76437
76489
|
(function(FilterOptionsType3) {
|
|
76438
76490
|
FilterOptionsType3["UNKNOWN_FILTER_OPTIONS"] = "UNKNOWN_FILTER_OPTIONS";
|
|
76439
76491
|
FilterOptionsType3["STATIC"] = "STATIC";
|
|
76492
|
+
FilterOptionsType3["PROVIDER"] = "PROVIDER";
|
|
76440
76493
|
})(FilterOptionsType || (FilterOptionsType = {}));
|
|
76441
76494
|
var ChannelType;
|
|
76442
76495
|
(function(ChannelType3) {
|
|
@@ -76515,6 +76568,8 @@ var NodeType;
|
|
|
76515
76568
|
NodeType3["EXTERNAL"] = "EXTERNAL";
|
|
76516
76569
|
NodeType3["AUDIO"] = "AUDIO";
|
|
76517
76570
|
NodeType3["CAPTION"] = "CAPTION";
|
|
76571
|
+
NodeType3["LAYOUT"] = "LAYOUT";
|
|
76572
|
+
NodeType3["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
76518
76573
|
})(NodeType || (NodeType = {}));
|
|
76519
76574
|
var WidthType;
|
|
76520
76575
|
(function(WidthType3) {
|
|
@@ -77266,12 +77321,6 @@ var Method;
|
|
|
77266
77321
|
Method3["UPDATE"] = "UPDATE";
|
|
77267
77322
|
Method3["CANCEL"] = "CANCEL";
|
|
77268
77323
|
})(Method || (Method = {}));
|
|
77269
|
-
var ChangePaymentDateOperation;
|
|
77270
|
-
(function(ChangePaymentDateOperation2) {
|
|
77271
|
-
ChangePaymentDateOperation2["UNKNOWN_CHANGE_PAYMENT_DATE"] = "UNKNOWN_CHANGE_PAYMENT_DATE";
|
|
77272
|
-
ChangePaymentDateOperation2["NEXT_CHARGE_WITH_PRORATION"] = "NEXT_CHARGE_WITH_PRORATION";
|
|
77273
|
-
ChangePaymentDateOperation2["NEXT_CHARGE_WITHOUT_PRORATION"] = "NEXT_CHARGE_WITHOUT_PRORATION";
|
|
77274
|
-
})(ChangePaymentDateOperation || (ChangePaymentDateOperation = {}));
|
|
77275
77324
|
var ParticipantType;
|
|
77276
77325
|
(function(ParticipantType3) {
|
|
77277
77326
|
ParticipantType3["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
@@ -77624,12 +77673,12 @@ var PluginInterface2;
|
|
|
77624
77673
|
PluginInterface3["BOOKINGS_CALENDAR"] = "BOOKINGS_CALENDAR";
|
|
77625
77674
|
PluginInterface3["CART"] = "CART";
|
|
77626
77675
|
})(PluginInterface2 || (PluginInterface2 = {}));
|
|
77627
|
-
var
|
|
77628
|
-
(function(
|
|
77629
|
-
|
|
77630
|
-
|
|
77631
|
-
|
|
77632
|
-
})(
|
|
77676
|
+
var HTTPMethod2;
|
|
77677
|
+
(function(HTTPMethod3) {
|
|
77678
|
+
HTTPMethod3["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
77679
|
+
HTTPMethod3["GET"] = "GET";
|
|
77680
|
+
HTTPMethod3["POST"] = "POST";
|
|
77681
|
+
})(HTTPMethod2 || (HTTPMethod2 = {}));
|
|
77633
77682
|
var InstallPage2;
|
|
77634
77683
|
(function(InstallPage3) {
|
|
77635
77684
|
InstallPage3["NO_PAGE"] = "NO_PAGE";
|