@electrolux-oss/sanity-plugin-media 5.0.0 → 5.1.0
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 +63 -14
- package/dist/index.d.ts +141 -204
- package/dist/index.js +5657 -5958
- package/dist/index.js.map +1 -1
- package/package.json +51 -53
package/package.json
CHANGED
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@electrolux-oss/sanity-plugin-media",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"keywords": [
|
|
5
|
-
"
|
|
5
|
+
"asset",
|
|
6
|
+
"browser",
|
|
6
7
|
"cms",
|
|
8
|
+
"content",
|
|
9
|
+
"electrolux",
|
|
7
10
|
"headless",
|
|
8
11
|
"realtime",
|
|
9
|
-
"
|
|
10
|
-
"sanity-plugin"
|
|
11
|
-
"asset",
|
|
12
|
-
"browser",
|
|
13
|
-
"electrolux"
|
|
12
|
+
"sanity",
|
|
13
|
+
"sanity-plugin"
|
|
14
14
|
],
|
|
15
15
|
"homepage": "https://github.com/electrolux-oss/sanity-plugin-media",
|
|
16
|
-
"repository": {
|
|
17
|
-
"type": "git",
|
|
18
|
-
"url": "git+https://github.com/electrolux-oss/sanity-plugin-media.git"
|
|
19
|
-
},
|
|
20
16
|
"license": "MIT",
|
|
21
17
|
"author": "Philip Åkerfeldt",
|
|
22
18
|
"contributors": [
|
|
@@ -25,35 +21,23 @@
|
|
|
25
21
|
"url": "https://www.npmjs.com/~philip.akerfeldt"
|
|
26
22
|
}
|
|
27
23
|
],
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
".": {
|
|
32
|
-
"source": "./src/index.ts",
|
|
33
|
-
"import": "./dist/index.js",
|
|
34
|
-
"default": "./dist/index.js"
|
|
35
|
-
},
|
|
36
|
-
"./package.json": "./package.json"
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/electrolux-oss/sanity-plugin-media.git"
|
|
37
27
|
},
|
|
38
|
-
"main": "./dist/index.js",
|
|
39
|
-
"module": "./dist/index.js",
|
|
40
|
-
"types": "./dist/index.d.ts",
|
|
41
28
|
"files": [
|
|
42
29
|
"dist"
|
|
43
30
|
],
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
53
|
-
"typecheck": "tsc --noEmit",
|
|
54
|
-
"watch": "pkg-utils watch --strict"
|
|
31
|
+
"type": "module",
|
|
32
|
+
"sideEffects": false,
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"exports": {
|
|
35
|
+
".": "./dist/index.js",
|
|
36
|
+
"./package.json": "./package.json"
|
|
37
|
+
},
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
55
40
|
},
|
|
56
|
-
"browserslist": "extends @sanity/browserslist-config",
|
|
57
41
|
"dependencies": {
|
|
58
42
|
"@hookform/resolvers": "^5.9.2",
|
|
59
43
|
"@reduxjs/toolkit": "^2.11.2",
|
|
@@ -81,31 +65,24 @@
|
|
|
81
65
|
},
|
|
82
66
|
"devDependencies": {
|
|
83
67
|
"@sanity/icons": "^5.2.3",
|
|
84
|
-
"@sanity/pkg-utils": "^
|
|
85
|
-
"@sanity/plugin-kit": "^
|
|
68
|
+
"@sanity/pkg-utils": "^13.0.16",
|
|
69
|
+
"@sanity/plugin-kit": "^10.1.0",
|
|
86
70
|
"@types/pluralize": "^0.0.33",
|
|
87
71
|
"@types/react": "^19.2.14",
|
|
88
72
|
"@types/react-dom": "^19.0.4",
|
|
89
73
|
"@types/react-file-icon": "^1.0.4",
|
|
90
|
-
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
91
|
-
"@typescript-eslint/parser": "^5.62.0",
|
|
92
|
-
"ajv": "^8.20.0",
|
|
93
74
|
"baseline-browser-mapping": "^2.10.0",
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"eslint-plugin-react": "^7.37.4",
|
|
99
|
-
"eslint-plugin-react-hooks": "^4.6.2",
|
|
100
|
-
"prettier": "^2.8.8",
|
|
101
|
-
"prettier-plugin-packagejson": "^2.5.22",
|
|
75
|
+
"oxfmt": "^0.73.0",
|
|
76
|
+
"oxlint": "^1.91.0",
|
|
77
|
+
"oxlint-tsgolint": "^7.0.2005",
|
|
78
|
+
"pnpm": "10.34.9",
|
|
102
79
|
"react": "^19.2.4",
|
|
103
80
|
"react-dom": "^19.2.4",
|
|
104
81
|
"react-is": "^19.2.4",
|
|
105
|
-
"rimraf": "^
|
|
82
|
+
"rimraf": "^6.1.3",
|
|
106
83
|
"sanity": "^6.21.0",
|
|
107
84
|
"styled-components": "^6.3.11",
|
|
108
|
-
"typescript": "
|
|
85
|
+
"typescript": "~6.0.3"
|
|
109
86
|
},
|
|
110
87
|
"peerDependencies": {
|
|
111
88
|
"react": "^19.2.2",
|
|
@@ -113,10 +90,31 @@
|
|
|
113
90
|
"sanity": "^6.20.0",
|
|
114
91
|
"styled-components": "^6.1.15"
|
|
115
92
|
},
|
|
93
|
+
"browserslist": "extends @sanity/browserslist-config",
|
|
116
94
|
"engines": {
|
|
117
95
|
"node": ">=22.12"
|
|
118
96
|
},
|
|
119
|
-
"
|
|
120
|
-
"
|
|
97
|
+
"inlinedDependencies": {
|
|
98
|
+
"@sanity/icons": "5.2.3",
|
|
99
|
+
"redux": "5.0.1"
|
|
100
|
+
},
|
|
101
|
+
"sanityPlugin": {
|
|
102
|
+
"verifyPackage": {
|
|
103
|
+
"nodeEngine": false,
|
|
104
|
+
"scripts": false
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"scripts": {
|
|
108
|
+
"build": "plugin-kit verify-package --silent && pkg-utils build --strict --check",
|
|
109
|
+
"clean": "rimraf dist",
|
|
110
|
+
"dev": "sanity dev",
|
|
111
|
+
"format": "oxfmt",
|
|
112
|
+
"link-watch": "plugin-kit link-watch",
|
|
113
|
+
"lint": "oxlint",
|
|
114
|
+
"lint:fix": "oxlint --fix",
|
|
115
|
+
"publish:next": "pnpm publish --tag next",
|
|
116
|
+
"publish:next:dry-run": "pnpm publish --tag next --dry-run",
|
|
117
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
118
|
+
"watch": "pkg-utils watch --strict"
|
|
121
119
|
}
|
|
122
|
-
}
|
|
120
|
+
}
|