next-sanity 9.0.7 → 9.0.8

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -599,7 +599,7 @@ Make a file called `sanity.config.ts` (or `.js` for non-TypeScript projects) in
599
599
  ```ts
600
600
  // ./sanity.config.ts
601
601
  import {defineConfig} from 'sanity'
602
- import {deskTool} from 'sanity/desk'
602
+ import {structureTool} from 'sanity/structure'
603
603
 
604
604
  import {schemaTypes} from './src/schema'
605
605
 
@@ -611,7 +611,7 @@ export default defineConfig({
611
611
 
612
612
  projectId,
613
613
  dataset,
614
- plugins: [deskTool()],
614
+ plugins: [structureTool()],
615
615
  schema: {
616
616
  types: schemaTypes,
617
617
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-sanity",
3
- "version": "9.0.7",
3
+ "version": "9.0.8",
4
4
  "description": "Sanity.io toolkit for Next.js",
5
5
  "keywords": [
6
6
  "sanity",
@@ -93,8 +93,8 @@
93
93
  "dependencies": {
94
94
  "@portabletext/react": "^3.0.18",
95
95
  "@sanity/client": "^6.15.19",
96
- "@sanity/preview-kit": "5.0.45",
97
- "@sanity/visual-editing": "1.8.12",
96
+ "@sanity/preview-kit": "5.0.46",
97
+ "@sanity/visual-editing": "1.8.14",
98
98
  "@sanity/webhook": "4.0.2-bc",
99
99
  "groq": "^3.37.1",
100
100
  "history": "^5.3.0"
@@ -112,7 +112,7 @@
112
112
  "eslint-gitignore": "^0.1.0",
113
113
  "eslint-plugin-simple-import-sort": "^12.1.0",
114
114
  "ls-engines": "^0.9.1",
115
- "next": "14.2.1",
115
+ "next": "14.2.2",
116
116
  "react": "^18.2.0",
117
117
  "rimraf": "^5.0.5",
118
118
  "styled-components": "^6.1.8",