🎥 Make videos programmatically with React
only upgrade three js
Jonny Burgerb780a42f61f5
diff --git a/packages/example/package.json b/packages/example/package.jsonindex 9cd79ebc29..1b2bb077e1 100644--- a/packages/example/package.json+++ b/packages/example/package.json@@ -66,7 +66,7 @@"@remotion/transitions": "workspace:*","@remotion/media-parser": "workspace:*","@remotion/zod-types": "workspace:*",- "@shopify/react-native-skia": "1.12.4",+ "@shopify/react-native-skia": "1.6.0","@types/express": "^4.17.11","@types/hls.js": "^0.13.3","@types/opentype.js": "^1.3.4",diff --git a/packages/skia/package.json b/packages/skia/package.jsonindex a7a0d5d46e..bbc3398227 100644--- a/packages/skia/package.json+++ b/packages/skia/package.json@@ -30,7 +30,7 @@},"devDependencies": {"@remotion/bundler": "workspace:*",- "@shopify/react-native-skia": "1.12.4",+ "@shopify/react-native-skia": "1.6.0","canvaskit-wasm": "0.39.1","@types/react-native": "^0.69.2","react": "18.3.1",diff --git a/packages/skia/src/SkiaCanvas.tsx b/packages/skia/src/SkiaCanvas.tsxindex 8c8315c156..e539a8089f 100644--- a/packages/skia/src/SkiaCanvas.tsx+++ b/packages/skia/src/SkiaCanvas.tsx@@ -1,4 +1,4 @@-import type {CanvasProps, SkDOM} from '@shopify/react-native-skia';+import type {CanvasProps, SkiaDomView} from '@shopify/react-native-skia';import {Canvas} from '@shopify/react-native-skia';import type {FunctionComponent, ReactNode, RefAttributes} from 'react';import React, {useMemo} from 'react';@@ -40,7 +40,7 @@ export const SkiaCanvas = ({}, [mergedStyles, otherProps]);const FixedCanvas = Canvas as FunctionComponent<- CanvasProps & RefAttributes<SkDOM>+ CanvasProps & RefAttributes<SkiaDomView>>;return (diff --git a/packages/template-skia/package.json b/packages/template-skia/package.jsonindex f1f3bc9838..dafb478a95 100644--- a/packages/template-skia/package.json+++ b/packages/template-skia/package.json@@ -15,7 +15,7 @@"@remotion/cli": "workspace:*","@remotion/skia": "workspace:*","@remotion/zod-types": "workspace:*",- "@shopify/react-native-skia": "1.12.4",+ "@shopify/react-native-skia": "1.6.0","react": "18.3.1","react-dom": "18.3.1","remotion": "workspace:*",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 90866a34b2..b081e00b01 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -1065,8 +1065,8 @@ importers:specifier: workspace:*version: link:../zod-types'@shopify/react-native-skia':- specifier: 1.12.4- version: 1.12.4([email protected])+ specifier: 1.6.0+ version: 1.6.0([email protected])'@types/express':specifier: ^4.17.11version: 4.17.13@@ -2035,8 +2035,8 @@ importers:specifier: workspace:*version: link:../eslint-config-internal'@shopify/react-native-skia':- specifier: 1.12.4- version: 1.12.4([email protected])+ specifier: 1.6.0+ version: 1.6.0([email protected])'@types/react':specifier: 18.3.1version: 18.3.1@@ -2998,8 +2998,8 @@ importers:specifier: workspace:*version: link:../zod-types'@shopify/react-native-skia':- specifier: 1.12.4- version: 1.12.4([email protected])+ specifier: 1.6.0+ version: 1.6.0([email protected])react:specifier: 18.3.1version: 18.3.1@@ -13539,12 +13539,12 @@ packages:resolution: {integrity: sha512-jn7/7ky30idSkd/O5yDBfAnVt+JJpepofP/POZ1iMOxK59cOfqIgg/Dj0eFsjOTMw+4ycJN0uhZH/Eb0bs/EUA==}dev: false- /@shopify/[email protected]([email protected]):- resolution: {integrity: sha512-8QDIBKSU7XB3Lc1kAv4jSFddTQK8AE+1AEoJnQLNllsiex1gufLQ8kN7rs9zii+iboSY8tYKT7ocV+5cE2Exdw==}+ /@shopify/[email protected]([email protected]):+ resolution: {integrity: sha512-w7Pg6w5N7/KMyPFeRtcXdTPSS9Eid3z15aBXjU3JHJBNoIQCNPwX8J0G2g8nTU+w/Vb34dFL00/Va45HEGUqBQ==}hasBin: truepeerDependencies:- react: '>=18.0 <19.0.0'- react-native: '>=0.64 <0.78.0'+ react: '>=18.0'+ react-native: '>=0.64'react-native-reanimated: '>=2.0.0'peerDependenciesMeta:react-native:@@ -13552,28 +13552,10 @@ packages:react-native-reanimated:optional: truedependencies:- canvaskit-wasm: 0.40.0+ canvaskit-wasm: 0.39.1react: 18.3.1react-reconciler: 0.27.0([email protected])- /@shopify/[email protected]([email protected]):- resolution: {integrity: sha512-8QDIBKSU7XB3Lc1kAv4jSFddTQK8AE+1AEoJnQLNllsiex1gufLQ8kN7rs9zii+iboSY8tYKT7ocV+5cE2Exdw==}- hasBin: true- peerDependencies:- react: '>=18.0 <19.0.0'- react-native: '>=0.64 <0.78.0'- react-native-reanimated: '>=2.0.0'- peerDependenciesMeta:- react-native:- optional: true- react-native-reanimated:- optional: true- dependencies:- canvaskit-wasm: 0.40.0- react: 19.0.0- react-reconciler: 0.27.0([email protected])- dev: false-/@shopify/[email protected]([email protected]):resolution: {integrity: sha512-w7Pg6w5N7/KMyPFeRtcXdTPSS9Eid3z15aBXjU3JHJBNoIQCNPwX8J0G2g8nTU+w/Vb34dFL00/Va45HEGUqBQ==}hasBin: true@@ -17332,11 +17314,6 @@ packages:dependencies:'@webgpu/types': 0.1.21- resolution: {integrity: sha512-Od2o+ZmoEw9PBdN/yCGvzfu0WVqlufBPEWNG452wY7E9aT8RBE+ChpZF526doOlg7zumO4iCS+RAeht4P0Gbpw==}- dependencies:- '@webgpu/types': 0.1.21-resolution: {integrity: sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==}engines: {node: '>= 10'}