🎥 Make videos programmatically with React
react three fiber 7
Jonny Burger9b786fd257a7
diff --git a/package.json b/package.jsonindex d844b56982..cf29220d7f 100644--- a/package.json+++ b/package.json@@ -41,11 +41,11 @@"typescript": "^4.4.2"},"dependencies": {- "@react-three/fiber": "^6.1.2",+ "@react-three/fiber": "^7.0.19","lerna": "^4.0.0","react": "^17.0.1","react-dom": "^17.0.1",- "three": "^0.128.0"+ "three": "^0.134.0"},"name": "remotion"}diff --git a/packages/example/package.json b/packages/example/package.jsonindex a008c600ef..10916919d3 100644--- a/packages/example/package.json+++ b/packages/example/package.json@@ -23,7 +23,7 @@"@babel/preset-env": "7.12.13","@babel/preset-react": "7.12.13","@mdx-js/react": "^1.6.21",- "@react-three/drei": "^4.3.3",+ "@react-three/drei": "^7.22.7","@remotion/babel-loader": "2.5.4","@remotion/bundler": "2.5.4","@remotion/cli": "2.5.4",@@ -44,7 +44,6 @@"remotion": "2.5.4","styled-components": "^5.1.1","svg-path-properties": "^1.0.4",- "three": ">=0.128.0","ts-node": "^9.1.1","ts-unused-exports": "^7.0.1","typescript": "^4.4.2"diff --git a/packages/example/src/Orb/Orb.tsx b/packages/example/src/Orb/Orb.tsxnew file mode 100644index 0000000000..41518f8066--- /dev/null+++ b/packages/example/src/Orb/Orb.tsx@@ -0,0 +1,37 @@+import {+ ContactShadows,+ Environment,+ MeshDistortMaterial,+} from '@react-three/drei';++export const Orb = () => {+ return (+ <>+ <ambientLight intensity={2.5} />+ <pointLight position-z={-15} intensity={1} color="#F8C069" />+ <mesh>+ <sphereBufferGeometry args={[1, 64, 64]} />+ <MeshDistortMaterial+ color="black"+ envMapIntensity={1}+ clearcoat={1}+ clearcoatRoughness={0}+ metalness={0.1}+ mass={2}+ tenstion={1000}+ friction={10}+ />+ </mesh>+ <ContactShadows+ rotation={[Math.PI / 2, 0, 0]}+ position={[0, -1.6, 0]}+ opacity={0.8}+ width={15}+ height={15}+ blur={2.5}+ far={1.6}+ />+ <Environment preset="sunset" />+ </>+ );+};diff --git a/packages/example/src/Orb/index.tsx b/packages/example/src/Orb/index.tsxnew file mode 100644index 0000000000..353e87e06a--- /dev/null+++ b/packages/example/src/Orb/index.tsx@@ -0,0 +1,22 @@+import {ThreeCanvas} from '@remotion/three';+import React from 'react';+import {Orb} from './Orb';++export const OrbScene: React.FC = () => {+ return (+ <ThreeCanvas+ width={2000}+ height={2000}+ gl={{+ alpha: false,+ antialias: false,+ stencil: false,+ depth: false,+ }}+ >+ <ambientLight intensity={1.5} color={0xffffff} />+ <pointLight position={[10, 10, 0]} />+ <Orb />+ </ThreeCanvas>+ );+};diff --git a/packages/example/src/Video.tsx b/packages/example/src/Video.tsxindex 0d48cdbc90..08d2bb365b 100644--- a/packages/example/src/Video.tsx+++ b/packages/example/src/Video.tsx@@ -1,9 +1,10 @@import React from 'react';-import {Composition, getInputProps} from 'remotion';+import {Composition, getInputProps, Still} from 'remotion';import BetaText from './BetaText';import {ColorInterpolation} from './ColorInterpolation';import {Framer} from './Framer';import {MissingImg} from './MissingImg';+import {OrbScene} from './Orb';import RemoteVideo from './RemoteVideo';import {SkipZeroFrame} from './SkipZeroFrame';import {SeriesTesting} from './StaggerTesting';@@ -281,6 +282,7 @@ export const Index: React.FC = () => {fps={30}durationInFrames={100}/>+ <Still id="Orb" component={OrbScene} width={2000} height={2000} /></>);};diff --git a/packages/three/package.json b/packages/three/package.jsonindex 8d6f820b8b..b7caa5ad9f 100644--- a/packages/three/package.json+++ b/packages/three/package.json@@ -20,19 +20,19 @@"remotion": "2.5.4"},"peerDependencies": {- "@react-three/fiber": ">=6.0.14",+ "@react-three/fiber": ">=7.0.19","react": ">=17.0.1","react-dom": ">=17.0.1",- "three": ">=0.129.0"+ "three": ">=0.134.0"},"devDependencies": {"@jonny/eslint-config": "^2.1.248","@types/node": "^14.14.14",- "@types/three": "^0.128.0",+ "@types/three": "^0.134.0","eslint": "^7.4.0","prettier": "^2.0.5","prettier-plugin-organize-imports": "^1.1.1",- "three": "^0.133.0",+ "three": "^0.134.0","typescript": "^4.4.2"},"publishConfig": {diff --git a/packages/three/src/ThreeCanvas.tsx b/packages/three/src/ThreeCanvas.tsxindex dd61efbdaa..13a29dd438 100644--- a/packages/three/src/ThreeCanvas.tsx+++ b/packages/three/src/ThreeCanvas.tsx@@ -1,6 +1,11 @@import { Canvas, useThree } from '@react-three/fiber';-import React, { useLayoutEffect, useState } from 'react';-import { Internals } from 'remotion';+import React, {+ useCallback,+ useEffect,+ useLayoutEffect,+ useState,+} from 'react';+import { continueRender, delayRender, Internals } from 'remotion';import { SuspenseLoader } from './SuspenseLoader';export type ThreeCanvasProps = React.ComponentProps<typeof Canvas> & {@@ -21,6 +26,8 @@ const Scale = ({ width, height }: { width: number; height: number }) => {export const ThreeCanvas = (props: ThreeCanvasProps) => {const { children, width, height, style, ...rest } = props;+ const [waitForCreated] = useState(() => delayRender());+Internals.validateDimension(width,'width',@@ -37,9 +44,14 @@ export const ThreeCanvas = (props: ThreeCanvasProps) => {height: props.height,...(style ?? {}),};++ const onCreated = useCallback(() => {+ continueRender(waitForCreated);+ }, [waitForCreated]);+return (<SuspenseLoader>- <Canvas style={actualStyle} {...rest}>+ <Canvas style={actualStyle} {...rest} onCreated={onCreated}><Scale width={width} height={height} /><Internals.RemotionContextProvider contexts={contexts}>{children}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex be30c188b0..976bafc3d8 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -5,7 +5,7 @@ importers:.:specifiers:'@jonny/eslint-config': ^2.1.248- '@react-three/fiber': ^6.1.2+ '@react-three/fiber': ^7.0.19'@remotion/babel-loader': 2.5.4'@remotion/bundler': 2.5.4'@remotion/cli': 2.5.4@@ -31,15 +31,15 @@ importers:react-dom: ^17.0.1remotion: 2.5.4sharp: ^0.29.0- three: ^0.128.0+ three: ^0.134.0ts-jest: ^27.0.5typescript: ^4.4.2dependencies:- '@react-three/fiber': 6.2.3_8e92467867dafd26e6d8488bbebf6d56+ '@react-three/fiber': 7.0.19_907a6f2f9ddb15de374f8d77b33fd4f4lerna: 4.0.0react: 17.0.2react-dom: [email protected]- three: 0.128.0+ three: 0.134.0devDependencies:'@jonny/eslint-config': [email protected][email protected]'@remotion/babel-loader': link:packages/babel-loader@@ -387,7 +387,7 @@ importers:'@babel/preset-env': 7.12.13'@babel/preset-react': 7.12.13'@mdx-js/react': ^1.6.21- '@react-three/drei': ^4.3.3+ '@react-three/drei': ^7.22.7'@remotion/babel-loader': 2.5.4'@remotion/bundler': 2.5.4'@remotion/cli': 2.5.4@@ -413,7 +413,6 @@ importers:remotion: 2.5.4styled-components: ^5.1.1svg-path-properties: ^1.0.4- three: '>=0.128.0'ts-jest: ^27.0.5ts-node: ^9.1.1ts-unused-exports: ^7.0.1@@ -423,7 +422,7 @@ importers:'@babel/preset-env': 7.12.13'@babel/preset-react': 7.12.13'@mdx-js/react': [email protected]- '@react-three/drei': 4.3.3_8591520f68da51cd82ec5afcc665d0e6+ '@react-three/drei': 7.22.7_97399ed2f1f8f5fafe21a20596301067'@remotion/babel-loader': link:../babel-loader'@remotion/bundler': link:../bundler'@remotion/cli': link:../cli@@ -444,7 +443,6 @@ importers:remotion: link:../corestyled-components: [email protected][email protected]svg-path-properties: 1.0.11- three: 0.133.1ts-node: [email protected]ts-unused-exports: [email protected]typescript: 4.4.3@@ -626,23 +624,23 @@ importers:specifiers:'@jonny/eslint-config': ^2.1.248'@types/node': ^14.14.14- '@types/three': ^0.128.0+ '@types/three': ^0.134.0eslint: ^7.4.0prettier: ^2.0.5prettier-plugin-organize-imports: ^1.1.1remotion: 2.5.4- three: ^0.133.0+ three: ^0.134.0typescript: ^4.4.2dependencies:remotion: link:../coredevDependencies:'@jonny/eslint-config': [email protected][email protected]'@types/node': 14.17.20- '@types/three': 0.128.0+ '@types/three': 0.134.0eslint: 7.32.0prettier: 2.4.1prettier-plugin-organize-imports: [email protected][email protected]- three: 0.133.1+ three: 0.134.0typescript: 4.4.3packages:@@ -6278,62 +6276,8 @@ packages:react-dom: [email protected]dev: false- /@react-spring/animated/[email protected]:- resolution: {integrity: sha512-SDIgozNdxQ8xj4xbrF9aDsU/xyZ1WlnbnLo6BAvTciVIwp4Zhbt8keISQ2bq3THDjPxQbRTzxry8pSW2qUwXaw==}- peerDependencies:- react: ^16.8.0 || ^17.0.0- dependencies:- '@react-spring/shared': [email protected]- '@react-spring/types': 9.2.5- react: 17.0.2- dev: false-- /@react-spring/core/[email protected]:- resolution: {integrity: sha512-3pQOA1QyEu3/8tEfZ0DGklPULyM+bXqJE0JJ0S0lBUivd2MvxhVbJzqoHKxdoHI8CsVSFWMNwwJQ4Vd/XpAk8w==}- requiresBuild: true- peerDependencies:- react: ^16.8.0 || ^17.0.0- dependencies:- '@react-spring/animated': [email protected]- '@react-spring/shared': [email protected]- '@react-spring/types': 9.2.5- react: 17.0.2- dev: false-- /@react-spring/rafz/9.2.5:- resolution: {integrity: sha512-FZdbgcBMF1DM/eCnHZ28nHUG984gqcZHWlz2aIfj5TikPTzgVYDECCW/Pvt3ncHLTxikjYn2wvDV3/Q68yqv8A==}- dev: false-- /@react-spring/shared/[email protected]:- resolution: {integrity: sha512-kutUl8PN0xBSXBmpnHJVFDsgOCFP448syiCcRfdSsryO8kVfJOcSNT4BzIqmzDCWto/neBQJs2iEhKOZTfwQnA==}- peerDependencies:- react: ^16.8.0 || ^17.0.0- dependencies:- '@react-spring/rafz': 9.2.5- '@react-spring/types': 9.2.5- react: 17.0.2- dev: false-- /@react-spring/types/9.2.5:- resolution: {integrity: sha512-ayitxzSUGO4MTQ6VOeNgUviTV/8nxjwGq6Ie+pFgv6JUlOecwdzo2/apEeHN6ae9tbcxQJx6nuDw/yb590M8Uw==}- dev: false-- /@react-spring/web/[email protected][email protected]:- resolution: {integrity: sha512-PYwL03eA9clHPzLHjPwNuJuGPAcmT7Kti1bD1AVTM203qrhF0Nhj8dvCeMqfLVUaCIsr+z3kYw+p45izNxbvZg==}- peerDependencies:- react: ^16.8.0 || ^17.0.0- react-dom: ^16.8.0 || ^17.0.0- dependencies:- '@react-spring/animated': [email protected]- '@react-spring/core': [email protected]- '@react-spring/shared': [email protected]- '@react-spring/types': 9.2.5- react: 17.0.2- react-dom: [email protected]- dev: false-- /@react-three/drei/4.3.3_8591520f68da51cd82ec5afcc665d0e6:- resolution: {integrity: sha512-yokp4ZZgKP/4PS36JHqIoES3Zj1C5zJjCO78uWv9qLA/4LFGLB4ev/rVUz0crA/DjKdYcXxDJR09B7NgWlyofg==}+ /@react-three/drei/7.22.7_97399ed2f1f8f5fafe21a20596301067:+ resolution: {integrity: sha512-z4fENOytRsv0cAMuP5aj9tXVyDfp0nl0NC5PSyKtZZbBe05ObwQx7VFIbYybEW7eROryKGD7o3Vbs5POTenlYw==}peerDependencies:'@react-three/fiber': '>=6.0'react: '>=17.0'@@ -6344,27 +6288,27 @@ packages:optional: truedependencies:'@babel/runtime': 7.15.4- '@react-spring/web': [email protected][email protected]- '@react-three/fiber': 6.2.3_8e92467867dafd26e6d8488bbebf6d56- blob-polyfill: 4.0.20200601- detect-gpu: 3.1.20+ '@react-three/fiber': 7.0.19_907a6f2f9ddb15de374f8d77b33fd4f4+ detect-gpu: 3.1.27glsl-noise: 0.0.0lodash.omit: 4.5.0lodash.pick: 4.4.0react: 17.0.2+ react-composer: [email protected]react-dom: [email protected]react-merge-refs: 1.1.0stats.js: 0.17.0- three: 0.133.1- three-stdlib: [email protected]- troika-three-text: [email protected]+ three: 0.134.0+ three-mesh-bvh: [email protected]+ three-stdlib: [email protected]+ troika-three-text: [email protected]use-asset: [email protected]utility-types: 3.10.0- zustand: [email protected]+ zustand: [email protected]dev: false- /@react-three/fiber/6.2.3_8e92467867dafd26e6d8488bbebf6d56:- resolution: {integrity: sha512-XuL3683iVcwjm3enour57k4OjkA1MQztqpRL2oQh30v7ygf1vJg95gKo8cqqgPJctc2pZAMUW1eRpr+Xqjwqrg==}+ /@react-three/fiber/7.0.19_907a6f2f9ddb15de374f8d77b33fd4f4:+ resolution: {integrity: sha512-R3/HTMJjjYhJXJu3U3JJ8bmLxv0X+y6/jNBkHm+wSWTFbXkWnKYzWbHkMVMzVesKyyQK1HBP6ZoJVNG+EzM9PA==}peerDependencies:react: '>=17.0'react-dom: '>=17.0'@@ -6382,10 +6326,10 @@ packages:react-use-measure: [email protected][email protected]resize-observer-polyfill: 1.5.1scheduler: 0.20.2- three: 0.128.0+ three: 0.134.0use-asset: [email protected]utility-types: 3.10.0- zustand: [email protected]+ zustand: [email protected]dev: false/@rollup/plugin-node-resolve/[email protected]:@@ -7072,8 +7016,8 @@ packages:'@types/jest': 27.0.2dev: false- /@types/three/0.128.0:- resolution: {integrity: sha512-Jwq5XYUkzAcPTo34hlGAQGUyAI0b2F3aCCFWG/v7ZhJBEG5HGcusMSr70GhDlT8Gs0f02QnSPZ2RCA1MrCOa/w==}+ /@types/three/0.134.0:+ resolution: {integrity: sha512-4YB+99Rgqq27EjiYTItEoZtdjLnTh8W9LxowgpC9eWsjaQJIL4Kn/ZcUKAnW3gB/jS4hqGN8iqmid+RcUZDzpA==}dev: true/@types/uglify-js/3.13.1:@@ -8619,6 +8563,12 @@ packages:tryer: 1.0.1dev: false+ /bidi-js/1.0.2:+ resolution: {integrity: sha512-rzSy/k7WdX5zOyeHHCOixGXbCHkyogkxPKL2r8QtzHmVQDiWCXUWa18bLdMWT9CYMLOYTjWpTHawuev2ouYJVw==}+ dependencies:+ require-from-string: 2.0.2+ dev: false+/big.js/5.2.2:resolution: {integrity: sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==}@@ -8646,10 +8596,6 @@ packages:inherits: 2.0.4readable-stream: 3.6.0- /blob-polyfill/4.0.20200601:- resolution: {integrity: sha512-1jB6WOIp6IDxNyng5+9A8g/f0uiphib2ELCN+XAnlssinsW8s1k4VYG9b1TxIUd3pdm9RJSLQuBh6iohYmD4hA==}- dev: false-/bluebird/3.7.2:resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==}dev: false@@ -10607,8 +10553,8 @@ packages:repeat-string: 1.6.1dev: false- /detect-gpu/3.1.20:- resolution: {integrity: sha512-Bl/jWr7ORVflZxD8JWhhRn1OzOLCUxU0m30eCScfWxbbK8anqH2BPgX0HoGK++qXYhp7FTxA7GZHt0j6JKpasA==}+ /detect-gpu/3.1.27:+ resolution: {integrity: sha512-uIZUG25pt0ArIJjFEBYYzigoWe4gyEa4MzHpi9wXIVJw9LvznSHimvfjchOQJ6oJ55oMlEIt3WJ+Mt58nDm8qg==}dependencies:webgl-constants: 1.1.1dev: false@@ -10840,6 +10786,10 @@ packages:engines: {node: '>=10'}dev: false+ /draco3d/1.4.3:+ resolution: {integrity: sha512-D7IipIMa04k0rhEPU8SJZVcpXP3JOPaLR+nai0a9+OltsnkLMmVmpAEe1DXXOEf6eSIvKqTAEPLdZZ8G+bC/8w==}+ dev: false+/duplexer/0.1.2:resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==}dev: false@@ -18592,6 +18542,15 @@ packages:pure-color: 1.3.0dev: false+ /react-composer/[email protected]:+ resolution: {integrity: sha512-6E2UNjUF0e7KRY+/faU2Hv7D9zagXnYdTfSSCGdYfuds6mRnVpN19vrbHXShaQzJNVXL4VOUb8qq6DvClDIG1g==}+ peerDependencies:+ react: ^15.0.0 || ^16.0.0 || ^17.0.0+ dependencies:+ prop-types: 15.7.2+ react: 17.0.2+ dev: false+/react-dev-utils/11.0.4:resolution: {integrity: sha512-dx0LvIGHcOPtKbeiSUM4jqpBl3TcY7CDjZdfOIcKeznE7BWr9dg0iPG90G5yfVQ+p/rGNMXdbfStvzQZEVEi4A==}engines: {node: '>=10'}@@ -20967,8 +20926,16 @@ packages:resolution: {integrity: sha1-cXNhKGlirI3za3omGft3OhW5t/c=}dev: false- /three-stdlib/[email protected]:- resolution: {integrity: sha512-kGd03DzKBTtIZPDIw4VnmEnmiuQbgfUSZo6wuR8DtzUwwhTiqcCefZFVcsmn7Y73Z1cllxxPgV6bV6w+p/axcA==}+ /three-mesh-bvh/[email protected]:+ resolution: {integrity: sha512-DAKWujkp8xpSBqGiIsZbZC1utxAbYBg0SShQk9LdOG/xWWl1/OLK76eXDGfov47trl3L7PUTHi0hhRvZdVro1Q==}+ peerDependencies:+ three: '>= 0.123.0'+ dependencies:+ three: 0.134.0+ dev: false++ /three-stdlib/[email protected]:+ resolution: {integrity: sha512-z9lqprjZLIu2lTd9+ux2208uNPY7ZXJoo7Q/ObcT1YFfJKrm0kOCKa09GDt9CpB75ddUKhgAaJm6T9T3o1ofgA==}peerDependencies:three: '>=0.128.0'dependencies:@@ -20976,21 +20943,18 @@ packages:'@webgpu/glslang': 0.0.15'@webxr-input-profiles/motion-controllers': 1.0.0chevrotain: 9.0.2+ draco3d: 1.4.3fflate: 0.6.10ktx-parse: 0.2.1mmd-parser: 1.0.4opentype.js: 1.3.3potpack: 1.0.1- three: 0.133.1+ three: 0.134.0zstddec: 0.0.2dev: false- /three/0.128.0:- resolution: {integrity: sha512-i0ap/E+OaSfzw7bD1TtYnPo3VEplkl70WX5fZqZnfZsE3k3aSFudqrrC9ldFZfYFkn1zwDmBcdGfiIm/hnbyZA==}- dev: false-- /three/0.133.1:- resolution: {integrity: sha512-WydohO8ll949B0FTD6MGz59Yv2Lwj8hvObg/0Heh2r42S6+tQC1WByfCNRdmG4D7+odfGod+n8JPV1I2xrboWw==}+ /three/0.134.0:+ resolution: {integrity: sha512-LbBerg7GaSPjYtTOnu41AMp7tV6efUNR3p4Wk5NzkSsNTBuA5mDGOfwwZL1jhhVMLx9V20HolIUo0+U3AXehbg==}/throat/5.0.0:resolution: {integrity: sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==}@@ -21157,25 +21121,27 @@ packages:resolution: {integrity: sha1-WFhUf2spB1fulczMZm+1AITEYN0=}dev: false- /troika-three-text/[email protected]:- resolution: {integrity: sha512-nf4zLsdFc+u1P7UDaVvODclmtmYLXnRs9w43ZC0iiPTZT+iequ7+Vmbd0s3DOYhgEzIeACDXBdX9bSW/PRjXhA==}+ /troika-three-text/[email protected]:+ resolution: {integrity: sha512-lZcTImvd5VkrZGA1qQx8zRs20Eel5Ue4ZpxnHtvgpGHi+lJemNIpkwtGOgk73DmLAkBm6it3nG5RCE5IxufqCg==}+ peerDependencies:+ three: '>=0.103.0'dependencies:- troika-three-utils: [email protected]- troika-worker-utils: 0.38.1- transitivePeerDependencies:- - three+ bidi-js: 1.0.2+ three: 0.134.0+ troika-three-utils: [email protected]+ troika-worker-utils: 0.43.0dev: false- /troika-three-utils/[email protected]:- resolution: {integrity: sha512-uJM1K219B/q3q7SNnWzthSWHzE80JGNPqP4yBKPGqZ0RaXLhzTBtFuKvSQlVYYrqb/RK21iCOf13vtGyPhwM2A==}+ /troika-three-utils/[email protected]:+ resolution: {integrity: sha512-UVc4jOob1VjrX0awA0dHxmHZ8yvgq8W/kmtihMnMeObm0HNOobPKAWm/N6o34/k/FPgOtUMDHYgkw+TG2RNouA==}peerDependencies:- three: 0.103.x - 0.125.x+ three: '>=0.103.0'dependencies:- three: 0.133.1+ three: 0.134.0dev: false- /troika-worker-utils/0.38.1:- resolution: {integrity: sha512-Ish/wxrTG2fzody/E7cAjluTHbM7bn5hGmqOCUr33Ig5wleTj5B6miVOlxc6tUskf1ZXhC9Z35d0zyHzWJrwww==}+ /troika-worker-utils/0.43.0:+ resolution: {integrity: sha512-8YXWwfviJ1N/9+nuE5dT9RFttmDsIF8CP7d6rRsBBhH55il3fBqpFSuzTlOcdgC1yq8Hmhi6GgIl6eK4Zt+hTw==}dev: false/trough/1.0.5:@@ -22959,8 +22925,8 @@ packages:resolution: {integrity: sha512-DCo0oxvcvOTGP/f5FA6tz2Z6wF+FIcEApSTu0zV5sQgn9hoT5lZ9YRAKUraxt9oP7l4e8TnNdi8IZTCX6WCkwA==}dev: false- /zustand/[email protected]:- resolution: {integrity: sha512-Cv9fX/yM5HXYODkn3Q/HMmMofnmZw3yqM73VT/3rQEvI/04Yl0OFNO24qMofhN82xTPWcCffkGPFCMq8r67Whg==}+ /zustand/[email protected]:+ resolution: {integrity: sha512-/WfLJuXiEJimt61KGMHebrFBwckkCHGhAgVXTgPQHl6IMzjqm6MREb1OnDSnCRiSmRdhgdFCctceg6tSm79hiw==}engines: {node: '>=12.7.0'}peerDependencies:react: '>=16.8'