sanity-plugin-iframe-pane 2.0.1-v3-studio.2 → 2.0.1
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.
- package/README.md +5 -7
- package/package.json +32 -30
- package/v2-incompatible.js +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
# sanity-plugin-iframe-pane
|
|
2
2
|
|
|
3
|
-
> **
|
|
4
|
-
>
|
|
5
|
-
> This is the **Sanity Studio v3 version** of sanity-plugin-iframe-pane.
|
|
6
|
-
>
|
|
7
|
-
> For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity-plugin-iframe-pane).
|
|
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-iframe-pane/tree/studio-v2).
|
|
8
5
|
|
|
9
6
|
Display any URL in a View Pane, along with helpful buttons to Copy the URL or open in a new tab.
|
|
10
7
|
|
|
@@ -15,13 +12,13 @@ Accepts either a string or an async function to resolve a URL based on the curre
|
|
|
15
12
|
## Installation
|
|
16
13
|
|
|
17
14
|
```
|
|
18
|
-
npm install --save sanity-plugin-iframe-pane
|
|
15
|
+
npm install --save sanity-plugin-iframe-pane
|
|
19
16
|
```
|
|
20
17
|
|
|
21
18
|
or
|
|
22
19
|
|
|
23
20
|
```
|
|
24
|
-
yarn add sanity-plugin-iframe-pane
|
|
21
|
+
yarn add sanity-plugin-iframe-pane
|
|
25
22
|
```
|
|
26
23
|
|
|
27
24
|
## Usage
|
|
@@ -70,3 +67,4 @@ Run ["CI & Release" workflow](https://github.com/sanity-io/sanity-plugin-iframe-
|
|
|
70
67
|
Make sure to select the studio-v3 branch and check "Release new version".
|
|
71
68
|
|
|
72
69
|
Semantic release will only release on configured branches, so it is safe to run release on any branch.
|
|
70
|
+
|
package/package.json
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sanity-plugin-iframe-pane",
|
|
3
|
-
"version": "2.0.1
|
|
3
|
+
"version": "2.0.1",
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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": "
|
|
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.
|
|
53
|
-
"@sanity/plugin-kit": "^2.
|
|
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
|
-
"
|
|
68
|
+
"prettier-plugin-packagejson": "^2.3.0",
|
|
69
|
+
"react": "^18",
|
|
67
70
|
"rimraf": "^3.0.2",
|
|
68
|
-
"sanity": "
|
|
71
|
+
"sanity": "3.0.0-rc.2",
|
|
69
72
|
"typescript": "^4.8.4"
|
|
70
73
|
},
|
|
71
74
|
"peerDependencies": {
|
|
72
|
-
"react": "^18
|
|
73
|
-
"sanity": "dev-preview || 3.0.0-rc.
|
|
75
|
+
"react": "^18",
|
|
76
|
+
"sanity": "dev-preview || 3.0.0-rc.2"
|
|
74
77
|
},
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
}
|
|
78
|
-
"homepage": "https://github.com/sanity-io/sanity-plugin-iframe-pane#readme"
|
|
78
|
+
"engines": {
|
|
79
|
+
"node": ">=14"
|
|
80
|
+
}
|
|
79
81
|
}
|