Skip to content

Commit 3dd8d10

Browse files
committed
chore: upgrade sanity/react versions in playground
1 parent 3a5e40b commit 3dd8d10

3 files changed

Lines changed: 597 additions & 380 deletions

File tree

playground/cms/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@
1515
],
1616
"dependencies": {
1717
"prop-types": "15.8.1",
18-
"react": "17.0.2",
19-
"react-dom": "17.0.2",
18+
"react": "18.2.0",
19+
"react-dom": "18.2.0",
2020
"react-icons": "^4.6.0",
21-
"sanity": "3.0.0-v3-v2-pte.56",
21+
"sanity": "3.0.0-dev-preview.22",
2222
"styled-components": "^5.3.6"
2323
},
2424
"devDependencies": {
25-
"@types/react": "^18.0.21",
25+
"@sanity/vision": "3.0.0-dev-preview.22",
26+
"@types/react": "^18.0.22",
2627
"@types/styled-components": "^5.1.26"
2728
}
2829
}

playground/cms/sanity.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { createConfig } from 'sanity'
22
import { deskTool } from 'sanity/desk'
3+
import { visionTool } from '@sanity/vision'
34
import { schemaTypes } from './schemas'
45

56
export default createConfig({
@@ -10,6 +11,7 @@ export default createConfig({
1011

1112
plugins: [
1213
deskTool(),
14+
visionTool(),
1315
],
1416

1517
schema: {

0 commit comments

Comments
 (0)