sanity-plugin-iframe-pane 2.0.1-v3-studio.2 → 2.0.1-v3-studio.3

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 (1) hide show
  1. package/package.json +31 -29
package/package.json CHANGED
@@ -1,13 +1,17 @@
1
1
  {
2
2
  "name": "sanity-plugin-iframe-pane",
3
- "version": "2.0.1-v3-studio.2",
3
+ "version": "2.0.1-v3-studio.3",
4
4
  "description": "Display any URL in a View Pane, along with helpful buttons to Copy the URL or open in a new tab",
5
- "author": "Simeon Griggs <simeon@sanity.io>",
5
+ "homepage": "https://github.com/sanity-io/sanity-plugin-iframe-pane#readme",
6
+ "bugs": {
7
+ "url": "https://github.com/sanity-io/sanity-plugin-iframe-pane/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git@github.com:sanity-io/sanity-plugin-iframe-pane.git"
12
+ },
6
13
  "license": "MIT",
7
- "source": "./src/index.ts",
8
- "main": "./lib/index.js",
9
- "module": "./lib/index.esm.js",
10
- "types": "./lib/src/index.d.ts",
14
+ "author": "Simeon Griggs <simeon@sanity.io>",
11
15
  "exports": {
12
16
  ".": {
13
17
  "types": "./lib/src/index.d.ts",
@@ -15,8 +19,13 @@
15
19
  "import": "./lib/index.esm.js",
16
20
  "require": "./lib/index.js",
17
21
  "default": "./lib/index.esm.js"
18
- }
22
+ },
23
+ "./package.json": "./package.json"
19
24
  },
25
+ "main": "./lib/index.js",
26
+ "module": "./lib/index.esm.js",
27
+ "source": "./src/index.ts",
28
+ "types": "./lib/src/index.d.ts",
20
29
  "files": [
21
30
  "src",
22
31
  "lib",
@@ -24,33 +33,26 @@
24
33
  "sanity.json"
25
34
  ],
26
35
  "scripts": {
27
- "clean": "rimraf lib",
28
- "lint": "eslint .",
29
36
  "prebuild": "npm run clean && plugin-kit verify-package --silent && pkg-utils",
30
- "build": "pkg-utils build",
31
- "watch": "pkg-utils watch",
37
+ "build": "pkg-utils build --strict",
38
+ "clean": "rimraf lib",
32
39
  "link-watch": "plugin-kit link-watch",
40
+ "lint": "eslint .",
41
+ "prepare": "husky install",
33
42
  "prepublishOnly": "npm run build",
34
- "prepare": "husky install"
35
- },
36
- "repository": {
37
- "type": "git",
38
- "url": "git@github.com:sanity-io/sanity-plugin-iframe-pane.git"
39
- },
40
- "engines": {
41
- "node": ">=14.0.0"
43
+ "watch": "pkg-utils watch"
42
44
  },
43
45
  "dependencies": {
44
46
  "@sanity/icons": "^1.3.1",
45
47
  "@sanity/incompatible-plugin": "^1.0.4",
46
- "@sanity/ui": "^1.0.0-beta.31",
48
+ "@sanity/ui": "1.0.0-beta.32",
47
49
  "usehooks-ts": "^2.6.0"
48
50
  },
49
51
  "devDependencies": {
50
52
  "@commitlint/cli": "^17.2.0",
51
53
  "@commitlint/config-conventional": "^17.2.0",
52
- "@sanity/pkg-utils": "^1.16.2",
53
- "@sanity/plugin-kit": "^2.0.7",
54
+ "@sanity/pkg-utils": "^1.17.2",
55
+ "@sanity/plugin-kit": "^2.1.5",
54
56
  "@sanity/semantic-release-preset": "^2.0.2",
55
57
  "@typescript-eslint/eslint-plugin": "^5.42.0",
56
58
  "@typescript-eslint/parser": "^5.42.0",
@@ -63,17 +65,17 @@
63
65
  "husky": "^8.0.1",
64
66
  "lint-staged": "^13.0.3",
65
67
  "prettier": "^2.7.1",
66
- "react": "^18.0.0",
68
+ "prettier-plugin-packagejson": "^2.3.0",
69
+ "react": "^18",
67
70
  "rimraf": "^3.0.2",
68
- "sanity": "dev-preview || 3.0.0-rc.0",
71
+ "sanity": "3.0.0-rc.0",
69
72
  "typescript": "^4.8.4"
70
73
  },
71
74
  "peerDependencies": {
72
- "react": "^18.0.0",
75
+ "react": "^18",
73
76
  "sanity": "dev-preview || 3.0.0-rc.0"
74
77
  },
75
- "bugs": {
76
- "url": "https://github.com/sanity-io/sanity-plugin-iframe-pane/issues"
77
- },
78
- "homepage": "https://github.com/sanity-io/sanity-plugin-iframe-pane#readme"
78
+ "engines": {
79
+ "node": ">=14"
80
+ }
79
81
  }