@sanity/cli 3.78.2-mcp.9 → 3.79.0

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.78.2-mcp.9+516992b0ed",
3
+ "version": "3.79.0",
4
4
  "description": "Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets",
5
5
  "keywords": [
6
6
  "sanity",
@@ -58,31 +58,31 @@
58
58
  "dependencies": {
59
59
  "@babel/traverse": "^7.23.5",
60
60
  "@sanity/client": "^6.28.2",
61
- "@sanity/codegen": "3.78.2-mcp.9+516992b0ed",
61
+ "@sanity/codegen": "3.79.0",
62
62
  "@sanity/runtime-cli": "^1.1.1",
63
63
  "@sanity/telemetry": "^0.7.7",
64
64
  "@sanity/template-validator": "^2.4.0",
65
- "@sanity/util": "3.78.2-mcp.9+516992b0ed",
65
+ "@sanity/util": "3.79.0",
66
66
  "chalk": "^4.1.2",
67
67
  "debug": "^4.3.4",
68
68
  "decompress": "^4.2.0",
69
69
  "esbuild": "0.21.5",
70
70
  "esbuild-register": "^3.5.0",
71
71
  "get-it": "^8.6.7",
72
- "groq-js": "^1.15.0",
72
+ "groq-js": "^1.16.1",
73
73
  "pkg-dir": "^5.0.0",
74
74
  "prettier": "^3.3.0",
75
75
  "semver": "^7.3.5",
76
76
  "validate-npm-package-name": "^3.0.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@repo/package.config": "3.78.1",
80
- "@repo/test-config": "3.78.1",
79
+ "@repo/package.config": "3.79.0",
80
+ "@repo/test-config": "3.79.0",
81
81
  "@rexxars/gitconfiglocal": "^3.0.1",
82
82
  "@rollup/plugin-node-resolve": "^15.2.3",
83
83
  "@sanity/eslint-config-studio": "^4.0.0",
84
84
  "@sanity/generate-help-url": "^3.0.0",
85
- "@sanity/types": "3.78.2-mcp.9+516992b0ed",
85
+ "@sanity/types": "3.79.0",
86
86
  "@types/babel__traverse": "^7.20.5",
87
87
  "@types/configstore": "^5.0.1",
88
88
  "@types/cpx": "^1.5.2",
@@ -134,5 +134,5 @@
134
134
  "engines": {
135
135
  "node": ">=18"
136
136
  },
137
- "gitHead": "516992b0edc9f3fbab9770ec7374d691da11e842"
137
+ "gitHead": "36619b8e5488cd48b294801822d7e433878ddafd"
138
138
  }
@@ -15,7 +15,7 @@ import {getUserConfig} from './getUserConfig'
15
15
 
16
16
  const apiHosts: Record<string, string | undefined> = {
17
17
  staging: 'https://api.sanity.work',
18
- development: 'http://api.sanity.wtf',
18
+ development: 'http://api.sanity.local',
19
19
  }
20
20
 
21
21
  /**
@@ -4,15 +4,17 @@ import {ExampleComponent} from './ExampleComponent'
4
4
  import './App.css'
5
5
 
6
6
  export function App() {
7
- const sanityConfig: SanityConfig = {
8
- auth: {
9
- authScope: 'global'
7
+ // apps can access many different projects or other sources of data
8
+ const sanityConfigs: SanityConfig[] = [
9
+ {
10
+ projectId: 'project-id',
11
+ dataset: 'dataset-name',
10
12
  }
11
- }
13
+ ]
12
14
 
13
15
  return (
14
16
  <div className="app-container">
15
- <SanityApp sanityConfig={sanityConfig}>
17
+ <SanityApp sanityConfigs={sanityConfigs}>
16
18
  {/* add your own components here! */}
17
19
  <ExampleComponent />
18
20
  </SanityApp>
@@ -13,7 +13,7 @@ export function ExampleComponent() {
13
13
  <pre>{`import {YourComponent} from './YourComponent'
14
14
 
15
15
  // Then use it in your JSX
16
- <SanityApp sanityConfig={sanityConfig}>
16
+ <SanityApp sanityConfigs={sanityConfigs}>
17
17
  <YourComponent />
18
18
  </SanityApp>`}</pre>
19
19
  </div>