sanity-plugin-dashboard-widget-vercel 1.1.1 → 1.1.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/CHANGELOG.md +33 -34
- package/LICENSE +1 -1
- package/lib/app.js +1 -1
- package/lib/components/Deployment/index.js +3 -1
- package/lib/components/DialogForm/index.js +1 -0
- package/lib/components/FormFieldInputLabel/index.js +5 -2
- package/lib/components/TableCell/index.js +2 -2
- package/lib/machines/deploy.js +8 -6
- package/lib/machines/deploymentTargetList.js +1 -0
- package/lib/machines/dialog.js +2 -1
- package/lib/machines/form.js +1 -0
- package/lib/machines/refresh.js +1 -0
- package/lib/utils/sanitizeFormData.js +1 -0
- package/package.json +27 -34
package/CHANGELOG.md
CHANGED
|
@@ -1,39 +1,48 @@
|
|
|
1
|
+
<!-- markdownlint-disable --><!-- textlint-disable -->
|
|
2
|
+
|
|
3
|
+
# 📓 Changelog
|
|
4
|
+
|
|
5
|
+
All notable changes to this project will be documented in this file. See
|
|
6
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
|
+
|
|
8
|
+
## [1.1.2](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/compare/v1.1.1...v1.1.2) (2022-09-02)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
- **deps and ci:** semver workflow ([#7](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/issues/7)) ([05fb9ef](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/05fb9ef1c5bcd4ede17f8b5923a35287a88cfae1))
|
|
13
|
+
|
|
1
14
|
# Changelog
|
|
2
15
|
|
|
3
16
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
17
|
|
|
5
18
|
### [1.1.1](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/compare/v1.1.0...v1.1.1) (2022-01-03)
|
|
6
19
|
|
|
7
|
-
|
|
8
20
|
### Bug Fixes
|
|
9
21
|
|
|
10
|
-
|
|
22
|
+
- correctly namespace deployment target \_ids ([cd97cd3](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/cd97cd39bd35260efe728c796d8cbadf4d788aa6))
|
|
11
23
|
|
|
12
24
|
## [1.1.0](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/compare/v1.0.0...v1.1.0) (2021-03-25)
|
|
13
25
|
|
|
14
|
-
|
|
15
26
|
### Features
|
|
16
27
|
|
|
17
|
-
|
|
28
|
+
- use API-versioned client if available ([44ca27f](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/44ca27fbd0649be8c050aad8b7eecf67324ee65d))
|
|
18
29
|
|
|
19
30
|
## [1.0.0](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/compare/v0.1.5...v1.0.0) (2021-03-24)
|
|
20
31
|
|
|
21
|
-
|
|
22
32
|
### ⚠ BREAKING CHANGES
|
|
23
33
|
|
|
24
|
-
|
|
25
|
-
related configuration you may have stored inside your dashboard config file. Support for forcing
|
|
26
|
-
small layout has also been (temporarily) dropped.
|
|
34
|
+
- Deployment targets are now configured within sanity - please remove any vercel
|
|
35
|
+
related configuration you may have stored inside your dashboard config file. Support for forcing
|
|
36
|
+
small layout has also been (temporarily) dropped.
|
|
27
37
|
|
|
28
38
|
### Features
|
|
29
39
|
|
|
30
|
-
|
|
31
|
-
|
|
40
|
+
- store tokens in a namespaced sanity document, add support for multiple deploy targets ([a1a3446](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/a1a34464590934f1bf7adf3812f29acbef3ed314))
|
|
32
41
|
|
|
33
42
|
### Bug Fixes
|
|
34
43
|
|
|
35
|
-
|
|
36
|
-
|
|
44
|
+
- add eventless transitions to deployment target list machine ([7a6d921](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/7a6d921e05c238adbb335331531999a31f680b14))
|
|
45
|
+
- set correct form defaults, update input descriptions, include target name in deploy button ([bf10600](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/bf106000b1a69c9f127f517da98d901fbbbcd481))
|
|
37
46
|
|
|
38
47
|
### [0.1.5](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/compare/v0.1.4...v0.1.5) (2021-01-23)
|
|
39
48
|
|
|
@@ -41,70 +50,60 @@ small layout has also been (temporarily) dropped.
|
|
|
41
50
|
|
|
42
51
|
### [0.1.3](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/compare/v0.1.2...v0.1.3) (2020-11-23)
|
|
43
52
|
|
|
44
|
-
|
|
45
53
|
### Bug Fixes
|
|
46
54
|
|
|
47
|
-
|
|
55
|
+
- add babel plugin-transform-runtime ([7a5ad89](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/7a5ad89b553387717017be01ee3778c641fca570))
|
|
48
56
|
|
|
49
57
|
### [0.1.2](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/compare/v0.1.1...v0.1.2) (2020-11-23)
|
|
50
58
|
|
|
51
|
-
|
|
52
59
|
### Bug Fixes
|
|
53
60
|
|
|
54
|
-
|
|
61
|
+
- don't return an empty array prior to aliases being fetched ([856be29](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/856be2981a9c02362d80212f6f773669a6fd7094))
|
|
55
62
|
|
|
56
63
|
### [0.1.1](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/compare/v0.1.0...v0.1.1) (2020-11-21)
|
|
57
64
|
|
|
58
|
-
|
|
59
65
|
### Bug Fixes
|
|
60
66
|
|
|
61
|
-
|
|
67
|
+
- add babel preset-env ([4da6993](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/4da69936e8158277fe9b9a77b491516e74dec4b3))
|
|
62
68
|
|
|
63
69
|
## [0.1.0](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/compare/v0.0.6...v0.1.0) (2020-11-21)
|
|
64
70
|
|
|
65
71
|
### [0.0.6](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/compare/v0.0.5...v0.0.6) (2020-11-21)
|
|
66
72
|
|
|
67
|
-
|
|
68
73
|
### Features
|
|
69
74
|
|
|
70
|
-
|
|
71
|
-
|
|
75
|
+
- allow deployLimit to be user configurable, minor cleanup" ([d15f4a8](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/d15f4a8f0ffa1525cb106a2006ff61ef53c29401))
|
|
72
76
|
|
|
73
77
|
### Bug Fixes
|
|
74
78
|
|
|
75
|
-
|
|
79
|
+
- correctly show cancelled dot color ([5045a3d](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/5045a3d4c9e3ba94945a97d3f1dfd5b636cf184a))
|
|
76
80
|
|
|
77
81
|
### [0.0.5](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/compare/v0.0.4...v0.0.5) (2020-11-20)
|
|
78
82
|
|
|
79
|
-
|
|
80
83
|
### Features
|
|
81
84
|
|
|
82
|
-
|
|
85
|
+
- make deployHook optional, show error snackbar on refresh error, add deployment skeleton" ([a24071e](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/a24071e7ab9d44f9b1a655cb260ee0680c698617))
|
|
83
86
|
|
|
84
87
|
### [0.0.4](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/compare/v0.0.3...v0.0.4) (2020-11-20)
|
|
85
88
|
|
|
86
|
-
|
|
87
89
|
### Features
|
|
88
90
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
- create dedicated cell components, force cell widths, minor cleanup ([fb4b36a](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/fb4b36a14332eb61f4f0f44484b2570a1b248418))
|
|
92
|
+
- display configuration error message, store config error in machine context ([e8ce270](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/e8ce270cf74215f5419a1053426d2742d2d3eee3))
|
|
92
93
|
|
|
93
94
|
### Bug Fixes
|
|
94
95
|
|
|
95
|
-
|
|
96
|
+
- add delay to DEPLOYED event before forcing refresh ([cd104fc](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/cd104fc8ba39ed601a39a7f139121106910dc3da))
|
|
96
97
|
|
|
97
98
|
### [0.0.3](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/compare/v0.0.2...v0.0.3) (2020-11-19)
|
|
98
99
|
|
|
99
|
-
|
|
100
100
|
### Features
|
|
101
101
|
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
- add initial xstate machines, use react-query ([ffff751](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/ffff751e0167a981a3d649ce991ca9ba06a048e6))
|
|
103
|
+
- add xstate deploy machhine, pull config values from sanity, add run-time config checking" ([6c940cb](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/6c940cb64d57e708f022f06840c9b9796b1d4883))
|
|
104
104
|
|
|
105
105
|
### 0.0.2 (2020-11-11)
|
|
106
106
|
|
|
107
|
-
|
|
108
107
|
### Features
|
|
109
108
|
|
|
110
|
-
|
|
109
|
+
- add commitizen, standard-release and husky ([160646c](https://github.com/robinpyon/sanity-plugin-dashboard-widget-vercel/commit/160646c73d140af6738e6ea8864e275a736a13f8))
|
package/LICENSE
CHANGED
package/lib/app.js
CHANGED
|
@@ -43,7 +43,7 @@ var Widget = function Widget() {
|
|
|
43
43
|
// xstate
|
|
44
44
|
var _useMachine = (0, _react.useMachine)(_deploymentTargetList["default"], {
|
|
45
45
|
services: {
|
|
46
|
-
fetchDataService: function fetchDataService(
|
|
46
|
+
fetchDataService: function fetchDataService() {
|
|
47
47
|
return _client.client.fetch((0, _groq["default"])(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["*[_type == \"", "\"] | order(name asc)"])), _constants.DEPLOYMENT_TARGET_DOCUMENT_TYPE)).then(function (result) {
|
|
48
48
|
return result;
|
|
49
49
|
});
|
|
@@ -39,7 +39,9 @@ var Deployment = function Deployment(props) {
|
|
|
39
39
|
}
|
|
40
40
|
}, /*#__PURE__*/_react["default"].createElement(_StatusDot["default"], {
|
|
41
41
|
state: deployment.state
|
|
42
|
-
})), targetUrl ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, deployment.alias && /*#__PURE__*/_react["default"].createElement(_icons.LinkIcon,
|
|
42
|
+
})), targetUrl ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, deployment.alias && /*#__PURE__*/_react["default"].createElement(_icons.LinkIcon, {
|
|
43
|
+
fr: true
|
|
44
|
+
}), /*#__PURE__*/_react["default"].createElement(_ui.Box, {
|
|
43
45
|
marginLeft: deployment.alias ? 1 : 0
|
|
44
46
|
}, /*#__PURE__*/_react["default"].createElement(_ui.Text, {
|
|
45
47
|
muted: !(deployment.state === 'READY'),
|
|
@@ -171,6 +171,7 @@ var DialogForm = function DialogForm(props) {
|
|
|
171
171
|
return deleteDocumentService;
|
|
172
172
|
}(),
|
|
173
173
|
// TODO: refactor
|
|
174
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
174
175
|
updateDocumentService: function () {
|
|
175
176
|
var _updateDocumentService = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4(_context, event) {
|
|
176
177
|
var document;
|
|
@@ -47,12 +47,15 @@ var FormFieldInputLabel = function FormFieldInputLabel(props) {
|
|
|
47
47
|
}, /*#__PURE__*/_react["default"].createElement(StyledErrorOutlineIcon, {
|
|
48
48
|
style: {
|
|
49
49
|
marginRight: '0.1em'
|
|
50
|
-
}
|
|
50
|
+
},
|
|
51
|
+
fr: true
|
|
51
52
|
}), error.message)),
|
|
52
53
|
fallbackPlacements: ['top', 'left'],
|
|
53
54
|
placement: "right",
|
|
54
55
|
portal: true
|
|
55
|
-
}, /*#__PURE__*/_react["default"].createElement(StyledErrorOutlineIcon,
|
|
56
|
+
}, /*#__PURE__*/_react["default"].createElement(StyledErrorOutlineIcon, {
|
|
57
|
+
fr: true
|
|
58
|
+
})))), description && /*#__PURE__*/_react["default"].createElement(_ui.Box, {
|
|
56
59
|
marginY: 3
|
|
57
60
|
}, /*#__PURE__*/_react["default"].createElement(_ui.Text, {
|
|
58
61
|
htmlFor: name,
|
|
@@ -42,7 +42,7 @@ var TableCell = function TableCell(props) {
|
|
|
42
42
|
if (header) {
|
|
43
43
|
return /*#__PURE__*/_react["default"].createElement(_ui.Box, {
|
|
44
44
|
as: "th",
|
|
45
|
-
colSpan: colSpan // @ts-
|
|
45
|
+
colSpan: colSpan // @ts-expect-error types
|
|
46
46
|
,
|
|
47
47
|
display: display,
|
|
48
48
|
paddingX: 3,
|
|
@@ -59,7 +59,7 @@ var TableCell = function TableCell(props) {
|
|
|
59
59
|
} else {
|
|
60
60
|
return /*#__PURE__*/_react["default"].createElement(_ui.Box, {
|
|
61
61
|
as: "td",
|
|
62
|
-
colSpan: colSpan // @ts-
|
|
62
|
+
colSpan: colSpan // @ts-expect-error types
|
|
63
63
|
,
|
|
64
64
|
display: display,
|
|
65
65
|
paddingX: 3,
|
package/lib/machines/deploy.js
CHANGED
|
@@ -15,6 +15,7 @@ var _unfetch = _interopRequireDefault(require("unfetch"));
|
|
|
15
15
|
|
|
16
16
|
var _xstate = require("xstate");
|
|
17
17
|
|
|
18
|
+
/* eslint-disable */
|
|
18
19
|
var deployMachine = function deployMachine(deployHook) {
|
|
19
20
|
return (0, _xstate.Machine)( // Machine
|
|
20
21
|
{
|
|
@@ -42,18 +43,18 @@ var deployMachine = function deployMachine(deployHook) {
|
|
|
42
43
|
},
|
|
43
44
|
deploying: {
|
|
44
45
|
entry: (0, _xstate.assign)({
|
|
45
|
-
disabled: function disabled(
|
|
46
|
+
disabled: function disabled() {
|
|
46
47
|
return true;
|
|
47
48
|
},
|
|
48
|
-
label: function label(
|
|
49
|
+
label: function label() {
|
|
49
50
|
return 'Deploying';
|
|
50
51
|
}
|
|
51
52
|
}),
|
|
52
53
|
exit: (0, _xstate.assign)({
|
|
53
|
-
disabled: function disabled(
|
|
54
|
+
disabled: function disabled() {
|
|
54
55
|
return false;
|
|
55
56
|
},
|
|
56
|
-
label: function label(
|
|
57
|
+
label: function label() {
|
|
57
58
|
return 'Deploy';
|
|
58
59
|
}
|
|
59
60
|
}),
|
|
@@ -74,12 +75,12 @@ var deployMachine = function deployMachine(deployHook) {
|
|
|
74
75
|
},
|
|
75
76
|
success: {
|
|
76
77
|
entry: [(0, _xstate.assign)({
|
|
77
|
-
feedback: function feedback(
|
|
78
|
+
feedback: function feedback() {
|
|
78
79
|
return 'Succesfully started!';
|
|
79
80
|
}
|
|
80
81
|
})],
|
|
81
82
|
exit: (0, _xstate.assign)({
|
|
82
|
-
feedback: function feedback(
|
|
83
|
+
feedback: function feedback() {
|
|
83
84
|
return undefined;
|
|
84
85
|
}
|
|
85
86
|
}),
|
|
@@ -97,6 +98,7 @@ var deployMachine = function deployMachine(deployHook) {
|
|
|
97
98
|
{
|
|
98
99
|
services: {
|
|
99
100
|
deploy: function deploy() {
|
|
101
|
+
// eslint-disable-next-line no-async-promise-executor
|
|
100
102
|
return new Promise( /*#__PURE__*/function () {
|
|
101
103
|
var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(resolve, reject) {
|
|
102
104
|
var res, data, errorMessage;
|
|
@@ -13,6 +13,7 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers
|
|
|
13
13
|
|
|
14
14
|
var _xstate = require("xstate");
|
|
15
15
|
|
|
16
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
16
17
|
var sortByTargetName = function sortByTargetName(items) {
|
|
17
18
|
return items.sort(function (a, b) {
|
|
18
19
|
if (a.name > b.name) {
|
package/lib/machines/dialog.js
CHANGED
|
@@ -7,6 +7,7 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _xstate = require("xstate");
|
|
9
9
|
|
|
10
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
10
11
|
var dialogMachine = function dialogMachine() {
|
|
11
12
|
return (0, _xstate.Machine)({
|
|
12
13
|
context: {
|
|
@@ -16,7 +17,7 @@ var dialogMachine = function dialogMachine() {
|
|
|
16
17
|
states: {
|
|
17
18
|
idle: {
|
|
18
19
|
entry: (0, _xstate.assign)({
|
|
19
|
-
editDeploymentTarget: function editDeploymentTarget(
|
|
20
|
+
editDeploymentTarget: function editDeploymentTarget() {
|
|
20
21
|
return undefined;
|
|
21
22
|
}
|
|
22
23
|
}),
|
package/lib/machines/form.js
CHANGED
package/lib/machines/refresh.js
CHANGED
|
@@ -12,6 +12,7 @@ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
|
12
12
|
// Recursively sanitize form data:
|
|
13
13
|
// - convert empty strings, undefined values and empty arrays to null (to correctly unset / delete fields)
|
|
14
14
|
// - trim whitespace on string fleids
|
|
15
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
15
16
|
var sanitizeFormData = function sanitizeFormData(formData) {
|
|
16
17
|
return Object.keys(formData).reduce(function (acc, key) {
|
|
17
18
|
var val = formData[key]; // TODO: refactor
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sanity-plugin-dashboard-widget-vercel",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Robin Pyon",
|
|
@@ -27,20 +27,19 @@
|
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "npx babel src --out-dir lib --copy-files --delete-dir-on-start --extensions '.ts,.tsx'",
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"watch": "npm run build -- --watch"
|
|
30
|
+
"lint": "eslint .",
|
|
31
|
+
"prepare": "husky install",
|
|
32
|
+
"watch": "npm run build -- --watch",
|
|
33
|
+
"prepublishOnly": "npm run build"
|
|
33
34
|
},
|
|
34
35
|
"dependencies": {
|
|
35
36
|
"@hookform/resolvers": "2.0.0-beta.3",
|
|
36
|
-
"@sanity/icons": "1.
|
|
37
|
-
"@sanity/ui": "
|
|
38
|
-
"@sanity/uuid": "3.0.1",
|
|
37
|
+
"@sanity/icons": "^1.3.4",
|
|
38
|
+
"@sanity/ui": "^0.37.0",
|
|
39
|
+
"@sanity/uuid": "^3.0.1",
|
|
39
40
|
"@xstate/react": "1.3.1",
|
|
40
|
-
"groq": "2.
|
|
41
|
+
"groq": "^2.29.3",
|
|
41
42
|
"object-hash": "2.1.1",
|
|
42
|
-
"react": "16.14.0",
|
|
43
|
-
"react-dom": ">=16.14.0",
|
|
44
43
|
"react-hook-form": "6.15.5",
|
|
45
44
|
"react-query": "3.13.0",
|
|
46
45
|
"react-time-ago": "6.2.2",
|
|
@@ -58,38 +57,32 @@
|
|
|
58
57
|
"@babel/preset-env": "7.13.10",
|
|
59
58
|
"@babel/preset-react": "7.12.13",
|
|
60
59
|
"@babel/preset-typescript": "7.13.0",
|
|
61
|
-
"@commitlint/cli": "
|
|
62
|
-
"@commitlint/config-conventional": "
|
|
60
|
+
"@commitlint/cli": "^17.1.2",
|
|
61
|
+
"@commitlint/config-conventional": "^17.1.0",
|
|
63
62
|
"@sanity/client": "2.7.0",
|
|
63
|
+
"@sanity/semantic-release-preset": "^2.0.1",
|
|
64
64
|
"@types/node-fetch": "2.5.8",
|
|
65
65
|
"@types/object-hash": "1.3.4",
|
|
66
66
|
"@types/pluralize": "0.0.29",
|
|
67
|
-
"@types/react": "17.0.
|
|
68
|
-
"@types/react-dom": "17.0.3",
|
|
67
|
+
"@types/react": "^17.0.0",
|
|
68
|
+
"@types/react-dom": "^17.0.3",
|
|
69
69
|
"@types/styled-components": "5.1.9",
|
|
70
|
-
"@typescript-eslint/eslint-plugin": "
|
|
71
|
-
"@typescript-eslint/parser": "
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"eslint": "
|
|
75
|
-
"eslint-
|
|
76
|
-
"eslint-plugin-
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"prettier": "2.2.1",
|
|
81
|
-
"standard-version": "9.1.1",
|
|
70
|
+
"@typescript-eslint/eslint-plugin": "^5.36.1",
|
|
71
|
+
"@typescript-eslint/parser": "^5.36.1",
|
|
72
|
+
"eslint": "8.22.0",
|
|
73
|
+
"eslint-config-prettier": "^8.5.0",
|
|
74
|
+
"eslint-plugin-import": "^2.26.0",
|
|
75
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
76
|
+
"eslint-plugin-react": "^7.31.1",
|
|
77
|
+
"husky": "^8.0.1",
|
|
78
|
+
"lint-staged": "^13.0.3",
|
|
79
|
+
"prettier": "^2.7.1",
|
|
82
80
|
"typescript": "4.2.3"
|
|
83
81
|
},
|
|
84
82
|
"peerDependencies": {
|
|
85
|
-
"@sanity/base": "
|
|
86
|
-
"react": "
|
|
87
|
-
"react-dom": "
|
|
88
|
-
},
|
|
89
|
-
"config": {
|
|
90
|
-
"commitizen": {
|
|
91
|
-
"path": "./node_modules/cz-conventional-changelog"
|
|
92
|
-
}
|
|
83
|
+
"@sanity/base": "^2.20.1",
|
|
84
|
+
"react": "^17.0.0",
|
|
85
|
+
"react-dom": "^17.0.0"
|
|
93
86
|
},
|
|
94
87
|
"husky": {
|
|
95
88
|
"hooks": {
|