sanity-plugin-cloudinary 2.0.0 → 2.0.2
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 +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -57,10 +57,10 @@ export default defineConfg({
|
|
|
57
57
|
return [...previousAssetSources, cloudinaryImageSource]
|
|
58
58
|
}
|
|
59
59
|
if (context.currentUser?.roles.includes('onlyCloudinaryAccess')) {
|
|
60
|
-
// only use
|
|
60
|
+
// only use cloudinary as an asset source
|
|
61
61
|
return [cloudinaryImageSource]
|
|
62
62
|
}
|
|
63
|
-
//
|
|
63
|
+
// don't add cloudinary as an asset source
|
|
64
64
|
return previousAssetSources
|
|
65
65
|
},
|
|
66
66
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sanity-plugin-cloudinary",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Cloudinary integration for Sanity Studio V3.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@sanity/icons": "^3.7.4",
|
|
31
31
|
"@sanity/ui": "^3.2.0",
|
|
32
|
-
"nanoid": "^
|
|
32
|
+
"nanoid": "^5.1.14",
|
|
33
33
|
"@sanity/studio-secrets": "^4.0.5"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@sanity/pkg-utils": "^10.5.
|
|
36
|
+
"@sanity/pkg-utils": "^10.5.8",
|
|
37
37
|
"@types/react": "^19.2.17",
|
|
38
38
|
"@types/react-dom": "^19.2.3",
|
|
39
39
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"react-dom": "^19.2.7",
|
|
43
43
|
"sanity": "^6.1.0",
|
|
44
44
|
"styled-components": "^6.4.2",
|
|
45
|
-
"@repo/
|
|
46
|
-
"@repo/
|
|
45
|
+
"@repo/tsconfig": "0.0.0",
|
|
46
|
+
"@repo/package.config": "0.0.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react": "^19.2",
|