Skip to content

Commit

Permalink
fix: compiled for sanity 3.0.0-rc.0
Browse files Browse the repository at this point in the history
Upgraded with
"npx @sanity/plugin-kit inject --preset semver-workflow --preset renovatebot"
  • Loading branch information
snorrees committed Nov 2, 2022
1 parent a7d9fd8 commit 244af05
Show file tree
Hide file tree
Showing 13 changed files with 5,257 additions and 2,693 deletions.
7 changes: 6 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
lib
.eslintrc.js
commitlint.config.js
lib
lint-staged.config.js
package.config.ts
*.js
15 changes: 12 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"ignorePatterns": [".sanity", "dist", "node_modules"],
"extends": ["sanity/typescript", "prettier", "@sanity/no-v2-imports"],
"plugins": ["prettier"]
"root": true,
"env": {
"node": true,
"browser": true
},
"extends": [
"sanity",
"sanity/typescript",
"sanity/react",
"plugin:react-hooks/recommended",
"plugin:prettier/recommended"
]
}
11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,17 @@ jspm_packages
# VS Code settings
.vscode

# Yarn lockfile
yarn.lock

# IntelliJ
.idea
*.iml

# Cache
.cache

# Yalc
.yalc
yalc.lock

# Compiled plugin
/lib
lib

# Parcel cache
.parcel-cache
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/coverage
.editorconfig
.eslintrc
.eslintignore
.gitignore
.github
.prettierrc
Expand Down
6 changes: 6 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
semi: false,
printWidth: 100,
bracketSpacing: false,
singleQuote: true,
}
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# 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.
> **NOTE**
>
> The Studio V2 compatible version can be found on the [V2 branch](https://github.com/sanity-io/sanity-plugin-documents-pane).
> 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).

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 Expand Up @@ -101,5 +104,19 @@ This plugin is based on [Incoming References](https://github.com/sanity-io/sanit
## License
MIT © Sanity.io
See [LICENSE](license)
MIT-licensed. See LICENSE.
## Develop & test
This plugin uses [@sanity/plugin-kit](https://github.com/sanity-io/plugin-kit)
with default configuration for build & watch scripts.
See [Testing a plugin in Sanity Studio](https://github.com/sanity-io/plugin-kit#testing-a-plugin-in-sanity-studio)
on how to run this plugin with hotreload in the studio.
### Release new version
Run ["CI & Release" workflow](https://github.com/sanity-io/sanity-plugin-documents-pane/actions/workflows/main.yml).
Make sure to select the main branch and check "Release new version".
Semantic release will only release on configured branches, so it is safe to run release on any branch.
Loading

0 comments on commit 244af05

Please sign in to comment.