@sanity/color-input 3.0.0-v3-studio.3 → 3.0.0-v3-studio.5
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/LICENSE +1 -1
- package/README.md +8 -15
- package/package.json +12 -10
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -114,22 +114,15 @@ MIT-licensed. See LICENSE.
|
|
|
114
114
|
|
|
115
115
|
## Develop & test
|
|
116
116
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
```bash
|
|
120
|
-
npm run link-watch
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
In another shell, `cd` to your test studio and run:
|
|
117
|
+
This plugin uses [@sanity/plugin-kit](https://github.com/sanity-io/plugin-kit)
|
|
118
|
+
with default configuration for build & watch scripts.
|
|
124
119
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
```
|
|
120
|
+
See [Testing a plugin in Sanity Studio](https://github.com/sanity-io/plugin-kit#testing-a-plugin-in-sanity-studio)
|
|
121
|
+
on how to run this plugin with hotreload in the studio.
|
|
128
122
|
|
|
129
|
-
|
|
130
|
-
triggering hotreload. Yalc avoids issues with react-hooks that are typical when using yarn/npm link.
|
|
123
|
+
### Release new version
|
|
131
124
|
|
|
132
|
-
|
|
125
|
+
Run ["CI & Release" workflow](https://github.com/sanity-io/color-input/actions/workflows/main.yml).
|
|
126
|
+
Make sure to select the main branch and check "Release new version".
|
|
133
127
|
|
|
134
|
-
|
|
135
|
-
with default configuration for build & watch scripts.
|
|
128
|
+
Semantic release will only release on configured branches, so it is safe to run release on any branch.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/color-input",
|
|
3
|
-
"version": "3.0.0-v3-studio.
|
|
3
|
+
"version": "3.0.0-v3-studio.5",
|
|
4
4
|
"description": "Color input",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rimraf lib",
|
|
@@ -43,17 +43,18 @@
|
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@sanity/icons": "^1.2.8",
|
|
46
|
-
"@sanity/incompatible-plugin": "^
|
|
47
|
-
"@sanity/ui": "^0.
|
|
46
|
+
"@sanity/incompatible-plugin": "^1.0.1",
|
|
47
|
+
"@sanity/ui": "^0.38.2",
|
|
48
48
|
"lodash": "^4.17.21",
|
|
49
49
|
"react-color": "^2.19.3"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@commitlint/cli": "^
|
|
53
|
-
"@commitlint/config-conventional": "^
|
|
52
|
+
"@commitlint/cli": "^17.1.2",
|
|
53
|
+
"@commitlint/config-conventional": "^17.1.0",
|
|
54
54
|
"@parcel/packager-ts": "^2.6.0",
|
|
55
55
|
"@parcel/transformer-typescript-types": "^2.6.0",
|
|
56
|
-
"@sanity/plugin-kit": "^
|
|
56
|
+
"@sanity/plugin-kit": "^1.1.0-ecosystem-preset.5",
|
|
57
|
+
"@sanity/semantic-release-preset": "^2.0.1",
|
|
57
58
|
"@types/react-color": "^2.17.6",
|
|
58
59
|
"@types/styled-components": "^5.1.25",
|
|
59
60
|
"@typescript-eslint/eslint-plugin": "^5.12.0",
|
|
@@ -64,15 +65,16 @@
|
|
|
64
65
|
"eslint-plugin-prettier": "4.0.0",
|
|
65
66
|
"eslint-plugin-react": "^7.28.0",
|
|
66
67
|
"eslint-plugin-react-hooks": "^4.5.0",
|
|
67
|
-
"husky": "^
|
|
68
|
-
"lint-staged": "^
|
|
68
|
+
"husky": "^8.0.1",
|
|
69
|
+
"lint-staged": "^13.0.3",
|
|
69
70
|
"parcel": "^2.6.0",
|
|
70
71
|
"prettier": "^2.6.2",
|
|
71
72
|
"react": "^17.0.0 || ^18.0.0",
|
|
72
73
|
"rimraf": "^3.0.2",
|
|
73
|
-
"sanity": "
|
|
74
|
+
"sanity": "3.0.0-dev-preview.17",
|
|
75
|
+
"semantic-release": "^19.0.3",
|
|
74
76
|
"styled-components": "^5.2.0",
|
|
75
|
-
"typescript": "
|
|
77
|
+
"typescript": "4.7.4"
|
|
76
78
|
},
|
|
77
79
|
"peerDependencies": {
|
|
78
80
|
"react": "^17.0.0 || ^18.0.0",
|