next-sanity 9.0.7 → 9.0.9
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/README.md +2 -2
- package/package.json +9 -12
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 {
|
|
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: [
|
|
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.
|
|
3
|
+
"version": "9.0.9",
|
|
4
4
|
"description": "Sanity.io toolkit for Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -92,9 +92,9 @@
|
|
|
92
92
|
"browserslist": "extends @sanity/browserslist-config",
|
|
93
93
|
"dependencies": {
|
|
94
94
|
"@portabletext/react": "^3.0.18",
|
|
95
|
-
"@sanity/client": "^6.15.
|
|
96
|
-
"@sanity/preview-kit": "5.0.
|
|
97
|
-
"@sanity/visual-editing": "1.8.
|
|
95
|
+
"@sanity/client": "^6.15.20",
|
|
96
|
+
"@sanity/preview-kit": "5.0.47",
|
|
97
|
+
"@sanity/visual-editing": "1.8.15",
|
|
98
98
|
"@sanity/webhook": "4.0.2-bc",
|
|
99
99
|
"groq": "^3.37.1",
|
|
100
100
|
"history": "^5.3.0"
|
|
@@ -102,9 +102,9 @@
|
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@sanity/browserslist-config": "^1.0.3",
|
|
104
104
|
"@sanity/eslint-config-studio": "^4.0.0",
|
|
105
|
-
"@sanity/pkg-utils": "^6.8.
|
|
105
|
+
"@sanity/pkg-utils": "^6.8.3",
|
|
106
106
|
"@types/react": "^18.2.79",
|
|
107
|
-
"@typescript-eslint/eslint-plugin": "^7.7.
|
|
107
|
+
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
|
108
108
|
"@vitest/coverage-v8": "^1.5.0",
|
|
109
109
|
"eslint": "^8.57.0",
|
|
110
110
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -112,16 +112,15 @@
|
|
|
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.
|
|
115
|
+
"next": "14.2.2",
|
|
116
116
|
"react": "^18.2.0",
|
|
117
|
-
"rimraf": "^5.0.5",
|
|
118
117
|
"styled-components": "^6.1.8",
|
|
119
118
|
"typescript": "5.4.5",
|
|
120
119
|
"vitest": "^1.5.0",
|
|
121
120
|
"vitest-github-actions-reporter": "^0.11.1"
|
|
122
121
|
},
|
|
123
122
|
"peerDependencies": {
|
|
124
|
-
"@sanity/client": "^6.15.
|
|
123
|
+
"@sanity/client": "^6.15.20",
|
|
125
124
|
"@sanity/icons": "^2.11.3",
|
|
126
125
|
"@sanity/types": "^3.37.1",
|
|
127
126
|
"@sanity/ui": "^2.0.11",
|
|
@@ -134,9 +133,7 @@
|
|
|
134
133
|
"node": ">=18.17"
|
|
135
134
|
},
|
|
136
135
|
"scripts": {
|
|
137
|
-
"
|
|
138
|
-
"build": "pkg build --strict && pkg --strict",
|
|
139
|
-
"clean": "npx rimraf dist",
|
|
136
|
+
"build": "pkg build --strict --clean --check",
|
|
140
137
|
"coverage": "npm test -- --coverage",
|
|
141
138
|
"dev": "next",
|
|
142
139
|
"format": "eslint --fix .",
|