@prismicio/cli 0.0.3-alpha.xru-support-init-simulator.3 → 0.0.3-alpha.xru-support-init-simulator.4

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.
@@ -2534,7 +2534,7 @@ class Body {
2534
2534
  }
2535
2535
  return formData;
2536
2536
  }
2537
- const { toFormData } = await import("./multipart-parser-BrMZCihi.js");
2537
+ const { toFormData } = await import("./multipart-parser-C58IuGJx.js");
2538
2538
  return toFormData(this.body, ct2);
2539
2539
  }
2540
2540
  /**
@@ -70643,7 +70643,7 @@ const fetch = async (...args) => {
70643
70643
  if (globalThis.fetch) {
70644
70644
  return globalThis.fetch(...args);
70645
70645
  } else if (typeof EdgeRuntime !== "string") {
70646
- return (await import("./index-BoGQ9HBK.js")).default(...args);
70646
+ return (await import("./index-lrYHPyfQ.js")).default(...args);
70647
70647
  } else {
70648
70648
  throw new Error("Invariant: an edge runtime that does not support fetch should not exist");
70649
70649
  }
@@ -82555,7 +82555,7 @@ const meow = (helpText, options8 = {}) => {
82555
82555
  return result;
82556
82556
  };
82557
82557
  const name$3 = "@prismicio/cli";
82558
- const version$k = "0.0.3-alpha.xru-support-init-simulator.3";
82558
+ const version$k = "0.0.3-alpha.xru-support-init-simulator.4";
82559
82559
  const description = "Prismic CLI";
82560
82560
  const keywords = ["typescript", "prismic"];
82561
82561
  const repository = { "type": "git", "url": "git+https://github.com/prismicio/devtools.git" };
@@ -148289,7 +148289,8 @@ const NUXT_PRISMIC = "@nuxtjs/prismic";
148289
148289
  const installDependencies$1 = async ({ installDependencies: installDependencies2 }) => {
148290
148290
  await installDependencies2({
148291
148291
  dependencies: {
148292
- [NUXT_PRISMIC]: "^4.0.0"
148292
+ [NUXT_PRISMIC]: "latest",
148293
+ "@prismicio/client": "latest"
148293
148294
  },
148294
148295
  dev: true
148295
148296
  });
@@ -148320,16 +148321,12 @@ const configurePrismicModule = async ({ helpers }) => {
148320
148321
  config2.modules.push(NUXT_PRISMIC);
148321
148322
  }
148322
148323
  if (!hasInlinedConfiguration) {
148323
- mod.imports.$add({
148324
- from: "./prismic.config.json",
148325
- imported: "apiEndpoint"
148326
- });
148327
- mod.imports.$add({
148324
+ mod.imports.$prepend({
148328
148325
  from: "./prismic.config.json",
148329
148326
  imported: "repositoryName"
148330
148327
  });
148331
148328
  config2.prismic ||= {};
148332
- config2.prismic.endpoint = builders.raw("apiEndpoint || repositoryName");
148329
+ config2.prismic.endpoint = builders.raw("repositoryName");
148333
148330
  }
148334
148331
  await writeFile(mod, nuxtConfigPath);
148335
148332
  };
@@ -176956,4 +176953,4 @@ export {
176956
176953
  getDefaultExportFromCjs$3 as g,
176957
176954
  run as r
176958
176955
  };
176959
- //# sourceMappingURL=cli-B3gOeUW7.js.map
176956
+ //# sourceMappingURL=cli-BYYDMz3V.js.map