@electrolux-oss/sanity-plugin-media 2.0.0 → 3.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@electrolux-oss/sanity-plugin-media",
3
- "version": "2.0.0",
3
+ "version": "3.0.0",
4
4
  "keywords": [
5
5
  "sanity",
6
6
  "cms",
@@ -40,27 +40,23 @@
40
40
  "module": "./dist/index.mjs",
41
41
  "types": "./dist/index.d.ts",
42
42
  "files": [
43
- "dist",
44
- "sanity.json",
45
- "README.md",
46
- "LICENSE"
43
+ "dist"
47
44
  ],
48
45
  "scripts": {
49
- "build": "plugin-kit verify-package --silent && pkg-utils build --strict --check --clean",
46
+ "build": "pkg-utils build --strict --check --clean",
50
47
  "clean": "rimraf dist",
51
48
  "dev": "sanity dev",
52
49
  "format": "prettier --write --cache --ignore-unknown .",
53
50
  "link-watch": "plugin-kit link-watch",
54
51
  "lint": "eslint .",
55
52
  "lint:fix": "eslint . --fix",
56
- "prepare": "husky install",
57
- "prepublishOnly": "npm run build",
53
+ "prepack": "npm run build",
58
54
  "watch": "pkg-utils watch --strict"
59
55
  },
60
56
  "browserslist": "extends @sanity/browserslist-config",
61
57
  "dependencies": {
62
58
  "@hookform/resolvers": "^3.1.1",
63
- "@reduxjs/toolkit": "^2.6.0",
59
+ "@reduxjs/toolkit": "^2.11.2",
64
60
  "@sanity/client": "^6.28.3",
65
61
  "@sanity/color": "^3.0.6",
66
62
  "@sanity/icons": "^3.7.0",
@@ -77,22 +73,18 @@
77
73
  "pluralize": "^8.0.0",
78
74
  "react-dropzone": "^11.3.1",
79
75
  "react-file-icon": "^1.6.0",
80
- "react-hook-form": "^7.54.2",
76
+ "react-hook-form": "^7.68.0",
81
77
  "react-redux": "^9.2.0",
82
78
  "react-select": "^5.10.1",
83
- "react-virtuoso": "^4.15.0",
79
+ "react-virtuoso": "^4.17.0",
84
80
  "redux": "^5.0.1",
85
81
  "redux-observable": "3.0.0-rc.2",
86
82
  "rxjs": "^7.8.1",
87
83
  "zod": "^3.21.4"
88
84
  },
89
85
  "devDependencies": {
90
- "@commitlint/cli": "^17.8.1",
91
- "@commitlint/config-conventional": "^17.8.1",
92
86
  "@sanity/pkg-utils": "^8.1.12",
93
87
  "@sanity/plugin-kit": "^4.0.19",
94
- "@sanity/semantic-release-preset": "^2.0.5",
95
- "@sanity/vision": "^3.80.1",
96
88
  "@types/is-hotkey": "^0.1.10",
97
89
  "@types/pluralize": "^0.0.33",
98
90
  "@types/react": "^19.0.12",
@@ -107,28 +99,26 @@
107
99
  "eslint-plugin-prettier": "^4.2.1",
108
100
  "eslint-plugin-react": "^7.37.4",
109
101
  "eslint-plugin-react-hooks": "^4.6.2",
110
- "husky": "^8.0.2",
111
- "lint-staged": "^13.0.3",
112
102
  "prettier": "^2.8.8",
113
- "prettier-plugin-packagejson": "^2.5.10",
114
- "react": "^19.0.0",
115
- "react-dom": "^19.0.0",
116
- "react-is": "^19.0.0",
103
+ "prettier-plugin-packagejson": "^2.5.20",
104
+ "react": "^19.2.3",
105
+ "react-dom": "^19.2.3",
106
+ "react-is": "^19.2.3",
117
107
  "rimraf": "^3.0.2",
118
- "sanity": "^4.19.0",
108
+ "sanity": "^4.21.1",
119
109
  "standard-version": "^9.5.0",
120
110
  "styled-components": "^6.1.16",
121
111
  "typescript": "5.8.2"
122
112
  },
123
113
  "peerDependencies": {
124
- "react": "^18.3 || ^19",
125
- "react-dom": "^18.3 || ^19",
126
- "react-is": "^18.3 || ^19",
127
- "sanity": "^4.0.0",
114
+ "react": "^18.3 || >=19.2.3 < 20",
115
+ "react-dom": "^18.3 || >=19.2.3 < 20",
116
+ "react-is": "^18.3 || >=19.2.3 < 20",
117
+ "sanity": "^4.0.0-0 || ^5.0.0-0",
128
118
  "styled-components": "^6.1"
129
119
  },
130
120
  "engines": {
131
- "node": ">=18"
121
+ "node": ">=24"
132
122
  },
133
123
  "publishConfig": {
134
124
  "access": "public"
package/sanity.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "parts": [
3
- {
4
- "implements": "part:@sanity/base/sanity-root",
5
- "path": "./v2-incompatible.js"
6
- }
7
- ]
8
- }