@sanity/cli 3.84.1-next.0 → 3.84.1-next.1
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.84.1-next.
|
3
|
+
"version": "3.84.1-next.1",
|
4
4
|
"description": "Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets",
|
5
5
|
"keywords": [
|
6
6
|
"sanity",
|
@@ -59,11 +59,11 @@
|
|
59
59
|
"dependencies": {
|
60
60
|
"@babel/traverse": "^7.23.5",
|
61
61
|
"@sanity/client": "^6.28.4",
|
62
|
-
"@sanity/codegen": "3.84.1-next.
|
62
|
+
"@sanity/codegen": "3.84.1-next.1",
|
63
63
|
"@sanity/runtime-cli": "^1.1.1",
|
64
64
|
"@sanity/telemetry": "^0.8.0",
|
65
65
|
"@sanity/template-validator": "^2.4.3",
|
66
|
-
"@sanity/util": "3.84.1-next.
|
66
|
+
"@sanity/util": "3.84.1-next.1",
|
67
67
|
"chalk": "^4.1.2",
|
68
68
|
"debug": "^4.3.4",
|
69
69
|
"decompress": "^4.2.0",
|
@@ -77,13 +77,13 @@
|
|
77
77
|
"validate-npm-package-name": "^3.0.0"
|
78
78
|
},
|
79
79
|
"devDependencies": {
|
80
|
-
"@repo/package.config": "3.84.
|
81
|
-
"@repo/test-config": "3.84.
|
80
|
+
"@repo/package.config": "3.84.0",
|
81
|
+
"@repo/test-config": "3.84.0",
|
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.84.1-next.
|
86
|
+
"@sanity/types": "3.84.1-next.1",
|
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": "
|
138
|
+
"gitHead": "74017084301339fb28e635538c3292bd8bbaf4c6"
|
139
139
|
}
|
@@ -14,7 +14,7 @@ export function App() {
|
|
14
14
|
|
15
15
|
return (
|
16
16
|
<div className="app-container">
|
17
|
-
<SanityApp
|
17
|
+
<SanityApp config={sanityConfigs} fallback={<div>Loading...</div>}>
|
18
18
|
{/* add your own components here! */}
|
19
19
|
<ExampleComponent />
|
20
20
|
</SanityApp>
|
@@ -28,7 +28,7 @@ export function ExampleComponent() {
|
|
28
28
|
<pre>{`import {YourComponent} from './YourComponent'
|
29
29
|
|
30
30
|
// Then use it in your JSX
|
31
|
-
<SanityApp
|
31
|
+
<SanityApp config={sanityConfigs}>
|
32
32
|
<YourComponent />
|
33
33
|
</SanityApp>`}</pre>
|
34
34
|
</div>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import {type SanityConfig} from '@sanity/sdk'
|
2
2
|
import {SanityApp} from '@sanity/sdk-react'
|
3
|
-
import {ThemeProvider} from '@sanity/ui'
|
3
|
+
import {Flex, Spinner, ThemeProvider} from '@sanity/ui'
|
4
4
|
import {buildTheme} from '@sanity/ui/theme'
|
5
5
|
import {ExampleComponent} from './ExampleComponent'
|
6
6
|
|
@@ -15,15 +15,21 @@ export function App() {
|
|
15
15
|
}
|
16
16
|
]
|
17
17
|
|
18
|
+
function Loading() {
|
19
|
+
return (
|
20
|
+
<Flex justify='center' align='center' width='100vw' height='fill'>
|
21
|
+
<Spinner />
|
22
|
+
</Flex>
|
23
|
+
)
|
24
|
+
}
|
25
|
+
|
18
26
|
return (
|
19
|
-
<
|
20
|
-
<
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
</SanityApp>
|
26
|
-
</div>
|
27
|
+
<SanityApp config={sanityConfigs} fallback={<Loading />}>
|
28
|
+
<ThemeProvider theme={theme}>
|
29
|
+
{/* add your own components here! */}
|
30
|
+
<ExampleComponent />
|
31
|
+
</ThemeProvider>
|
32
|
+
</SanityApp>
|
27
33
|
)
|
28
34
|
}
|
29
35
|
|