Skip to content

🎥 Make videos programmatically with React

Merge remote-tracking branch 'upstream/main' into gcp-lambda-alternative

Matt McGillivray6f6b2c882d68
diff --cc packages/example/package.json
index 4937c32066,6d891300c2..b8d42174c4
--- a/packages/example/package.json
+++ b/packages/example/package.json
@@@ -76,4 -76,4 +76,4 @@@
"publishConfig": {
"access": "public"
}
--}
++}
diff --cc packages/gcp/package.json
index bb737450d9,0000000000..c86f2a7bdc
mode 100644,000000..100644
--- a/packages/gcp/package.json
+++ b/packages/gcp/package.json
@@@ -1,35 -1,0 +1,35 @@@
+{
+ "name": "@remotion/gcp",
+ "version": "0.0.1",
+ "description": "GCP alternative to lambda rendering",
+ "main": "dist/index.js",
+ "scripts": {
+ "build": "tsc -d && pnpm run buildContainer",
+ "buildContainer": "ts-node src/admin/bundle-renderLogic.ts",
+ "start": "functions-framework --target=TypescriptFunction",
+ "watch": "tsc -w",
+ "lint": "eslint src --ext ts,tsx"
+ },
+ "bin": {
+ "remotion-gcp": "remotion-gcp-cli.mjs"
+ },
+ "dependencies": {
+ "@google-cloud/functions-framework": "^3.1.3",
+ "@google-cloud/storage": "^6.9.1",
+ "@google-cloud/run": "^0.4.0",
- "@remotion/bundler": "3.3.59",
- "@remotion/cli": "3.3.59",
- "@remotion/renderer": "3.3.59",
- "remotion": "3.3.59"
++ "@remotion/bundler": "3.3.64",
++ "@remotion/cli": "3.3.64",
++ "@remotion/renderer": "3.3.64",
++ "remotion": "3.3.64"
+ },
+ "devDependencies": {
+ "prettier-plugin-organize-imports": "^3.2.2",
+ "typescript": "^4.7.0",
+ "prettier": "^2.7.1",
- "@remotion/compositor-linux-x64-musl": "3.3.59",
++ "@remotion/compositor-linux-x64-musl": "3.3.64",
+ "ts-node": "^10.8.0",
+ "@types/minimist": "1.2.2",
+ "eslint": "8.25.0",
+ "@jonny/eslint-config": "3.0.266"
+ }
- }
++}
diff --cc pnpm-lock.yaml
index 511c6e6f3b,e1dbb48787..b73521f2c7
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@@ -23,13 -28,18 +28,18 @@@ importers
esm-wallaby: ^3.2.26
react: ^18.1.0
react-dom: ^18.1.0
- remotion: 3.3.59
+ remotion: 3.3.64
dependencies:
- '@astrojs/react': 2.0.2_fxtgt6bjwd6p4cwoordejim2zi
+ '@astrojs/react': 2.0.2_ie75ejlwqy5zh3tldgt7pftwcu
+ '@remotion/gif': link:../gif
+ '@remotion/lottie': link:../lottie
+ '@remotion/motion-blur': link:../motion-blur
'@remotion/player': link:../player
- '@types/react': 18.0.27
+ '@remotion/skia': link:../skia
+ '@remotion/three': link:../three
+ '@types/react': 18.0.26
'@types/react-dom': 18.0.10
- astro: 2.0.14
+ astro: 2.0.15
esm-wallaby: 3.2.26
react: 18.2.0
react-dom: [email protected]
@@@ -568,47 -574,6 +574,47 @@@
eslint-plugin-react-hooks: [email protected]
prettier-plugin-organize-imports: 2.3.4_j2odc4yr77iddtreafyicbq5hi
+ packages/gcp:
+ specifiers:
+ '@google-cloud/functions-framework': ^3.1.3
+ '@google-cloud/run': ^0.4.0
+ '@google-cloud/storage': ^6.9.1
+ '@jonny/eslint-config': 3.0.266
- '@remotion/bundler': 3.3.59
- '@remotion/cli': 3.3.59
- '@remotion/compositor-linux-x64-musl': 3.3.59
- '@remotion/renderer': 3.3.59
++ '@remotion/bundler': 3.3.64
++ '@remotion/cli': 3.3.64
++ '@remotion/compositor-linux-x64-musl': 3.3.64
++ '@remotion/renderer': 3.3.64
+ '@types/minimist': 1.2.2
+ eslint: 8.25.0
+ prettier: ^2.7.1
+ prettier-plugin-organize-imports: ^3.2.2
- remotion: 3.3.59
++ remotion: 3.3.64
+ ts-node: ^10.8.0
+ typescript: ^4.7.0
+ dependencies:
+ '@google-cloud/functions-framework': 3.1.3
+ '@google-cloud/run': 0.4.0
+ '@google-cloud/storage': 6.9.1
+ '@remotion/bundler': link:../bundler
+ '@remotion/cli': link:../cli
+ '@remotion/renderer': link:../renderer
+ remotion: link:../core
+ devDependencies:
+ '@jonny/eslint-config': 3.0.266_t54va6jeo5lf3vtqih5uiyrm5e
+ '@remotion/compositor-linux-x64-musl': link:../compositor-linux-x64-musl
+ '@types/minimist': 1.2.2
+ eslint: 8.25.0
+ prettier: 2.7.1
+ prettier-plugin-organize-imports: 3.2.2_j2odc4yr77iddtreafyicbq5hi
+ ts-node: 10.8.0_vnj66vw6pmisrnpmmxy72mdbpa
+ typescript: 4.7.2
+
+ packages/gcp/container:
+ specifiers:
+ '@google-cloud/functions-framework': ^3.1.3
+ dependencies:
+ '@google-cloud/functions-framework': 3.1.3
+
packages/gif:
specifiers:
'@jonny/eslint-config': 3.0.266
@@@ -1079,7 -1064,8 +1105,8 @@@
devDependencies:
'@jonny/eslint-config': 3.0.266_t54va6jeo5lf3vtqih5uiyrm5e
'@remotion/bundler': link:../bundler
+ '@rollup/plugin-typescript': 8.5.0_2s5nfqwcf62746iqzotp3mpuy4
- '@shopify/react-native-skia': 0.1.139_rlxvagb2l2jceoxbyljoesn5oa
+ '@shopify/react-native-skia': 0.1.139_scmsoyobh4vgczlsingfpzdaue
'@types/react': 18.0.26
'@types/react-native': 0.69.2
eslint: 8.25.0
@@@ -1319,9 -1303,9 +1351,9 @@@ packages
react: ^17.0.2 || ^18.0.0
react-dom: ^17.0.2 || ^18.0.0
dependencies:
-- '@babel/core': 7.18.6
-- '@babel/plugin-transform-react-jsx': 7.18.6_@[email protected]
- '@types/react': 18.0.27
++ '@babel/core': 7.21.0
++ '@babel/plugin-transform-react-jsx': 7.18.6_@[email protected]
+ '@types/react': 18.0.26
'@types/react-dom': 18.0.10
react: 18.2.0
react-dom: [email protected]
@@@ -3473,7 -3305,7 +3505,7 @@@
resolution: {integrity: sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==}
engines: {node: '>=6.9.0'}
dependencies:
- '@babel/types': 7.19.0
- '@babel/types': 7.21.0
++ '@babel/types': 7.21.2
/@babel/helper-string-parser/7.18.10:
resolution: {integrity: sha512-XtIfWmeNY3i4t7t4D2t02q50HvqHybPqW2ki1kosnvWCwuCMeo81Jf0gwr85jy/neUdg5XDdeFE/80DXiO+njw==}
@@@ -8687,8 -7435,8 +8719,8 @@@
engines: {node: '>=6.0.0'}
dependencies:
'@jridgewell/set-array': 1.1.2
- '@jridgewell/sourcemap-codec': 1.4.11
- '@jridgewell/trace-mapping': 0.3.15
+ '@jridgewell/sourcemap-codec': 1.4.14
- '@jridgewell/trace-mapping': 0.3.15
++ '@jridgewell/trace-mapping': 0.3.17
/@jridgewell/resolve-uri/3.0.5:
resolution: {integrity: sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==}