Skip to content

🎥 Make videos programmatically with React

Merge branch 'v4' into gcp-lambda-alternative

Matt McGillivraya01c36bc7e49
diff --cc packages/cli/src/index.tsx
index 18b38d1a21,b503e6a10d..c761b2a7eb
--- a/packages/cli/src/index.tsx
+++ b/packages/cli/src/index.tsx
@@@ -3,8 -3,8 +3,9 @@@ import minimist from 'minimist'
import {benchmarkCommand} from './benchmark';
import {chalk} from './chalk';
import {cleanupBeforeQuit, handleCtrlC} from './cleanup-before-quit';
+import {cloudrunCommand} from './cloudrun-command';
import {listCompositionsCommand} from './compositions';
+ import {ConfigInternals} from './config';
import {determineFinalStillImageFormat} from './determine-image-format';
import {getFileSizeDownloadBar} from './download-progress';
import {findEntryPoint} from './entry-point';
diff --cc pnpm-lock.yaml
index 5392ae01f5,22c3286f09..27b96a4f16
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@@ -204,55 -204,28 +204,77 @@@ importers
vitest: 0.24.3
zod: 3.21.4
+ packages/cli-autocomplete:
+ specifiers:
+ '@fig/eslint-config-autocomplete': ^1.1.0
+ '@jonny/eslint-config': 3.0.266
+ '@remotion/renderer': workspace:*
+ '@types/node': ^18.11.2
+ '@withfig/autocomplete-types': ^1.20.0
+ eslint: 8.25.0
+ prettier: ^2.7.1
+ ts-node: ^10.8.0
+ typescript: ^4.7.0
+ devDependencies:
+ '@fig/eslint-config-autocomplete': 1.2.1_mx6jhvnay66odhn2yt7eqo2wou
+ '@jonny/eslint-config': 3.0.266_mx6jhvnay66odhn2yt7eqo2wou
+ '@remotion/renderer': link:../renderer
+ '@types/node': 18.14.6
+ '@withfig/autocomplete-types': 1.28.0
+ eslint: 8.25.0
+ prettier: 2.8.4
+ ts-node: 10.8.0_alpjt73dvgv6kni625hu7f2l4m
+ typescript: 4.9.5
+
+ packages/cloudrun:
+ specifiers:
+ '@google-cloud/artifact-registry': ^2.2.2
+ '@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': workspace:*
+ '@remotion/cli': workspace:*
+ '@remotion/compositor-linux-x64-gnu': workspace:*
+ '@remotion/renderer': workspace:*
+ '@types/minimist': 1.2.2
+ eslint: 8.25.0
+ google-auth-library: ^8.7.0
+ got: 11.8.2
+ prettier: ^2.7.1
+ prettier-plugin-organize-imports: ^3.2.2
+ remotion: workspace:*
+ ts-node: ^10.8.0
+ typescript: 4.7.2
+ vitest: 0.24.3
+ dependencies:
+ '@google-cloud/artifact-registry': 2.2.2
+ '@google-cloud/functions-framework': 3.2.0
+ '@google-cloud/run': 0.4.2
+ '@google-cloud/storage': 6.10.1
+ '@remotion/bundler': link:../bundler
+ '@remotion/cli': link:../cli
+ '@remotion/renderer': link:../renderer
+ google-auth-library: 8.8.0
+ got: 11.8.2
+ remotion: link:../core
+ devDependencies:
+ '@jonny/eslint-config': 3.0.266_t54va6jeo5lf3vtqih5uiyrm5e
+ '@remotion/compositor-linux-x64-gnu': link:../compositor-linux-x64-gnu
+ '@types/minimist': 1.2.2
+ eslint: 8.25.0
+ prettier: 2.8.4
+ prettier-plugin-organize-imports: 3.2.2_sleyu2lpiyw25c2kdlrjimfidi
+ ts-node: 10.8.0_73i5aveuyprdya4ghz5i7m3qbu
+ typescript: 4.7.2
+ vitest: 0.24.3
+
+ packages/cloudrun/container:
+ specifiers:
+ '@google-cloud/functions-framework': ^3.1.3
+ dependencies:
+ '@google-cloud/functions-framework': 3.2.0
+
packages/compositor-darwin-arm64:
specifiers: {}
@@@ -7512,107 -7472,21 +7525,122 @@@ packages
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
+ /@fig/eslint-config-autocomplete/1.2.1_mx6jhvnay66odhn2yt7eqo2wou:
+ resolution: {integrity: sha512-ZPmN0QAfsGbLwx3An20iZxSVZrEEPXoCf5V3mTVdDAo90IhD0O9991153n98cCggD7LemPOWei0GRvRso2MKgg==}
+ peerDependencies:
+ eslint: '>=8'
+ dependencies:
+ '@typescript-eslint/eslint-plugin': 5.46.0_cwg4jcyfwdf7sl4msmoaovl4ii
+ '@typescript-eslint/parser': 5.48.0_mx6jhvnay66odhn2yt7eqo2wou
+ '@withfig/eslint-plugin-fig-linter': 1.4.1
+ eslint: 8.25.0
+ eslint-plugin-compat: [email protected]
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+ dev: true
+
+ /@google-cloud/artifact-registry/2.2.2:
+ resolution: {integrity: sha512-Y00m9sYpTdHuW8miR9B/mdG6sK8aTKZMQ7ATUf4ixr5hrq85vokF9IRE/MzGWpGozjYqVFRJpGkiTs+Lx4lKyw==}
+ engines: {node: '>=12.0.0'}
+ dependencies:
+ google-gax: 3.6.0
+ transitivePeerDependencies:
+ - encoding
+ - supports-color
+ dev: false
+
+ /@google-cloud/functions-framework/3.2.0:
+ resolution: {integrity: sha512-eFafD4xocXmt3KM1z2X3lARvT2zLuXcw1V+T6xGoOAPfXQDduK77bKpkJx44QCAXh2c8qHYIT6dlSJWu5n5Lmg==}
+ engines: {node: '>=10.0.0'}
+ hasBin: true
+ dependencies:
+ '@types/express': 4.17.17
+ body-parser: 1.19.2
+ cloudevents: 6.0.4
+ express: 4.17.3
+ minimist: 1.2.8
+ on-finished: 2.3.0
+ read-pkg-up: 7.0.1
+ semver: 7.3.8
+ transitivePeerDependencies:
+ - supports-color
+ dev: false
+
+ /@google-cloud/paginator/3.0.7:
+ resolution: {integrity: sha512-jJNutk0arIQhmpUUQJPJErsojqo834KcyB6X7a1mxuic8i1tKXxde8E69IZxNZawRIlZdIK2QY4WALvlK5MzYQ==}
+ engines: {node: '>=10'}
+ dependencies:
+ arrify: 2.0.1
+ extend: 3.0.2
+ dev: false
+
+ /@google-cloud/projectify/3.0.0:
+ resolution: {integrity: sha512-HRkZsNmjScY6Li8/kb70wjGlDDyLkVk3KvoEo9uIoxSjYLJasGiCch9+PqRVDOCGUFvEIqyogl+BeqILL4OJHA==}
+ engines: {node: '>=12.0.0'}
+ dev: false
+
+ /@google-cloud/promisify/3.0.1:
+ resolution: {integrity: sha512-z1CjRjtQyBOYL+5Qr9DdYIfrdLBe746jRTYfaYU6MeXkqp7UfYs/jX16lFFVzZ7PGEJvqZNqYUEtb1mvDww4pA==}
+ engines: {node: '>=12'}
+ dev: false
+
+ /@google-cloud/run/0.4.2:
+ resolution: {integrity: sha512-n0PzCDzXhFP99/doTn92UYkd0fZPoY1TGI12GFTL0rjOwYMUMOjyylvYg93/e8n2OyB+JKYfMb5NvVoGX7I0+A==}
+ engines: {node: '>=12.0.0'}
+ dependencies:
+ google-gax: 3.6.0
+ transitivePeerDependencies:
+ - encoding
+ - supports-color
+ dev: false
+
+ /@google-cloud/storage/6.10.1:
+ resolution: {integrity: sha512-EtLlT0YbXtrbUxaNbEfTyTytrjELtl4i42flf8COg+Hu5+apdNjsFO9XEY39wshxAuVjLf4fCSm7GTSW+BD3gQ==}
+ engines: {node: '>=12'}
+ dependencies:
+ '@google-cloud/paginator': 3.0.7
+ '@google-cloud/projectify': 3.0.0
+ '@google-cloud/promisify': 3.0.1
+ abort-controller: 3.0.0
+ async-retry: 1.3.3
+ compressible: 2.0.18
+ duplexify: 4.1.2
+ ent: 2.2.0
+ extend: 3.0.2
+ gaxios: 5.1.0
+ google-auth-library: 8.8.0
+ mime: 3.0.0
+ mime-types: 2.1.34
+ p-limit: 3.1.0
+ retry-request: 5.0.2
+ teeny-request: 8.0.3
+ uuid: 8.3.2
+ transitivePeerDependencies:
+ - encoding
+ - supports-color
+ dev: false
+
+ /@grpc/grpc-js/1.8.14:
+ resolution: {integrity: sha512-w84maJ6CKl5aApCMzFll0hxtFNT6or9WwMslobKaqWUEf1K+zhlL43bSQhFreyYWIWR+Z0xnVFC1KtLm4ZpM/A==}
+ engines: {node: ^8.13.0 || >=10.10.0}
+ dependencies:
+ '@grpc/proto-loader': 0.7.7
+ '@types/node': 18.16.0
+ dev: false
+
+ /@grpc/proto-loader/0.7.7:
+ resolution: {integrity: sha512-1TIeXOi8TuSCQprPItwoMymZXxWT0CPxUhkrkeCUH+D8U7QDwQ6b7SUz2MaLuWM2llT+J/TVFLmQI5KtML3BhQ==}
+ engines: {node: '>=6'}
+ hasBin: true
+ dependencies:
+ '@types/long': 4.0.2
+ lodash.camelcase: 4.3.0
+ long: 4.0.0
+ protobufjs: 7.2.3
+ yargs: 17.7.2
+ dev: false
+
/@hapi/hoek/9.2.1:
resolution: {integrity: sha512-gfta+H8aziZsm8pZa0vj04KO6biEiisppNgA1kbJvFrrWu9Vm7eaUEy76DIxsuTaWvti5fkJVhllWc6ZTE+Mdw==}
@@@ -7782,16 -7652,9 +7806,16 @@@
resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==}
dependencies:
'@jridgewell/resolve-uri': 3.0.5
- '@jridgewell/sourcemap-codec': 1.4.11
+ '@jridgewell/sourcemap-codec': 1.4.14
dev: true
+ /@jsdoc/salty/0.2.5:
+ resolution: {integrity: sha512-TfRP53RqunNe2HBobVBJ0VLhK1HbfvBYeTC1ahnN64PWvyYyGebmMiPkuwvD9fpw2ZbkoPb8Q7mwy0aR8Z9rvw==}
+ engines: {node: '>=v12.0.0'}
+ dependencies:
+ lodash: 4.17.21
+ dev: false
+
/@leichtgewicht/ip-codec/2.0.3:
resolution: {integrity: sha512-nkalE/f1RvRGChwBnEIoBfSEYOXnCRdleKuv6+lePbMDrMZXeDQnqak5XDOeBgrPPyPfAdcCu/B5z+v3VhplGg==}
dev: false
@@@ -11503,18 -11342,13 +11639,20 @@@
/caniuse-lite/1.0.30001409:
resolution: {integrity: sha512-V0mnJ5dwarmhYv8/MzhJ//aW68UpvnQBXv8lJ2QUsvn2pHcmAuNtu8hQEDz37XnA1iE+lRR9CIfGWWpgJ5QedQ==}
- /canvaskit-wasm/0.35.0:
- resolution: {integrity: sha512-y/eTJ4xoIBkKzD37aQAvBL451LIp9YiB8Vs1e8J3Qwe7WcTHsAD00E5WocPzZo+0+XaSCkJ6cS/BxBDXTSnW1g==}
- dependencies:
- '@webgpu/types': 0.1.21
+ /caniuse-lite/1.0.30001488:
+ resolution: {integrity: sha512-NORIQuuL4xGpIy6iCCQGN4iFjlBXtfKWIenlUuyZJumLRIindLb7wXM+GO8erEhb7vXfcnf4BAg2PrSDN5TNLQ==}
+ dev: true
+
+ /canvaskit-wasm/0.38.0:
+ resolution: {integrity: sha512-ZEG6lucpbQ4Ld+mY8C1Ng+PMLVP+/AX02jS0Sdl28NyMxuKSa9uKB8oGd1BYp1XWPyO2Jgr7U8pdyjJ/F3xR5Q==}
+ /catharsis/0.9.0:
+ resolution: {integrity: sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==}
+ engines: {node: '>= 10'}
+ dependencies:
+ lodash: 4.17.21
+ dev: false
+
/ccount/1.1.0:
resolution: {integrity: sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg==}
dev: false