@wix/create-app 0.0.209 → 0.0.210

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.
@@ -2012,12 +2012,12 @@ var require_isexe = __commonJS({
2012
2012
  if (typeof Promise !== "function") {
2013
2013
  throw new TypeError("callback not provided");
2014
2014
  }
2015
- return new Promise(function(resolve, reject) {
2015
+ return new Promise(function(resolve2, reject) {
2016
2016
  isexe(path4, options || {}, function(er, is) {
2017
2017
  if (er) {
2018
2018
  reject(er);
2019
2019
  } else {
2020
- resolve(is);
2020
+ resolve2(is);
2021
2021
  }
2022
2022
  });
2023
2023
  });
@@ -2085,27 +2085,27 @@ var require_which = __commonJS({
2085
2085
  opt = {};
2086
2086
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
2087
2087
  const found = [];
2088
- const step = (i) => new Promise((resolve, reject) => {
2088
+ const step = (i) => new Promise((resolve2, reject) => {
2089
2089
  if (i === pathEnv.length)
2090
- return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));
2090
+ return opt.all && found.length ? resolve2(found) : reject(getNotFoundError(cmd));
2091
2091
  const ppRaw = pathEnv[i];
2092
2092
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
2093
2093
  const pCmd = path4.join(pathPart, cmd);
2094
2094
  const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
2095
- resolve(subStep(p, i, 0));
2095
+ resolve2(subStep(p, i, 0));
2096
2096
  });
2097
- const subStep = (p, i, ii) => new Promise((resolve, reject) => {
2097
+ const subStep = (p, i, ii) => new Promise((resolve2, reject) => {
2098
2098
  if (ii === pathExt.length)
2099
- return resolve(step(i + 1));
2099
+ return resolve2(step(i + 1));
2100
2100
  const ext = pathExt[ii];
2101
2101
  isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {
2102
2102
  if (!er && is) {
2103
2103
  if (opt.all)
2104
2104
  found.push(p + ext);
2105
2105
  else
2106
- return resolve(p + ext);
2106
+ return resolve2(p + ext);
2107
2107
  }
2108
- return resolve(subStep(p, i, ii + 1));
2108
+ return resolve2(subStep(p, i, ii + 1));
2109
2109
  });
2110
2110
  });
2111
2111
  return cb ? step(0).then((res) => cb(null, res), cb) : step(0);
@@ -8755,41 +8755,41 @@ var require_queue = __commonJS({
8755
8755
  queue.drained = drained;
8756
8756
  return queue;
8757
8757
  function push(value) {
8758
- var p = new Promise(function(resolve, reject) {
8758
+ var p = new Promise(function(resolve2, reject) {
8759
8759
  pushCb(value, function(err, result) {
8760
8760
  if (err) {
8761
8761
  reject(err);
8762
8762
  return;
8763
8763
  }
8764
- resolve(result);
8764
+ resolve2(result);
8765
8765
  });
8766
8766
  });
8767
8767
  p.catch(noop3);
8768
8768
  return p;
8769
8769
  }
8770
8770
  function unshift(value) {
8771
- var p = new Promise(function(resolve, reject) {
8771
+ var p = new Promise(function(resolve2, reject) {
8772
8772
  unshiftCb(value, function(err, result) {
8773
8773
  if (err) {
8774
8774
  reject(err);
8775
8775
  return;
8776
8776
  }
8777
- resolve(result);
8777
+ resolve2(result);
8778
8778
  });
8779
8779
  });
8780
8780
  p.catch(noop3);
8781
8781
  return p;
8782
8782
  }
8783
8783
  function drained() {
8784
- var p = new Promise(function(resolve) {
8784
+ var p = new Promise(function(resolve2) {
8785
8785
  process.nextTick(function() {
8786
8786
  if (queue.idle()) {
8787
- resolve();
8787
+ resolve2();
8788
8788
  } else {
8789
8789
  var previousDrain = queue.drain;
8790
8790
  queue.drain = function() {
8791
8791
  if (typeof previousDrain === "function") previousDrain();
8792
- resolve();
8792
+ resolve2();
8793
8793
  queue.drain = previousDrain;
8794
8794
  };
8795
8795
  }
@@ -9286,9 +9286,9 @@ var require_stream3 = __commonJS({
9286
9286
  });
9287
9287
  }
9288
9288
  _getStat(filepath) {
9289
- return new Promise((resolve, reject) => {
9289
+ return new Promise((resolve2, reject) => {
9290
9290
  this._stat(filepath, this._fsStatSettings, (error, stats) => {
9291
- return error === null ? resolve(stats) : reject(error);
9291
+ return error === null ? resolve2(stats) : reject(error);
9292
9292
  });
9293
9293
  });
9294
9294
  }
@@ -9313,10 +9313,10 @@ var require_async5 = __commonJS({
9313
9313
  this._readerStream = new stream_1.default(this._settings);
9314
9314
  }
9315
9315
  dynamic(root, options) {
9316
- return new Promise((resolve, reject) => {
9316
+ return new Promise((resolve2, reject) => {
9317
9317
  this._walkAsync(root, options, (error, entries) => {
9318
9318
  if (error === null) {
9319
- resolve(entries);
9319
+ resolve2(entries);
9320
9320
  } else {
9321
9321
  reject(error);
9322
9322
  }
@@ -9326,10 +9326,10 @@ var require_async5 = __commonJS({
9326
9326
  async static(patterns, options) {
9327
9327
  const entries = [];
9328
9328
  const stream = this._readerStream.static(patterns, options);
9329
- return new Promise((resolve, reject) => {
9329
+ return new Promise((resolve2, reject) => {
9330
9330
  stream.once("error", reject);
9331
9331
  stream.on("data", (entry) => entries.push(entry));
9332
- stream.once("end", () => resolve(entries));
9332
+ stream.once("end", () => resolve2(entries));
9333
9333
  });
9334
9334
  }
9335
9335
  };
@@ -14858,6 +14858,7 @@ var CliUserErrorCode = (0, import_variant.variant)({
14858
14858
  FailedToCleanDistFolder: {},
14859
14859
  FailedToIdentifyProgramFlow: (0, import_variant.fields)(),
14860
14860
  BuildOutputMissing: (0, import_variant.fields)(),
14861
+ SiteOutputDirectoryOutsideProject: {},
14861
14862
  FailedToCreateMonitoringVitePlugin: (0, import_variant.fields)(),
14862
14863
  FailedToSyncVeloCLIServerDocumentUpdate: {},
14863
14864
  AppReleaseConfigViolations: {},
@@ -14930,7 +14931,7 @@ import {
14930
14931
  mkdir,
14931
14932
  rm
14932
14933
  } from "node:fs/promises";
14933
- import { dirname, join, relative } from "node:path";
14934
+ import { dirname, join, relative, resolve, sep } from "node:path";
14934
14935
  import { EOL } from "node:os";
14935
14936
  var import_dotenv = __toESM(require_main(), 1);
14936
14937
  function toJsonString(object, opts) {
@@ -15929,7 +15930,7 @@ var setupTimeout = (spawned, { timeout, killSignal = "SIGTERM" }, spawnedPromise
15929
15930
  return spawnedPromise;
15930
15931
  }
15931
15932
  let timeoutId;
15932
- const timeoutPromise = new Promise((resolve, reject) => {
15933
+ const timeoutPromise = new Promise((resolve2, reject) => {
15933
15934
  timeoutId = setTimeout(() => {
15934
15935
  timeoutKill(spawned, killSignal, reject);
15935
15936
  }, timeout);
@@ -16310,9 +16311,9 @@ var mergePromise = (spawned, promise) => {
16310
16311
  Reflect.defineProperty(spawned, property, { ...descriptor, value });
16311
16312
  }
16312
16313
  };
16313
- var getSpawnedPromise = (spawned) => new Promise((resolve, reject) => {
16314
+ var getSpawnedPromise = (spawned) => new Promise((resolve2, reject) => {
16314
16315
  spawned.on("exit", (exitCode, signal) => {
16315
- resolve({ exitCode, signal });
16316
+ resolve2({ exitCode, signal });
16316
16317
  });
16317
16318
  spawned.on("error", (error) => {
16318
16319
  reject(error);
@@ -17590,4 +17591,4 @@ queue-microtask/index.js:
17590
17591
  run-parallel/index.js:
17591
17592
  (*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
17592
17593
  */
17593
- //# sourceMappingURL=chunk-RS4G232L.js.map
17594
+ //# sourceMappingURL=chunk-DR2MXT7E.js.map