sanity-plugin-documents-pane 2.0.0-v3-studio.4 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -6
  2. package/package.json +40 -40
package/README.md CHANGED
@@ -1,11 +1,7 @@
1
1
  # sanity-plugin-documents-pane
2
2
 
3
- > **NOTE**
4
- >
5
- > This is the **Sanity Studio v3 version** of sanity-plugin-documents-pane.
6
- >
7
- > For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity-plugin-documents-pane).
8
-
3
+ >This is a **Sanity Studio v3** plugin.
4
+ > For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity-plugin-documents-pane/tree/studio-v2).
9
5
 
10
6
  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.
11
7
 
package/package.json CHANGED
@@ -1,10 +1,21 @@
1
1
  {
2
2
  "name": "sanity-plugin-documents-pane",
3
- "version": "2.0.0-v3-studio.4",
3
+ "version": "2.0.0",
4
4
  "description": "Displays the results of a GROQ query in a View Pane",
5
- "author": "Sanity.io <hello@sanity.io>",
5
+ "keywords": [
6
+ "sanity",
7
+ "sanity-plugin"
8
+ ],
9
+ "homepage": "https://github.com/sanity-io/sanity-plugin-documents-pane#readme",
10
+ "bugs": {
11
+ "url": "https://github.com/sanity-io/sanity-plugin-documents-pane/issues"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git@github.com:sanity-io/sanity-plugin-documents-pane.git"
16
+ },
6
17
  "license": "MIT",
7
- "source": "./src/index.ts",
18
+ "author": "Sanity.io <hello@sanity.io>",
8
19
  "exports": {
9
20
  ".": {
10
21
  "types": "./lib/src/index.d.ts",
@@ -12,10 +23,12 @@
12
23
  "import": "./lib/index.esm.js",
13
24
  "require": "./lib/index.js",
14
25
  "default": "./lib/index.esm.js"
15
- }
26
+ },
27
+ "./package.json": "./package.json"
16
28
  },
17
29
  "main": "./lib/index.js",
18
30
  "module": "./lib/index.esm.js",
31
+ "source": "./src/index.ts",
19
32
  "types": "./lib/src/index.d.ts",
20
33
  "files": [
21
34
  "src",
@@ -25,58 +38,39 @@
25
38
  ],
26
39
  "scripts": {
27
40
  "prebuild": "npm run clean && plugin-kit verify-package --silent && pkg-utils",
28
- "build": "pkg-utils build",
29
- "watch": "pkg-utils watch",
41
+ "build": "pkg-utils build --strict",
42
+ "clean": "rimraf lib",
43
+ "compile": "tsc --noEmit",
30
44
  "link-watch": "plugin-kit link-watch",
31
45
  "lint": "eslint .",
46
+ "prepare": "husky install",
32
47
  "prepublishOnly": "npm run compile && npm run build",
33
- "compile": "tsc --noEmit",
34
- "clean": "rimraf lib",
35
- "prepare": "husky install"
36
- },
37
- "engines": {
38
- "node": ">=14.0.0"
48
+ "watch": "pkg-utils watch"
39
49
  },
40
50
  "husky": {
41
51
  "hooks": {
42
52
  "pre-commit": "npm run lint:fix"
43
53
  }
44
54
  },
45
- "repository": {
46
- "type": "git",
47
- "url": "git@github.com:sanity-io/sanity-plugin-documents-pane.git"
48
- },
49
- "keywords": [
50
- "sanity",
51
- "sanity-plugin"
52
- ],
53
55
  "dependencies": {
54
56
  "@sanity/icons": "^1.3.4",
55
57
  "@sanity/incompatible-plugin": "^1.0.4",
56
- "@sanity/ui": "^1.0.0-beta.31",
58
+ "@sanity/ui": "1.0.0-beta.32",
57
59
  "dlv": "^1.1.3",
58
60
  "react-fast-compare": "^3.2.0",
59
61
  "rxjs": "^6.5.6"
60
62
  },
61
- "peerDependencies": {
62
- "@sanity/util": "^2.29.5",
63
- "@sanity/uuid": "^3.0.1",
64
- "react": "^18.0.0",
65
- "react-dom": "^18.0.0",
66
- "sanity": "dev-preview || 3.0.0-rc.0"
67
- },
68
63
  "devDependencies": {
69
64
  "@commitlint/cli": "^17.2.0",
70
65
  "@commitlint/config-conventional": "^17.2.0",
71
- "@sanity/eslint-config-no-v2-imports": "^0.0.1-studio-v3.3",
72
- "@sanity/pkg-utils": "^1.16.2",
73
- "@sanity/plugin-kit": "^2.0.6",
66
+ "@sanity/pkg-utils": "^1.17.2",
67
+ "@sanity/plugin-kit": "^2.1.5",
74
68
  "@sanity/semantic-release-preset": "^2.0.2",
75
69
  "@sanity/util": "^2.29.5",
76
70
  "@sanity/uuid": "^3.0.1",
77
71
  "@types/dlv": "^1.1.2",
78
- "@types/react": "^18.0.0",
79
- "@types/react-dom": "^18.0.0",
72
+ "@types/react": "^18",
73
+ "@types/react-dom": "^18",
80
74
  "@typescript-eslint/eslint-plugin": "^5.42.0",
81
75
  "@typescript-eslint/parser": "^5.42.0",
82
76
  "eslint": "^8.26.0",
@@ -87,16 +81,22 @@
87
81
  "eslint-plugin-react-hooks": "^4.6.0",
88
82
  "husky": "^8.0.1",
89
83
  "lint-staged": "^13.0.3",
90
- "pinst": "^3.0.0",
91
84
  "prettier": "^2.7.1",
92
- "react": "^18.0.0",
93
- "react-dom": "^18.0.0",
85
+ "prettier-plugin-packagejson": "^2.3.0",
86
+ "react": "^18",
87
+ "react-dom": "^18",
94
88
  "rimraf": "^3.0.2",
95
- "sanity": "dev-preview || 3.0.0-rc.0",
89
+ "sanity": "3.0.0-rc.2",
96
90
  "typescript": "^4.8.4"
97
91
  },
98
- "bugs": {
99
- "url": "https://github.com/sanity-io/sanity-plugin-documents-pane/issues"
92
+ "peerDependencies": {
93
+ "@sanity/util": "^2.29.5",
94
+ "@sanity/uuid": "^3.0.1",
95
+ "react": "^18",
96
+ "react-dom": "^18",
97
+ "sanity": "dev-preview || 3.0.0-rc.2"
100
98
  },
101
- "homepage": "https://github.com/sanity-io/sanity-plugin-documents-pane#readme"
99
+ "engines": {
100
+ "node": ">=14"
101
+ }
102
102
  }