From 2d2147fe26de1077793dd33759f113599b64b633 Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Tue, 10 Dec 2024 17:29:24 +0100 Subject: [PATCH] chore: add url field --- pnpm-lock.yaml | 702 ++++++++--------------------------- studio/.eslintrc | 6 +- studio/package.json | 10 +- studio/sanity.cli.ts | 4 +- studio/schemaTypes/index.tsx | 8 +- 5 files changed, 169 insertions(+), 561 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7c2fcd0..084e95d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,7 +38,7 @@ importers: version: 0.6.9(@ianvs/prettier-plugin-sort-imports@4.4.0(@vue/compiler-sfc@3.5.13)(prettier@3.4.2))(prettier-plugin-astro@0.14.1)(prettier-plugin-svelte@3.3.2(prettier@3.4.2)(svelte@5.10.0))(prettier@3.4.2) sanity: specifier: ^3.64.2 - version: 3.67.0(@types/node@22.10.1)(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(terser@5.36.0) + version: 3.67.0(@emotion/is-prop-valid@1.2.2)(@types/node@22.10.1)(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(terser@5.36.0) api: dependencies: @@ -216,7 +216,7 @@ importers: version: 3.67.0 next: specifier: canary - version: 15.0.4-canary.49(@babel/core@7.26.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + version: 15.0.4-canary.50(@babel/core@7.26.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react: specifier: ^19.0.0 version: 19.0.0 @@ -319,29 +319,29 @@ importers: studio: dependencies: '@sanity/icons': - specifier: ^3.5.0 - version: 3.5.2(react@18.3.1) + specifier: ^3.5.2 + version: 3.5.2(react@19.0.0) '@sanity/ui': - specifier: ^2.9.1 - version: 2.10.7(@emotion/is-prop-valid@1.2.2)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + specifier: ^2.10.8 + version: 2.10.8(@emotion/is-prop-valid@1.2.2)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/vision': specifier: 3.67.0 - version: 3.67.0(@babel/runtime@7.26.0)(@codemirror/lint@6.8.4)(@codemirror/theme-one-dark@6.1.2)(@emotion/is-prop-valid@1.2.2)(@lezer/common@1.2.3)(codemirror@6.0.1(@lezer/common@1.2.3))(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 3.67.0(@babel/runtime@7.26.0)(@codemirror/lint@6.8.4)(@codemirror/theme-one-dark@6.1.2)(@emotion/is-prop-valid@1.2.2)(@lezer/common@1.2.3)(codemirror@6.0.1(@lezer/common@1.2.3))(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) polished: specifier: ^4.3.1 version: 4.3.1 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) sanity: specifier: 3.67.0 - version: 3.67.0(@emotion/is-prop-valid@1.2.2)(@types/node@22.10.1)(@types/react@19.0.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.36.0) + version: 3.67.0(@emotion/is-prop-valid@1.2.2)(@types/node@22.10.1)(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(terser@5.36.0) styled-components: specifier: ^6.1.13 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) devDependencies: '@sanity/eslint-config-studio': specifier: ^4.0.0 @@ -349,9 +349,15 @@ importers: '@types/react': specifier: ^19.0.1 version: 19.0.1 + babel-plugin-react-compiler: + specifier: beta + version: 19.0.0-beta-37ed2a7-20241206 eslint: specifier: ^8.57.1 version: 8.57.1 + eslint-plugin-react-compiler: + specifier: beta + version: 19.0.0-beta-37ed2a7-20241206(eslint@8.57.1) typescript: specifier: 5.7.2 version: 5.7.2 @@ -662,6 +668,13 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 + '@babel/plugin-proposal-private-methods@7.18.6': + resolution: {integrity: sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==} + engines: {node: '>=6.9.0'} + deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead. + peerDependencies: + '@babel/core': ^7.0.0-0 + '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2': resolution: {integrity: sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==} engines: {node: '>=6.9.0'} @@ -2041,8 +2054,8 @@ packages: '@next/env@15.0.4': resolution: {integrity: sha512-WNRvtgnRVDD4oM8gbUcRc27IAhaL4eXQ/2ovGbgLnPGUvdyDr8UdXP4Q/IBDdAdojnD2eScryIDirv0YUCjUVw==} - '@next/env@15.0.4-canary.49': - resolution: {integrity: sha512-8fedO1xMF+LuWshoQFYnr2Sl2u1lhq+aD39Nebv1ZmMTkVF8Z93xmyh/0EvGx7PNafuUxf9pfbadkK2KsTBFXw==} + '@next/env@15.0.4-canary.50': + resolution: {integrity: sha512-J/LwsPG0sdkXauxIXYwjlzWl2W9Gfj+Zo6kAl3VSvFoKhykmllQ8pkWCCaHP/7MxrEdkv6ljtGZPpiNh1ryLpg==} '@next/eslint-plugin-next@13.5.7': resolution: {integrity: sha512-c4vuEOOXeib4js5gDq+zFqAAdRGXX6T0d+zFETiQkRwy7vyj5lBov1dW0Z09nDst2lvxo7VEcKrQMUBH5Vgx7Q==} @@ -2074,8 +2087,8 @@ packages: cpu: [arm64] os: [darwin] - '@next/swc-darwin-arm64@15.0.4-canary.49': - resolution: {integrity: sha512-LuU9BTKtzVHWAip+ufzG4nS1s/GXPyqO3pc81VTQ+ITsqd8VzZdDC+O7wNCk6vOjAr/givxzPXE3MH22EqFzGA==} + '@next/swc-darwin-arm64@15.0.4-canary.50': + resolution: {integrity: sha512-wfPgFF3unf1vxndl6rIPtGc0PTWF7wrB1oEdRUyvpSVah1lJdgzVwSrdcnNN+BVr+ICjzvvnKis0iD57nDV4dw==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -2098,8 +2111,8 @@ packages: cpu: [x64] os: [darwin] - '@next/swc-darwin-x64@15.0.4-canary.49': - resolution: {integrity: sha512-Olx1u2QBDqO2c1rWaMfPMyzYzwVne+Xa+CSskvL271RxtVkxXOQwG87vixklAmgMiv6L+hCLMY3VEm53aLOuHg==} + '@next/swc-darwin-x64@15.0.4-canary.50': + resolution: {integrity: sha512-yD/pGm9SWMYvhRaMUNSdWVsFc7yKFRP2IzdxkqFu40PwEcqTuKBSGoXE1f6FeMFA+KubIquw4Q63TQK5ORCpDQ==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -2122,8 +2135,8 @@ packages: cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-gnu@15.0.4-canary.49': - resolution: {integrity: sha512-yRDZwLdHcqG0XLPXBKCY0sjbNMwt6oMZnSaqsd0S/XQeoS9MiE5z2yJ0GxHLF3W0z3him1+Weyu6jVocGzOtXg==} + '@next/swc-linux-arm64-gnu@15.0.4-canary.50': + resolution: {integrity: sha512-YhprD0BiByqwVnnUsVwCzT/JobD5GA509ExuXMdrszMJ7LT9vyfWgpqEOB7Za1og2zmeb4QBher+CIEsXaVacg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -2146,8 +2159,8 @@ packages: cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-musl@15.0.4-canary.49': - resolution: {integrity: sha512-GGuwW7NOlDSvHb+PB1Am310XNiGyUWmX1vld+YNjSdR5GSpeb0qxbBA4I4Jhc76RYN/kCf/WjlYP+382mo2NAA==} + '@next/swc-linux-arm64-musl@15.0.4-canary.50': + resolution: {integrity: sha512-pQBjzb+UOk30IHjSvVo5eOVVq1oEwyoRhnATvZaEAj0TUGfomcwo5YDhH4yPikWb30T3T+BFBIhizVAQCJhROg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -2170,8 +2183,8 @@ packages: cpu: [x64] os: [linux] - '@next/swc-linux-x64-gnu@15.0.4-canary.49': - resolution: {integrity: sha512-/uIF9slK/3eWhX/lmC3ea7SNejL80KeqzYGHRHWNwFItrvgbW+s2gnGOTlzgLvgKYpLiCz8tyvCpl6ThbMSLBQ==} + '@next/swc-linux-x64-gnu@15.0.4-canary.50': + resolution: {integrity: sha512-XZI2iByX+3a6nEP/aG0HUmkaijDX3TkpGyGJI+GaSui12uyNfs82T/iQ32adRVKyjoYYgD0z3g1vyKz9uaVtWg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -2194,8 +2207,8 @@ packages: cpu: [x64] os: [linux] - '@next/swc-linux-x64-musl@15.0.4-canary.49': - resolution: {integrity: sha512-B/HIrmTNyDjaxjVB5ytcgyMud1lUh7tm3VyctuWAA5/98WbUvED8rEDS5I3OlbfQ9liPBJ4F8nRxzI9Qs5MzmQ==} + '@next/swc-linux-x64-musl@15.0.4-canary.50': + resolution: {integrity: sha512-E5OCTmLK8zkYDsLJ8/TiN+bsvKZJ0Hv30kKcL6P/nqsiyZR22jKeNfRkWR5jKGUg29OXagpx0Bp0SyCCWv5y5Q==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -2218,8 +2231,8 @@ packages: cpu: [arm64] os: [win32] - '@next/swc-win32-arm64-msvc@15.0.4-canary.49': - resolution: {integrity: sha512-0Vetrya9AuzgqFeNBfD0hlkKdU+/wW5qhZa+uHYe6E5B7197U5COkOrv8imEjLqXPITvUiZWIDOMR9EK5tVluw==} + '@next/swc-win32-arm64-msvc@15.0.4-canary.50': + resolution: {integrity: sha512-sbx5pj5XNdEuzCcAgRQCM4B3Rh5YSCutyGtQN0qjTMarpH46NukQHk2CokVXNX3iDCfI6dGx4Fw2sZwts30TNA==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -2254,8 +2267,8 @@ packages: cpu: [x64] os: [win32] - '@next/swc-win32-x64-msvc@15.0.4-canary.49': - resolution: {integrity: sha512-OXiAp2Wc3qKUcB4CwUpAG78+LIre/SZVDBN/H3OQ+ALVossJ/s9t9hQoa+WiyThwFER54Bj3BjX0IK5gCwrlGw==} + '@next/swc-win32-x64-msvc@15.0.4-canary.50': + resolution: {integrity: sha512-mxI1ROUQ7b0UzDd8KAo9fzlGdJTu12qbmLw1aEqTTEblGF56xh8+K/cA6+iAp8Lv3VNVavt7D7WjKWoC7aH7cg==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -2773,8 +2786,8 @@ packages: '@sanity/types@3.67.0': resolution: {integrity: sha512-dhaI2qsgzBqSU/FeQXa40WByr7K1OmZDR+oW2egE28AIrUXEGwUu9vytZiHTSJSyZXxz0m62ucPfBAdaBKY4Sw==} - '@sanity/ui@2.10.7': - resolution: {integrity: sha512-ja6Jk+R1bFTTUaQ81fHb0VxvJPfORoSbldYDu8oKUD7DwsXxefie5c01ZryerQlg6ehGHAyWO8NXnVMWXlwQbA==} + '@sanity/ui@2.10.8': + resolution: {integrity: sha512-r9nSn2hqcMFS2vET62u7GbMSoDMzzA40QCszrZMKGhwAPN9ZVRAY+f02EBnKhOfnPL18+Fmg4m43wkev1NUdrQ==} engines: {node: '>=14.0.0'} peerDependencies: react: ^18 || >=19.0.0-0 @@ -3661,6 +3674,9 @@ packages: peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 + babel-plugin-react-compiler@19.0.0-beta-37ed2a7-20241206: + resolution: {integrity: sha512-nnkrHpeDKM8A5laq9tmFvvGbbDQ7laGfQLp50cvCkCXmWrPcZdCtaQpNh8UJS/yLREJnv2R4JDL5ADfxyAn+yQ==} + bail@2.0.2: resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==} @@ -4674,6 +4690,12 @@ packages: peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9 + eslint-plugin-react-compiler@19.0.0-beta-37ed2a7-20241206: + resolution: {integrity: sha512-5Pex1fUCJwLwwqEJe6NkgTn45kUjjj9TZP6IrW4IcpWM/YaEe+QvcOeF60huDjBq0kz1svGeW2nw8WdY+qszAw==} + engines: {node: ^14.17.0 || ^16.0.0 || >= 18.0.0} + peerDependencies: + eslint: '>=7' + eslint-plugin-react-hooks@4.6.2: resolution: {integrity: sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==} engines: {node: '>=10'} @@ -5307,6 +5329,12 @@ packages: resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} hasBin: true + hermes-estree@0.25.1: + resolution: {integrity: sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==} + + hermes-parser@0.25.1: + resolution: {integrity: sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==} + history@5.3.0: resolution: {integrity: sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ==} @@ -6371,8 +6399,8 @@ packages: sass: optional: true - next@15.0.4-canary.49: - resolution: {integrity: sha512-pHftmuWH0bAiNlOojVAaM7OdzLhgzIKfesOY7UhDmvhovdE6YElC2boUbveIrhjxXOr+bGiDqEbkAYaSlFQBrA==} + next@15.0.4-canary.50: + resolution: {integrity: sha512-+37AT2OJ9X7PwzbTcp1ysdrb3yhLzr2Y0rffrZp/4n8OLH0ErmlWXIKDxvsK+ZonkpacZDSH0Dt5VlvhFZUmCQ==} engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0} hasBin: true peerDependencies: @@ -8923,6 +8951,12 @@ packages: typescript: ^4.9.4 || ^5.0.2 zod: ^3 + zod-validation-error@3.4.0: + resolution: {integrity: sha512-ZOPR9SVY6Pb2qqO5XHt+MkkTRxGXb4EVtnjc9JpXUOtUB1T9Ru7mZOT361AN3MsetVe7R0a1KZshJDZdgp9miQ==} + engines: {node: '>=18.0.0'} + peerDependencies: + zod: ^3.18.0 + zod@3.24.0: resolution: {integrity: sha512-Hz+wiY8yD0VLA2k/+nsg2Abez674dDGTai33SwNvMPuf9uIrBC9eFgIMQxBBbHFxVXi8W+5nX9DcAh9YNSQm/w==} @@ -9205,6 +9239,14 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/plugin-proposal-private-methods@7.18.6(@babel/core@7.26.0)': + dependencies: + '@babel/core': 7.26.0 + '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.0) + '@babel/helper-plugin-utils': 7.25.9 + transitivePeerDependencies: + - supports-color + '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 @@ -9833,24 +9875,11 @@ snapshots: '@deno/shim-deno-test': 0.5.0 which: 4.0.0 - '@dnd-kit/accessibility@3.1.1(react@18.3.1)': - dependencies: - react: 18.3.1 - tslib: 2.8.1 - '@dnd-kit/accessibility@3.1.1(react@19.0.0)': dependencies: react: 19.0.0 tslib: 2.8.1 - '@dnd-kit/core@6.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': - dependencies: - '@dnd-kit/accessibility': 3.1.1(react@18.3.1) - '@dnd-kit/utilities': 3.2.2(react@18.3.1) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - tslib: 2.8.1 - '@dnd-kit/core@6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@dnd-kit/accessibility': 3.1.1(react@19.0.0) @@ -9859,13 +9888,6 @@ snapshots: react-dom: 19.0.0(react@19.0.0) tslib: 2.8.1 - '@dnd-kit/modifiers@6.0.1(@dnd-kit/core@6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@18.3.1)': - dependencies: - '@dnd-kit/core': 6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - '@dnd-kit/utilities': 3.2.2(react@18.3.1) - react: 18.3.1 - tslib: 2.8.1 - '@dnd-kit/modifiers@6.0.1(@dnd-kit/core@6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0)': dependencies: '@dnd-kit/core': 6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) @@ -9873,13 +9895,6 @@ snapshots: react: 19.0.0 tslib: 2.8.1 - '@dnd-kit/sortable@7.0.2(@dnd-kit/core@6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@18.3.1)': - dependencies: - '@dnd-kit/core': 6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - '@dnd-kit/utilities': 3.2.2(react@18.3.1) - react: 18.3.1 - tslib: 2.8.1 - '@dnd-kit/sortable@7.0.2(@dnd-kit/core@6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0)': dependencies: '@dnd-kit/core': 6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) @@ -9887,11 +9902,6 @@ snapshots: react: 19.0.0 tslib: 2.8.1 - '@dnd-kit/utilities@3.2.2(react@18.3.1)': - dependencies: - react: 18.3.1 - tslib: 2.8.1 - '@dnd-kit/utilities@3.2.2(react@19.0.0)': dependencies: react: 19.0.0 @@ -10275,12 +10285,6 @@ snapshots: '@floating-ui/core': 1.6.8 '@floating-ui/utils': 0.2.8 - '@floating-ui/react-dom@2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': - dependencies: - '@floating-ui/dom': 1.6.12 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - '@floating-ui/react-dom@2.1.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@floating-ui/dom': 1.6.12 @@ -10497,7 +10501,7 @@ snapshots: '@next/env@15.0.4': {} - '@next/env@15.0.4-canary.49': {} + '@next/env@15.0.4-canary.50': {} '@next/eslint-plugin-next@13.5.7': dependencies: @@ -10524,7 +10528,7 @@ snapshots: '@next/swc-darwin-arm64@15.0.4': optional: true - '@next/swc-darwin-arm64@15.0.4-canary.49': + '@next/swc-darwin-arm64@15.0.4-canary.50': optional: true '@next/swc-darwin-x64@13.5.7': @@ -10536,7 +10540,7 @@ snapshots: '@next/swc-darwin-x64@15.0.4': optional: true - '@next/swc-darwin-x64@15.0.4-canary.49': + '@next/swc-darwin-x64@15.0.4-canary.50': optional: true '@next/swc-linux-arm64-gnu@13.5.7': @@ -10548,7 +10552,7 @@ snapshots: '@next/swc-linux-arm64-gnu@15.0.4': optional: true - '@next/swc-linux-arm64-gnu@15.0.4-canary.49': + '@next/swc-linux-arm64-gnu@15.0.4-canary.50': optional: true '@next/swc-linux-arm64-musl@13.5.7': @@ -10560,7 +10564,7 @@ snapshots: '@next/swc-linux-arm64-musl@15.0.4': optional: true - '@next/swc-linux-arm64-musl@15.0.4-canary.49': + '@next/swc-linux-arm64-musl@15.0.4-canary.50': optional: true '@next/swc-linux-x64-gnu@13.5.7': @@ -10572,7 +10576,7 @@ snapshots: '@next/swc-linux-x64-gnu@15.0.4': optional: true - '@next/swc-linux-x64-gnu@15.0.4-canary.49': + '@next/swc-linux-x64-gnu@15.0.4-canary.50': optional: true '@next/swc-linux-x64-musl@13.5.7': @@ -10584,7 +10588,7 @@ snapshots: '@next/swc-linux-x64-musl@15.0.4': optional: true - '@next/swc-linux-x64-musl@15.0.4-canary.49': + '@next/swc-linux-x64-musl@15.0.4-canary.50': optional: true '@next/swc-win32-arm64-msvc@13.5.7': @@ -10596,7 +10600,7 @@ snapshots: '@next/swc-win32-arm64-msvc@15.0.4': optional: true - '@next/swc-win32-arm64-msvc@15.0.4-canary.49': + '@next/swc-win32-arm64-msvc@15.0.4-canary.50': optional: true '@next/swc-win32-ia32-msvc@13.5.7': @@ -10614,7 +10618,7 @@ snapshots: '@next/swc-win32-x64-msvc@15.0.4': optional: true - '@next/swc-win32-x64-msvc@15.0.4-canary.49': + '@next/swc-win32-x64-msvc@15.0.4-canary.50': optional: true '@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1': @@ -10918,31 +10922,6 @@ snapshots: '@polka/url@1.0.0-next.28': {} - '@portabletext/editor@1.15.3(@sanity/block-tools@3.67.0(debug@4.4.0))(@sanity/schema@3.67.0(debug@4.4.0))(@sanity/types@3.67.0(debug@4.4.0))(@types/react@19.0.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': - dependencies: - '@portabletext/patches': 1.1.0 - '@sanity/block-tools': 3.67.0(debug@4.4.0) - '@sanity/schema': 3.67.0(debug@4.4.0) - '@sanity/types': 3.67.0(debug@4.4.0) - '@xstate/react': 5.0.0(@types/react@19.0.1)(react@18.3.1)(xstate@5.19.0) - debug: 4.4.0(supports-color@9.4.0) - get-random-values-esm: 1.0.2 - lodash: 4.17.21 - lodash.startcase: 4.4.0 - react: 18.3.1 - react-compiler-runtime: 19.0.0-beta-37ed2a7-20241206(react@18.3.1) - rxjs: 7.8.1 - slate: 0.112.0 - slate-dom: 0.111.0(slate@0.112.0) - slate-react: 0.112.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(slate-dom@0.111.0(slate@0.112.0))(slate@0.112.0) - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - use-effect-event: 1.0.2(react@18.3.1) - xstate: 5.19.0 - transitivePeerDependencies: - - '@types/react' - - react-dom - - supports-color - '@portabletext/editor@1.15.3(@sanity/block-tools@3.67.0)(@sanity/schema@3.67.0)(@sanity/types@3.67.0(debug@4.4.0))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: '@portabletext/patches': 1.1.0 @@ -10973,12 +10952,6 @@ snapshots: '@sanity/diff-match-patch': 3.1.1 lodash: 4.17.21 - '@portabletext/react@3.2.0(react@18.3.1)': - dependencies: - '@portabletext/toolkit': 2.0.16 - '@portabletext/types': 2.0.13 - react: 18.3.1 - '@portabletext/react@3.2.0(react@19.0.0)': dependencies: '@portabletext/toolkit': 2.0.16 @@ -11017,13 +10990,6 @@ snapshots: - encoding - supports-color - '@rexxars/react-json-inspector@8.0.1(react@18.3.1)': - dependencies: - create-react-class: 15.7.0 - debounce: 1.0.0 - md5-o-matic: 0.1.1 - react: 18.3.1 - '@rexxars/react-json-inspector@8.0.1(react@19.0.0)': dependencies: create-react-class: 15.7.0 @@ -11031,11 +10997,11 @@ snapshots: md5-o-matic: 0.1.1 react: 19.0.0 - '@rexxars/react-split-pane@0.1.93(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@rexxars/react-split-pane@0.1.93(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: prop-types: 15.8.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) react-lifecycles-compat: 3.0.4 react-style-proptype: 3.2.2 @@ -11184,30 +11150,6 @@ snapshots: transitivePeerDependencies: - debug - '@sanity/cli@3.67.0(react@18.3.1)': - dependencies: - '@babel/traverse': 7.26.4 - '@sanity/client': 6.24.1(debug@4.4.0) - '@sanity/codegen': 3.67.0 - '@sanity/telemetry': 0.7.9(react@18.3.1) - '@sanity/util': 3.67.0(debug@4.4.0) - chalk: 4.1.2 - debug: 4.4.0(supports-color@9.4.0) - decompress: 4.2.1 - esbuild: 0.21.5 - esbuild-register: 3.6.0(esbuild@0.21.5) - get-it: 8.6.5(debug@4.4.0) - groq-js: 1.14.2 - pkg-dir: 5.0.0 - prettier: 3.4.2 - semver: 7.6.3 - silver-fleece: 1.1.0 - validate-npm-package-name: 3.0.0 - yaml: 2.6.1 - transitivePeerDependencies: - - react - - supports-color - '@sanity/cli@3.67.0(react@19.0.0)': dependencies: '@babel/traverse': 7.26.4 @@ -11318,11 +11260,6 @@ snapshots: '@sanity/generate-help-url@3.0.0': {} - '@sanity/icons@3.5.2(react@18.3.1)': - dependencies: - react: 18.3.1 - react-compiler-runtime: 19.0.0-beta-37ed2a7-20241206(react@18.3.1) - '@sanity/icons@3.5.2(react@19.0.0)': dependencies: react: 19.0.0 @@ -11356,24 +11293,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@sanity/insert-menu@1.0.16(@emotion/is-prop-valid@1.2.2)(@sanity/types@3.67.0(debug@4.4.0))(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': - dependencies: - '@sanity/icons': 3.5.2(react@18.3.1) - '@sanity/types': 3.67.0(debug@4.4.0) - '@sanity/ui': 2.10.7(@emotion/is-prop-valid@1.2.2)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - lodash: 4.17.21 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - react-is: 18.3.1 - transitivePeerDependencies: - - '@emotion/is-prop-valid' - - styled-components - - '@sanity/insert-menu@1.0.16(@sanity/types@3.67.0(debug@4.4.0))(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': + '@sanity/insert-menu@1.0.16(@emotion/is-prop-valid@1.2.2)(@sanity/types@3.67.0(debug@4.4.0))(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: '@sanity/icons': 3.5.2(react@19.0.0) '@sanity/types': 3.67.0(debug@4.4.0) - '@sanity/ui': 2.10.7(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) + '@sanity/ui': 2.10.8(@emotion/is-prop-valid@1.2.2)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) lodash: 4.17.21 react: 19.0.0 react-dom: 19.0.0(react@19.0.0) @@ -11382,11 +11306,6 @@ snapshots: - '@emotion/is-prop-valid' - styled-components - '@sanity/logos@2.1.13(@sanity/color@3.0.6)(react@18.3.1)': - dependencies: - '@sanity/color': 3.0.6 - react: 18.3.1 - '@sanity/logos@2.1.13(@sanity/color@3.0.6)(react@19.0.0)': dependencies: '@sanity/color': 3.0.6 @@ -11428,42 +11347,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@sanity/presentation@1.19.8(@emotion/is-prop-valid@1.2.2)(@sanity/color@3.0.6)(debug@4.4.0)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': - dependencies: - '@sanity/client': 6.24.1(debug@4.4.0) - '@sanity/comlink': 2.0.1 - '@sanity/icons': 3.5.2(react@18.3.1) - '@sanity/logos': 2.1.13(@sanity/color@3.0.6)(react@18.3.1) - '@sanity/preview-url-secret': 2.0.5(@sanity/client@6.24.1(debug@4.4.0)) - '@sanity/ui': 2.10.7(@emotion/is-prop-valid@1.2.2)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@sanity/uuid': 3.0.2 - fast-deep-equal: 3.1.3 - framer-motion: 11.0.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - lodash: 4.17.21 - mendoza: 3.0.8 - mnemonist: 0.39.8 - path-to-regexp: 6.3.0 - react-compiler-runtime: 19.0.0-beta-37ed2a7-20241206(react@18.3.1) - rxjs: 7.8.1 - suspend-react: 0.1.3(react@18.3.1) - use-effect-event: 1.0.2(react@18.3.1) - transitivePeerDependencies: - - '@emotion/is-prop-valid' - - '@sanity/color' - - debug - - react - - react-dom - - react-is - - styled-components - - '@sanity/presentation@1.19.8(@sanity/color@3.0.6)(debug@4.4.0)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': + '@sanity/presentation@1.19.8(@emotion/is-prop-valid@1.2.2)(@sanity/color@3.0.6)(debug@4.4.0)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: '@sanity/client': 6.24.1(debug@4.4.0) '@sanity/comlink': 2.0.1 '@sanity/icons': 3.5.2(react@19.0.0) '@sanity/logos': 2.1.13(@sanity/color@3.0.6)(react@19.0.0) '@sanity/preview-url-secret': 2.0.5(@sanity/client@6.24.1(debug@4.4.0)) - '@sanity/ui': 2.10.7(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) + '@sanity/ui': 2.10.8(@emotion/is-prop-valid@1.2.2)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/uuid': 3.0.2 fast-deep-equal: 3.1.3 framer-motion: 11.0.8(react-dom@19.0.0(react@19.0.0))(react@19.0.0) @@ -11508,13 +11399,6 @@ snapshots: - debug - supports-color - '@sanity/telemetry@0.7.9(react@18.3.1)': - dependencies: - lodash: 4.17.21 - react: 18.3.1 - rxjs: 7.8.1 - typeid-js: 0.3.0 - '@sanity/telemetry@0.7.9(react@19.0.0)': dependencies: lodash: 4.17.21 @@ -11536,30 +11420,13 @@ snapshots: transitivePeerDependencies: - debug - '@sanity/ui@2.10.7(@emotion/is-prop-valid@1.2.2)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': - dependencies: - '@floating-ui/react-dom': 2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@sanity/color': 3.0.6 - '@sanity/icons': 3.5.2(react@18.3.1) - csstype: 3.1.3 - framer-motion: 11.13.5(@emotion/is-prop-valid@1.2.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react: 18.3.1 - react-compiler-runtime: 19.0.0-beta-37ed2a7-20241206(react@18.3.1) - react-dom: 18.3.1(react@18.3.1) - react-is: 18.3.1 - react-refractor: 2.2.0(react@18.3.1) - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - use-effect-event: 1.0.2(react@18.3.1) - transitivePeerDependencies: - - '@emotion/is-prop-valid' - - '@sanity/ui@2.10.7(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': + '@sanity/ui@2.10.8(@emotion/is-prop-valid@1.2.2)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: '@floating-ui/react-dom': 2.1.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@sanity/color': 3.0.6 '@sanity/icons': 3.5.2(react@19.0.0) csstype: 3.1.3 - framer-motion: 11.13.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + framer-motion: 11.13.5(@emotion/is-prop-valid@1.2.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react: 19.0.0 react-compiler-runtime: 19.0.0-beta-37ed2a7-20241206(react@19.0.0) react-dom: 19.0.0(react@19.0.0) @@ -11595,7 +11462,7 @@ snapshots: '@types/uuid': 8.3.4 uuid: 8.3.2 - '@sanity/vision@3.67.0(@babel/runtime@7.26.0)(@codemirror/lint@6.8.4)(@codemirror/theme-one-dark@6.1.2)(@emotion/is-prop-valid@1.2.2)(@lezer/common@1.2.3)(codemirror@6.0.1(@lezer/common@1.2.3))(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@sanity/vision@3.67.0(@babel/runtime@7.26.0)(@codemirror/lint@6.8.4)(@codemirror/theme-one-dark@6.1.2)(@emotion/is-prop-valid@1.2.2)(@lezer/common@1.2.3)(codemirror@6.0.1(@lezer/common@1.2.3))(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: '@codemirror/autocomplete': 6.18.3(@codemirror/language@6.10.6)(@codemirror/state@6.5.0)(@codemirror/view@6.35.3)(@lezer/common@1.2.3) '@codemirror/commands': 6.7.1 @@ -11606,20 +11473,20 @@ snapshots: '@codemirror/view': 6.35.3 '@juggle/resize-observer': 3.4.0 '@lezer/highlight': 1.2.1 - '@rexxars/react-json-inspector': 8.0.1(react@18.3.1) - '@rexxars/react-split-pane': 0.1.93(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@rexxars/react-json-inspector': 8.0.1(react@19.0.0) + '@rexxars/react-split-pane': 0.1.93(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@sanity/color': 3.0.6 - '@sanity/icons': 3.5.2(react@18.3.1) - '@sanity/ui': 2.10.7(@emotion/is-prop-valid@1.2.2)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@uiw/react-codemirror': 4.23.6(@babel/runtime@7.26.0)(@codemirror/autocomplete@6.18.3(@codemirror/language@6.10.6)(@codemirror/state@6.5.0)(@codemirror/view@6.35.3)(@lezer/common@1.2.3))(@codemirror/language@6.10.6)(@codemirror/lint@6.8.4)(@codemirror/search@6.5.8)(@codemirror/state@6.5.0)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.35.3)(codemirror@6.0.1(@lezer/common@1.2.3))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@sanity/icons': 3.5.2(react@19.0.0) + '@sanity/ui': 2.10.8(@emotion/is-prop-valid@1.2.2)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) + '@uiw/react-codemirror': 4.23.6(@babel/runtime@7.26.0)(@codemirror/autocomplete@6.18.3(@codemirror/language@6.10.6)(@codemirror/state@6.5.0)(@codemirror/view@6.35.3)(@lezer/common@1.2.3))(@codemirror/language@6.10.6)(@codemirror/lint@6.8.4)(@codemirror/search@6.5.8)(@codemirror/state@6.5.0)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.35.3)(codemirror@6.0.1(@lezer/common@1.2.3))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) is-hotkey-esm: 1.0.0 json-2-csv: 5.5.7 json5: 2.2.3 lodash: 4.17.21 quick-lru: 5.1.1 - react: 18.3.1 - react-compiler-runtime: 19.0.0-beta-37ed2a7-20241206(react@18.3.1) - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 19.0.0 + react-compiler-runtime: 19.0.0-beta-37ed2a7-20241206(react@19.0.0) + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) transitivePeerDependencies: - '@babel/runtime' - '@codemirror/lint' @@ -11658,13 +11525,6 @@ snapshots: '@sentry/core@8.43.0': {} - '@sentry/react@8.43.0(react@18.3.1)': - dependencies: - '@sentry/browser': 8.43.0 - '@sentry/core': 8.43.0 - hoist-non-react-statics: 3.3.2 - react: 18.3.1 - '@sentry/react@8.43.0(react@19.0.0)': dependencies: '@sentry/browser': 8.43.0 @@ -11791,23 +11651,12 @@ snapshots: react-dom: 19.0.0(react@19.0.0) use-sync-external-store: 1.4.0(react@19.0.0) - '@tanstack/react-table@8.20.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': - dependencies: - '@tanstack/table-core': 8.20.5 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - '@tanstack/react-table@8.20.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@tanstack/table-core': 8.20.5 react: 19.0.0 react-dom: 19.0.0(react@19.0.0) - '@tanstack/react-virtual@3.0.0-beta.54(react@18.3.1)': - dependencies: - '@tanstack/virtual-core': 3.0.0-beta.54 - react: 18.3.1 - '@tanstack/react-virtual@3.0.0-beta.54(react@19.0.0)': dependencies: '@tanstack/virtual-core': 3.0.0-beta.54 @@ -12340,7 +12189,7 @@ snapshots: '@codemirror/state': 6.5.0 '@codemirror/view': 6.35.3 - '@uiw/react-codemirror@4.23.6(@babel/runtime@7.26.0)(@codemirror/autocomplete@6.18.3(@codemirror/language@6.10.6)(@codemirror/state@6.5.0)(@codemirror/view@6.35.3)(@lezer/common@1.2.3))(@codemirror/language@6.10.6)(@codemirror/lint@6.8.4)(@codemirror/search@6.5.8)(@codemirror/state@6.5.0)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.35.3)(codemirror@6.0.1(@lezer/common@1.2.3))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@uiw/react-codemirror@4.23.6(@babel/runtime@7.26.0)(@codemirror/autocomplete@6.18.3(@codemirror/language@6.10.6)(@codemirror/state@6.5.0)(@codemirror/view@6.35.3)(@lezer/common@1.2.3))(@codemirror/language@6.10.6)(@codemirror/lint@6.8.4)(@codemirror/search@6.5.8)(@codemirror/state@6.5.0)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.35.3)(codemirror@6.0.1(@lezer/common@1.2.3))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@babel/runtime': 7.26.0 '@codemirror/commands': 6.7.1 @@ -12349,8 +12198,8 @@ snapshots: '@codemirror/view': 6.35.3 '@uiw/codemirror-extensions-basic-setup': 4.23.6(@codemirror/autocomplete@6.18.3(@codemirror/language@6.10.6)(@codemirror/state@6.5.0)(@codemirror/view@6.35.3)(@lezer/common@1.2.3))(@codemirror/commands@6.7.1)(@codemirror/language@6.10.6)(@codemirror/lint@6.8.4)(@codemirror/search@6.5.8)(@codemirror/state@6.5.0)(@codemirror/view@6.35.3) codemirror: 6.0.1(@lezer/common@1.2.3) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) transitivePeerDependencies: - '@codemirror/autocomplete' - '@codemirror/language' @@ -12631,16 +12480,6 @@ snapshots: '@vue/shared@3.5.13': {} - '@xstate/react@5.0.0(@types/react@19.0.1)(react@18.3.1)(xstate@5.19.0)': - dependencies: - react: 18.3.1 - use-isomorphic-layout-effect: 1.2.0(@types/react@19.0.1)(react@18.3.1) - use-sync-external-store: 1.4.0(react@18.3.1) - optionalDependencies: - xstate: 5.19.0 - transitivePeerDependencies: - - '@types/react' - '@xstate/react@5.0.0(@types/react@19.0.1)(react@19.0.0)(xstate@5.19.0)': dependencies: react: 19.0.0 @@ -12990,6 +12829,10 @@ snapshots: transitivePeerDependencies: - supports-color + babel-plugin-react-compiler@19.0.0-beta-37ed2a7-20241206: + dependencies: + '@babel/types': 7.26.3 + bail@2.0.2: {} balanced-match@1.0.2: {} @@ -14330,6 +14173,18 @@ snapshots: safe-regex-test: 1.0.3 string.prototype.includes: 2.0.1 + eslint-plugin-react-compiler@19.0.0-beta-37ed2a7-20241206(eslint@8.57.1): + dependencies: + '@babel/core': 7.26.0 + '@babel/parser': 7.26.3 + '@babel/plugin-proposal-private-methods': 7.18.6(@babel/core@7.26.0) + eslint: 8.57.1 + hermes-parser: 0.25.1 + zod: 3.24.0 + zod-validation-error: 3.4.0(zod@3.24.0) + transitivePeerDependencies: + - supports-color + eslint-plugin-react-hooks@4.6.2(eslint@8.57.1): dependencies: eslint: 8.57.1 @@ -14744,14 +14599,6 @@ snapshots: fraction.js@4.3.7: {} - framer-motion@11.0.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1): - dependencies: - tslib: 2.8.1 - optionalDependencies: - '@emotion/is-prop-valid': 0.8.8 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - framer-motion@11.0.8(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: tslib: 2.8.1 @@ -14760,22 +14607,13 @@ snapshots: react: 19.0.0 react-dom: 19.0.0(react@19.0.0) - framer-motion@11.13.5(@emotion/is-prop-valid@1.2.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + framer-motion@11.13.5(@emotion/is-prop-valid@1.2.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: motion-dom: 11.13.0 motion-utils: 11.13.0 tslib: 2.8.1 optionalDependencies: '@emotion/is-prop-valid': 1.2.2 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - - framer-motion@11.13.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0): - dependencies: - motion-dom: 11.13.0 - motion-utils: 11.13.0 - tslib: 2.8.1 - optionalDependencies: react: 19.0.0 react-dom: 19.0.0(react@19.0.0) @@ -15193,6 +15031,12 @@ snapshots: he@1.2.0: {} + hermes-estree@0.25.1: {} + + hermes-parser@0.25.1: + dependencies: + hermes-estree: 0.25.1 + history@5.3.0: dependencies: '@babel/runtime': 7.26.0 @@ -16400,9 +16244,9 @@ snapshots: - '@babel/core' - babel-plugin-macros - next@15.0.4-canary.49(@babel/core@7.26.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): + next@15.0.4-canary.50(@babel/core@7.26.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: - '@next/env': 15.0.4-canary.49 + '@next/env': 15.0.4-canary.50 '@swc/counter': 0.1.3 '@swc/helpers': 0.5.15 busboy: 1.6.0 @@ -16412,14 +16256,14 @@ snapshots: react-dom: 19.0.0(react@19.0.0) styled-jsx: 5.1.6(@babel/core@7.26.0)(react@19.0.0) optionalDependencies: - '@next/swc-darwin-arm64': 15.0.4-canary.49 - '@next/swc-darwin-x64': 15.0.4-canary.49 - '@next/swc-linux-arm64-gnu': 15.0.4-canary.49 - '@next/swc-linux-arm64-musl': 15.0.4-canary.49 - '@next/swc-linux-x64-gnu': 15.0.4-canary.49 - '@next/swc-linux-x64-musl': 15.0.4-canary.49 - '@next/swc-win32-arm64-msvc': 15.0.4-canary.49 - '@next/swc-win32-x64-msvc': 15.0.4-canary.49 + '@next/swc-darwin-arm64': 15.0.4-canary.50 + '@next/swc-darwin-x64': 15.0.4-canary.50 + '@next/swc-linux-arm64-gnu': 15.0.4-canary.50 + '@next/swc-linux-arm64-musl': 15.0.4-canary.50 + '@next/swc-linux-x64-gnu': 15.0.4-canary.50 + '@next/swc-linux-x64-musl': 15.0.4-canary.50 + '@next/swc-win32-arm64-msvc': 15.0.4-canary.50 + '@next/swc-win32-x64-msvc': 15.0.4-canary.50 sharp: 0.33.5 transitivePeerDependencies: - '@babel/core' @@ -17363,30 +17207,15 @@ snapshots: defu: 6.1.4 destr: 2.0.3 - react-clientside-effect@1.2.6(react@18.3.1): - dependencies: - '@babel/runtime': 7.26.0 - react: 18.3.1 - react-clientside-effect@1.2.6(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 react: 19.0.0 - react-compiler-runtime@19.0.0-beta-37ed2a7-20241206(react@18.3.1): - dependencies: - react: 18.3.1 - react-compiler-runtime@19.0.0-beta-37ed2a7-20241206(react@19.0.0): dependencies: react: 19.0.0 - react-copy-to-clipboard@5.1.0(react@18.3.1): - dependencies: - copy-to-clipboard: 3.3.3 - prop-types: 15.8.1 - react: 18.3.1 - react-copy-to-clipboard@5.1.0(react@19.0.0): dependencies: copy-to-clipboard: 3.3.3 @@ -17406,18 +17235,6 @@ snapshots: react-fast-compare@3.2.2: {} - react-focus-lock@2.13.2(@types/react@19.0.1)(react@18.3.1): - dependencies: - '@babel/runtime': 7.26.0 - focus-lock: 1.3.5 - prop-types: 15.8.1 - react: 18.3.1 - react-clientside-effect: 1.2.6(react@18.3.1) - use-callback-ref: 1.3.2(@types/react@19.0.1)(react@18.3.1) - use-sidecar: 1.1.2(@types/react@19.0.1)(react@18.3.1) - optionalDependencies: - '@types/react': 19.0.1 - react-focus-lock@2.13.2(@types/react@19.0.1)(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 @@ -17430,15 +17247,6 @@ snapshots: optionalDependencies: '@types/react': 19.0.1 - react-i18next@14.0.2(i18next@23.16.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): - dependencies: - '@babel/runtime': 7.26.0 - html-parse-stringify: 3.0.1 - i18next: 23.16.8 - react: 18.3.1 - optionalDependencies: - react-dom: 18.3.1(react@18.3.1) - react-i18next@14.0.2(i18next@23.16.8)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 @@ -17454,13 +17262,6 @@ snapshots: react-lifecycles-compat@3.0.4: {} - react-refractor@2.2.0(react@18.3.1): - dependencies: - react: 18.3.1 - refractor: 3.6.0 - unist-util-filter: 2.0.3 - unist-util-visit-parents: 3.1.1 - react-refractor@2.2.0(react@19.0.0): dependencies: react: 19.0.0 @@ -17470,14 +17271,6 @@ snapshots: react-refresh@0.14.2: {} - react-rx@4.1.8(react@18.3.1)(rxjs@7.8.1): - dependencies: - observable-callback: 1.0.3(rxjs@7.8.1) - react: 18.3.1 - react-compiler-runtime: 19.0.0-beta-37ed2a7-20241206(react@18.3.1) - rxjs: 7.8.1 - use-effect-event: 1.0.2(react@18.3.1) - react-rx@4.1.8(react@19.0.0)(rxjs@7.8.1): dependencies: observable-callback: 1.0.3(rxjs@7.8.1) @@ -17848,145 +17641,7 @@ snapshots: dependencies: '@sanity/diff-match-patch': 3.1.1 - sanity@3.67.0(@emotion/is-prop-valid@1.2.2)(@types/node@22.10.1)(@types/react@19.0.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.36.0): - dependencies: - '@dnd-kit/core': 6.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@dnd-kit/modifiers': 6.0.1(@dnd-kit/core@6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@18.3.1) - '@dnd-kit/sortable': 7.0.2(@dnd-kit/core@6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@18.3.1) - '@dnd-kit/utilities': 3.2.2(react@18.3.1) - '@juggle/resize-observer': 3.4.0 - '@portabletext/editor': 1.15.3(@sanity/block-tools@3.67.0(debug@4.4.0))(@sanity/schema@3.67.0(debug@4.4.0))(@sanity/types@3.67.0(debug@4.4.0))(@types/react@19.0.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@portabletext/react': 3.2.0(react@18.3.1) - '@rexxars/react-json-inspector': 8.0.1(react@18.3.1) - '@sanity/asset-utils': 2.2.1 - '@sanity/bifur-client': 0.4.1 - '@sanity/block-tools': 3.67.0(debug@4.4.0) - '@sanity/cli': 3.67.0(react@18.3.1) - '@sanity/client': 6.24.1(debug@4.4.0) - '@sanity/color': 3.0.6 - '@sanity/diff': 3.67.0 - '@sanity/diff-match-patch': 3.1.1 - '@sanity/eventsource': 5.0.2 - '@sanity/export': 3.41.0 - '@sanity/icons': 3.5.2(react@18.3.1) - '@sanity/image-url': 1.1.0 - '@sanity/import': 3.37.8 - '@sanity/insert-menu': 1.0.16(@emotion/is-prop-valid@1.2.2)(@sanity/types@3.67.0(debug@4.4.0))(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@sanity/logos': 2.1.13(@sanity/color@3.0.6)(react@18.3.1) - '@sanity/migrate': 3.67.0 - '@sanity/mutator': 3.67.0 - '@sanity/presentation': 1.19.8(@emotion/is-prop-valid@1.2.2)(@sanity/color@3.0.6)(debug@4.4.0)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@sanity/schema': 3.67.0(debug@4.4.0) - '@sanity/telemetry': 0.7.9(react@18.3.1) - '@sanity/types': 3.67.0(debug@4.4.0) - '@sanity/ui': 2.10.7(@emotion/is-prop-valid@1.2.2)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@sanity/util': 3.67.0(debug@4.4.0) - '@sanity/uuid': 3.0.2 - '@sentry/react': 8.43.0(react@18.3.1) - '@tanstack/react-table': 8.20.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tanstack/react-virtual': 3.0.0-beta.54(react@18.3.1) - '@types/react-copy-to-clipboard': 5.0.7 - '@types/react-is': 18.3.1 - '@types/shallow-equals': 1.0.3 - '@types/speakingurl': 13.0.6 - '@types/tar-stream': 3.1.3 - '@types/use-sync-external-store': 0.0.6 - '@vitejs/plugin-react': 4.3.4(vite@5.4.11(@types/node@22.10.1)(terser@5.36.0)) - archiver: 7.0.1 - arrify: 1.0.1 - async-mutex: 0.4.1 - chalk: 4.1.2 - chokidar: 3.6.0 - classnames: 2.5.1 - color2k: 2.0.3 - configstore: 5.0.1 - console-table-printer: 2.12.1 - dataloader: 2.2.3 - date-fns: 2.30.0 - debug: 4.4.0(supports-color@9.4.0) - esbuild: 0.21.5 - esbuild-register: 3.6.0(esbuild@0.21.5) - execa: 2.1.0 - exif-component: 1.0.1 - form-data: 4.0.1 - framer-motion: 11.0.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - get-it: 8.6.5(debug@4.4.0) - get-random-values-esm: 1.0.2 - groq-js: 1.14.2 - history: 5.3.0 - i18next: 23.16.8 - import-fresh: 3.3.0 - is-hotkey-esm: 1.0.0 - jsdom: 23.2.0 - jsdom-global: 3.0.2(jsdom@23.2.0) - json-lexer: 1.2.0 - json-reduce: 3.0.0 - json5: 2.2.3 - lodash: 4.17.21 - log-symbols: 2.2.0 - mendoza: 3.0.8 - module-alias: 2.2.3 - nano-pubsub: 3.0.0 - nanoid: 3.3.8 - node-html-parser: 6.1.13 - observable-callback: 1.0.3(rxjs@7.8.1) - oneline: 1.0.3 - open: 8.4.2 - p-map: 7.0.3 - pirates: 4.0.6 - pluralize-esm: 9.0.5 - polished: 4.3.1 - pretty-ms: 7.0.1 - quick-lru: 5.1.1 - raf: 3.4.1 - react: 18.3.1 - react-compiler-runtime: 19.0.0-beta-37ed2a7-20241206(react@18.3.1) - react-copy-to-clipboard: 5.1.0(react@18.3.1) - react-dom: 18.3.1(react@18.3.1) - react-fast-compare: 3.2.2 - react-focus-lock: 2.13.2(@types/react@19.0.1)(react@18.3.1) - react-i18next: 14.0.2(i18next@23.16.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react-is: 18.3.1 - react-refractor: 2.2.0(react@18.3.1) - react-rx: 4.1.8(react@18.3.1)(rxjs@7.8.1) - read-pkg-up: 7.0.1 - refractor: 3.6.0 - resolve-from: 5.0.0 - resolve.exports: 2.0.3 - rimraf: 5.0.10 - rxjs: 7.8.1 - rxjs-exhaustmap-with-trailing: 2.1.1(rxjs@7.8.1) - sanity-diff-patch: 4.0.0 - scroll-into-view-if-needed: 3.1.0 - semver: 7.6.3 - shallow-equals: 1.0.0 - speakingurl: 14.0.1 - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - tar-fs: 2.1.1 - tar-stream: 3.1.7 - use-device-pixel-ratio: 1.1.2(react@18.3.1) - use-hot-module-reload: 2.0.0(react@18.3.1) - use-sync-external-store: 1.4.0(react@18.3.1) - vite: 5.4.11(@types/node@22.10.1)(terser@5.36.0) - yargs: 17.7.2 - transitivePeerDependencies: - - '@emotion/is-prop-valid' - - '@types/node' - - '@types/react' - - bufferutil - - canvas - - less - - lightningcss - - react-native - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - - utf-8-validate - - sanity@3.67.0(@types/node@22.10.1)(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(terser@5.36.0): + sanity@3.67.0(@emotion/is-prop-valid@1.2.2)(@types/node@22.10.1)(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(terser@5.36.0): dependencies: '@dnd-kit/core': 6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@dnd-kit/modifiers': 6.0.1(@dnd-kit/core@6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0) @@ -18009,15 +17664,15 @@ snapshots: '@sanity/icons': 3.5.2(react@19.0.0) '@sanity/image-url': 1.1.0 '@sanity/import': 3.37.8 - '@sanity/insert-menu': 1.0.16(@sanity/types@3.67.0(debug@4.4.0))(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) + '@sanity/insert-menu': 1.0.16(@emotion/is-prop-valid@1.2.2)(@sanity/types@3.67.0(debug@4.4.0))(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/logos': 2.1.13(@sanity/color@3.0.6)(react@19.0.0) '@sanity/migrate': 3.67.0 '@sanity/mutator': 3.67.0 - '@sanity/presentation': 1.19.8(@sanity/color@3.0.6)(debug@4.4.0)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) + '@sanity/presentation': 1.19.8(@emotion/is-prop-valid@1.2.2)(@sanity/color@3.0.6)(debug@4.4.0)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/schema': 3.67.0(debug@4.4.0) '@sanity/telemetry': 0.7.9(react@19.0.0) '@sanity/types': 3.67.0(debug@4.4.0) - '@sanity/ui': 2.10.7(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) + '@sanity/ui': 2.10.8(@emotion/is-prop-valid@1.2.2)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/util': 3.67.0(debug@4.4.0) '@sanity/uuid': 3.0.2 '@sentry/react': 8.43.0(react@19.0.0) @@ -18320,20 +17975,6 @@ snapshots: slate: 0.112.0 tiny-invariant: 1.3.1 - slate-react@0.112.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(slate-dom@0.111.0(slate@0.112.0))(slate@0.112.0): - dependencies: - '@juggle/resize-observer': 3.4.0 - direction: 1.0.4 - is-hotkey: 0.2.0 - is-plain-object: 5.0.0 - lodash: 4.17.21 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - scroll-into-view-if-needed: 3.1.0 - slate: 0.112.0 - slate-dom: 0.111.0(slate@0.112.0) - tiny-invariant: 1.3.1 - slate-react@0.112.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(slate-dom@0.111.0(slate@0.112.0))(slate@0.112.0): dependencies: '@juggle/resize-observer': 3.4.0 @@ -18537,20 +18178,6 @@ snapshots: style-mod@4.1.2: {} - styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1): - dependencies: - '@emotion/is-prop-valid': 1.2.2 - '@emotion/unitless': 0.8.1 - '@types/stylis': 4.2.5 - css-to-react-native: 3.2.0 - csstype: 3.1.3 - postcss: 8.4.38 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - shallowequal: 1.1.0 - stylis: 4.3.2 - tslib: 2.6.2 - styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@emotion/is-prop-valid': 1.2.2 @@ -18617,10 +18244,6 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - suspend-react@0.1.3(react@18.3.1): - dependencies: - react: 18.3.1 - suspend-react@0.1.3(react@19.0.0): dependencies: react: 19.0.0 @@ -19199,13 +18822,6 @@ snapshots: urlpattern-polyfill@8.0.2: {} - use-callback-ref@1.3.2(@types/react@19.0.1)(react@18.3.1): - dependencies: - react: 18.3.1 - tslib: 2.8.1 - optionalDependencies: - '@types/react': 19.0.1 - use-callback-ref@1.3.2(@types/react@19.0.1)(react@19.0.0): dependencies: react: 19.0.0 @@ -19213,10 +18829,6 @@ snapshots: optionalDependencies: '@types/react': 19.0.1 - use-device-pixel-ratio@1.1.2(react@18.3.1): - dependencies: - react: 18.3.1 - use-device-pixel-ratio@1.1.2(react@19.0.0): dependencies: react: 19.0.0 @@ -19229,34 +18841,16 @@ snapshots: dependencies: react: 19.0.0 - use-hot-module-reload@2.0.0(react@18.3.1): - dependencies: - react: 18.3.1 - use-hot-module-reload@2.0.0(react@19.0.0): dependencies: react: 19.0.0 - use-isomorphic-layout-effect@1.2.0(@types/react@19.0.1)(react@18.3.1): - dependencies: - react: 18.3.1 - optionalDependencies: - '@types/react': 19.0.1 - use-isomorphic-layout-effect@1.2.0(@types/react@19.0.1)(react@19.0.0): dependencies: react: 19.0.0 optionalDependencies: '@types/react': 19.0.1 - use-sidecar@1.1.2(@types/react@19.0.1)(react@18.3.1): - dependencies: - detect-node-es: 1.1.0 - react: 18.3.1 - tslib: 2.8.1 - optionalDependencies: - '@types/react': 19.0.1 - use-sidecar@1.1.2(@types/react@19.0.1)(react@19.0.0): dependencies: detect-node-es: 1.1.0 @@ -19265,10 +18859,6 @@ snapshots: optionalDependencies: '@types/react': 19.0.1 - use-sync-external-store@1.4.0(react@18.3.1): - dependencies: - react: 18.3.1 - use-sync-external-store@1.4.0(react@19.0.0): dependencies: react: 19.0.0 @@ -19746,6 +19336,10 @@ snapshots: typescript: 5.7.2 zod: 3.24.0 + zod-validation-error@3.4.0(zod@3.24.0): + dependencies: + zod: 3.24.0 + zod@3.24.0: {} zwitch@2.0.4: {} diff --git a/studio/.eslintrc b/studio/.eslintrc index 0fdc787..58f634d 100644 --- a/studio/.eslintrc +++ b/studio/.eslintrc @@ -1,3 +1,7 @@ { - "extends": "@sanity/eslint-config-studio" + "extends": "@sanity/eslint-config-studio", + "plugins": ["react-compiler"], + "rules": { + "react-compiler/react-compiler": "error" + } } diff --git a/studio/package.json b/studio/package.json index 3b4fdcf..d91dc51 100644 --- a/studio/package.json +++ b/studio/package.json @@ -11,19 +11,21 @@ "start": "sanity start" }, "dependencies": { - "@sanity/icons": "^3.5.0", - "@sanity/ui": "^2.9.1", + "@sanity/icons": "^3.5.2", + "@sanity/ui": "^2.10.8", "@sanity/vision": "3.67.0", "polished": "^4.3.1", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "sanity": "3.67.0", "styled-components": "^6.1.13" }, "devDependencies": { "@sanity/eslint-config-studio": "^4.0.0", "@types/react": "^18.3.14", + "babel-plugin-react-compiler": "beta", "eslint": "^8.57.1", + "eslint-plugin-react-compiler": "beta", "typescript": "5.7.2" } } diff --git a/studio/sanity.cli.ts b/studio/sanity.cli.ts index 6ba9dfa..84c6a6f 100644 --- a/studio/sanity.cli.ts +++ b/studio/sanity.cli.ts @@ -5,5 +5,7 @@ export default defineCliConfig({ projectId: 'hiomol4a', dataset: 'lcapi', }, - // autoUpdates: true, + autoUpdates: true, + reactStrictMode: true, + reactCompiler: {target: '19'}, }) diff --git a/studio/schemaTypes/index.tsx b/studio/schemaTypes/index.tsx index ab9d597..f352db7 100644 --- a/studio/schemaTypes/index.tsx +++ b/studio/schemaTypes/index.tsx @@ -1,7 +1,7 @@ import {ColorWheelIcon, MasterDetailIcon} from '@sanity/icons' import {Inline, Text} from '@sanity/ui' import {transparentize} from 'polished' -import {useDeferredValue} from 'react' +import {useDeferredValue, useRef} from 'react' import {defineField, defineType, type StringInputProps} from 'sanity' import {styled} from 'styled-components' @@ -109,5 +109,11 @@ export const demoType = defineType({ }, validation: (rule) => rule.required(), }), + defineField({ + name: 'url', + title: 'URL', + type: 'url', + validation: (rule) => rule.required(), + }), ], })