Skip to content

Commit

Permalink
feat!: initial Sanity Studio v3 release
Browse files Browse the repository at this point in the history
BREAKING CHANGE: this version does not work in Sanity Studio v2
  • Loading branch information
snorrees authored Nov 25, 2022
1 parent f7ae24b commit 045dd4b
Show file tree
Hide file tree
Showing 5 changed files with 359 additions and 340 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
with:
cache: npm
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm i
- run: npm test

release:
Expand Down
5 changes: 1 addition & 4 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"extends": "@sanity/semantic-release-preset",
"branches": [
{"name": "main", "channel": "studio-v3", "prerelease": "v3-studio"},
{"name": "main-post-ga"}
]
"branches": ["main"]
}
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# @sanity/code-input

> **NOTE**
>
> This is the **Sanity Studio v3 version** of @sanity/code-input.
>
> This is a **Sanity Studio v3** plugin.
> For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity/tree/next/packages/%40sanity/code-input).
## What is it?
Expand All @@ -19,13 +16,13 @@ Click lines to highlight them.
## Installation

```
npm install --save @sanity/code-input@studio-v3
npm install --save @sanity/code-input
```

or

```
yarn add @sanity/code-input@studio-v3
yarn add @sanity/code-input
```

## Usage
Expand Down
Loading

0 comments on commit 045dd4b

Please sign in to comment.