sanity-plugin-iframe-pane 1.1.4 → 1.1.5
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/.releaserc.json +7 -0
- package/.semantic-release/sanity-plugin-iframe-pane-1.1.5.tgz +0 -0
- package/CHANGELOG.md +12 -0
- package/LICENSE +1 -1
- package/README.md +10 -4
- package/package.json +18 -15
package/.releaserc.json
ADDED
|
Binary file
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!-- markdownlint-disable --><!-- textlint-disable -->
|
|
2
|
+
|
|
3
|
+
# 📓 Changelog
|
|
4
|
+
|
|
5
|
+
All notable changes to this project will be documented in this file. See
|
|
6
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
|
+
|
|
8
|
+
## [1.1.5](https://github.com/sanity-io/sanity-plugin-iframe-pane/compare/v1.1.4...v1.1.5) (2022-11-22)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
- **ci:** publish using semantic-release ([11c1fea](https://github.com/sanity-io/sanity-plugin-iframe-pane/commit/11c1fea95cd936198599d12f459a695241ba792f))
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# sanity-plugin-iframe-pane
|
|
2
2
|
|
|
3
|
-
>
|
|
4
|
-
>
|
|
5
|
-
> There is a [Studio v3 specific version in the studio-v3 branch](https://github.com/SimeonGriggs/sanity-plugin-iframe-pane/tree/studio-v3)
|
|
3
|
+
> This is a **Sanity Studio v2** plugin.
|
|
4
|
+
> There is a [Studio v3 specific version](https://github.com/sanity-io/sanity-plugin-iframe-pane)
|
|
6
5
|
|
|
7
6
|
Display any URL in a View Pane, along with helpful buttons to Copy the URL or open in a new tab.
|
|
8
7
|
|
|
@@ -12,8 +11,15 @@ Accepts either a string or an async function to resolve a URL based on the curre
|
|
|
12
11
|
|
|
13
12
|
## Installation
|
|
14
13
|
|
|
14
|
+
```sh
|
|
15
|
+
yarn add sanity-plugin-iframe-pane@studio-v2
|
|
15
16
|
```
|
|
16
|
-
|
|
17
|
+
|
|
18
|
+
Next, add `"iframe-pane"` to `sanity.json` plugins array:
|
|
19
|
+
```json
|
|
20
|
+
"plugins": [
|
|
21
|
+
"iframe-pane"
|
|
22
|
+
]
|
|
17
23
|
```
|
|
18
24
|
|
|
19
25
|
This is designed to be used as a [Component inside of a View](https://www.sanity.io/docs/structure-builder-reference#c0c8284844b7).
|
package/package.json
CHANGED
|
@@ -1,39 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sanity-plugin-iframe-pane",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
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
|
-
"main": "lib/Iframe.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "sanipack build",
|
|
8
|
-
"watch": "sanipack build --watch",
|
|
9
|
-
"prepublishOnly": "sanipack build && sanipack verify",
|
|
10
|
-
"lint": "eslint .",
|
|
11
|
-
"lint:fix": "eslint . --fix"
|
|
12
|
-
},
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "git+ssh://git@github.com/SimeonGriggs/sanity-plugin-iframe-pane.git"
|
|
16
|
-
},
|
|
17
5
|
"keywords": [
|
|
18
6
|
"sanity",
|
|
19
7
|
"sanity-plugin"
|
|
20
8
|
],
|
|
21
|
-
"
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git@github.com:sanity-io/sanity-plugin-iframe-pane.git"
|
|
12
|
+
},
|
|
22
13
|
"license": "MIT",
|
|
14
|
+
"author": "Simeon Griggs <simeon@sanity.io>",
|
|
15
|
+
"main": "lib/Iframe.js",
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "sanipack build",
|
|
18
|
+
"lint": "eslint .",
|
|
19
|
+
"lint:fix": "eslint . --fix",
|
|
20
|
+
"prepublishOnly": "sanipack build && sanipack verify",
|
|
21
|
+
"watch": "sanipack build --watch"
|
|
22
|
+
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@sanity/icons": "^1.2.1",
|
|
25
25
|
"@sanity/ui": "^0.36.12"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
+
"@commitlint/cli": "^17.2.0",
|
|
29
|
+
"@commitlint/config-conventional": "^17.2.0",
|
|
28
30
|
"@sanity/eslint-config-studio": "^2.0.0",
|
|
31
|
+
"@sanity/semantic-release-preset": "^2.0.2",
|
|
29
32
|
"eslint": "8.19.0",
|
|
30
33
|
"eslint-config-prettier": "^8.5.0",
|
|
31
34
|
"eslint-config-sanity": "6.0.0",
|
|
32
35
|
"eslint-plugin-prettier": "^4.2.1",
|
|
33
36
|
"eslint-plugin-react": "^7.30.1",
|
|
34
37
|
"prettier": "2.4.1",
|
|
35
|
-
"sanity": "^2.29.3",
|
|
36
38
|
"sanipack": "2.0.1",
|
|
39
|
+
"sanity": "^2.29.3",
|
|
37
40
|
"typescript": "^4.7.4"
|
|
38
41
|
},
|
|
39
42
|
"peerDependencies": {
|