@sanity/dashboard 3.0.0-v3-studio.8 → 3.0.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/README.md +4 -21
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Sanity Dashboard
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
npm install --save @sanity/dashboard@studio-v3
|
|
5
|
-
```
|
|
6
|
-
|
|
7
|
-
or
|
|
8
|
-
|
|
9
|
-
```
|
|
10
|
-
yarn add @sanity/dashboard@studio-v3
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
# Sanity Dashboard
|
|
16
|
-
|
|
17
|
-
> **NOTE**
|
|
18
|
-
>
|
|
19
|
-
> This is the **Sanity Studio v3 version** of @sanity/dashboard.
|
|
20
|
-
>
|
|
3
|
+
> This is a **Sanity Studio v3** plugin.
|
|
21
4
|
> For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity/tree/next/packages/%40sanity/dashboard).
|
|
22
5
|
|
|
23
6
|
## What is it?
|
|
@@ -34,11 +17,11 @@ The Dashboard itself is mostly concerned about the layout of the configured widg
|
|
|
34
17
|
|
|
35
18
|
In your Sanity Content Studio run:
|
|
36
19
|
|
|
37
|
-
`npm install --save @sanity/dashboard
|
|
20
|
+
`npm install --save @sanity/dashboard`
|
|
38
21
|
|
|
39
22
|
or
|
|
40
23
|
|
|
41
|
-
`yarn add @sanity/dashboard
|
|
24
|
+
`yarn add @sanity/dashboard`
|
|
42
25
|
|
|
43
26
|
## Basic usage
|
|
44
27
|
In `sanity.config.js` (or .ts), add the dashboard tool to the defineConfig plugins array:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/dashboard",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Tool for rendering dashboard widgets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"watch": "pkg-utils watch"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@sanity/icons": "
|
|
58
|
+
"@sanity/icons": "^2.0.0",
|
|
59
59
|
"@sanity/image-url": "^1.0.1",
|
|
60
60
|
"@sanity/incompatible-plugin": "^1.0.4",
|
|
61
|
-
"@sanity/ui": "1.0.0
|
|
61
|
+
"@sanity/ui": "^1.0.0",
|
|
62
62
|
"lodash": "^4.17.21",
|
|
63
63
|
"rxjs": "^6.6.7"
|
|
64
64
|
},
|
|
@@ -83,13 +83,13 @@
|
|
|
83
83
|
"prettier-plugin-packagejson": "^2.3.0",
|
|
84
84
|
"react": "^18",
|
|
85
85
|
"rimraf": "^3.0.2",
|
|
86
|
-
"sanity": "
|
|
86
|
+
"sanity": "^3.0.0",
|
|
87
87
|
"styled-components": "^5.3.6",
|
|
88
88
|
"typescript": "^4.8.4"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"react": "^18",
|
|
92
|
-
"sanity": "
|
|
92
|
+
"sanity": "^3.0.0",
|
|
93
93
|
"styled-components": "^5.2.0"
|
|
94
94
|
},
|
|
95
95
|
"engines": {
|