From 8f6dd5561a9c811b21263b574104f9c89cc8fb36 Mon Sep 17 00:00:00 2001 From: Snorre Eskeland Brekke Date: Thu, 17 Nov 2022 17:07:14 +0100 Subject: [PATCH] feat!: initial Sanity Studio v3 release BREAKING CHANGE: this version does not work in Sanity Studio v2 --- .github/workflows/main.yml | 4 +- .releaserc.json | 2 +- README.md | 9 +- commitlint.config.js | 2 +- lint-staged.config.js | 2 +- package-lock.json | 601 ++++++++++++++++++++++--------------- package.json | 8 +- 7 files changed, 371 insertions(+), 257 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c3287865..c1ec883e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ on: pull_request: # Build on commits pushed to branches without a PR if it's in the allowlist push: - branches: [main, v3] + branches: [main, studio-v2] # https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow workflow_dispatch: inputs: @@ -96,7 +96,7 @@ jobs: with: cache: npm node-version: ${{ matrix.node }} - - run: npm ci + - run: npm i - run: npm test --if-present release: diff --git a/.releaserc.json b/.releaserc.json index 6ef89980..86dceac2 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -1,4 +1,4 @@ { "extends": "@sanity/semantic-release-preset", - "branches": ["main", {"name": "v3", "channel": "studio-v3", "prerelease": "v3-studio"}] + "branches": ["main", {"name": "studio-v2", "channel": "studio-v2", "range": "1.x.x"}] } diff --git a/README.md b/README.md index b40f22e0..de1ea74d 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,7 @@ # Sanity Media -> **NOTE** -> -> This is the **Sanity Studio v3 version** of sanity-plugin-media. -> -> For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity-plugin-media). +>This is a **Sanity Studio v3** plugin. +> For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity-plugin-media/tree/studio-v2). ## What is it? @@ -247,7 +244,7 @@ Contributions, issues and feature requests are welcome! ## License -MIT-licensed. See LICENSE. +[MIT](LICENSE) © Robin Pyon ## Develop & test diff --git a/commitlint.config.js b/commitlint.config.js index a4f43697..98ee7dfc 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,3 +1,3 @@ module.exports = { - extends: ['@commitlint/config-conventional'] + extends: ['@commitlint/config-conventional'], } diff --git a/lint-staged.config.js b/lint-staged.config.js index e96289a7..e331df5a 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -1,4 +1,4 @@ module.exports = { '**/*.{js,jsx}': ['eslint'], - '**/*.{ts,tsx}': ['eslint', () => 'tsc --noEmit'] + '**/*.{ts,tsx}': ['eslint', () => 'tsc --noEmit'], } diff --git a/package-lock.json b/package-lock.json index f3dfbb0b..abdd47dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "react-redux": "^7.2.2", "react-select": "^5.3.2", "react-virtuoso": "^2.11.0", - "redux": "^4.0.5", + "redux": "^4.2.0", "redux-observable": "^1.2.0", "rxjs": "^6.5.3", "yup": "^0.32.11" @@ -39,7 +39,7 @@ "@sanity/color": "^2.1.8", "@sanity/icons": "^1.2.5", "@sanity/pkg-utils": "^1.17.2", - "@sanity/plugin-kit": "^2.1.7", + "@sanity/plugin-kit": "^2.1.16", "@sanity/semantic-release-preset": "^2.0.2", "@types/is-hotkey": "^0.1.7", "@types/pluralize": "^0.0.29", @@ -58,14 +58,14 @@ "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.31.10", "eslint-plugin-react-hooks": "^4.6.0", - "husky": "^8.0.1", + "husky": "^8.0.2", "lint-staged": "^13.0.3", "prettier": "^2.7.1", "prettier-plugin-packagejson": "^2.3.0", "react": "^18", "react-dom": "^18", "rimraf": "^3.0.2", - "sanity": "3.0.0-rc.0", + "sanity": "3.0.0-rc.2", "standard-version": "^9.5.0", "styled-components": "^5.3.3", "typescript": "^4.8.4" @@ -78,7 +78,7 @@ "@sanity/icons": "^1.2.8", "react": "^18", "react-dom": "^18", - "sanity": "dev-preview || 3.0.0-rc.0", + "sanity": "dev-preview || 3.0.0-rc.2", "styled-components": "^5.3.3" } }, @@ -3277,9 +3277,9 @@ } }, "node_modules/@sanity/block-tools": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/block-tools/-/block-tools-3.0.0-rc.0.tgz", - "integrity": "sha512-YCZBKLXPNkAKNBYFN79SCUG9Ee/CEUerbO3nMJV0uoxexlVPAt0pq2zUqjI2oyN3oAfy0+1iABOgtPVQlJyc/w==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/block-tools/-/block-tools-3.0.0-rc.2.tgz", + "integrity": "sha512-JWC4LuN1q51+KM+YlpML3nEK0ElVTvfLrfbVjBUtPhTPaaOydKBacImEusfCMHLmDc2TP0Ua44/qUiYYWZ07UA==", "dev": true, "dependencies": { "get-random-values-esm": "^1.0.0", @@ -3287,9 +3287,9 @@ } }, "node_modules/@sanity/cli": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/cli/-/cli-3.0.0-rc.0.tgz", - "integrity": "sha512-sfTRQQ+0ELms4pi3tTjRR85e0KOpD9bZsNzWf5EaGS3pPFvwsqI40CqmeDq+7izYmYisvj47jL9j0uNis0OUug==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/cli/-/cli-3.0.0-rc.2.tgz", + "integrity": "sha512-umWFPQu7j7a2OuROyvAVy1El2hsVg33UbmUnmhzxsobFE38mMPXf4HhRliyvA/fIeeNalOBO+MWJpGxo7dZf3Q==", "dev": true, "dependencies": { "@babel/traverse": "^7.19.0", @@ -3793,9 +3793,9 @@ "dev": true }, "node_modules/@sanity/diff": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/diff/-/diff-3.0.0-rc.0.tgz", - "integrity": "sha512-MVhtu1Iq49o7OpBAD+VfDGc/0Lg/HhZ41FIqtMHPzQTaW5zDODzaPE3LxeM3RFT3ZHBJz1pKYutr3y94aENIaA==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/diff/-/diff-3.0.0-rc.2.tgz", + "integrity": "sha512-etgoHJQYK5X6TDoQXEO4FjVdc8qUuhTyjbnYNkqEb/MC7Dwc3Dy7JFm8IRwiB/qfGASxH6d7NnFlV0+wCccveQ==", "dev": true, "dependencies": { "diff-match-patch": "^1.0.4" @@ -3815,9 +3815,9 @@ } }, "node_modules/@sanity/export": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/export/-/export-3.0.0-rc.0.tgz", - "integrity": "sha512-VCcsaSY2IUL3dylB0QF0P5QfpYybKU4uM0dVGJ044S7JS6Bp3wL51OwYSbHGYF3b8V7UgBQYVEf/zaP3ziCGDQ==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/export/-/export-3.0.0-rc.2.tgz", + "integrity": "sha512-iqIDQHsgeAV3Nkue6Y1XJ5rxwQQR02AEUeCrLq+167wg4KmSogfoqj+E6PVp5eDrvKmwziVKGkWwFT/97PB5Zg==", "dev": true, "dependencies": { "archiver": "^5.0.0", @@ -3940,14 +3940,14 @@ } }, "node_modules/@sanity/import": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/import/-/import-3.0.0-rc.0.tgz", - "integrity": "sha512-UF1FBsmw3N6Eo8vJTDngqfUs7pobSIqleczlSpnZMlt+ETikT3/0gTJvkiXAT1VAXaQCeSjASUCPMO+HWtbH5A==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/import/-/import-3.0.0-rc.2.tgz", + "integrity": "sha512-6eB/eG1QXsw3CyK78rsKcqDTj2jipoyhxckDWbM1gAk4dutNQENCgCAkWOtuGda5vKcU8KeVooUVHopTlbFYJA==", "dev": true, "dependencies": { "@sanity/asset-utils": "^1.2.5", "@sanity/generate-help-url": "^3.0.0", - "@sanity/mutator": "3.0.0-rc.0", + "@sanity/mutator": "3.0.0-rc.2", "@sanity/uuid": "^3.0.1", "debug": "^3.2.7", "file-url": "^2.0.2", @@ -4103,9 +4103,9 @@ } }, "node_modules/@sanity/mutator": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/mutator/-/mutator-3.0.0-rc.0.tgz", - "integrity": "sha512-Ehwg5JG1eBzXDEBaq5rdquNWYwJsOMlyuIoKwaYQHFUQIx8XpocNjBwGQEGodXoyze9WrRB71V1pWXojmO82sA==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/mutator/-/mutator-3.0.0-rc.2.tgz", + "integrity": "sha512-bmX8lE+gxz/ws2D6cewqWprJFHQX46kFKvdIx5cqYZElIp9GDrY9ICk5exSfQgiTA4FW1AiHIY6EGVM8kqbNwQ==", "dev": true, "dependencies": { "@sanity/uuid": "^3.0.1", @@ -4184,9 +4184,9 @@ } }, "node_modules/@sanity/plugin-kit": { - "version": "2.1.7", - "resolved": "https://registry.npmjs.org/@sanity/plugin-kit/-/plugin-kit-2.1.7.tgz", - "integrity": "sha512-geWzEfNcA8RuI+E7HYnPBlPVCimy63yPxAOnh2zOfHHfLIjjaN8LNwP2m1B8AYklhcU8ZbOF20vxnbHK8ARozg==", + "version": "2.1.16", + "resolved": "https://registry.npmjs.org/@sanity/plugin-kit/-/plugin-kit-2.1.16.tgz", + "integrity": "sha512-6G0zdseO8Y4rckS5YrhyatJRZMER/ud5r6SRVp6/rm1QUAD8kt5dFcff5Md1cmu1s5yx27Qogr+2uj1ZMwS8ew==", "dev": true, "dependencies": { "@rexxars/choosealicense-list": "^1.1.2", @@ -4196,24 +4196,24 @@ "email-validator": "^2.0.4", "execa": "^5.1.1", "find-babel-config": "^1.2.0", - "get-it": "^6.1.1", + "get-it": "^7.0.2", "get-latest-version": "^4.0.0", "git-remote-origin-url": "^3.1.0", - "git-user-info": "^1.0.1", + "git-user-info": "^2.0.3", "github-url-to-object": "^4.0.6", "inquirer": "^8.2.5", "meow": "^9.0.0", "nodemon": "^2.0.20", - "npm-packlist": "^3.0.0", + "npm-packlist": "^7.0.2", "npm-run-path": "^4.0.1", "outdent": "^0.8.0", "p-any": "^3.0.0", "p-props": "^4.0.0", - "postcss": "^8.4.18", + "postcss": "^8.4.19", "rimraf": "^3.0.2", "semver": "^7.3.8", "spdx-license-ids": "^3.0.12", - "validate-npm-package-name": "^3.0.0", + "validate-npm-package-name": "^5.0.0", "xdg-basedir": "^4.0.0", "yalc": "^1.0.0-pre.53" }, @@ -4227,6 +4227,58 @@ "eslint": ">=8.0.0" } }, + "node_modules/@sanity/plugin-kit/node_modules/get-it": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/get-it/-/get-it-7.0.2.tgz", + "integrity": "sha512-q4d+ssYtpWzC4/qJ4aJDZ5yWl94BIGmRER7PEvYpiKCBoCoDnl1YygEvNHQ2tHbD3GVZaq3QonKGi6Puh1Hzkw==", + "dev": true, + "dependencies": { + "@sanity/timed-out": "^4.0.2", + "create-error-class": "^3.0.2", + "debug": "^4.3.4", + "decompress-response": "^6.0.0", + "follow-redirects": "^1.15.2", + "form-urlencoded": "^2.0.9", + "into-stream": "^3.1.0", + "is-plain-object": "^5.0.0", + "is-retry-allowed": "^1.2.0", + "is-stream": "^1.1.0", + "nano-pubsub": "^2.0.1", + "parse-headers": "^2.0.5", + "progress-stream": "^2.0.0", + "same-origin": "^0.1.1", + "simple-concat": "^1.0.1", + "tunnel-agent": "^0.6.0", + "url-parse": "^1.5.10" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@sanity/plugin-kit/node_modules/is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@sanity/plugin-kit/node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@sanity/plugin-kit/node_modules/nano-pubsub": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/nano-pubsub/-/nano-pubsub-2.0.1.tgz", + "integrity": "sha512-RWgGP2TdeKZLx+guR5a7/BzYs85sj6yrXXyj0o/znbgzPlz/Ez9wQuKDpwUZ8q+u2RxXpqZ1iTkPXCIU+GHhpA==", + "dev": true + }, "node_modules/@sanity/plugin-kit/node_modules/semver": { "version": "7.3.8", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", @@ -4243,16 +4295,16 @@ } }, "node_modules/@sanity/portable-text-editor": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/portable-text-editor/-/portable-text-editor-3.0.0-rc.0.tgz", - "integrity": "sha512-0Eq+ZYwWvOdFVwH2DAm0IKu2rKQ8vkGhwPjdBATvNeOmV1o9ySHwotxDQ4jBeRU/EB1WoaFb58jNlh+xMVTljg==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/portable-text-editor/-/portable-text-editor-3.0.0-rc.2.tgz", + "integrity": "sha512-hpu/rQuKwWTYPU5V4vKmrDZQzuhM+IuBC3W5M3l5Mmijqx+xll2fKqX9uKdR1a+kuuDgu/n74nLBHVzOI5vF0g==", "dev": true, "dependencies": { - "@sanity/block-tools": "3.0.0-rc.0", - "@sanity/schema": "3.0.0-rc.0", + "@sanity/block-tools": "3.0.0-rc.2", + "@sanity/schema": "3.0.0-rc.2", "@sanity/slate-react": "2.30.1", - "@sanity/types": "3.0.0-rc.0", - "@sanity/util": "3.0.0-rc.0", + "@sanity/types": "3.0.0-rc.2", + "@sanity/util": "3.0.0-rc.2", "debug": "^3.2.7", "is-hotkey": "^0.1.6", "lodash": "^4.17.21", @@ -4283,13 +4335,13 @@ "dev": true }, "node_modules/@sanity/schema": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/schema/-/schema-3.0.0-rc.0.tgz", - "integrity": "sha512-r8xHjY4osTWzBpKIO69r9POWShcyiGyTsXk5AUA7EXPULnOBl+6qzQNbdHkKA75WoK28dZ33JIXVY1RhCc7bkQ==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/schema/-/schema-3.0.0-rc.2.tgz", + "integrity": "sha512-cBgSmx4EY3WizUn9zjueu1HXu1b/FgeQmvjPltXBwmzjHTvlBBlyyg/pIO9qpLFMEU9lO3H1+JExlNL6boRCGw==", "dev": true, "dependencies": { "@sanity/generate-help-url": "^3.0.0", - "@sanity/types": "3.0.0-rc.0", + "@sanity/types": "3.0.0-rc.2", "arrify": "^1.0.1", "humanize-list": "^1.0.1", "leven": "^3.1.0", @@ -4315,9 +4367,9 @@ } }, "node_modules/@sanity/server": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/server/-/server-3.0.0-rc.0.tgz", - "integrity": "sha512-P45vBjc4tG8S4CAeR5xfH4OZbPDzawwT/BBKuiMQitP0MjlmwpYeGKDQlSqyLlQM2O9zPIk0Yztk/BBi6f3w9Q==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/server/-/server-3.0.0-rc.2.tgz", + "integrity": "sha512-mD50vHzDSk4N/jxpTspQPGGmpYxJHANqSstorJnHGbRSOXGVS5/wSCJ26bU/1jXzZini73uRTQrNenN/577cpQ==", "dev": true, "dependencies": { "@sanity/generate-help-url": "^3.0.0", @@ -4769,9 +4821,9 @@ } }, "node_modules/@sanity/types": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/types/-/types-3.0.0-rc.0.tgz", - "integrity": "sha512-mq2ybbvdxcJcu/+81oSZdFz7+d0R/jcsPjfWlR+kOjcIqlgIbLI6+uItcFS/Vo2uY+D1u8i8kQ2SRg0S+AL04A==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/types/-/types-3.0.0-rc.2.tgz", + "integrity": "sha512-0zZPU3lrTblkVbaPQs/xQohxT3sSdcfDdU3TRh1Ip78MGU/l9YMMCbHTrbaP0J//FTicYR5AaKxeG4UW/4xrfw==", "dev": true, "dependencies": { "@sanity/client": "^3.4.1", @@ -4858,12 +4910,12 @@ } }, "node_modules/@sanity/util": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/util/-/util-3.0.0-rc.0.tgz", - "integrity": "sha512-pibawRcTK9l8FT2164BzMNyoU7u5hILGZAy5D+niQm9GAY8S82DFbwR/7gTCYklK9RVbtfZa8BgGZntWDQctIg==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/util/-/util-3.0.0-rc.2.tgz", + "integrity": "sha512-3JmfSKVyb+Y/rv1zvFjr+mG9yWGNGiqNtycvPRITf2LLKiooqZfxD9xX6ZTDZgI4+IyXgTimqgbbZAAsNrE1jw==", "dev": true, "dependencies": { - "@sanity/types": "3.0.0-rc.0", + "@sanity/types": "3.0.0-rc.2", "get-random-values-esm": "^1.0.0", "moment": "^2.29.4" }, @@ -4891,12 +4943,12 @@ } }, "node_modules/@sanity/validation": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/validation/-/validation-3.0.0-rc.0.tgz", - "integrity": "sha512-mCxLw2j/m08Y/E1r2+WHxkCWziK7jI03J1QxglgtbhoH3w04ajbKpxI3hX9Q8O9IDmPlYOHeWLJmaxBqJF9CNA==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/validation/-/validation-3.0.0-rc.2.tgz", + "integrity": "sha512-v0JPfK9t8HJ7XriYyQbJItI9Jfrf5BVAGjRwTrAVKTrCyghNzjNJSok7yNR9EDIYDNxrKh+EGrW2JQkfEPlSgw==", "dev": true, "dependencies": { - "@sanity/types": "3.0.0-rc.0", + "@sanity/types": "3.0.0-rc.2", "date-fns": "^2.26.1", "lodash": "^4.17.21", "rxjs": "^6.5.3" @@ -5666,15 +5718,6 @@ "node": ">=12" } }, - "node_modules/@vitejs/plugin-react/node_modules/react-refresh": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz", - "integrity": "sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/abab": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", @@ -6300,10 +6343,13 @@ } }, "node_modules/builtins": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", - "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==", - "dev": true + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", + "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", + "dev": true, + "dependencies": { + "semver": "^7.0.0" + } }, "node_modules/cac": { "version": "6.7.14", @@ -10062,15 +10108,16 @@ } }, "node_modules/git-user-info": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/git-user-info/-/git-user-info-1.0.1.tgz", - "integrity": "sha512-8usvqAMZ6MBfuLQjvtZSrX9Ssv3kgo/1K3xsLvBl0vtMlH8kZeHOcStTZ/JDsKR1gZnBZdSTUyyZTo7rWBrj8g==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/git-user-info/-/git-user-info-2.0.3.tgz", + "integrity": "sha512-G4ffrtck6AhUvJBmaWiq50viL9Zt3l1G/Qv0tV8BTKJZcJYnKWKGW8m7JvPrhzrPwh+Pwuq88pzERGlrLuOWng==", "dev": true, "dependencies": { - "extend-shallow": "^2.0.1", "git-config-path": "^1.0.1", - "in-publish": "^2.0.0", "parse-git-config": "^1.1.1" + }, + "engines": { + "node": ">=12.0.0" } }, "node_modules/gitconfiglocal": { @@ -10491,9 +10538,9 @@ "dev": true }, "node_modules/husky": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.1.tgz", - "integrity": "sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.2.tgz", + "integrity": "sha512-Tkv80jtvbnkK3mYWxPZePGFpQ/tT3HNSs/sasF9P2YfkMezDl3ON37YN6jUUI4eTg5LcyVynlb6r4eyvOmspvg==", "dev": true, "bin": { "husky": "lib/bin.js" @@ -10553,12 +10600,33 @@ "dev": true }, "node_modules/ignore-walk": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-4.0.1.tgz", - "integrity": "sha512-rzDQLaW4jQbh2YrOFlJdCtX8qgJTehFRYiUB2r1osqTeDzV/3+Jh8fz1oAPzUThf3iku8Ds4IDqawI5d8mUiQw==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.0.tgz", + "integrity": "sha512-bTf9UWe/UP1yxG3QUrj/KOvEhTAUWPcv+WvbFZ28LcqznXabp7Xu6o9y1JEC18+oqODuS7VhTpekV5XvFwsxJg==", "dev": true, "dependencies": { - "minimatch": "^3.0.4" + "minimatch": "^5.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/ignore-walk/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/ignore-walk/node_modules/minimatch": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", + "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" }, "engines": { "node": ">=10" @@ -10626,18 +10694,6 @@ "node": ">=0.8.19" } }, - "node_modules/in-publish": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz", - "integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ==", - "dev": true, - "bin": { - "in-install": "in-install.js", - "in-publish": "in-publish.js", - "not-in-install": "not-in-install.js", - "not-in-publish": "not-in-publish.js" - } - }, "node_modules/indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", @@ -12821,21 +12877,15 @@ "dev": true }, "node_modules/npm-packlist": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-3.0.0.tgz", - "integrity": "sha512-L/cbzmutAwII5glUcf2DBRNY/d0TFd4e/FnaZigJV6JD85RHZXJFGwCndjMWiiViiWSsWt3tiOLpI3ByTnIdFQ==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-7.0.2.tgz", + "integrity": "sha512-d2+7RMySjVXssww23rV5NuIq1NzGvM04OlI5kwnvtYKfFTAPVs6Zxmxns2HRtJEA1oNj7D/BbFXeVAOLmW3N3Q==", "dev": true, "dependencies": { - "glob": "^7.1.6", - "ignore-walk": "^4.0.1", - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" - }, - "bin": { - "npm-packlist": "bin/index.js" + "ignore-walk": "^6.0.0" }, "engines": { - "node": ">=10" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/npm-run-path": { @@ -16119,9 +16169,9 @@ } }, "node_modules/postcss": { - "version": "8.4.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.18.tgz", - "integrity": "sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA==", + "version": "8.4.19", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.19.tgz", + "integrity": "sha512-h+pbPsyhlYj6N2ozBmHhHrs9DzGmbaarbLvWipMRO7RLS+v4onj26MPFXA5OBYFxyqYhUJK456SwDcY9H2/zsA==", "dev": true, "funding": [ { @@ -16623,6 +16673,15 @@ "react": ">=15.0.0" } }, + "node_modules/react-refresh": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz", + "integrity": "sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/react-rx": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/react-rx/-/react-rx-2.1.3.tgz", @@ -17424,9 +17483,9 @@ "dev": true }, "node_modules/sanity": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/sanity/-/sanity-3.0.0-rc.0.tgz", - "integrity": "sha512-ZIKDWoVUjBP8OtHV/Rs5QBmrqBuxzJsOh6JJHgb5sq6dKw7tCN+HAfFIXl1afC5ngZPNbArhFGL9ExD9Z9ldAg==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/sanity/-/sanity-3.0.0-rc.2.tgz", + "integrity": "sha512-ZT4ZTsoFCGlpAFz6h4hYBRNwXCDKub3WxRa6B3nx87nS7DvwNB5w/b3FJfjwfGD2EZzgZJsfw1EEqySxuelS5A==", "dev": true, "dependencies": { "@juggle/resize-observer": "^3.3.1", @@ -17436,27 +17495,27 @@ "@rexxars/react-sortable-hoc": "^2.0.0", "@sanity/asset-utils": "^1.2.5", "@sanity/bifur-client": "^0.3.0", - "@sanity/block-tools": "3.0.0-rc.0", - "@sanity/cli": "3.0.0-rc.0", + "@sanity/block-tools": "3.0.0-rc.2", + "@sanity/cli": "3.0.0-rc.2", "@sanity/client": "^3.4.1", "@sanity/color": "2.1.19-beta.3", - "@sanity/diff": "3.0.0-rc.0", + "@sanity/diff": "3.0.0-rc.2", "@sanity/eventsource": "^3.0.1", - "@sanity/export": "3.0.0-rc.0", + "@sanity/export": "3.0.0-rc.2", "@sanity/generate-help-url": "^3.0.0", "@sanity/icons": "1.3.9-beta.3", "@sanity/image-url": "^1.0.1", - "@sanity/import": "3.0.0-rc.0", + "@sanity/import": "3.0.0-rc.2", "@sanity/logos": "1.1.20-beta.3", - "@sanity/mutator": "3.0.0-rc.0", - "@sanity/portable-text-editor": "3.0.0-rc.0", - "@sanity/schema": "3.0.0-rc.0", - "@sanity/server": "3.0.0-rc.0", - "@sanity/types": "3.0.0-rc.0", + "@sanity/mutator": "3.0.0-rc.2", + "@sanity/portable-text-editor": "3.0.0-rc.2", + "@sanity/schema": "3.0.0-rc.2", + "@sanity/server": "3.0.0-rc.2", + "@sanity/types": "3.0.0-rc.2", "@sanity/ui": "1.0.0-beta.32", - "@sanity/util": "3.0.0-rc.0", + "@sanity/util": "3.0.0-rc.2", "@sanity/uuid": "^3.0.1", - "@sanity/validation": "3.0.0-rc.0", + "@sanity/validation": "3.0.0-rc.2", "@tanstack/react-virtual": "3.0.0-beta.18", "@types/is-hotkey": "^0.1.7", "@types/react-copy-to-clipboard": "^5.0.2", @@ -19989,12 +20048,15 @@ } }, "node_modules/validate-npm-package-name": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", - "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz", + "integrity": "sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==", "dev": true, "dependencies": { - "builtins": "^1.0.3" + "builtins": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/validator": { @@ -20013,9 +20075,9 @@ "dev": true }, "node_modules/vite": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/vite/-/vite-3.2.3.tgz", - "integrity": "sha512-h8jl1TZ76eGs3o2dIBSsvXDLb1m/Ec1iej8ZMdz+PsaFUsftZeWe2CZOI3qogEsMNaywc17gu0q6cQDzh/weCQ==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/vite/-/vite-3.2.4.tgz", + "integrity": "sha512-Z2X6SRAffOUYTa+sLy3NQ7nlHFU100xwanq1WDwqaiFiCe+25zdxP1TfCS5ojPV2oDDcXudHIoPnI1Z/66B7Yw==", "dev": true, "dependencies": { "esbuild": "^0.15.9", @@ -22955,9 +23017,9 @@ } }, "@sanity/block-tools": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/block-tools/-/block-tools-3.0.0-rc.0.tgz", - "integrity": "sha512-YCZBKLXPNkAKNBYFN79SCUG9Ee/CEUerbO3nMJV0uoxexlVPAt0pq2zUqjI2oyN3oAfy0+1iABOgtPVQlJyc/w==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/block-tools/-/block-tools-3.0.0-rc.2.tgz", + "integrity": "sha512-JWC4LuN1q51+KM+YlpML3nEK0ElVTvfLrfbVjBUtPhTPaaOydKBacImEusfCMHLmDc2TP0Ua44/qUiYYWZ07UA==", "dev": true, "requires": { "get-random-values-esm": "^1.0.0", @@ -22965,9 +23027,9 @@ } }, "@sanity/cli": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/cli/-/cli-3.0.0-rc.0.tgz", - "integrity": "sha512-sfTRQQ+0ELms4pi3tTjRR85e0KOpD9bZsNzWf5EaGS3pPFvwsqI40CqmeDq+7izYmYisvj47jL9j0uNis0OUug==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/cli/-/cli-3.0.0-rc.2.tgz", + "integrity": "sha512-umWFPQu7j7a2OuROyvAVy1El2hsVg33UbmUnmhzxsobFE38mMPXf4HhRliyvA/fIeeNalOBO+MWJpGxo7dZf3Q==", "dev": true, "requires": { "@babel/traverse": "^7.19.0", @@ -23255,9 +23317,9 @@ "dev": true }, "@sanity/diff": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/diff/-/diff-3.0.0-rc.0.tgz", - "integrity": "sha512-MVhtu1Iq49o7OpBAD+VfDGc/0Lg/HhZ41FIqtMHPzQTaW5zDODzaPE3LxeM3RFT3ZHBJz1pKYutr3y94aENIaA==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/diff/-/diff-3.0.0-rc.2.tgz", + "integrity": "sha512-etgoHJQYK5X6TDoQXEO4FjVdc8qUuhTyjbnYNkqEb/MC7Dwc3Dy7JFm8IRwiB/qfGASxH6d7NnFlV0+wCccveQ==", "dev": true, "requires": { "diff-match-patch": "^1.0.4" @@ -23274,9 +23336,9 @@ } }, "@sanity/export": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/export/-/export-3.0.0-rc.0.tgz", - "integrity": "sha512-VCcsaSY2IUL3dylB0QF0P5QfpYybKU4uM0dVGJ044S7JS6Bp3wL51OwYSbHGYF3b8V7UgBQYVEf/zaP3ziCGDQ==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/export/-/export-3.0.0-rc.2.tgz", + "integrity": "sha512-iqIDQHsgeAV3Nkue6Y1XJ5rxwQQR02AEUeCrLq+167wg4KmSogfoqj+E6PVp5eDrvKmwziVKGkWwFT/97PB5Zg==", "dev": true, "requires": { "archiver": "^5.0.0", @@ -23382,14 +23444,14 @@ "dev": true }, "@sanity/import": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/import/-/import-3.0.0-rc.0.tgz", - "integrity": "sha512-UF1FBsmw3N6Eo8vJTDngqfUs7pobSIqleczlSpnZMlt+ETikT3/0gTJvkiXAT1VAXaQCeSjASUCPMO+HWtbH5A==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/import/-/import-3.0.0-rc.2.tgz", + "integrity": "sha512-6eB/eG1QXsw3CyK78rsKcqDTj2jipoyhxckDWbM1gAk4dutNQENCgCAkWOtuGda5vKcU8KeVooUVHopTlbFYJA==", "dev": true, "requires": { "@sanity/asset-utils": "^1.2.5", "@sanity/generate-help-url": "^3.0.0", - "@sanity/mutator": "3.0.0-rc.0", + "@sanity/mutator": "3.0.0-rc.2", "@sanity/uuid": "^3.0.1", "debug": "^3.2.7", "file-url": "^2.0.2", @@ -23520,9 +23582,9 @@ "dev": true }, "@sanity/mutator": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/mutator/-/mutator-3.0.0-rc.0.tgz", - "integrity": "sha512-Ehwg5JG1eBzXDEBaq5rdquNWYwJsOMlyuIoKwaYQHFUQIx8XpocNjBwGQEGodXoyze9WrRB71V1pWXojmO82sA==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/mutator/-/mutator-3.0.0-rc.2.tgz", + "integrity": "sha512-bmX8lE+gxz/ws2D6cewqWprJFHQX46kFKvdIx5cqYZElIp9GDrY9ICk5exSfQgiTA4FW1AiHIY6EGVM8kqbNwQ==", "dev": true, "requires": { "@sanity/uuid": "^3.0.1", @@ -23595,9 +23657,9 @@ } }, "@sanity/plugin-kit": { - "version": "2.1.7", - "resolved": "https://registry.npmjs.org/@sanity/plugin-kit/-/plugin-kit-2.1.7.tgz", - "integrity": "sha512-geWzEfNcA8RuI+E7HYnPBlPVCimy63yPxAOnh2zOfHHfLIjjaN8LNwP2m1B8AYklhcU8ZbOF20vxnbHK8ARozg==", + "version": "2.1.16", + "resolved": "https://registry.npmjs.org/@sanity/plugin-kit/-/plugin-kit-2.1.16.tgz", + "integrity": "sha512-6G0zdseO8Y4rckS5YrhyatJRZMER/ud5r6SRVp6/rm1QUAD8kt5dFcff5Md1cmu1s5yx27Qogr+2uj1ZMwS8ew==", "dev": true, "requires": { "@rexxars/choosealicense-list": "^1.1.2", @@ -23607,28 +23669,71 @@ "email-validator": "^2.0.4", "execa": "^5.1.1", "find-babel-config": "^1.2.0", - "get-it": "^6.1.1", + "get-it": "^7.0.2", "get-latest-version": "^4.0.0", "git-remote-origin-url": "^3.1.0", - "git-user-info": "^1.0.1", + "git-user-info": "^2.0.3", "github-url-to-object": "^4.0.6", "inquirer": "^8.2.5", "meow": "^9.0.0", "nodemon": "^2.0.20", - "npm-packlist": "^3.0.0", + "npm-packlist": "^7.0.2", "npm-run-path": "^4.0.1", "outdent": "^0.8.0", "p-any": "^3.0.0", "p-props": "^4.0.0", - "postcss": "^8.4.18", + "postcss": "^8.4.19", "rimraf": "^3.0.2", "semver": "^7.3.8", "spdx-license-ids": "^3.0.12", - "validate-npm-package-name": "^3.0.0", + "validate-npm-package-name": "^5.0.0", "xdg-basedir": "^4.0.0", "yalc": "^1.0.0-pre.53" }, "dependencies": { + "get-it": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/get-it/-/get-it-7.0.2.tgz", + "integrity": "sha512-q4d+ssYtpWzC4/qJ4aJDZ5yWl94BIGmRER7PEvYpiKCBoCoDnl1YygEvNHQ2tHbD3GVZaq3QonKGi6Puh1Hzkw==", + "dev": true, + "requires": { + "@sanity/timed-out": "^4.0.2", + "create-error-class": "^3.0.2", + "debug": "^4.3.4", + "decompress-response": "^6.0.0", + "follow-redirects": "^1.15.2", + "form-urlencoded": "^2.0.9", + "into-stream": "^3.1.0", + "is-plain-object": "^5.0.0", + "is-retry-allowed": "^1.2.0", + "is-stream": "^1.1.0", + "nano-pubsub": "^2.0.1", + "parse-headers": "^2.0.5", + "progress-stream": "^2.0.0", + "same-origin": "^0.1.1", + "simple-concat": "^1.0.1", + "tunnel-agent": "^0.6.0", + "url-parse": "^1.5.10" + } + }, + "is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "dev": true + }, + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==", + "dev": true + }, + "nano-pubsub": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/nano-pubsub/-/nano-pubsub-2.0.1.tgz", + "integrity": "sha512-RWgGP2TdeKZLx+guR5a7/BzYs85sj6yrXXyj0o/znbgzPlz/Ez9wQuKDpwUZ8q+u2RxXpqZ1iTkPXCIU+GHhpA==", + "dev": true + }, "semver": { "version": "7.3.8", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", @@ -23641,16 +23746,16 @@ } }, "@sanity/portable-text-editor": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/portable-text-editor/-/portable-text-editor-3.0.0-rc.0.tgz", - "integrity": "sha512-0Eq+ZYwWvOdFVwH2DAm0IKu2rKQ8vkGhwPjdBATvNeOmV1o9ySHwotxDQ4jBeRU/EB1WoaFb58jNlh+xMVTljg==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/portable-text-editor/-/portable-text-editor-3.0.0-rc.2.tgz", + "integrity": "sha512-hpu/rQuKwWTYPU5V4vKmrDZQzuhM+IuBC3W5M3l5Mmijqx+xll2fKqX9uKdR1a+kuuDgu/n74nLBHVzOI5vF0g==", "dev": true, "requires": { - "@sanity/block-tools": "3.0.0-rc.0", - "@sanity/schema": "3.0.0-rc.0", + "@sanity/block-tools": "3.0.0-rc.2", + "@sanity/schema": "3.0.0-rc.2", "@sanity/slate-react": "2.30.1", - "@sanity/types": "3.0.0-rc.0", - "@sanity/util": "3.0.0-rc.0", + "@sanity/types": "3.0.0-rc.2", + "@sanity/util": "3.0.0-rc.2", "debug": "^3.2.7", "is-hotkey": "^0.1.6", "lodash": "^4.17.21", @@ -23675,13 +23780,13 @@ } }, "@sanity/schema": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/schema/-/schema-3.0.0-rc.0.tgz", - "integrity": "sha512-r8xHjY4osTWzBpKIO69r9POWShcyiGyTsXk5AUA7EXPULnOBl+6qzQNbdHkKA75WoK28dZ33JIXVY1RhCc7bkQ==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/schema/-/schema-3.0.0-rc.2.tgz", + "integrity": "sha512-cBgSmx4EY3WizUn9zjueu1HXu1b/FgeQmvjPltXBwmzjHTvlBBlyyg/pIO9qpLFMEU9lO3H1+JExlNL6boRCGw==", "dev": true, "requires": { "@sanity/generate-help-url": "^3.0.0", - "@sanity/types": "3.0.0-rc.0", + "@sanity/types": "3.0.0-rc.2", "arrify": "^1.0.1", "humanize-list": "^1.0.1", "leven": "^3.1.0", @@ -23704,9 +23809,9 @@ } }, "@sanity/server": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/server/-/server-3.0.0-rc.0.tgz", - "integrity": "sha512-P45vBjc4tG8S4CAeR5xfH4OZbPDzawwT/BBKuiMQitP0MjlmwpYeGKDQlSqyLlQM2O9zPIk0Yztk/BBi6f3w9Q==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/server/-/server-3.0.0-rc.2.tgz", + "integrity": "sha512-mD50vHzDSk4N/jxpTspQPGGmpYxJHANqSstorJnHGbRSOXGVS5/wSCJ26bU/1jXzZini73uRTQrNenN/577cpQ==", "dev": true, "requires": { "@sanity/generate-help-url": "^3.0.0", @@ -23948,9 +24053,9 @@ "dev": true }, "@sanity/types": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/types/-/types-3.0.0-rc.0.tgz", - "integrity": "sha512-mq2ybbvdxcJcu/+81oSZdFz7+d0R/jcsPjfWlR+kOjcIqlgIbLI6+uItcFS/Vo2uY+D1u8i8kQ2SRg0S+AL04A==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/types/-/types-3.0.0-rc.2.tgz", + "integrity": "sha512-0zZPU3lrTblkVbaPQs/xQohxT3sSdcfDdU3TRh1Ip78MGU/l9YMMCbHTrbaP0J//FTicYR5AaKxeG4UW/4xrfw==", "dev": true, "requires": { "@sanity/client": "^3.4.1", @@ -24024,12 +24129,12 @@ } }, "@sanity/util": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/util/-/util-3.0.0-rc.0.tgz", - "integrity": "sha512-pibawRcTK9l8FT2164BzMNyoU7u5hILGZAy5D+niQm9GAY8S82DFbwR/7gTCYklK9RVbtfZa8BgGZntWDQctIg==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/util/-/util-3.0.0-rc.2.tgz", + "integrity": "sha512-3JmfSKVyb+Y/rv1zvFjr+mG9yWGNGiqNtycvPRITf2LLKiooqZfxD9xX6ZTDZgI4+IyXgTimqgbbZAAsNrE1jw==", "dev": true, "requires": { - "@sanity/types": "3.0.0-rc.0", + "@sanity/types": "3.0.0-rc.2", "get-random-values-esm": "^1.0.0", "moment": "^2.29.4" } @@ -24053,12 +24158,12 @@ } }, "@sanity/validation": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/@sanity/validation/-/validation-3.0.0-rc.0.tgz", - "integrity": "sha512-mCxLw2j/m08Y/E1r2+WHxkCWziK7jI03J1QxglgtbhoH3w04ajbKpxI3hX9Q8O9IDmPlYOHeWLJmaxBqJF9CNA==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/@sanity/validation/-/validation-3.0.0-rc.2.tgz", + "integrity": "sha512-v0JPfK9t8HJ7XriYyQbJItI9Jfrf5BVAGjRwTrAVKTrCyghNzjNJSok7yNR9EDIYDNxrKh+EGrW2JQkfEPlSgw==", "dev": true, "requires": { - "@sanity/types": "3.0.0-rc.0", + "@sanity/types": "3.0.0-rc.2", "date-fns": "^2.26.1", "lodash": "^4.17.21", "rxjs": "^6.5.3" @@ -24643,12 +24748,6 @@ "requires": { "sourcemap-codec": "^1.4.8" } - }, - "react-refresh": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz", - "integrity": "sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==", - "dev": true } } }, @@ -25118,10 +25217,13 @@ "dev": true }, "builtins": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", - "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==", - "dev": true + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", + "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", + "dev": true, + "requires": { + "semver": "^7.0.0" + } }, "cac": { "version": "6.7.14", @@ -27905,14 +28007,12 @@ } }, "git-user-info": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/git-user-info/-/git-user-info-1.0.1.tgz", - "integrity": "sha512-8usvqAMZ6MBfuLQjvtZSrX9Ssv3kgo/1K3xsLvBl0vtMlH8kZeHOcStTZ/JDsKR1gZnBZdSTUyyZTo7rWBrj8g==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/git-user-info/-/git-user-info-2.0.3.tgz", + "integrity": "sha512-G4ffrtck6AhUvJBmaWiq50viL9Zt3l1G/Qv0tV8BTKJZcJYnKWKGW8m7JvPrhzrPwh+Pwuq88pzERGlrLuOWng==", "dev": true, "requires": { - "extend-shallow": "^2.0.1", "git-config-path": "^1.0.1", - "in-publish": "^2.0.0", "parse-git-config": "^1.1.1" } }, @@ -28243,9 +28343,9 @@ "dev": true }, "husky": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.1.tgz", - "integrity": "sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.2.tgz", + "integrity": "sha512-Tkv80jtvbnkK3mYWxPZePGFpQ/tT3HNSs/sasF9P2YfkMezDl3ON37YN6jUUI4eTg5LcyVynlb6r4eyvOmspvg==", "dev": true }, "iconv-lite": { @@ -28276,12 +28376,32 @@ "dev": true }, "ignore-walk": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-4.0.1.tgz", - "integrity": "sha512-rzDQLaW4jQbh2YrOFlJdCtX8qgJTehFRYiUB2r1osqTeDzV/3+Jh8fz1oAPzUThf3iku8Ds4IDqawI5d8mUiQw==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.0.tgz", + "integrity": "sha512-bTf9UWe/UP1yxG3QUrj/KOvEhTAUWPcv+WvbFZ28LcqznXabp7Xu6o9y1JEC18+oqODuS7VhTpekV5XvFwsxJg==", "dev": true, "requires": { - "minimatch": "^3.0.4" + "minimatch": "^5.0.1" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", + "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } } }, "immer": { @@ -28323,12 +28443,6 @@ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true }, - "in-publish": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz", - "integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ==", - "dev": true - }, "indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", @@ -31631,15 +31745,12 @@ "dev": true }, "npm-packlist": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-3.0.0.tgz", - "integrity": "sha512-L/cbzmutAwII5glUcf2DBRNY/d0TFd4e/FnaZigJV6JD85RHZXJFGwCndjMWiiViiWSsWt3tiOLpI3ByTnIdFQ==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-7.0.2.tgz", + "integrity": "sha512-d2+7RMySjVXssww23rV5NuIq1NzGvM04OlI5kwnvtYKfFTAPVs6Zxmxns2HRtJEA1oNj7D/BbFXeVAOLmW3N3Q==", "dev": true, "requires": { - "glob": "^7.1.6", - "ignore-walk": "^4.0.1", - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" + "ignore-walk": "^6.0.0" } }, "npm-run-path": { @@ -32284,9 +32395,9 @@ } }, "postcss": { - "version": "8.4.18", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.18.tgz", - "integrity": "sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA==", + "version": "8.4.19", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.19.tgz", + "integrity": "sha512-h+pbPsyhlYj6N2ozBmHhHrs9DzGmbaarbLvWipMRO7RLS+v4onj26MPFXA5OBYFxyqYhUJK456SwDcY9H2/zsA==", "dev": true, "requires": { "nanoid": "^3.3.4", @@ -32656,6 +32767,12 @@ "unist-util-visit-parents": "^3.0.2" } }, + "react-refresh": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.0.tgz", + "integrity": "sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==", + "dev": true + }, "react-rx": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/react-rx/-/react-rx-2.1.3.tgz", @@ -33252,9 +33369,9 @@ "dev": true }, "sanity": { - "version": "3.0.0-rc.0", - "resolved": "https://registry.npmjs.org/sanity/-/sanity-3.0.0-rc.0.tgz", - "integrity": "sha512-ZIKDWoVUjBP8OtHV/Rs5QBmrqBuxzJsOh6JJHgb5sq6dKw7tCN+HAfFIXl1afC5ngZPNbArhFGL9ExD9Z9ldAg==", + "version": "3.0.0-rc.2", + "resolved": "https://registry.npmjs.org/sanity/-/sanity-3.0.0-rc.2.tgz", + "integrity": "sha512-ZT4ZTsoFCGlpAFz6h4hYBRNwXCDKub3WxRa6B3nx87nS7DvwNB5w/b3FJfjwfGD2EZzgZJsfw1EEqySxuelS5A==", "dev": true, "requires": { "@juggle/resize-observer": "^3.3.1", @@ -33264,27 +33381,27 @@ "@rexxars/react-sortable-hoc": "^2.0.0", "@sanity/asset-utils": "^1.2.5", "@sanity/bifur-client": "^0.3.0", - "@sanity/block-tools": "3.0.0-rc.0", - "@sanity/cli": "3.0.0-rc.0", + "@sanity/block-tools": "3.0.0-rc.2", + "@sanity/cli": "3.0.0-rc.2", "@sanity/client": "^3.4.1", "@sanity/color": "2.1.19-beta.3", - "@sanity/diff": "3.0.0-rc.0", + "@sanity/diff": "3.0.0-rc.2", "@sanity/eventsource": "^3.0.1", - "@sanity/export": "3.0.0-rc.0", + "@sanity/export": "3.0.0-rc.2", "@sanity/generate-help-url": "^3.0.0", "@sanity/icons": "1.3.9-beta.3", "@sanity/image-url": "^1.0.1", - "@sanity/import": "3.0.0-rc.0", + "@sanity/import": "3.0.0-rc.2", "@sanity/logos": "1.1.20-beta.3", - "@sanity/mutator": "3.0.0-rc.0", - "@sanity/portable-text-editor": "3.0.0-rc.0", - "@sanity/schema": "3.0.0-rc.0", - "@sanity/server": "3.0.0-rc.0", - "@sanity/types": "3.0.0-rc.0", + "@sanity/mutator": "3.0.0-rc.2", + "@sanity/portable-text-editor": "3.0.0-rc.2", + "@sanity/schema": "3.0.0-rc.2", + "@sanity/server": "3.0.0-rc.2", + "@sanity/types": "3.0.0-rc.2", "@sanity/ui": "1.0.0-beta.32", - "@sanity/util": "3.0.0-rc.0", + "@sanity/util": "3.0.0-rc.2", "@sanity/uuid": "^3.0.1", - "@sanity/validation": "3.0.0-rc.0", + "@sanity/validation": "3.0.0-rc.2", "@tanstack/react-virtual": "3.0.0-beta.18", "@types/is-hotkey": "^0.1.7", "@types/react-copy-to-clipboard": "^5.0.2", @@ -35174,12 +35291,12 @@ } }, "validate-npm-package-name": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", - "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz", + "integrity": "sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==", "dev": true, "requires": { - "builtins": "^1.0.3" + "builtins": "^5.0.0" } }, "validator": { @@ -35195,9 +35312,9 @@ "dev": true }, "vite": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/vite/-/vite-3.2.3.tgz", - "integrity": "sha512-h8jl1TZ76eGs3o2dIBSsvXDLb1m/Ec1iej8ZMdz+PsaFUsftZeWe2CZOI3qogEsMNaywc17gu0q6cQDzh/weCQ==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/vite/-/vite-3.2.4.tgz", + "integrity": "sha512-Z2X6SRAffOUYTa+sLy3NQ7nlHFU100xwanq1WDwqaiFiCe+25zdxP1TfCS5ojPV2oDDcXudHIoPnI1Z/66B7Yw==", "dev": true, "requires": { "esbuild": "^0.15.9", diff --git a/package.json b/package.json index 3439b5bf..4f0180f8 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "@sanity/color": "^2.1.8", "@sanity/icons": "^1.2.5", "@sanity/pkg-utils": "^1.17.2", - "@sanity/plugin-kit": "^2.1.7", + "@sanity/plugin-kit": "^2.1.16", "@sanity/semantic-release-preset": "^2.0.2", "@types/is-hotkey": "^0.1.7", "@types/pluralize": "^0.0.29", @@ -103,14 +103,14 @@ "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.31.10", "eslint-plugin-react-hooks": "^4.6.0", - "husky": "^8.0.1", + "husky": "^8.0.2", "lint-staged": "^13.0.3", "prettier": "^2.7.1", "prettier-plugin-packagejson": "^2.3.0", "react": "^18", "react-dom": "^18", "rimraf": "^3.0.2", - "sanity": "3.0.0-rc.0", + "sanity": "3.0.0-rc.2", "standard-version": "^9.5.0", "styled-components": "^5.3.3", "typescript": "^4.8.4" @@ -120,7 +120,7 @@ "@sanity/icons": "^1.2.8", "react": "^18", "react-dom": "^18", - "sanity": "dev-preview || 3.0.0-rc.0", + "sanity": "dev-preview || 3.0.0-rc.2", "styled-components": "^5.3.3" }, "engines": {