sanity-plugin-mux-input 3.0.0 → 3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sanity-plugin-mux-input",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "An input component that integrates Sanity Studio with Mux video encoding/hosting service.",
5
5
  "keywords": [
6
6
  "sanity",
@@ -11,27 +11,29 @@
11
11
  "sanity-plugin",
12
12
  "media"
13
13
  ],
14
- "homepage": "https://github.com/sanity-io/sanity-plugin-mux-input#readme",
14
+ "homepage": "https://github.com/sanity-io/plugins/tree/main/plugins/sanity-plugin-mux-input#readme",
15
15
  "bugs": {
16
- "url": "https://github.com/sanity-io/sanity-plugin-mux-input/issues"
16
+ "url": "https://github.com/sanity-io/plugins/issues"
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",
20
- "url": "git@github.com:sanity-io/sanity-plugin-mux-input.git"
20
+ "url": "git+ssh://git@github.com/sanity-io/plugins.git",
21
+ "directory": "plugins/sanity-plugin-mux-input"
21
22
  },
22
23
  "license": "MIT",
23
24
  "author": "Sanity.io <hello@sanity.io>",
24
25
  "sideEffects": false,
25
- "type": "commonjs",
26
+ "type": "module",
26
27
  "exports": {
27
28
  ".": {
28
29
  "source": "./src/_exports/index.ts",
29
- "import": "./dist/index.mjs",
30
+ "import": "./dist/index.js",
31
+ "require": "./dist/index.cjs",
30
32
  "default": "./dist/index.js"
31
33
  },
32
34
  "./package.json": "./package.json"
33
35
  },
34
- "main": "./dist/index.js",
36
+ "main": "./dist/index.cjs",
35
37
  "types": "./dist/index.d.ts",
36
38
  "files": [
37
39
  "src",
@@ -39,19 +41,8 @@
39
41
  "sanity.json",
40
42
  "v2-incompatible.js"
41
43
  ],
42
- "scripts": {
43
- "build": "plugin-kit verify-package --silent && pkg-utils build --strict --check --clean",
44
- "dev": "sanity dev",
45
- "format": "prettier --write --cache --ignore-unknown .",
46
- "link-watch": "plugin-kit link-watch",
47
- "lint": "eslint .",
48
- "prepare": "husky install || true",
49
- "prepublishOnly": "npm run build",
50
- "test": "npm run lint && npm run type-check && npm run build",
51
- "type-check": "tsc --noEmit",
52
- "watch": "pkg-utils watch --strict"
53
- },
54
44
  "dependencies": {
45
+ "@mux/mux-player": "^3.8.0",
55
46
  "@mux/mux-player-react": "^3.8.0",
56
47
  "@mux/upchunk": "^3.4.0",
57
48
  "@sanity/icons": "^3.0.0",
@@ -67,39 +58,23 @@
67
58
  "suspend-react": "^0.1.3",
68
59
  "swr": "^2.2.5",
69
60
  "type-fest": "^4.18.2",
61
+ "use-device-pixel-ratio": "^1.1.2",
70
62
  "use-error-boundary": "^2.0.6"
71
63
  },
72
64
  "devDependencies": {
73
65
  "@sanity/client": "^7.12.1",
74
- "@sanity/pkg-utils": "^8.1.29",
75
- "@sanity/plugin-kit": "^4.0.20",
76
- "@sanity/semantic-release-preset": "^5.0.0",
77
- "@sanity/vision": "^6.0.0",
66
+ "@sanity/pkg-utils": "^10.5.6",
78
67
  "@types/lodash": "^4.17.15",
68
+ "@types/node": "^24.13.2",
79
69
  "@types/react": "^19.0.10",
80
70
  "@types/react-is": "^19.0.0",
81
- "@typescript-eslint/eslint-plugin": "^7.18.0",
82
- "@typescript-eslint/parser": "^7.18.0",
83
- "eslint": "^8.57.1",
84
- "eslint-config-prettier": "^9.1.0",
85
- "eslint-config-react-app": "^7.0.1",
86
- "eslint-config-sanity": "^7.1.4",
87
- "eslint-plugin-import": "^2.31.0",
88
- "eslint-plugin-prettier": "^5.2.3",
89
- "eslint-plugin-react-hooks": "^5.1.0",
90
- "eslint-plugin-simple-import-sort": "^12.1.1",
91
- "husky": "^9.0.11",
92
- "lint-staged": "^15.2.2",
93
- "npm-run-all2": "^6.2.6",
94
- "prettier": "^3.5.2",
95
- "prettier-plugin-packagejson": "^2.5.9",
96
71
  "react": "^19.0.0",
97
72
  "react-dom": "^19.0.0",
98
73
  "react-is": "^19.0.0",
99
- "sanity": "^6.0.0",
100
- "semantic-release": "^24.2.3",
74
+ "sanity": "^6.1.0",
101
75
  "styled-components": "^6.1.15",
102
- "typescript": "5.9.3"
76
+ "typescript": "5.9.3",
77
+ "@sanity/plugin-kit": "5.0.0"
103
78
  },
104
79
  "peerDependencies": {
105
80
  "react": "^18.3 || ^19",
@@ -108,7 +83,7 @@
108
83
  "styled-components": "^5 || ^6"
109
84
  },
110
85
  "engines": {
111
- "node": ">=18"
86
+ "node": ">=20.19 <22 || >=22.12"
112
87
  },
113
88
  "publishConfig": {
114
89
  "access": "public"
@@ -117,7 +92,12 @@
117
92
  "browserslist": "extends @sanity/browserslist-config",
118
93
  "sanityPlugin": {
119
94
  "verifyPackage": {
120
- "srcIndex": false
95
+ "srcIndex": false,
96
+ "scripts": false,
97
+ "eslintImports": false
121
98
  }
99
+ },
100
+ "scripts": {
101
+ "build": "plugin-kit verify-package --silent && pkg-utils build --strict --check --clean"
122
102
  }
123
- }
103
+ }