@sanity/cli 3.88.4-media-library.21 → 3.90.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/lib/_chunks-cjs/cli.js +4 -17
- package/lib/_chunks-cjs/cli.js.map +1 -1
- package/package.json +8 -8
- package/src/actions/init-project/createStudioConfig.ts +0 -13
- package/src/actions/init-project/templates/appQuickstart.ts +2 -2
- package/src/actions/init-project/templates/appSanityUi.ts +2 -2
- package/templates/app-quickstart/src/ExampleComponent.css +6 -0
- package/templates/app-sanity-ui/src/App.tsx +5 -7
- package/templates/app-sanity-ui/src/SanityUI.tsx +23 -0
- package/bin/xdg-open +0 -1066
package/lib/_chunks-cjs/cli.js
CHANGED
@@ -47563,19 +47563,6 @@ export default defineConfig({
|
|
47563
47563
|
schema: {
|
47564
47564
|
types: schemaTypes,
|
47565
47565
|
},
|
47566
|
-
|
47567
|
-
mediaLibrary: {
|
47568
|
-
enabled: true
|
47569
|
-
},
|
47570
|
-
|
47571
|
-
form: {
|
47572
|
-
image: {
|
47573
|
-
assetSources: (sources) => sources.filter((source) => source.name !== 'sanity-default')
|
47574
|
-
},
|
47575
|
-
file: {
|
47576
|
-
assetSources: (sources) => sources.filter((source) => source.name !== 'sanity-default')
|
47577
|
-
}
|
47578
|
-
},
|
47579
47566
|
})
|
47580
47567
|
`, defaultVariables = {
|
47581
47568
|
projectName: "Sanity Studio",
|
@@ -47595,8 +47582,8 @@ function determineAppTemplate(templateName) {
|
|
47595
47582
|
}
|
47596
47583
|
const appTemplate = {
|
47597
47584
|
dependencies: {
|
47598
|
-
"@sanity/sdk": "^
|
47599
|
-
"@sanity/sdk-react": "^
|
47585
|
+
"@sanity/sdk": "^2",
|
47586
|
+
"@sanity/sdk-react": "^2",
|
47600
47587
|
react: "^19",
|
47601
47588
|
"react-dom": "^19"
|
47602
47589
|
},
|
@@ -47613,8 +47600,8 @@ const appTemplate = {
|
|
47613
47600
|
}
|
47614
47601
|
}, appSanityUiTemplate = {
|
47615
47602
|
dependencies: {
|
47616
|
-
"@sanity/sdk": "^
|
47617
|
-
"@sanity/sdk-react": "^
|
47603
|
+
"@sanity/sdk": "^2",
|
47604
|
+
"@sanity/sdk-react": "^2",
|
47618
47605
|
"@sanity/ui": "^2",
|
47619
47606
|
react: "^19",
|
47620
47607
|
"react-dom": "^19",
|