🎥 Make videos programmatically with React
tweaks
Jonny Burgerc998a0451121
diff --git a/.github/workflows/push.yml b/.github/workflows/push.ymlindex 98c7b69d79..3c0c11858b 100644--- a/.github/workflows/push.yml+++ b/.github/workflows/push.yml@@ -57,6 +57,11 @@ jobs:with:path: node_modules/.cachekey: turbo-${{ runner.os }}-${{ matrix.ffmpeg_version }}-node${{ matrix.node_version }}+ - name: Cache dist/ folders+ uses: actions/cache@v2+ with:+ path: packages/**/dist+ key: dist-${{ runner.os }}-${{ matrix.ffmpeg_version }}-node${{ matrix.node_version }}- name: Build & Testrun: |diff --git a/package.json b/package.jsonindex 2fe9719509..053f9eb567 100644--- a/package.json+++ b/package.json@@ -21,7 +21,7 @@},"dependencies": {"lerna": "^4.0.0",- "turbo": "^1.1.2"+ "turbo": "1.1.3-canary.0"},"workspaces": ["packages/*"diff --git a/packages/renderer/src/serve-static.ts b/packages/renderer/src/serve-static.tsindex 01ea23b6fb..3347e6483a 100644--- a/packages/renderer/src/serve-static.ts+++ b/packages/renderer/src/serve-static.ts@@ -46,6 +46,7 @@ export const serveStatic = async (return {port, close};} catch (err) {+ console.log({err, msg: err.message});if ((err as Error).message.includes('EADDRINUSE')) {return serveStatic(path, options);}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 274cbac00d..c7ddef5d86 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -6,10 +6,10 @@ importers:specifiers:lerna: ^4.0.0remotion: 2.6.6- turbo: ^1.1.2+ turbo: 1.1.3-canary.0dependencies:lerna: 4.0.0- turbo: 1.1.2+ turbo: 1.1.3-canary.0devDependencies:remotion: link:packages/core@@ -21337,119 +21337,119 @@ packages:dependencies:safe-buffer: 5.2.1- /turbo-darwin-64/1.1.2:- resolution: {integrity: sha512-rua17HnVvAqAU54gVfiQoH7cfopOqANv+yI6NtxLMD8aFfX2cJ9m8SSvH2v2vCaToNDW6OnTkdqDKQpqIHzbCw==}+ /turbo-darwin-64/1.1.3-canary.0:+ resolution: {integrity: sha512-7hrWz9DVSKLAlscR3IHKuD/WzozqhkTgvKNza5s19+3X99sGIt83q0xNvxiehziLipjVkX7xcOGXVeLww7DkTg==}cpu: [x64]os: [darwin]requiresBuild: truedev: falseoptional: true- /turbo-darwin-arm64/1.1.2:- resolution: {integrity: sha512-otqSQNYDyKg0KqB3NM0BI4oiRPKdJkUE/XBn8dcUS+zeRLrL00XtaM0eSwynZs1tb6zU/Y+SPMSBRygD1TCOnw==}+ /turbo-darwin-arm64/1.1.3-canary.0:+ resolution: {integrity: sha512-gv34CfyDq4luxeN3vn/+GNnLJVh/PYtLgIKV0QbY/wg0DhXwmz8lm/6DKJ6F5HPSgDEYA4ZgTxkoA8hBG7hPQw==}cpu: [arm64]os: [darwin]requiresBuild: truedev: falseoptional: true- /turbo-freebsd-64/1.1.2:- resolution: {integrity: sha512-2nxwVDTAM0DtIQ2i3UOfEsQLF7vp+XZ/b9SKtiHxz710fXvdyuGivYI25axDdcBn8kQ45rnbUnarF1aW8CMGgg==}+ /turbo-freebsd-64/1.1.3-canary.0:+ resolution: {integrity: sha512-ceNUvbpKuXkAYiR15+2roWyokXZr7Mp/XhBa0Q4zI9ZSMcokGDSX71LWEYnKjAjpQ+nvbo5drpCcVD48TZeXQA==}cpu: [x64]os: [freebsd]requiresBuild: truedev: falseoptional: true- /turbo-freebsd-arm64/1.1.2:- resolution: {integrity: sha512-ro1Ah96yzgzyT0BJe1mceAqxPxi0pUwzAvN3IKVpMqi4hYkT3aRbzDCaSxzyC6let2Al/NUsgHnbAv38OF2Xkw==}+ /turbo-freebsd-arm64/1.1.3-canary.0:+ resolution: {integrity: sha512-Du+Kww/VZR+yYxVchf9yK41pQcqTWJyFrlCg1hahbv2xhZdqx4CvwGP2kp3kcxg/c0YDQSzkADSo+efE84RG6g==}cpu: [arm64]os: [freebsd]requiresBuild: truedev: falseoptional: true- /turbo-linux-32/1.1.2:- resolution: {integrity: sha512-HKBsETxQMVaf/DJwMg7pypPbGA6KEu0gEf9C8o2aPJvwMPBYgNsNaU08Xizuh5xzEQTzpbIWfQyqdNgMV4RG3Q==}+ /turbo-linux-32/1.1.3-canary.0:+ resolution: {integrity: sha512-NISAm45EcuB6JEhKgr6zGL+0GXCneNMJo6RAsSnZY0JmgCJMgc0B5Mmcwmgy4Xo2lRsK1cUqWdAYHG5gsgNLhg==}cpu: [ia32]os: [linux]requiresBuild: truedev: falseoptional: true- /turbo-linux-64/1.1.2:- resolution: {integrity: sha512-IklKsOklcRHIWkTzKg95BQ6jgJ53kLvRMrp8yqzlvZprkWdiyhAgUxrUTTHOOTce2XA3+jdN2+MwixG44uY2vg==}+ /turbo-linux-64/1.1.3-canary.0:+ resolution: {integrity: sha512-yH5yL0lMHi799uu7HoJ1oYOOFs+jR7QSTcj8aBpKLTKwmeSPl9c5CS5sVALz7cBQdHuE/rqUObOGoWgQ8ije/Q==}cpu: [x64]os: [linux]requiresBuild: truedev: falseoptional: true- /turbo-linux-arm/1.1.2:- resolution: {integrity: sha512-CNbaTvRozq7H/5jpy9OZlzJ6BkeEXF+nF2n9dHiUrbAXd3nq84Qt9odcQJmGnexP19YS9w6l3tIHncX4BgwtqA==}+ /turbo-linux-arm/1.1.3-canary.0:+ resolution: {integrity: sha512-22Ld9NQHjU0x+srgJdgaKphgoXZCd0OmTW71UyIb7BgR6WMvIWa2k402r64v9ePNvfnnmKwrlqMEAWKJHWreHw==}cpu: [arm]os: [linux]requiresBuild: truedev: falseoptional: true- /turbo-linux-arm64/1.1.2:- resolution: {integrity: sha512-3kS6sk2lOtuBBqkcL+yeGqD1yew4UZ1o7XUcbDD8UPwhF2kAfK7Qs0vTJw4lnO1scjhihkoTrmXM7yozvjf4/w==}+ /turbo-linux-arm64/1.1.3-canary.0:+ resolution: {integrity: sha512-y8da8hH8fc/XsgOxHiHZlRYAzIvK//NKD2QsJPWTDL98VVWmDFtKFxCN1B6D2Pm9ckRUCbNcxGLny3Y66PS7MA==}cpu: [arm64]os: [linux]requiresBuild: truedev: falseoptional: true- /turbo-linux-mips64le/1.1.2:- resolution: {integrity: sha512-CDoXVIlW43C6KLgYxe13KkG8h6DswXHxbTVHiZdOwRQ56j46lU+JOVpLoh6wpQGcHvj58VEiypZBRTGVFMeogw==}+ /turbo-linux-mips64le/1.1.3-canary.0:+ resolution: {integrity: sha512-B55eYmoQjm+mMU0f5J0apcAfCTcmCfPKPx3bLphrlqkd9sGiyVctz8te7aeXAjiYnvL/Bs+4vijkqX/HbD7WxA==}cpu: [mips64el]os: [linux]requiresBuild: truedev: falseoptional: true- /turbo-linux-ppc64le/1.1.2:- resolution: {integrity: sha512-xPVMHoiOJE/qI63jSOXwYIUFQXLdstxDV6fLnRxvq0QnJNxgTKq+mLUeE8M4LDVh1bdqHLcfk/HmyQ6+X1XVkQ==}+ /turbo-linux-ppc64le/1.1.3-canary.0:+ resolution: {integrity: sha512-hHlAcsV1YJswcjAYUqGbgR9oINGd0zb9tJ7S5sC2SQj7qUxZVDDeBD2CRUtd1tX1k8x7PYPzp+a2EmzqVjf8KQ==}cpu: [ppc64]os: [linux]requiresBuild: truedev: falseoptional: true- /turbo-windows-32/1.1.2:- resolution: {integrity: sha512-Gj1yvPE0aMDSOxGVSBaecLnwsVDT1xX8U0dtLrg52TYY2jlaci0atjHKr9nTFuX7z8uwAf6PopwdriGoCeT3ng==}+ /turbo-windows-32/1.1.3-canary.0:+ resolution: {integrity: sha512-zfSc/K6hexzdkwkEJU1JAHd/2lKMexRtQsh0550k3Tn9eAT3Z2grrGEmd9MVej+99Y4b4YclwlmpJu+WEL8a8A==}cpu: [ia32]os: [win32]requiresBuild: truedev: falseoptional: true- /turbo-windows-64/1.1.2:- resolution: {integrity: sha512-0Ncx/iKhnKrdAU8hJ+8NUcF9jtFr8KoW5mMWfiFzy+mgUbVKbpzWT2eoGR6zJExedQsRvYOejbEX5iihbnj5bA==}+ /turbo-windows-64/1.1.3-canary.0:+ resolution: {integrity: sha512-bXC1Zqx7MY33vZQzrLNPYD9/NXrNzL93ryUJ3dzL0LiJAcYh+1DrHOfN/olvmzSPJHE2aFPJhRIzlaCvWljsRg==}cpu: [x64]os: [win32]requiresBuild: truedev: falseoptional: true- /turbo/1.1.2:- resolution: {integrity: sha512-3ViHKyAkaBKNKwHASTa1zkVT3tVVhQNLrpxBS7LoN+794ouQUYmy6lf0rTqzG3iTZHtIDwC+piZSdTl4XjEVMg==}+ /turbo/1.1.3-canary.0:+ resolution: {integrity: sha512-qaEVH08IiD/n8HnyBNbV4LJiVL0UwuTBXNI/2kkxo4FyFEv7SuHLea/Y79kTaQwViOeK0HPdFozMiMY2GTfvUw==}hasBin: truerequiresBuild: trueoptionalDependencies:- turbo-darwin-64: 1.1.2- turbo-darwin-arm64: 1.1.2- turbo-freebsd-64: 1.1.2- turbo-freebsd-arm64: 1.1.2- turbo-linux-32: 1.1.2- turbo-linux-64: 1.1.2- turbo-linux-arm: 1.1.2- turbo-linux-arm64: 1.1.2- turbo-linux-mips64le: 1.1.2- turbo-linux-ppc64le: 1.1.2- turbo-windows-32: 1.1.2- turbo-windows-64: 1.1.2+ turbo-darwin-64: 1.1.3-canary.0+ turbo-darwin-arm64: 1.1.3-canary.0+ turbo-freebsd-64: 1.1.3-canary.0+ turbo-freebsd-arm64: 1.1.3-canary.0+ turbo-linux-32: 1.1.3-canary.0+ turbo-linux-64: 1.1.3-canary.0+ turbo-linux-arm: 1.1.3-canary.0+ turbo-linux-arm64: 1.1.3-canary.0+ turbo-linux-mips64le: 1.1.3-canary.0+ turbo-linux-ppc64le: 1.1.3-canary.0+ turbo-windows-32: 1.1.3-canary.0+ turbo-windows-64: 1.1.3-canary.0dev: false/tweetnacl/0.14.5: