@sanity/color-input 4.0.5 → 4.0.7

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/color-input",
3
- "version": "4.0.5",
3
+ "version": "4.0.7",
4
4
  "description": "Color input",
5
5
  "keywords": [
6
6
  "sanity",
@@ -11,82 +11,52 @@
11
11
  "color-input",
12
12
  "sanity-plugin"
13
13
  ],
14
- "homepage": "https://github.com/sanity-io/color-input#readme",
14
+ "homepage": "https://github.com/sanity-io/plugins/tree/main/plugins/%40sanity/color-input#readme",
15
15
  "bugs": {
16
- "url": "https://github.com/sanity-io/color-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/color-input.git"
20
+ "url": "git+ssh://git@github.com/sanity-io/plugins.git",
21
+ "directory": "plugins/@sanity/color-input"
21
22
  },
22
23
  "license": "MIT",
23
24
  "author": "Sanity.io <hello@sanity.io>",
24
- "sideEffects": false,
25
+ "type": "module",
25
26
  "exports": {
26
27
  ".": {
27
28
  "source": "./src/index.ts",
28
- "import": "./lib/index.mjs",
29
- "require": "./lib/index.js",
30
- "default": "./lib/index.js"
29
+ "import": "./dist/index.js",
30
+ "require": "./dist/index.cjs",
31
+ "default": "./dist/index.js"
31
32
  },
32
33
  "./package.json": "./package.json"
33
34
  },
34
- "main": "./lib/index.js",
35
- "module": "./lib/index.esm.js",
36
- "types": "./lib/index.d.ts",
35
+ "types": "./dist/index.d.ts",
37
36
  "files": [
38
- "lib",
39
- "sanity.json",
40
- "src",
41
- "v2-incompatible.js"
37
+ "dist"
42
38
  ],
43
- "scripts": {
44
- "build": "plugin-kit verify-package --silent && pkg-utils build --strict --check --clean",
45
- "compile": "tsc --noEmit",
46
- "format": "prettier --write --cache --ignore-unknown .",
47
- "link-watch": "plugin-kit link-watch",
48
- "lint": "eslint .",
49
- "prepare": "husky install",
50
- "prepublishOnly": "npm run build",
51
- "watch": "pkg-utils watch --strict"
52
- },
53
- "browserslist": "extends @sanity/browserslist-config",
54
- "prettier": "@sanity/prettier-config",
55
39
  "dependencies": {
56
40
  "@sanity/icons": "^3.5.3",
57
- "@sanity/incompatible-plugin": "^1.0.5",
58
- "@sanity/ui": "^2.10.10",
41
+ "@sanity/ui": "^3.0.5",
42
+ "tinycolor2": "^1.6.0",
59
43
  "react-color": "^2.19.3",
60
44
  "use-effect-event": "^2.0.3"
61
45
  },
62
46
  "devDependencies": {
63
- "@commitlint/cli": "^19.5.0",
64
- "@commitlint/config-conventional": "^19.5.0",
65
- "@sanity/pkg-utils": "^6.11.1",
66
- "@sanity/plugin-kit": "^4.0.18",
67
- "@sanity/prettier-config": "1.0.3",
68
- "@sanity/semantic-release-preset": "^5.0.0",
69
- "@types/react": "^18.3.5",
47
+ "@sanity/pkg-utils": "^9.1.1",
48
+ "@types/react": "^19.2.6",
70
49
  "@types/react-color": "^2.17.11",
71
50
  "@types/tinycolor2": "^1.4.6",
72
- "@typescript-eslint/eslint-plugin": "^8.37.0",
73
- "@typescript-eslint/parser": "^8.37.0",
74
- "eslint": "^9.31.0",
75
- "eslint-config-prettier": "^10.1.5",
76
- "eslint-plugin-react": "^7.37.5",
77
- "eslint-plugin-react-hooks": "0.0.0-experimental-dffacc7b-20250717",
78
- "eslint-plugin-simple-import-sort": "^12.1.1",
79
- "husky": "^8.0.1",
80
- "lint-staged": "^13.0.3",
81
- "npm-run-all2": "^5.0.0",
82
- "prettier": "^3.3.3",
83
- "react": "^18.3.1",
84
- "react-dom": "^18.3.1",
85
- "sanity": "^3.67.1",
86
- "semantic-release": "^24.1.1",
87
- "styled-components": "^6.1",
88
- "typescript": "^5.6.2",
89
- "typescript-eslint": "^8.37.0"
51
+ "@typescript/native-preview": "7.0.0-dev.20251121.1",
52
+ "eslint": "^9.39.1",
53
+ "react": "^19.2.0",
54
+ "sanity": "^4.17.0",
55
+ "styled-components": "^6.1.19",
56
+ "typescript": "5.9.3",
57
+ "@repo/package.config": "0.0.0",
58
+ "@repo/eslint-config": "0.0.0",
59
+ "@repo/tsconfig": "0.0.0"
90
60
  },
91
61
  "peerDependencies": {
92
62
  "react": "^18.3 || ^19",
@@ -99,13 +69,9 @@
99
69
  "publishConfig": {
100
70
  "access": "public"
101
71
  },
102
- "overrides": {
103
- "conventional-changelog-conventionalcommits": ">= 8.0.0"
104
- },
105
- "sanityExchangeUrl": "https://www.sanity.io/plugins/color-input",
106
- "sanityPlugin": {
107
- "verifyPackage": {
108
- "eslintImports": false
109
- }
72
+ "scripts": {
73
+ "build": "pkg build --strict --check --clean",
74
+ "lint": "eslint .",
75
+ "typecheck": "(cd ../../.. && tsgo --project plugins/@sanity/color-input/tsconfig.json)"
110
76
  }
111
- }
77
+ }