@prismicio/cli 0.0.3-alpha.xru-update-yarn.1 → 0.0.3-beta.10

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/README.md CHANGED
@@ -18,13 +18,13 @@ The Prismic CLI helps you:
18
18
  ### Initialize a project
19
19
 
20
20
  ```bash
21
- npx @prismicio/cli init --repository <repository>
21
+ npx @prismicio/cli@latest init --repository <repository>
22
22
  ```
23
23
 
24
24
  ### Synchronize changes
25
25
 
26
26
  ```bash
27
- npx @prismicio/cli sync
27
+ npx @prismicio/cli@latest sync
28
28
  ```
29
29
 
30
30
  ## Documentation
@@ -2513,7 +2513,7 @@ class Body {
2513
2513
  }
2514
2514
  return formData;
2515
2515
  }
2516
- const { toFormData } = await import("./multipart-parser-CG0FwmG_.js");
2516
+ const { toFormData } = await import("./multipart-parser-C19VLxhS.js");
2517
2517
  return toFormData(this.body, ct2);
2518
2518
  }
2519
2519
  /**
@@ -70605,7 +70605,7 @@ const fetch = async (...args) => {
70605
70605
  if (globalThis.fetch) {
70606
70606
  return globalThis.fetch(...args);
70607
70607
  } else if (typeof EdgeRuntime !== "string") {
70608
- return (await import("./index-jrTaxSVH.js")).default(...args);
70608
+ return (await import("./index-CegrglQ8.js")).default(...args);
70609
70609
  } else {
70610
70610
  throw new Error("Invariant: an edge runtime that does not support fetch should not exist");
70611
70611
  }
@@ -82517,7 +82517,7 @@ const meow = (helpText, options8 = {}) => {
82517
82517
  return result;
82518
82518
  };
82519
82519
  const name$4 = "@prismicio/cli";
82520
- const version$k = "0.0.3-alpha.xru-update-yarn.1";
82520
+ const version$k = "0.0.3-beta.10";
82521
82521
  const description = "Prismic CLI";
82522
82522
  const keywords = ["typescript", "prismic"];
82523
82523
  const repository = { "type": "git", "url": "git+https://github.com/prismicio/devtools.git" };
@@ -149800,7 +149800,7 @@ async function checkCLIVersion(args) {
149800
149800
  });
149801
149801
  if (!isLatestVersion) {
149802
149802
  const latestVersion = await args.manager.versions.getLatestCLIVersion();
149803
- throw new Error(`You are using an outdated version (${args.currentVersion}). The latest version is ${latestVersion}.`);
149803
+ throw new Error(`You are using an outdated version (${args.currentVersion}). The latest version is ${latestVersion}. Please use 'npx prismic@latest'.`);
149804
149804
  }
149805
149805
  parentTask.title = "CLI version is up to date";
149806
149806
  }
@@ -150048,4 +150048,4 @@ export {
150048
150048
  getDefaultExportFromCjs$3 as g,
150049
150049
  run as r
150050
150050
  };
150051
- //# sourceMappingURL=cli-LdVf8DXA.js.map
150051
+ //# sourceMappingURL=cli-OGQCKk2j.js.map