🎥 Make videos programmatically with React
ok
Jonny Burger5aca7fcc6423
diff --git a/packages/it-tests/src/monorepo/all-same-version.test.ts b/packages/it-tests/src/monorepo/all-same-version.test.tsindex 897b2f9fb1..fc2926e68d 100644--- a/packages/it-tests/src/monorepo/all-same-version.test.ts+++ b/packages/it-tests/src/monorepo/all-same-version.test.ts@@ -57,7 +57,6 @@ test("All packages require the same remotion version", () => {const versions = new Set<string>();- let deps = 0;for (const folder of folders) {const packageJsonPath = path.join(process.cwd(),diff --git a/packages/lambda-php-example/composer.json b/packages/lambda-php-example/composer.jsonindex 9eb1be2026..894ac4386e 100644--- a/packages/lambda-php-example/composer.json+++ b/packages/lambda-php-example/composer.json@@ -1,6 +1,7 @@{"name": "remotion/lambda-php-example","type": "project",+ "description": "Example project for using Remotion Lambda PHP","scripts": {"render": "php src/render.php"},@@ -18,6 +19,6 @@],"require": {"vlucas/phpdotenv": "^5.5",- "remotion/lambda-php": "3.3.95"+ "remotion/lambda": "3.3.95"}}diff --git a/packages/lambda-php-example/composer.lock b/packages/lambda-php-example/composer.lockindex e95bc62468..a7d8a82407 100644--- a/packages/lambda-php-example/composer.lock+++ b/packages/lambda-php-example/composer.lock@@ -4,7 +4,7 @@"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies","This file is @generated automatically"],- "content-hash": "cdd72a676c81492c605967641399f240",+ "content-hash": "f5cec7390f8362e33d7e26f4ba0325a1","packages": [{"name": "aws/aws-crt-php",@@ -62,16 +62,16 @@},{"name": "aws/aws-sdk-php",- "version": "3.270.0",+ "version": "3.271.0","source": {"type": "git","url": "https://github.com/aws/aws-sdk-php.git",- "reference": "edea7a2b0cc787dafa23b28215f3819362c9dcde"+ "reference": "4812b557b375e2d2c8107730c43dfff90c3cf103"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/edea7a2b0cc787dafa23b28215f3819362c9dcde",- "reference": "edea7a2b0cc787dafa23b28215f3819362c9dcde",+ "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/4812b557b375e2d2c8107730c43dfff90c3cf103",+ "reference": "4812b557b375e2d2c8107730c43dfff90c3cf103","shasum": ""},"require": {@@ -151,9 +151,9 @@"support": {"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80","issues": "https://github.com/aws/aws-sdk-php/issues",- "source": "https://github.com/aws/aws-sdk-php/tree/3.270.0"+ "source": "https://github.com/aws/aws-sdk-php/tree/3.271.0"},- "time": "2023-05-19T18:23:56+00:00"+ "time": "2023-05-23T19:11:46+00:00"},{"name": "graham-campbell/result-type",@@ -219,21 +219,21 @@},{"name": "guzzlehttp/guzzle",- "version": "7.6.1",+ "version": "7.7.0","source": {"type": "git","url": "https://github.com/guzzle/guzzle.git",- "reference": "8444a2bacf1960bc6a2b62ed86b8e72e11eebe51"+ "reference": "fb7566caccf22d74d1ab270de3551f72a58399f5"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8444a2bacf1960bc6a2b62ed86b8e72e11eebe51",- "reference": "8444a2bacf1960bc6a2b62ed86b8e72e11eebe51",+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/fb7566caccf22d74d1ab270de3551f72a58399f5",+ "reference": "fb7566caccf22d74d1ab270de3551f72a58399f5","shasum": ""},"require": {"ext-json": "*",- "guzzlehttp/promises": "^1.5",+ "guzzlehttp/promises": "^1.5.3 || ^2.0","guzzlehttp/psr7": "^1.9.1 || ^2.4.5","php": "^7.2.5 || ^8.0","psr/http-client": "^1.0",@@ -245,7 +245,8 @@"require-dev": {"bamarni/composer-bin-plugin": "^1.8.1","ext-curl": "*",- "php-http/client-integration-tests": "^3.0",+ "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999",+ "php-http/message-factory": "^1.1","phpunit/phpunit": "^8.5.29 || ^9.5.23","psr/log": "^1.1 || ^2.0 || ^3.0"},@@ -324,7 +325,7 @@],"support": {"issues": "https://github.com/guzzle/guzzle/issues",- "source": "https://github.com/guzzle/guzzle/tree/7.6.1"+ "source": "https://github.com/guzzle/guzzle/tree/7.7.0"},"funding": [{@@ -340,20 +341,20 @@"type": "tidelift"}],- "time": "2023-05-15T20:43:01+00:00"+ "time": "2023-05-21T14:04:53+00:00"},{"name": "guzzlehttp/promises",- "version": "1.5.2",+ "version": "1.5.3","source": {"type": "git","url": "https://github.com/guzzle/promises.git",- "reference": "b94b2807d85443f9719887892882d0329d1e2598"+ "reference": "67ab6e18aaa14d753cc148911d273f6e6cb6721e"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598",- "reference": "b94b2807d85443f9719887892882d0329d1e2598",+ "url": "https://api.github.com/repos/guzzle/promises/zipball/67ab6e18aaa14d753cc148911d273f6e6cb6721e",+ "reference": "67ab6e18aaa14d753cc148911d273f6e6cb6721e","shasum": ""},"require": {@@ -363,11 +364,6 @@"symfony/phpunit-bridge": "^4.4 || ^5.1"},"type": "library",- "extra": {- "branch-alias": {- "dev-master": "1.5-dev"- }- },"autoload": {"files": ["src/functions_include.php"@@ -408,7 +404,7 @@],"support": {"issues": "https://github.com/guzzle/promises/issues",- "source": "https://github.com/guzzle/promises/tree/1.5.2"+ "source": "https://github.com/guzzle/promises/tree/1.5.3"},"funding": [{@@ -424,7 +420,7 @@"type": "tidelift"}],- "time": "2022-08-28T14:55:35+00:00"+ "time": "2023-05-21T12:31:43+00:00"},{"name": "guzzlehttp/psr7",@@ -883,12 +879,12 @@"time": "2019-03-08T08:55:37+00:00"},{- "name": "remotion/lambda-php",- "version": "1.0.0",+ "name": "remotion/lambda",+ "version": "3.3.95","dist": {"type": "path","url": "../lambda-php",- "reference": "3f9306649d26d23ad1ca74faaff2b3fe614e795a"+ "reference": "e55ed294aa0c29c30061074d78cf1d3a2a03d6ee"},"require": {"aws/aws-sdk-php": "^3.269"@@ -902,6 +898,10 @@"Remotion\\LambdaPhp\\": "src/"}},+ "license": [+ "proprietary"+ ],+ "description": "A PHP library for working with Remotion Lambda","transport-options": {"relative": true}diff --git a/packages/lambda-php-example/composer.phar b/packages/lambda-php-example/composer.pharnew file mode 100755index 0000000000..79e858ef12Binary files /dev/null and b/packages/lambda-php-example/composer.phar differdiff --git a/packages/lambda-php/build.mjs b/packages/lambda-php/build.mjsindex ec54b01449..66ce49a621 100644--- a/packages/lambda-php/build.mjs+++ b/packages/lambda-php/build.mjs@@ -4,7 +4,7 @@ const where = process.platform === "win32" ? "where" : "which";const hasComposer = () => {try {- execSync(`${where} composer`);+ execSync(`${where} php`);return true;} catch (err) {console.log(err);@@ -13,8 +13,12 @@ const hasComposer = () => {};if (!hasComposer()) {+ if (process.env.CI) {+ console.log("CI Environment has no Composer.");+ process.exit(1);+ }console.log("Environment has no Composer. Skipping...");process.exit(0);}-execSync("composer install", { stdio: "inherit" });+execSync("php composer.phar install", { stdio: "inherit" });console.log("composer installed deps.");diff --git a/packages/lambda-php/composer.json b/packages/lambda-php/composer.jsonindex feca1ef121..0acb82f1ef 100644--- a/packages/lambda-php/composer.json+++ b/packages/lambda-php/composer.json@@ -1,7 +1,9 @@{- "name": "remotion/lambda-php",+ "name": "remotion/lambda","type": "library","version": "3.3.95",+ "description": "A PHP library for working with Remotion Lambda",+ "license": "proprietary","autoload": {"psr-4": {"Remotion\\LambdaPhp\\": "src/"diff --git a/packages/lambda-php/composer.lock b/packages/lambda-php/composer.lockindex 8d6a788f88..9406e8efb0 100644--- a/packages/lambda-php/composer.lock+++ b/packages/lambda-php/composer.lock@@ -4,7 +4,7 @@"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies","This file is @generated automatically"],- "content-hash": "2046c4a616681225beaf3e940ff74dab",+ "content-hash": "82a5c2d636f8b8ed42e65e5f8434d34e","packages": [{"name": "aws/aws-crt-php",