@sanity/cli 4.9.0-next.16 → 4.9.0-next.18

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.
@@ -53706,15 +53706,11 @@ export const client = createClient({
53706
53706
  `, live = `// Querying with "sanityFetch" will keep content automatically updated
53707
53707
  // Before using it, import and render "<SanityLive />" in your layout, see
53708
53708
  // https://github.com/sanity-io/next-sanity#live-content-api for more information.
53709
- import { defineLive } from "next-sanity";
53709
+ import { defineLive } from "next-sanity/live";
53710
53710
  import { client } from './client'
53711
53711
 
53712
- export const { sanityFetch, SanityLive } = defineLive({
53713
- client: client.withConfig({
53714
- // Live content is currently only available on the experimental API
53715
- // https://www.sanity.io/docs/api-versioning
53716
- apiVersion: 'vX'
53717
- })
53712
+ export const { sanityFetch, SanityLive } = defineLive({
53713
+ client,
53718
53714
  });
53719
53715
  `, imageTS = `import createImageUrlBuilder from '@sanity/image-url'
53720
53716
  import { SanityImageSource } from "@sanity/image-url/lib/types/types";
@@ -53987,7 +53983,7 @@ You can find your project on Sanity Manage \u2014 https://www.sanity.io/manage/p
53987
53983
  cwd: workDir,
53988
53984
  stdio: "inherit"
53989
53985
  };
53990
- chosen === "npm" ? await execa("npm", ["install", "--legacy-peer-deps", "next-sanity@10"], execOptions) : chosen === "yarn" ? await execa("npx", ["install-peerdeps", "--yarn", "next-sanity@10"], execOptions) : chosen === "pnpm" && await execa("pnpm", ["install", "next-sanity@10"], execOptions), print(
53986
+ chosen === "npm" ? await execa("npm", ["install", "--legacy-peer-deps", "next-sanity@11"], execOptions) : chosen === "yarn" ? await execa("npx", ["install-peerdeps", "--yarn", "next-sanity@11"], execOptions) : chosen === "pnpm" && await execa("pnpm", ["install", "next-sanity@11"], execOptions), print(
53991
53987
  `
53992
53988
  ${chalk2.green("Success!")} Your Sanity configuration files has been added to this project`
53993
53989
  );