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 no longer works in Sanity Studio v2
  • Loading branch information
snorrees committed Nov 17, 2022
1 parent e99537e commit b6b7df9
Show file tree
Hide file tree
Showing 5 changed files with 184 additions and 186 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
pull_request:
# Build on commits pushed to branches without a PR if it's in the allowlist
push:
branches: [main, v3]
branches: [main, studio-v2]
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
with:
cache: npm
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm i
- run: npm test --if-present

release:
Expand Down
2 changes: 1 addition & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "@sanity/semantic-release-preset",
"branches": ["main", {"name": "v3", "channel": "studio-v3", "prerelease": "v3-studio"}]
"branches": ["main", {"name": "studio-v2", "channel": "studio-v2", "range": "1.x.x"}]
}
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
## Usage

# sanity-plugin-documents-pane

> **NOTE**
>
> This is the **Sanity Studio v3 version** of sanity-plugin-documents-pane.
>
> For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity-plugin-documents-pane).
>This is a **Sanity Studio v3** plugin.
> For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity-plugin-documents-pane/tree/studio-v2).
Displays the results of a GROQ query in a View Pane. With the ability to use field values in the current document as query parameters.

Expand Down
Loading

0 comments on commit b6b7df9

Please sign in to comment.