Skip to content

Commit

Permalink
feat!: initial studio v3 version
Browse files Browse the repository at this point in the history
  • Loading branch information
robinpyon committed Oct 4, 2022
1 parent 2954767 commit 31b37ef
Show file tree
Hide file tree
Showing 13 changed files with 20,536 additions and 10,527 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"ignorePatterns": [".sanity", "dist", "node_modules"],
"extends": ["sanity/typescript", "prettier"],
"extends": ["sanity/typescript", "prettier", "@sanity/no-v2-imports"],
"plugins": ["prettier"]
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ yarn.lock
# Compiled plugin
/lib

# Parcel cache
.parcel-cache
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/test
/coverage
.babelrc
.editorconfig
.eslintrc
.eslintignore
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
# sanity-plugin-documents-pane

> This version of `sanity-plugin-documents-pane` is for [Sanity Studio V3](https://www.sanity.io/blog/sanity-studio-v3-developer-preview), which is currently in developer preview.
>
> The Studio V2 compatible version can be found on the [V2 branch](https://github.com/sanity-io/sanity-plugin-documents-pane).
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.

![Incoming References](https://user-images.githubusercontent.com/9684022/121202594-52bc6180-c86d-11eb-897d-f418047b3d22.png)

## Installation

```sh
npm install --save sanity-plugin-documents-pane@studio-v3
```
sanity install documents-pane

or

```sh
yarn add sanity-plugin-documents-pane@studio-v3
```

This plugin is designed to be used as a [Component inside of a View](https://www.sanity.io/docs/structure-builder-reference#c0c8284844b7).
Expand Down
Loading

0 comments on commit 31b37ef

Please sign in to comment.