@sanity/cli 5.0.0-next-major.20251216101132 → 5.0.0-next-major.20251216114053
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/lib/_chunks-cjs/cli.js +10 -4
- package/lib/_chunks-cjs/cli.js.map +1 -1
- package/package.json +8 -8
package/lib/_chunks-cjs/cli.js
CHANGED
|
@@ -42910,7 +42910,8 @@ Sanity MCP server has been configured for ${editorNames}. You might need to rest
|
|
|
42910
42910
|
pnpm: "pnpm dev",
|
|
42911
42911
|
bun: "bun dev",
|
|
42912
42912
|
manual: "npm run dev"
|
|
42913
|
-
}[pkgManager], isCurrentDir = outputPath === process.cwd(), goToProjectDir = `
|
|
42913
|
+
}[pkgManager], isCurrentDir = outputPath === process.cwd(), goToProjectDir = `
|
|
42914
|
+
(${chalk2.cyan(`cd ${outputPath}`)} to navigate to your new project directory)`;
|
|
42914
42915
|
if (isAppTemplate) {
|
|
42915
42916
|
if (print(`\u2705 ${chalk2.green.bold("Success!")} Your custom app has been scaffolded.`), isCurrentDir || print(goToProjectDir), print(
|
|
42916
42917
|
`
|
|
@@ -42926,13 +42927,18 @@ Sanity MCP server has been configured for ${editorNames}. You might need to rest
|
|
|
42926
42927
|
`), print("Other helpful commands:"), print("npx sanity docs to open the documentation in a browser"), print("npx sanity dev to start the development server for your app"), print("npx sanity deploy to deploy your app");
|
|
42927
42928
|
} else {
|
|
42928
42929
|
if (print(`\u2705 ${chalk2.green.bold("Success!")} Your Studio has been created.`), isCurrentDir || print(goToProjectDir), print(
|
|
42929
|
-
`
|
|
42930
|
+
`
|
|
42931
|
+
Get started by running ${chalk2.cyan(devCommand)} to launch your Studio's development server`
|
|
42930
42932
|
), mcpConfigured.length > 0) {
|
|
42931
42933
|
const editorNames = new Intl.ListFormat("en").format(mcpConfigured);
|
|
42932
42934
|
print(
|
|
42933
42935
|
`
|
|
42934
|
-
|
|
42935
|
-
), print(`
|
|
42936
|
+
To set up your project with the MCP server, restart ${editorNames} and type ${chalk2.cyan('"Get started with Sanity"')} in the chat`
|
|
42937
|
+
), print(`
|
|
42938
|
+
Learn more: ${chalk2.cyan("https://mcp.sanity.io")}`), print(
|
|
42939
|
+
`
|
|
42940
|
+
Have feedback? Tell us in the community: ${chalk2.cyan("https://www.sanity.io/community/join")}`
|
|
42941
|
+
);
|
|
42936
42942
|
}
|
|
42937
42943
|
print(`
|
|
42938
42944
|
`), print("Other helpful commands:"), print("npx sanity docs to open the documentation in a browser"), print("npx sanity manage to open the project settings in a browser"), print("npx sanity help to explore the CLI manual");
|