Skip to content

Commit 4e3db99

Browse files
authored
feat!: initial release for Sanity Studio v3
BREAKING CHANGE: this version does not work in Sanity Studio v2
2 parents 6ea1be1 + a2a62e9 commit 4e3db99

File tree

5 files changed

+144
-160
lines changed

5 files changed

+144
-160
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
with:
9797
cache: npm
9898
node-version: ${{ matrix.node }}
99-
- run: npm ci
99+
- run: npm i
100100
- run: npm test --if-present
101101

102102
release:

.releaserc.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
22
"extends": "@sanity/semantic-release-preset",
3-
"branches": [
4-
"main-for-semver",
5-
{"name": "main", "channel": "studio-v3", "prerelease": "v3-studio"}
6-
]
3+
"branches": ["main"]
74
}

README.md

+4-21
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
1-
## Installation
1+
Sanity Dashboard
22

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.
214
> For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity/tree/next/packages/%40sanity/dashboard).
225
236
## What is it?
@@ -34,11 +17,11 @@ The Dashboard itself is mostly concerned about the layout of the configured widg
3417

3518
In your Sanity Content Studio run:
3619

37-
`npm install --save @sanity/dashboard@studio-v3`
20+
`npm install --save @sanity/dashboard`
3821

3922
or
4023

41-
`yarn add @sanity/dashboard@studio-v3`
24+
`yarn add @sanity/dashboard`
4225

4326
## Basic usage
4427
In `sanity.config.js` (or .ts), add the dashboard tool to the defineConfig plugins array:

0 commit comments

Comments
 (0)