@arcgis/create 4.34.0-next.69 → 4.34.0-next.70

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.
Files changed (2) hide show
  1. package/dist/init.js +83 -76
  2. package/package.json +1 -1
package/dist/init.js CHANGED
@@ -1677,7 +1677,7 @@ Expecting one of '${g.join("', '")}'`);
1677
1677
  if (l.existsSync(q)) return q;
1678
1678
  if (u.includes(o.extname(R))) return;
1679
1679
  const I = u.find(
1680
- (z) => l.existsSync(`${q}${z}`)
1680
+ (Y) => l.existsSync(`${q}${Y}`)
1681
1681
  );
1682
1682
  if (I) return `${q}${I}`;
1683
1683
  }
@@ -2600,19 +2600,19 @@ function Nr() {
2600
2600
  }
2601
2601
  var Ir = Nr();
2602
2602
  const Tr = /* @__PURE__ */ ze(Ir), {
2603
- program: io,
2604
- createCommand: ro,
2605
- createArgument: no,
2606
- createOption: so,
2607
- CommanderError: uo,
2608
- InvalidArgumentError: oo,
2609
- InvalidOptionArgumentError: ao,
2603
+ program: ro,
2604
+ createCommand: no,
2605
+ createArgument: so,
2606
+ createOption: uo,
2607
+ CommanderError: oo,
2608
+ InvalidArgumentError: ao,
2609
+ InvalidOptionArgumentError: lo,
2610
2610
  // deprecated old name
2611
2611
  Command: Mr,
2612
- Argument: lo,
2613
- Option: co,
2614
- Help: ho
2615
- } = Tr, kr = "4.34.0-next.69";
2612
+ Argument: co,
2613
+ Option: ho,
2614
+ Help: Do
2615
+ } = Tr, kr = "4.34.0-next.70";
2616
2616
  var me = /* @__PURE__ */ ((s) => (s.VANILLA = "vanilla JS", s.REACT = "react", s.ANGULAR = "angular", s.VITE = "vite", s.VUE = "vue", s.WEBPACK = "webpack", s.LUMINA_COMPONENTS = "lumina-components", s))(me || {}), Ue = /* @__PURE__ */ ((s) => (s.MAP_COMPONENTS = "map-components", s.CHARTS_COMPONENTS = "charts-components", s.CODING_COMPONENTS = "coding-components", s))(Ue || {});
2617
2617
  const Gr = {
2618
2618
  "map-components": {
@@ -3549,10 +3549,10 @@ function rn() {
3549
3549
  };
3550
3550
  }, ct;
3551
3551
  }
3552
- var Ae = {}, ui;
3552
+ var ve = {}, ui;
3553
3553
  function nn() {
3554
- if (ui) return Ae;
3555
- ui = 1, Object.defineProperty(Ae, "__esModule", { value: !0 }), Ae.LRUCache = void 0;
3554
+ if (ui) return ve;
3555
+ ui = 1, Object.defineProperty(ve, "__esModule", { value: !0 }), ve.LRUCache = void 0;
3556
3556
  const s = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, r = /* @__PURE__ */ new Set(), o = typeof process == "object" && process ? process : {}, l = (w, D, d, f) => {
3557
3557
  typeof o.emitWarning == "function" ? o.emitWarning(w, D, d, f) : console.error(`[${d}] ${D}: ${w}`);
3558
3558
  };
@@ -3785,7 +3785,7 @@ function nn() {
3785
3785
  return this.#m;
3786
3786
  }
3787
3787
  constructor(D) {
3788
- const { max: d = 0, ttl: f, ttlResolution: A = 1, ttlAutopurge: t, updateAgeOnGet: h, updateAgeOnHas: g, allowStale: u, dispose: p, disposeAfter: y, noDisposeOnSet: O, noUpdateTTL: _, maxSize: x = 0, maxEntrySize: P = 0, sizeCalculation: R, fetchMethod: q, memoMethod: I, noDeleteOnFetchRejection: z, noDeleteOnStaleGet: T, allowStaleOnFetchRejection: j, allowStaleOnFetchAbort: G, ignoreFetchAbort: pe } = D;
3788
+ const { max: d = 0, ttl: f, ttlResolution: A = 1, ttlAutopurge: t, updateAgeOnGet: h, updateAgeOnHas: g, allowStale: u, dispose: p, disposeAfter: y, noDisposeOnSet: O, noUpdateTTL: _, maxSize: x = 0, maxEntrySize: P = 0, sizeCalculation: R, fetchMethod: q, memoMethod: I, noDeleteOnFetchRejection: Y, noDeleteOnStaleGet: T, allowStaleOnFetchRejection: j, allowStaleOnFetchAbort: G, ignoreFetchAbort: pe } = D;
3789
3789
  if (d !== 0 && !a(d))
3790
3790
  throw new TypeError("max option must be a nonnegative integer");
3791
3791
  const ae = d ? c(d) : Array;
@@ -3801,7 +3801,7 @@ function nn() {
3801
3801
  throw new TypeError("memoMethod must be a function if defined");
3802
3802
  if (this.#x = I, q !== void 0 && typeof q != "function")
3803
3803
  throw new TypeError("fetchMethod must be a function if specified");
3804
- if (this.#$ = q, this.#L = !!q, this.#s = /* @__PURE__ */ new Map(), this.#r = new Array(d).fill(void 0), this.#e = new Array(d).fill(void 0), this.#h = new ae(d), this.#f = new ae(d), this.#c = 0, this.#o = 0, this.#C = m.create(d), this.#u = 0, this.#g = 0, typeof p == "function" && (this.#t = p), typeof y == "function" ? (this.#m = y, this.#a = []) : (this.#m = void 0, this.#a = void 0), this.#b = !!this.#t, this.#D = !!this.#m, this.noDisposeOnSet = !!O, this.noUpdateTTL = !!_, this.noDeleteOnFetchRejection = !!z, this.allowStaleOnFetchRejection = !!j, this.allowStaleOnFetchAbort = !!G, this.ignoreFetchAbort = !!pe, this.maxEntrySize !== 0) {
3804
+ if (this.#$ = q, this.#L = !!q, this.#s = /* @__PURE__ */ new Map(), this.#r = new Array(d).fill(void 0), this.#e = new Array(d).fill(void 0), this.#h = new ae(d), this.#f = new ae(d), this.#c = 0, this.#o = 0, this.#C = m.create(d), this.#u = 0, this.#g = 0, typeof p == "function" && (this.#t = p), typeof y == "function" ? (this.#m = y, this.#a = []) : (this.#m = void 0, this.#a = void 0), this.#b = !!this.#t, this.#D = !!this.#m, this.noDisposeOnSet = !!O, this.noUpdateTTL = !!_, this.noDeleteOnFetchRejection = !!Y, this.allowStaleOnFetchRejection = !!j, this.allowStaleOnFetchAbort = !!G, this.ignoreFetchAbort = !!pe, this.maxEntrySize !== 0) {
3805
3805
  if (this.#l !== 0 && !a(this.#l))
3806
3806
  throw new TypeError("maxSize must be a positive integer if specified");
3807
3807
  if (!a(this.maxEntrySize))
@@ -4271,21 +4271,21 @@ function nn() {
4271
4271
  options: f,
4272
4272
  context: A
4273
4273
  }, p = (R, q = !1) => {
4274
- const { aborted: I } = h.signal, z = f.ignoreFetchAbort && R !== void 0;
4275
- if (f.status && (I && !q ? (f.status.fetchAborted = !0, f.status.fetchError = h.signal.reason, z && (f.status.fetchAbortIgnored = !0)) : f.status.fetchResolved = !0), I && !z && !q)
4274
+ const { aborted: I } = h.signal, Y = f.ignoreFetchAbort && R !== void 0;
4275
+ if (f.status && (I && !q ? (f.status.fetchAborted = !0, f.status.fetchError = h.signal.reason, Y && (f.status.fetchAbortIgnored = !0)) : f.status.fetchResolved = !0), I && !Y && !q)
4276
4276
  return O(h.signal.reason);
4277
4277
  const T = x;
4278
4278
  return this.#e[d] === x && (R === void 0 ? T.__staleWhileFetching ? this.#e[d] = T.__staleWhileFetching : this.#y(D, "fetch") : (f.status && (f.status.fetchUpdated = !0), this.set(D, R, u.options))), R;
4279
4279
  }, y = (R) => (f.status && (f.status.fetchRejected = !0, f.status.fetchError = R), O(R)), O = (R) => {
4280
- const { aborted: q } = h.signal, I = q && f.allowStaleOnFetchAbort, z = I || f.allowStaleOnFetchRejection, T = z || f.noDeleteOnFetchRejection, j = x;
4281
- if (this.#e[d] === x && (!T || j.__staleWhileFetching === void 0 ? this.#y(D, "fetch") : I || (this.#e[d] = j.__staleWhileFetching)), z)
4280
+ const { aborted: q } = h.signal, I = q && f.allowStaleOnFetchAbort, Y = I || f.allowStaleOnFetchRejection, T = Y || f.noDeleteOnFetchRejection, j = x;
4281
+ if (this.#e[d] === x && (!T || j.__staleWhileFetching === void 0 ? this.#y(D, "fetch") : I || (this.#e[d] = j.__staleWhileFetching)), Y)
4282
4282
  return f.status && j.__staleWhileFetching !== void 0 && (f.status.returnedStale = !0), j.__staleWhileFetching;
4283
4283
  if (j.__returned === j)
4284
4284
  throw R;
4285
4285
  }, _ = (R, q) => {
4286
4286
  const I = this.#$?.(D, t, u);
4287
- I && I instanceof Promise && I.then((z) => R(z === void 0 ? void 0 : z), q), h.signal.addEventListener("abort", () => {
4288
- (!f.ignoreFetchAbort || f.allowStaleOnFetchAbort) && (R(void 0), f.allowStaleOnFetchAbort && (R = (z) => p(z, !0)));
4287
+ I && I instanceof Promise && I.then((Y) => R(Y === void 0 ? void 0 : Y), q), h.signal.addEventListener("abort", () => {
4288
+ (!f.ignoreFetchAbort || f.allowStaleOnFetchAbort) && (R(void 0), f.allowStaleOnFetchAbort && (R = (Y) => p(Y, !0)));
4289
4289
  });
4290
4290
  };
4291
4291
  f.status && (f.status.fetchDispatched = !0);
@@ -4322,7 +4322,7 @@ function nn() {
4322
4322
  context: R,
4323
4323
  forceRefresh: q = !1,
4324
4324
  status: I,
4325
- signal: z
4325
+ signal: Y
4326
4326
  } = d;
4327
4327
  if (!this.#L)
4328
4328
  return I && (I.fetch = "get"), this.get(D, {
@@ -4345,7 +4345,7 @@ function nn() {
4345
4345
  allowStaleOnFetchAbort: P,
4346
4346
  ignoreFetchAbort: x,
4347
4347
  status: I,
4348
- signal: z
4348
+ signal: Y
4349
4349
  };
4350
4350
  let j = this.#s.get(D);
4351
4351
  if (j === void 0) {
@@ -4355,8 +4355,8 @@ function nn() {
4355
4355
  } else {
4356
4356
  const G = this.#e[j];
4357
4357
  if (this.#i(G)) {
4358
- const Fe = f && G.__staleWhileFetching !== void 0;
4359
- return I && (I.fetch = "inflight", Fe && (I.returnedStale = !0)), Fe ? G.__staleWhileFetching : G.__returned = G;
4358
+ const be = f && G.__staleWhileFetching !== void 0;
4359
+ return I && (I.fetch = "inflight", be && (I.returnedStale = !0)), be ? G.__staleWhileFetching : G.__returned = G;
4360
4360
  }
4361
4361
  const pe = this.#d(j);
4362
4362
  if (!q && !pe)
@@ -4466,7 +4466,7 @@ function nn() {
4466
4466
  }
4467
4467
  }
4468
4468
  }
4469
- return Ae.LRUCache = v, Ae;
4469
+ return ve.LRUCache = v, ve;
4470
4470
  }
4471
4471
  var ht, oi;
4472
4472
  function sn() {
@@ -5907,7 +5907,7 @@ ${L.cyan(ce)}
5907
5907
  }, Qs = (s = "") => {
5908
5908
  process.stdout.write(`${L.gray(Hs)} ${s}
5909
5909
  `);
5910
- }, ve = (s = "") => {
5910
+ }, Ce = (s = "") => {
5911
5911
  process.stdout.write(`${L.gray(N)}
5912
5912
  ${L.gray(ce)} ${s}
5913
5913
 
@@ -6203,12 +6203,12 @@ function cu(s, r, o, l) {
6203
6203
  } while (l !== -1);
6204
6204
  return i += s.slice(n), i;
6205
6205
  }
6206
- const { stdout: Bi, stderr: Pi } = au, Ot = Symbol("GENERATOR"), Ce = Symbol("STYLER"), we = Symbol("IS_EMPTY"), Ri = [
6206
+ const { stdout: Bi, stderr: Pi } = au, Ot = Symbol("GENERATOR"), Ee = Symbol("STYLER"), we = Symbol("IS_EMPTY"), Ri = [
6207
6207
  "ansi",
6208
6208
  "ansi",
6209
6209
  "ansi256",
6210
6210
  "ansi16m"
6211
- ], Ee = /* @__PURE__ */ Object.create(null), hu = (s, r = {}) => {
6211
+ ], Fe = /* @__PURE__ */ Object.create(null), hu = (s, r = {}) => {
6212
6212
  if (r.level && !(Number.isInteger(r.level) && r.level >= 0 && r.level <= 3))
6213
6213
  throw new Error("The `level` option should be an integer from 0 to 3");
6214
6214
  const o = Bi ? Bi.level : 0;
@@ -6222,35 +6222,35 @@ function Se(s) {
6222
6222
  }
6223
6223
  Object.setPrototypeOf(Se.prototype, Function.prototype);
6224
6224
  for (const [s, r] of Object.entries(le))
6225
- Ee[s] = {
6225
+ Fe[s] = {
6226
6226
  get() {
6227
- const o = qe(this, _t(r.open, r.close, this[Ce]), this[we]);
6227
+ const o = qe(this, _t(r.open, r.close, this[Ee]), this[we]);
6228
6228
  return Object.defineProperty(this, s, { value: o }), o;
6229
6229
  }
6230
6230
  };
6231
- Ee.visible = {
6231
+ Fe.visible = {
6232
6232
  get() {
6233
- const s = qe(this, this[Ce], !0);
6233
+ const s = qe(this, this[Ee], !0);
6234
6234
  return Object.defineProperty(this, "visible", { value: s }), s;
6235
6235
  }
6236
6236
  };
6237
6237
  const St = (s, r, o, ...l) => s === "rgb" ? r === "ansi16m" ? le[o].ansi16m(...l) : r === "ansi256" ? le[o].ansi256(le.rgbToAnsi256(...l)) : le[o].ansi(le.rgbToAnsi(...l)) : s === "hex" ? St("rgb", r, o, ...le.hexToRgb(...l)) : le[o][s](...l), fu = ["rgb", "hex", "ansi256"];
6238
6238
  for (const s of fu) {
6239
- Ee[s] = {
6239
+ Fe[s] = {
6240
6240
  get() {
6241
6241
  const { level: o } = this;
6242
6242
  return function(...l) {
6243
- const n = _t(St(s, Ri[o], "color", ...l), le.color.close, this[Ce]);
6243
+ const n = _t(St(s, Ri[o], "color", ...l), le.color.close, this[Ee]);
6244
6244
  return qe(this, n, this[we]);
6245
6245
  };
6246
6246
  }
6247
6247
  };
6248
6248
  const r = "bg" + s[0].toUpperCase() + s.slice(1);
6249
- Ee[r] = {
6249
+ Fe[r] = {
6250
6250
  get() {
6251
6251
  const { level: o } = this;
6252
6252
  return function(...l) {
6253
- const n = _t(St(s, Ri[o], "bgColor", ...l), le.bgColor.close, this[Ce]);
6253
+ const n = _t(St(s, Ri[o], "bgColor", ...l), le.bgColor.close, this[Ee]);
6254
6254
  return qe(this, n, this[we]);
6255
6255
  };
6256
6256
  }
@@ -6258,7 +6258,7 @@ for (const s of fu) {
6258
6258
  }
6259
6259
  const pu = Object.defineProperties(() => {
6260
6260
  }, {
6261
- ...Ee,
6261
+ ...Fe,
6262
6262
  level: {
6263
6263
  enumerable: !0,
6264
6264
  get() {
@@ -6279,11 +6279,11 @@ const pu = Object.defineProperties(() => {
6279
6279
  };
6280
6280
  }, qe = (s, r, o) => {
6281
6281
  const l = (...n) => du(l, n.length === 1 ? "" + n[0] : n.join(" "));
6282
- return Object.setPrototypeOf(l, pu), l[Ot] = s, l[Ce] = r, l[we] = o, l;
6282
+ return Object.setPrototypeOf(l, pu), l[Ot] = s, l[Ee] = r, l[we] = o, l;
6283
6283
  }, du = (s, r) => {
6284
6284
  if (s.level <= 0 || !r)
6285
6285
  return s[we] ? "" : r;
6286
- let o = s[Ce];
6286
+ let o = s[Ee];
6287
6287
  if (o === void 0)
6288
6288
  return r;
6289
6289
  const { openAll: l, closeAll: n } = o;
@@ -6294,8 +6294,8 @@ const pu = Object.defineProperties(() => {
6294
6294
  `);
6295
6295
  return i !== -1 && (r = cu(r, n, l, i)), l + r + n;
6296
6296
  };
6297
- Object.defineProperties(Se.prototype, Ee);
6298
- const Y = Se();
6297
+ Object.defineProperties(Se.prototype, Fe);
6298
+ const z = Se();
6299
6299
  Se({ level: Pi ? Pi.level : 0 });
6300
6300
  var Ge = { exports: {} }, mu = Ge.exports, Ni;
6301
6301
  function gu() {
@@ -6348,7 +6348,7 @@ function gu() {
6348
6348
  return F = b.r / 255, S = b.g / 255, B = b.b / 255, F <= 0.03928 ? $ = F / 12.92 : $ = Math.pow((F + 0.055) / 1.055, 2.4), S <= 0.03928 ? M = S / 12.92 : M = Math.pow((S + 0.055) / 1.055, 2.4), B <= 0.03928 ? k = B / 12.92 : k = Math.pow((B + 0.055) / 1.055, 2.4), 0.2126 * $ + 0.7152 * M + 0.0722 * k;
6349
6349
  },
6350
6350
  setAlpha: function(b) {
6351
- return this._a = z(b), this._roundA = Math.round(100 * this._a) / 100, this;
6351
+ return this._a = Y(b), this._roundA = Math.round(100 * this._a) / 100, this;
6352
6352
  },
6353
6353
  toHsv: function() {
6354
6354
  var b = m(this._r, this._g, this._b);
@@ -6495,7 +6495,7 @@ function gu() {
6495
6495
  g: 0,
6496
6496
  b: 0
6497
6497
  }, F = 1, S = null, B = null, $ = null, M = !1, k = !1;
6498
- return typeof E == "string" && (E = Fr(E)), o(E) == "object" && (De(E.r) && De(E.g) && De(E.b) ? (b = a(E.r, E.g, E.b), M = !0, k = String(E.r).substr(-1) === "%" ? "prgb" : "rgb") : De(E.h) && De(E.s) && De(E.v) ? (S = he(E.s), B = he(E.v), b = v(E.h, S, B), M = !0, k = "hsv") : De(E.h) && De(E.s) && De(E.l) && (S = he(E.s), $ = he(E.l), b = C(E.h, S, $), M = !0, k = "hsl"), E.hasOwnProperty("a") && (F = E.a)), F = z(F), {
6498
+ return typeof E == "string" && (E = Fr(E)), o(E) == "object" && (De(E.r) && De(E.g) && De(E.b) ? (b = a(E.r, E.g, E.b), M = !0, k = String(E.r).substr(-1) === "%" ? "prgb" : "rgb") : De(E.h) && De(E.s) && De(E.v) ? (S = he(E.s), B = he(E.v), b = v(E.h, S, B), M = !0, k = "hsv") : De(E.h) && De(E.s) && De(E.l) && (S = he(E.s), $ = he(E.l), b = C(E.h, S, $), M = !0, k = "hsl"), E.hasOwnProperty("a") && (F = E.a)), F = Y(F), {
6499
6499
  ok: M,
6500
6500
  format: E.format || k,
6501
6501
  r: Math.min(255, Math.max(b.r, 0)),
@@ -6540,8 +6540,8 @@ function gu() {
6540
6540
  function C(E, b, F) {
6541
6541
  var S, B, $;
6542
6542
  E = T(E, 360), b = T(b, 100), F = T(F, 100);
6543
- function M(re, be, oe) {
6544
- return oe < 0 && (oe += 1), oe > 1 && (oe -= 1), oe < 1 / 6 ? re + (be - re) * 6 * oe : oe < 1 / 2 ? be : oe < 2 / 3 ? re + (be - re) * (2 / 3 - oe) * 6 : re;
6543
+ function M(re, Ae, oe) {
6544
+ return oe < 0 && (oe += 1), oe > 1 && (oe -= 1), oe < 1 / 6 ? re + (Ae - re) * 6 * oe : oe < 1 / 2 ? Ae : oe < 2 / 3 ? re + (Ae - re) * (2 / 3 - oe) * 6 : re;
6545
6545
  }
6546
6546
  if (b === 0)
6547
6547
  S = B = $ = F;
@@ -6582,10 +6582,10 @@ function gu() {
6582
6582
  }
6583
6583
  function v(E, b, F) {
6584
6584
  E = T(E, 360) * 6, b = T(b, 100), F = T(F, 100);
6585
- var S = Math.floor(E), B = E - S, $ = F * (1 - b), M = F * (1 - B * b), k = F * (1 - (1 - B) * b), V = S % 6, re = [F, M, $, $, k, F][V], be = [k, F, F, M, $, $][V], oe = [$, $, k, F, F, M][V];
6585
+ var S = Math.floor(E), B = E - S, $ = F * (1 - b), M = F * (1 - B * b), k = F * (1 - (1 - B) * b), V = S % 6, re = [F, M, $, $, k, F][V], Ae = [k, F, F, M, $, $][V], oe = [$, $, k, F, F, M][V];
6586
6586
  return {
6587
6587
  r: re * 255,
6588
- g: be * 255,
6588
+ g: Ae * 255,
6589
6589
  b: oe * 255
6590
6590
  };
6591
6591
  }
@@ -6594,11 +6594,11 @@ function gu() {
6594
6594
  return S && B[0].charAt(0) == B[0].charAt(1) && B[1].charAt(0) == B[1].charAt(1) && B[2].charAt(0) == B[2].charAt(1) ? B[0].charAt(0) + B[1].charAt(0) + B[2].charAt(0) : B.join("");
6595
6595
  }
6596
6596
  function D(E, b, F, S, B) {
6597
- var $ = [J(Math.round(E).toString(16)), J(Math.round(b).toString(16)), J(Math.round(F).toString(16)), J(Fe(S))];
6597
+ var $ = [J(Math.round(E).toString(16)), J(Math.round(b).toString(16)), J(Math.round(F).toString(16)), J(be(S))];
6598
6598
  return B && $[0].charAt(0) == $[0].charAt(1) && $[1].charAt(0) == $[1].charAt(1) && $[2].charAt(0) == $[2].charAt(1) && $[3].charAt(0) == $[3].charAt(1) ? $[0].charAt(0) + $[1].charAt(0) + $[2].charAt(0) + $[3].charAt(0) : $.join("");
6599
6599
  }
6600
6600
  function d(E, b, F, S) {
6601
- var B = [J(Fe(S)), J(Math.round(E).toString(16)), J(Math.round(b).toString(16)), J(Math.round(F).toString(16))];
6601
+ var B = [J(be(S)), J(Math.round(E).toString(16)), J(Math.round(b).toString(16)), J(Math.round(F).toString(16))];
6602
6602
  return B.join("");
6603
6603
  }
6604
6604
  i.equals = function(E, b) {
@@ -6880,7 +6880,7 @@ function gu() {
6880
6880
  E.hasOwnProperty(F) && (b[E[F]] = F);
6881
6881
  return b;
6882
6882
  }
6883
- function z(E) {
6883
+ function Y(E) {
6884
6884
  return E = parseFloat(E), (isNaN(E) || E < 0 || E > 1) && (E = 1), E;
6885
6885
  }
6886
6886
  function T(E, b) {
@@ -6906,7 +6906,7 @@ function gu() {
6906
6906
  function he(E) {
6907
6907
  return E <= 1 && (E = E * 100 + "%"), E;
6908
6908
  }
6909
- function Fe(E) {
6909
+ function be(E) {
6910
6910
  return Math.round(parseFloat(E) * 255).toString(16);
6911
6911
  }
6912
6912
  function Nt(E) {
@@ -7262,7 +7262,7 @@ function Fu(s, r, o) {
7262
7262
  const l = Rt(o), n = Math.max(s.replace(/\s/g, "").length, r.stops.length), i = Dr(r, l, n);
7263
7263
  let e = "";
7264
7264
  for (const a of s)
7265
- e += a.match(/\s/g) ? a : Y.hex(i.shift()?.toHex() || "#000")(a);
7265
+ e += a.match(/\s/g) ? a : z.hex(i.shift()?.toHex() || "#000")(a);
7266
7266
  return e;
7267
7267
  }
7268
7268
  function bu(s, r, o) {
@@ -7272,7 +7272,7 @@ function bu(s, r, o) {
7272
7272
  const C = e.slice(0);
7273
7273
  let m = "";
7274
7274
  for (const v of c)
7275
- m += Y.hex(C.shift()?.toHex() || "#000")(v);
7275
+ m += z.hex(C.shift()?.toHex() || "#000")(v);
7276
7276
  a.push(m);
7277
7277
  }
7278
7278
  return a.join(`
@@ -7354,9 +7354,16 @@ async function Iu() {
7354
7354
  });
7355
7355
  }
7356
7356
  function mr() {
7357
- ve(Y.greenBright("Your new project is ready!"));
7357
+ Ce(z.greenBright("Your new project is ready!"));
7358
7358
  }
7359
- async function Tu(s) {
7359
+ function Tu() {
7360
+ Ce(
7361
+ z.greenBright(
7362
+ "Configuration files created: .yarnrc.yml, eslint.config.js, prettier.config.js, and lint-staged.config.js. If you are in a monorepo, you will need to manually integrate these files with your project configuration."
7363
+ )
7364
+ );
7365
+ }
7366
+ async function Mu(s) {
7360
7367
  return de.info(`
7361
7368
  This command requires a ${s} personal access token with the 'repo' scope.
7362
7369
 
@@ -7377,11 +7384,11 @@ function gr(s) {
7377
7384
  name: s.name,
7378
7385
  shouldCleanup: !1,
7379
7386
  async doCleanup(o) {
7380
- if (console.error(Y.bgRed(o)), this.shouldCleanup && this.name)
7387
+ if (console.error(z.bgRed(o)), this.shouldCleanup && this.name)
7381
7388
  try {
7382
7389
  await Jn(this.name);
7383
7390
  } catch (l) {
7384
- console.error(Y.bgRed(l));
7391
+ console.error(z.bgRed(l));
7385
7392
  }
7386
7393
  throw o;
7387
7394
  }
@@ -7390,10 +7397,10 @@ function gr(s) {
7390
7397
  async function Cr(s, r, o) {
7391
7398
  const { startMsg: l, successMsg: n, failureMsg: i } = s, e = eu();
7392
7399
  e.start(l), await r().then(() => e.stop(n)).catch((a) => {
7393
- e.stop(Y.bgRed(i), 1), o(a, e);
7400
+ e.stop(z.bgRed(i), 1), o(a, e);
7394
7401
  });
7395
7402
  }
7396
- async function Mu(s) {
7403
+ async function ku(s) {
7397
7404
  const r = gr(s);
7398
7405
  try {
7399
7406
  pr();
@@ -7423,7 +7430,7 @@ async function Mu(s) {
7423
7430
  await Qi(o.projectName, n, l), r.shouldCleanup = !0;
7424
7431
  },
7425
7432
  (c) => {
7426
- throw ve(Y.bgRed("Please ensure git is installed and try again.")), c;
7433
+ throw Ce(z.bgRed("Please ensure git is installed and try again.")), c;
7427
7434
  }
7428
7435
  );
7429
7436
  const i = await er(o.projectName);
@@ -7439,17 +7446,17 @@ async function Mu(s) {
7439
7446
  We(C) && (ke("Operation cancelled."), process.exit(0)), Xn(i, C, o.projectTemplate), await tr(o.projectName, i);
7440
7447
  }
7441
7448
  const a = Yn(i);
7442
- mr(), console.log(Y.magenta(`To get started, run the following commands:
7443
- `)), console.log(Y.grey(`$ cd ${o.projectName}`)), console.log(Y.grey("$ npm install")), console.log(Y.grey(`$ npm run ${a}`)), console.log(fr(`
7449
+ mr(), console.log(z.magenta(`To get started, run the following commands:
7450
+ `)), console.log(z.grey(`$ cd ${o.projectName}`)), console.log(z.grey("$ npm install")), console.log(z.grey(`$ npm run ${a}`)), console.log(fr(`
7444
7451
 
7445
7452
  Happy mapping!`));
7446
7453
  } catch (o) {
7447
7454
  await r.doCleanup(o);
7448
7455
  }
7449
7456
  }
7450
- async function ku(s) {
7457
+ async function Gu(s) {
7451
7458
  const { template: r, branch: o = Vi } = s;
7452
- r !== me.LUMINA_COMPONENTS && (ve(Y.red("Template is not a code sample")), process.exit(1)), s.host || (ve(Y.red("Host option is required for the lumina-components template")), process.exit(1));
7459
+ r !== me.LUMINA_COMPONENTS && (Ce(z.red("Template is not a code sample")), process.exit(1)), s.host || (Ce(z.red("Host option is required for the lumina-components template")), process.exit(1));
7453
7460
  const l = gr(s);
7454
7461
  try {
7455
7462
  pr();
@@ -7457,7 +7464,7 @@ async function ku(s) {
7457
7464
  We(n) && (ke("Operation cancelled."), process.exit(0)), l.name = n;
7458
7465
  const i = Hr[r], e = await Zn(r, s);
7459
7466
  let a = "";
7460
- e || (a = await Tu(s.host));
7467
+ e || (a = await Mu(s.host));
7461
7468
  const c = ir(r, { ...s, ssh: e, accessToken: a });
7462
7469
  await Cr(
7463
7470
  {
@@ -7469,7 +7476,7 @@ async function ku(s) {
7469
7476
  await Qi(n, c, i, o), l.shouldCleanup = !0;
7470
7477
  },
7471
7478
  (g) => {
7472
- throw ve(Y.bgRed("Please ensure git is installed and try again.")), g;
7479
+ throw Ce(z.bgRed("Please ensure git is installed and try again.")), g;
7473
7480
  }
7474
7481
  );
7475
7482
  const {
@@ -7492,8 +7499,8 @@ async function ku(s) {
7492
7499
  ...t ? { resolutions: t } : {},
7493
7500
  ...A ? { files: A } : {}
7494
7501
  };
7495
- Qn(f, h), await tr(n, h), mr(), console.log(Y.magenta(`To get started, run the following commands:
7496
- `)), console.log(Y.grey(`$ cd ${n}`)), console.log(Y.grey("$ yarn set version 4.5.1")), console.log(Y.grey("$ yarn install")), console.log(Y.grey("$ yarn start"));
7502
+ Qn(f, h), await tr(n, h), mr(), Tu(), console.log(z.magenta(`To get started, run the following commands:
7503
+ `)), console.log(z.grey(`$ cd ${n}`)), console.log(z.grey("$ yarn set version 4.5.1")), console.log(z.grey("$ yarn install")), console.log(z.grey("$ yarn start"));
7497
7504
  } catch (n) {
7498
7505
  await l.doCleanup(n);
7499
7506
  }
@@ -7506,16 +7513,16 @@ const Er = (s) => {
7506
7513
  }), r.version(kr), r.option("-n, --name <name>", "Name of the project").option("-d, --domain <domain>", "Domain of the sample to create").option("-t, --template <template>", "Template to use").option("-p, --packages <packages>", "Additional packages to add").option("--host <host>", "Host to use for the source control repository").option("--branch <branch>", "Branch to checkout in the source control repository"), r.command("init").description("Initialize a new ArcGIS project").action(async () => {
7507
7514
  const o = Kn(r.opts());
7508
7515
  if (o.template && Ur[o.template] === ji.CODE_SAMPLE) {
7509
- await ku(o);
7516
+ await Gu(o);
7510
7517
  return;
7511
7518
  }
7512
- await Mu(o);
7519
+ await ku(o);
7513
7520
  }), r;
7514
7521
  };
7515
- let Gu = {
7522
+ let Hu = {
7516
7523
  makeProgram: Er
7517
7524
  };
7518
- process.env.NODE_ENV !== "test" && (Gu = void 0, Er().parse());
7525
+ process.env.NODE_ENV !== "test" && (Hu = void 0, Er().parse());
7519
7526
  export {
7520
- Gu as exportsForTests
7527
+ Hu as exportsForTests
7521
7528
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/create",
3
- "version": "4.34.0-next.69",
3
+ "version": "4.34.0-next.70",
4
4
  "description": "ArcGIS command line tool to create new web GIS projects and applications",
5
5
  "keywords": [
6
6
  "ArcGIS",