@sanity/cli 3.88.1 → 3.88.3
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 +4 -11
- package/lib/_chunks-cjs/cli.js.map +1 -1
- package/package.json +10 -10
- package/src/actions/init-project/initProject.ts +6 -17
- package/src/commands/blueprints/destroyBlueprintsCommand.ts +0 -1
- package/src/commands/blueprints/stacksBlueprintsCommand.ts +1 -0
- package/templates/app-quickstart/src/App.tsx +2 -2
- package/templates/app-sanity-ui/src/App.tsx +2 -2
package/lib/_chunks-cjs/cli.js
CHANGED
@@ -3932,7 +3932,6 @@ Examples:
|
|
3932
3932
|
helpText: helpText$j,
|
3933
3933
|
signature: "[--force] [-f] [--no-wait]",
|
3934
3934
|
description: "Destroy a Blueprint deployment",
|
3935
|
-
hideFromHelp: !0,
|
3936
3935
|
async action(args, context) {
|
3937
3936
|
const { apiClient, output } = context, flags = { ...defaultFlags$8, ...args.extOptions }, client2 = apiClient({
|
3938
3937
|
requireUser: !0,
|
@@ -4112,6 +4111,7 @@ Examples:
|
|
4112
4111
|
helpText: helpText$e,
|
4113
4112
|
signature: "[--project-id <id>]",
|
4114
4113
|
description: "List all Blueprint Stacks for the current Project",
|
4114
|
+
hideFromHelp: !0,
|
4115
4115
|
async action(args, context) {
|
4116
4116
|
const { apiClient, output } = context, flags = { ...defaultFlags$4, ...args.extOptions }, client2 = apiClient({
|
4117
4117
|
requireUser: !0,
|
@@ -75785,16 +75785,9 @@ ${chalk2.green("Success!")} Now, use these commands to continue:
|
|
75785
75785
|
`), print(`First: ${chalk2.cyan(`cd ${outputPath}`)} - to enter project's directory`), print(
|
75786
75786
|
`Then: ${chalk2.cyan(devCommand)} -to run ${isAppTemplate ? "your Sanity application" : "Sanity Studio"}
|
75787
75787
|
`
|
75788
|
-
)), 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")
|
75789
|
-
|
75790
|
-
|
75791
|
-
message: "We have an excellent developer community, would you like us to send you an invitation to join?",
|
75792
|
-
default: !0
|
75793
|
-
});
|
75794
|
-
sendInvite && (trace.log({ step: "sendCommunityInvite", selectedOption: sendInvite ? "yes" : "no" }), apiClient({ requireProject: !1 }).request({
|
75795
|
-
uri: "/invitations/community",
|
75796
|
-
method: "POST"
|
75797
|
-
}).catch(lodashExports.noop)), trace.complete();
|
75788
|
+
)), 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"), isFirstProject && (trace.log({ step: "sendCommunityInvite", selectedOption: "yes" }), print(`
|
75789
|
+
Join our wonderful developer community as well: ${chalk2.cyan("https://snty.link/community")}`), print(`We look forward to seeing you there!
|
75790
|
+
`)), trace.complete();
|
75798
75791
|
async function getOrCreateUser() {
|
75799
75792
|
return warn("No authentication credentials found in your Sanity config"), print(""), await login({ extOptions: {} }, { ...context, telemetry: trace.newContext("login") }), getUserData(apiClient);
|
75800
75793
|
}
|