sanity-plugin-cloudinary 0.2.1 → 0.2.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.
- package/LICENSE +1 -1
- package/README.md +13 -1
- package/package.json +24 -20
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
# Sanity + Cloudinary = 🖼️
|
|
2
2
|
|
|
3
|
+
> This is a **Sanity Studio v2** plugin.
|
|
4
|
+
> For the v3 version, please refer to the [v3-branch](https://github.com/sanity-io/sanity-plugin-cloudinary/).
|
|
5
|
+
|
|
3
6
|
## Installation
|
|
4
7
|
|
|
5
|
-
|
|
8
|
+
```bash
|
|
9
|
+
yarn add sanity-plugin-cloudinary@studio-v2
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Next, add `"cloudinary"` to `sanity.json` plugins array:
|
|
13
|
+
```json
|
|
14
|
+
"plugins": [
|
|
15
|
+
"cloudinary"
|
|
16
|
+
]
|
|
17
|
+
```
|
|
6
18
|
|
|
7
19
|
## Usage
|
|
8
20
|
|
package/package.json
CHANGED
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"name": "sanity-plugin-cloudinary",
|
|
3
|
+
"version": "0.2.3",
|
|
3
4
|
"license": "MIT",
|
|
5
|
+
"author": "Sanity.io <hello@sanity.io>",
|
|
4
6
|
"files": [
|
|
5
7
|
"dist",
|
|
6
8
|
"sanity.json"
|
|
7
9
|
],
|
|
8
|
-
"engines": {
|
|
9
|
-
"node": ">=10"
|
|
10
|
-
},
|
|
11
10
|
"scripts": {
|
|
12
11
|
"build": "sanipack build",
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
"peerDependencies": {
|
|
16
|
-
"@sanity/base": "^2.6.2",
|
|
17
|
-
"@sanity/field": "^2.6.2",
|
|
18
|
-
"@sanity/form-builder": "^2.6.2",
|
|
19
|
-
"react": "^17.0",
|
|
20
|
-
"react-dom": "^17.0"
|
|
12
|
+
"prepublishOnly": "sanipack build && sanipack verify",
|
|
13
|
+
"watch": "sanipack build --watch"
|
|
21
14
|
},
|
|
22
15
|
"husky": {
|
|
23
16
|
"hooks": {
|
|
@@ -30,12 +23,19 @@
|
|
|
30
23
|
"singleQuote": true,
|
|
31
24
|
"trailingComma": "es5"
|
|
32
25
|
},
|
|
33
|
-
"
|
|
34
|
-
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"nanoid": "^3.1.22",
|
|
28
|
+
"sanity-secrets": "^0.0.6",
|
|
29
|
+
"styled-components": "^5.2.1",
|
|
30
|
+
"video.js": "^7.11.7"
|
|
31
|
+
},
|
|
35
32
|
"devDependencies": {
|
|
33
|
+
"@commitlint/cli": "^17.2.0",
|
|
34
|
+
"@commitlint/config-conventional": "^17.2.0",
|
|
36
35
|
"@sanity/base": "^2.6.2",
|
|
37
36
|
"@sanity/field": "^2.6.2",
|
|
38
37
|
"@sanity/form-builder": "^2.6.2",
|
|
38
|
+
"@sanity/semantic-release-preset": "^2.0.2",
|
|
39
39
|
"@sanity/types": "^2.6.0",
|
|
40
40
|
"@size-limit/preset-small-lib": "^4.9.2",
|
|
41
41
|
"@types/react": "^17.0.2",
|
|
@@ -45,16 +45,20 @@
|
|
|
45
45
|
"husky": "^5.1.3",
|
|
46
46
|
"postcss": "^8.0.0",
|
|
47
47
|
"rollup-plugin-postcss": "^4.0.0",
|
|
48
|
-
"sanipack": "
|
|
48
|
+
"sanipack": "2.0.1",
|
|
49
49
|
"size-limit": "^4.9.2",
|
|
50
50
|
"tsdx": "^0.14.1",
|
|
51
51
|
"tslib": "^2.1.0",
|
|
52
52
|
"typescript": "^4.2.2"
|
|
53
53
|
},
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"sanity
|
|
57
|
-
"
|
|
58
|
-
"
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@sanity/base": "^2.6.2",
|
|
56
|
+
"@sanity/field": "^2.6.2",
|
|
57
|
+
"@sanity/form-builder": "^2.6.2",
|
|
58
|
+
"react": "^17.0",
|
|
59
|
+
"react-dom": "^17.0"
|
|
60
|
+
},
|
|
61
|
+
"engines": {
|
|
62
|
+
"node": ">=10"
|
|
59
63
|
}
|
|
60
64
|
}
|