@prismicio/cli 0.0.3-beta.13 → 0.0.3-beta.14

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 (34) hide show
  1. package/dist/{acorn-Kjk7TBsB.js → acorn-CS7NizVC.js} +5 -5
  2. package/dist/{acorn-Kjk7TBsB.js.map → acorn-CS7NizVC.js.map} +1 -1
  3. package/dist/angular-C6HLxrYF.js +2747 -0
  4. package/dist/angular-C6HLxrYF.js.map +1 -0
  5. package/dist/{cli-DDs8_xoz.js → cli-BAoFCl0h.js} +11277 -7401
  6. package/dist/{cli-DDs8_xoz.js.map → cli-BAoFCl0h.js.map} +1 -1
  7. package/dist/cli.js +1 -1
  8. package/dist/{estree-Crg3uv-b.js → estree-vzvnmFiJ.js} +11 -11
  9. package/dist/{estree-Crg3uv-b.js.map → estree-vzvnmFiJ.js.map} +1 -1
  10. package/dist/{flow-BfOR5xDf.js → flow-CYUlbtN3.js} +10 -10
  11. package/dist/{flow-BfOR5xDf.js.map → flow-CYUlbtN3.js.map} +1 -1
  12. package/dist/{glimmer-BrWxkCwB.js → glimmer-BoZLExB5.js} +47 -47
  13. package/dist/{glimmer-BrWxkCwB.js.map → glimmer-BoZLExB5.js.map} +1 -1
  14. package/dist/{html-DgU-RMRK.js → html-l-HK6v37.js} +352 -345
  15. package/dist/html-l-HK6v37.js.map +1 -0
  16. package/dist/{index-_sNPxHKB.js → index-CB_JfkfK.js} +17 -17
  17. package/dist/{index-_sNPxHKB.js.map → index-CB_JfkfK.js.map} +1 -1
  18. package/dist/{index-CqzxeUkd.js → index-D92sTIpo.js} +158 -19
  19. package/dist/{index-CqzxeUkd.js.map → index-D92sTIpo.js.map} +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/{markdown-pHcq2aSu.js → markdown-CY_0g_B_.js} +875 -873
  22. package/dist/markdown-CY_0g_B_.js.map +1 -0
  23. package/dist/{multipart-parser-BFd74IrK.js → multipart-parser-D58VHS4P.js} +2 -2
  24. package/dist/{multipart-parser-BFd74IrK.js.map → multipart-parser-D58VHS4P.js.map} +1 -1
  25. package/dist/{postcss-D6IZ_qrn.js → postcss-sE6YzxJH.js} +47 -47
  26. package/dist/postcss-sE6YzxJH.js.map +1 -0
  27. package/dist/{yaml-DUjY_6xC.js → yaml-D06FaHfQ.js} +2 -2
  28. package/dist/{yaml-DUjY_6xC.js.map → yaml-D06FaHfQ.js.map} +1 -1
  29. package/package.json +15 -15
  30. package/dist/angular-Rg2yZ01U.js +0 -2737
  31. package/dist/angular-Rg2yZ01U.js.map +0 -1
  32. package/dist/html-DgU-RMRK.js.map +0 -1
  33. package/dist/markdown-pHcq2aSu.js.map +0 -1
  34. package/dist/postcss-D6IZ_qrn.js.map +0 -1
package/dist/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C, r } from "./cli-DDs8_xoz.js";
1
+ import { C, r } from "./cli-BAoFCl0h.js";
2
2
  export {
3
3
  C as CLIArgs,
4
4
  r as run
@@ -1075,7 +1075,7 @@ function ps(e) {
1075
1075
  let t = hc(e);
1076
1076
  return { text: t === 0 ? e : e.slice(0, e.length - t), count: t };
1077
1077
  }
1078
- var ve = Symbol("MODE_BREAK"), ct = Symbol("MODE_FLAT"), cs = Symbol("DOC_FILL_PRINTED_LENGTH");
1078
+ var ve = /* @__PURE__ */ Symbol("MODE_BREAK"), ct = /* @__PURE__ */ Symbol("MODE_FLAT"), cs = /* @__PURE__ */ Symbol("DOC_FILL_PRINTED_LENGTH");
1079
1079
  function Zr(e, t, r, n, s, i) {
1080
1080
  if (r === Number.POSITIVE_INFINITY) return true;
1081
1081
  let o = t.length, u = false, p = [e], c = "";
@@ -2016,7 +2016,7 @@ function v(e, t, r = {}) {
2016
2016
  function Mt(e, t) {
2017
2017
  let r = e.node;
2018
2018
  if (!r) return {};
2019
- let n = t[Symbol.for("printedComments")];
2019
+ let n = t[/* @__PURE__ */ Symbol.for("printedComments")];
2020
2020
  if ((r.comments || []).filter((p) => !n.has(p)).length === 0) return { leading: "", trailing: "" };
2021
2021
  let i = [], o = [], u;
2022
2022
  return e.each(() => {
@@ -2123,7 +2123,7 @@ function on(e, t, r) {
2123
2123
  let y = s.type === "ReturnStatement" || s.type === "ThrowStatement" || s.type === "JSXExpressionContainer" && i.type === "JSXAttribute" || n.operator !== "|" && s.type === "JsExpressionRoot" || n.type !== "NGPipeExpression" && (s.type === "NGRoot" && t.parser === "__ng_binding" || s.type === "NGMicrosyntaxExpression" && i.type === "NGMicrosyntax" && i.body.length === 1) || n === s.body && s.type === "ArrowFunctionExpression" || n !== s.body && s.type === "ForStatement" || s.type === "ConditionalExpression" && i.type !== "ReturnStatement" && i.type !== "ThrowStatement" && !M(i) && i.type !== "NewExpression" || s.type === "TemplateLiteral" || El(e), D = s.type === "AssignmentExpression" || s.type === "VariableDeclarator" || s.type === "ClassProperty" || s.type === "PropertyDefinition" || s.type === "TSAbstractPropertyDefinition" || s.type === "ClassPrivateProperty" || Oe(s), F = Te(n.left) && dr(n.operator, n.left.operator);
2124
2124
  if (y || er(n) && !F || !er(n) && D) return l(c);
2125
2125
  if (c.length === 0) return "";
2126
- let C = H(n.right), d = c.findIndex((S) => typeof S != "string" && !Array.isArray(S) && S.type === Fe), b = c.slice(0, d === -1 ? 1 : d + 1), B = c.slice(b.length, C ? -1 : void 0), O = Symbol("logicalChain-" + ++fl), h = l([...b, m(B)], { id: O });
2126
+ let C = H(n.right), d = c.findIndex((S) => typeof S != "string" && !Array.isArray(S) && S.type === Fe), b = c.slice(0, d === -1 ? 1 : d + 1), B = c.slice(b.length, C ? -1 : void 0), O = /* @__PURE__ */ Symbol("logicalChain-" + ++fl), h = l([...b, m(B)], { id: O });
2127
2127
  if (!C) return h;
2128
2128
  let g = N(0, c, -1);
2129
2129
  return l([h, yt(g, { groupId: O })]);
@@ -2216,7 +2216,7 @@ function tr(e, t, r) {
2216
2216
  let { node: n } = e, s = [], i = "[", o = "]", u = n.type === "TupleTypeAnnotation" && n.types ? "types" : n.type === "TSTupleType" || n.type === "TupleTypeAnnotation" ? "elementTypes" : "elements", p = n[u];
2217
2217
  if (p.length === 0) s.push(Al(e, t, i, o));
2218
2218
  else {
2219
- let c = N(0, p, -1), y = c?.type !== "RestElement" && !n.inexact, D = c === null, F = Symbol("array"), C = !t.__inJestEach && p.length > 1 && p.every((B, O, h) => {
2219
+ let c = N(0, p, -1), y = c?.type !== "RestElement" && !n.inexact, D = c === null, F = /* @__PURE__ */ Symbol("array"), C = !t.__inJestEach && p.length > 1 && p.every((B, O, h) => {
2220
2220
  let g = B?.type;
2221
2221
  if (!q(B) && !se(B)) return false;
2222
2222
  let S = h[O + 1];
@@ -2470,7 +2470,7 @@ function ht(e, t, r, n, s, i) {
2470
2470
  case "never-break-after-operator":
2471
2471
  return l([l(n), s, " ", u]);
2472
2472
  case "fluid": {
2473
- let p = Symbol("assignment");
2473
+ let p = /* @__PURE__ */ Symbol("assignment");
2474
2474
  return l([l(n), s, l(m(A), { id: p }), je, yt(u, { groupId: p })]);
2475
2475
  }
2476
2476
  case "break-lhs":
@@ -3118,7 +3118,7 @@ function Tu(e, t, r, n = {}) {
3118
3118
  }
3119
3119
  p && (u || (u = h.returnType && K(h).length > 0 || h.typeParameters || K(h).some((S) => S.type !== "Identifier"))), !p || h.body.type !== "ArrowFunctionExpression" ? (i = r("body", n), c = h.body) : e.call(O, "body");
3120
3120
  })();
3121
- let y = !Ee(t.originalText, c) && (ym(c) || Fm(c, i, t) || !u && Au(c)), D = e.key === "callee" && Dt(e.parent), F = Symbol("arrow-chain"), C = dm(e, n, { signatureDocs: s, shouldBreak: u }), d = false, b = false, B = false;
3121
+ let y = !Ee(t.originalText, c) && (ym(c) || Fm(c, i, t) || !u && Au(c)), D = e.key === "callee" && Dt(e.parent), F = /* @__PURE__ */ Symbol("arrow-chain"), C = dm(e, n, { signatureDocs: s, shouldBreak: u }), d = false, b = false, B = false;
3122
3122
  return p && (D || n.assignmentLayout) && (b = true, B = !T(e.node, x.Leading & x.Line), d = n.assignmentLayout === "chain-tail-arrow-chain" || D && !y), i = Cm(e, t, n, { bodyDoc: i, bodyComments: o, functionBody: c, shouldPutBodyOnSameLine: y }), l([l(b ? m([B ? f : "", C]) : C, { shouldBreak: d, id: F }), " =>", p ? yt(i, { groupId: F }) : l(i), p && D ? P(f, "", { groupId: F }) : ""]);
3123
3123
  }
3124
3124
  function Em(e, t, r, n) {
@@ -3420,7 +3420,7 @@ function Mu(e, t) {
3420
3420
  }
3421
3421
  function Nm(e, t, r) {
3422
3422
  let n = e.originalText.slice(t, r);
3423
- for (let s of e[Symbol.for("comments")]) {
3423
+ for (let s of e[/* @__PURE__ */ Symbol.for("comments")]) {
3424
3424
  let i = w(s);
3425
3425
  if (i > r) break;
3426
3426
  let o = I(s);
@@ -3631,7 +3631,7 @@ function ur(e, t, r, n) {
3631
3631
  }, "test"), !h && T(D, x.Dangling) && e.call(() => {
3632
3632
  cr.push(v(e, t));
3633
3633
  }, "alternate"), T(s, x.Dangling) && cr.push(v(e, t));
3634
- let Vs = Symbol("test"), xa = Symbol("consequent"), kr = Symbol("test-and-consequent"), ga = i ? [Ws(r("test")), s.test.type === "ConditionalExpression" ? ke : ""] : [r("checkType"), " ", "extends", " ", Ue(s.extendsType) || s.extendsType.type === "TSMappedType" ? r("extendsType") : l(Ws(r("extendsType")))], $s = l([ga, " ?"], { id: Vs }), ha = r(u), Ir = m([O || Ie && (H(y) || d || g) ? E : A, Pr, ha]), Sa = Mn ? l([$s, g ? Ir : P(Ir, l(Ir, { id: xa }), { groupId: Vs })], { id: kr }) : [$s, Ir], Nn = r(p), Ks = Bt ? P(Nn, Qr(Ws(Nn)), { groupId: kr }) : Nn, lr = [Sa, cr.length > 0 ? [m([E, cr]), E] : h ? E : Bt ? P(A, " ", { groupId: kr }) : A, ":", h ? " " : S ? Mn ? P(ae, P(g || Bt ? " " : ae, " "), { groupId: kr }) : P(ae, " ") : " ", h ? Ks : l([m(Ks), Ie && !Bt ? f : ""]), _ && !st ? f : "", it ? ke : ""];
3634
+ let Vs = /* @__PURE__ */ Symbol("test"), xa = /* @__PURE__ */ Symbol("consequent"), kr = /* @__PURE__ */ Symbol("test-and-consequent"), ga = i ? [Ws(r("test")), s.test.type === "ConditionalExpression" ? ke : ""] : [r("checkType"), " ", "extends", " ", Ue(s.extendsType) || s.extendsType.type === "TSMappedType" ? r("extendsType") : l(Ws(r("extendsType")))], $s = l([ga, " ?"], { id: Vs }), ha = r(u), Ir = m([O || Ie && (H(y) || d || g) ? E : A, Pr, ha]), Sa = Mn ? l([$s, g ? Ir : P(Ir, l(Ir, { id: xa }), { groupId: Vs })], { id: kr }) : [$s, Ir], Nn = r(p), Ks = Bt ? P(Nn, Qr(Ws(Nn)), { groupId: kr }) : Nn, lr = [Sa, cr.length > 0 ? [m([E, cr]), E] : h ? E : Bt ? P(A, " ", { groupId: kr }) : A, ":", h ? " " : S ? Mn ? P(ae, P(g || Bt ? " " : ae, " "), { groupId: kr }) : P(ae, " ") : " ", h ? Ks : l([m(Ks), Ie && !Bt ? f : ""]), _ && !st ? f : "", it ? ke : ""];
3635
3635
  return z && !it ? l(m([f, l(lr)])) : z || ee ? l(m(lr)) : st || o && b ? l([m([f, lr]), re ? f : ""]) : C === Y ? l(lr) : lr;
3636
3636
  }
3637
3637
  function Hu(e, t, r, n) {
@@ -4089,11 +4089,11 @@ function pD(e, t) {
4089
4089
  function On(e, t, r) {
4090
4090
  let { node: n } = e, s = [n.const ? "const " : ""], i = n.type === "TSTypeParameter" ? r("name") : n.name;
4091
4091
  if (n.variance && s.push(r("variance")), n.in && s.push("in "), n.out && s.push("out "), s.push(i), n.bound && (n.usesExtendsBound && s.push(" extends "), s.push(G(e, r, "bound"))), n.constraint) {
4092
- let o = Symbol("constraint");
4092
+ let o = /* @__PURE__ */ Symbol("constraint");
4093
4093
  s.push(" extends", l(m(A), { id: o }), je, yt(r("constraint"), { groupId: o }));
4094
4094
  }
4095
4095
  if (n.default) {
4096
- let o = Symbol("default");
4096
+ let o = /* @__PURE__ */ Symbol("default");
4097
4097
  s.push(" =", l(m(A), { id: o }), je, yt(r("default"), { groupId: o }));
4098
4098
  }
4099
4099
  return l(s);
@@ -4508,4 +4508,4 @@ export {
4508
4508
  Aa as options,
4509
4509
  dD as printers
4510
4510
  };
4511
- //# sourceMappingURL=estree-Crg3uv-b.js.map
4511
+ //# sourceMappingURL=estree-vzvnmFiJ.js.map