@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/cli",
3
- "version": "3.88.1",
3
+ "version": "3.88.3",
4
4
  "description": "Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets",
5
5
  "keywords": [
6
6
  "sanity",
@@ -58,18 +58,18 @@
58
58
  },
59
59
  "dependencies": {
60
60
  "@babel/traverse": "^7.23.5",
61
- "@sanity/client": "^7.1.0",
62
- "@sanity/codegen": "3.88.1",
61
+ "@sanity/client": "^7.2.1",
62
+ "@sanity/codegen": "3.88.3",
63
63
  "@sanity/runtime-cli": "^6.1.1",
64
64
  "@sanity/telemetry": "^0.8.0",
65
65
  "@sanity/template-validator": "^2.4.3",
66
- "@sanity/util": "3.88.1",
66
+ "@sanity/util": "3.88.3",
67
67
  "chalk": "^4.1.2",
68
68
  "debug": "^4.3.4",
69
69
  "decompress": "^4.2.0",
70
- "esbuild": "0.21.5",
70
+ "esbuild": "0.25.4",
71
71
  "esbuild-register": "^3.5.0",
72
- "get-it": "^8.6.7",
72
+ "get-it": "^8.6.8",
73
73
  "groq-js": "^1.16.1",
74
74
  "pkg-dir": "^5.0.0",
75
75
  "prettier": "^3.3.0",
@@ -77,13 +77,13 @@
77
77
  "validate-npm-package-name": "^3.0.0"
78
78
  },
79
79
  "devDependencies": {
80
- "@repo/package.config": "3.88.1",
81
- "@repo/test-config": "3.88.1",
80
+ "@repo/package.config": "3.88.3",
81
+ "@repo/test-config": "3.88.3",
82
82
  "@rexxars/gitconfiglocal": "^3.0.1",
83
83
  "@rollup/plugin-node-resolve": "^15.2.3",
84
84
  "@sanity/eslint-config-studio": "^4.0.0",
85
85
  "@sanity/generate-help-url": "^3.0.0",
86
- "@sanity/types": "3.88.1",
86
+ "@sanity/types": "3.88.3",
87
87
  "@types/babel__traverse": "^7.20.5",
88
88
  "@types/configstore": "^5.0.1",
89
89
  "@types/cpx": "^1.5.2",
@@ -135,5 +135,5 @@
135
135
  "engines": {
136
136
  "node": ">=18"
137
137
  },
138
- "gitHead": "26a4552965274b9d35f92b9d1191eb029cb913e8"
138
+ "gitHead": "156e8fa482703d99219f08da7bacb384517f1513"
139
139
  }
@@ -697,24 +697,13 @@ export default async function initSanity(
697
697
  print(`npx sanity manage - to open the project settings in a browser`)
698
698
  print(`npx sanity help - to explore the CLI manual`)
699
699
 
700
- const sendInvite =
701
- isFirstProject &&
702
- (await prompt.single({
703
- type: 'confirm',
704
- message:
705
- 'We have an excellent developer community, would you like us to send you an invitation to join?',
706
- default: true,
707
- }))
700
+ if (isFirstProject) {
701
+ trace.log({step: 'sendCommunityInvite', selectedOption: 'yes'})
708
702
 
709
- if (sendInvite) {
710
- trace.log({step: 'sendCommunityInvite', selectedOption: sendInvite ? 'yes' : 'no'})
711
- // Intentionally leave the promise "dangling" since we don't want to stall while waiting for this
712
- apiClient({requireProject: false})
713
- .request({
714
- uri: '/invitations/community',
715
- method: 'POST',
716
- })
717
- .catch(noop)
703
+ const DISCORD_INVITE_LINK = 'https://snty.link/community'
704
+
705
+ print(`\nJoin our wonderful developer community as well: ${chalk.cyan(DISCORD_INVITE_LINK)}`)
706
+ print('We look forward to seeing you there!\n')
718
707
  }
719
708
 
720
709
  trace.complete()
@@ -38,7 +38,6 @@ const destroyBlueprintsCommand: CliCommandDefinition<BlueprintsDestroyFlags> = {
38
38
  helpText,
39
39
  signature: '[--force] [-f] [--no-wait]',
40
40
  description: 'Destroy a Blueprint deployment',
41
- hideFromHelp: true,
42
41
 
43
42
  async action(args, context) {
44
43
  const {apiClient, output} = context
@@ -28,6 +28,7 @@ const stacksBlueprintsCommand: CliCommandDefinition<BlueprintsStacksFlags> = {
28
28
  helpText,
29
29
  signature: '[--project-id <id>]',
30
30
  description: 'List all Blueprint Stacks for the current Project',
31
+ hideFromHelp: true,
31
32
 
32
33
  async action(args, context) {
33
34
  const {apiClient, output} = context
@@ -7,8 +7,8 @@ export function App() {
7
7
  // apps can access many different projects or other sources of data
8
8
  const sanityConfigs: SanityConfig[] = [
9
9
  {
10
- projectId: 'project-id',
11
- dataset: 'dataset-name',
10
+ projectId: '',
11
+ dataset: '',
12
12
  }
13
13
  ]
14
14
 
@@ -10,8 +10,8 @@ export function App() {
10
10
  // apps can access many different projects or other sources of data
11
11
  const sanityConfigs: SanityConfig[] = [
12
12
  {
13
- projectId: 'project-id',
14
- dataset: 'dataset-name',
13
+ projectId: '',
14
+ dataset: '',
15
15
  }
16
16
  ]
17
17