Skip to content

🎥 Make videos programmatically with React

Turbo 2

Jonny Burger876c5313a4a8
diff --git a/package.json b/package.json
index cd4c03cff4..384459c7d4 100644
--- a/package.json
+++ b/package.json
@@ -37,7 +37,7 @@
"prettier-plugin-organize-imports": "3.2.4"
},
"dependencies": {
- "turbo": "1.13.3",
+ "turbo": "2.1.3",
"typescript": "5.5.4"
},
"packageManager": "[email protected]"
diff --git a/packages/astro-example/.astro/types.d.ts b/packages/astro-example/.astro/types.d.ts
new file mode 100644
index 0000000000..f964fe0cff
--- /dev/null
+++ b/packages/astro-example/.astro/types.d.ts
@@ -0,0 +1 @@
+/// <reference types="astro/client" />
diff --git a/packages/astro-example/src/env.d.ts b/packages/astro-example/src/env.d.ts
index f964fe0cff..acef35f175 100644
--- a/packages/astro-example/src/env.d.ts
+++ b/packages/astro-example/src/env.d.ts
@@ -1 +1,2 @@
+/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 99636f550c..8b8251f715 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -12,8 +12,8 @@ importers:
.:
dependencies:
turbo:
- specifier: 1.13.3
- version: 1.13.3
+ specifier: 2.1.3
+ version: 2.1.3
typescript:
specifier: 5.5.4
version: 5.5.4
@@ -27009,32 +27009,32 @@ packages:
safe-buffer: 5.2.1
dev: true
- resolution: {integrity: sha512-glup8Qx1qEFB5jerAnXbS8WrL92OKyMmg5Hnd4PleLljAeYmx+cmmnsmLT7tpaVZIN58EAAwu8wHC6kIIqhbWA==}
+ resolution: {integrity: sha512-ouJOm0g0YyoBuhmikEujVCBGo3Zr0lbSOWFIsQtWUTItC88F2w2byhjtsYGPXQwMlTbXwmoBU2lOCfWNkeEwHQ==}
cpu: [x64]
os: [darwin]
requiresBuild: true
dev: false
optional: true
- resolution: {integrity: sha512-/np2xD+f/+9qY8BVtuOQXRq5f9LehCFxamiQnwdqWm5iZmdjygC5T3uVSYuagVFsZKMvX3ycySwh8dylGTl6lg==}
+ resolution: {integrity: sha512-j2FOJsK4LAOtHQlb3Oom0yWB/Vi0nF1ljInr311mVzHoFAJRZtfW2fRvdZRb/lBUwjSp8be58qWHzANIcrA0OA==}
cpu: [arm64]
os: [darwin]
requiresBuild: true
dev: false
optional: true
- resolution: {integrity: sha512-G+HGrau54iAnbXLfl+N/PynqpDwi/uDzb6iM9hXEDG+yJnSJxaHMShhOkXYJPk9offm9prH33Khx2scXrYVW1g==}
+ resolution: {integrity: sha512-ubRHkI1gSel7H7wsmxKK8C9UlLWqg/2dkCC88LFupaK6TKgvBKqDqA0Z1M9C/escK0Jsle2k0H8bybV9OYIl4Q==}
cpu: [x64]
os: [linux]
requiresBuild: true
dev: false
optional: true
- resolution: {integrity: sha512-qWwEl5VR02NqRyl68/3pwp3c/olZuSp+vwlwrunuoNTm6JXGLG5pTeme4zoHNnk0qn4cCX7DFrOboArlYxv0wQ==}
+ resolution: {integrity: sha512-LffUL+e5wv7BtD6DgnM2kKOlDkMo2eRjhbAjVnrCD3wi2ug0tl6NDzajnHHjtaMyOnIf4AvzSKdLWsBxafGBQA==}
cpu: [arm64]
os: [linux]
requiresBuild: true
@@ -27047,32 +27047,32 @@ packages:
resolution: {integrity: sha512-FHncC10WpBd2eOmGwpmQsWLDoK4cqsA/UT/GqNoaKOQnT8uzhtCbg3EoUDMvqpOSAI0S26mr0rkjzbOO6S3v1g==}
- resolution: {integrity: sha512-Nudr4bRChfJzBPzEmpVV85VwUYRCGKecwkBFpbp2a4NtrJ3+UP1VZES653ckqCu2FRyRuS0n03v9euMbAvzH+Q==}
+ resolution: {integrity: sha512-S9SvcZZoaq5jKr6kA6eF7/xgQhVn8Vh7PVy5lono9zybvhyL4eY++y2PaLToIgL8G9IcbLmgOC73ExNjFBg9XQ==}
cpu: [x64]
os: [win32]
requiresBuild: true
dev: false
optional: true
- resolution: {integrity: sha512-ouJCgsVLd3icjRLmRvHQDDZnmGzT64GBupM1Y+TjtYn2LVaEBoV6hicFy8x5DUpnqdLy+YpCzRMkWlwhmkX7sQ==}
+ resolution: {integrity: sha512-twlEo8lRrGbrR6T/ZklUIquW3IlFCEtywklgVA81aIrSBm56+GEVpSrHhIlsx1hiYeSNrs+GpDwZGe+V7fvEVQ==}
cpu: [arm64]
os: [win32]
requiresBuild: true
dev: false
optional: true
- resolution: {integrity: sha512-n17HJv4F4CpsYTvKzUJhLbyewbXjq1oLCi90i5tW1TiWDz16ML1eDG7wi5dHaKxzh5efIM56SITnuVbMq5dk4g==}
+ resolution: {integrity: sha512-lY0yj2GH2a2a3NExZ3rGe+rHUVeFE2aXuRAue57n+08E7Z7N7YCmynju0kPC1grAQzERmoLpKrmzmWd+PNiADw==}
hasBin: true
optionalDependencies:
- turbo-darwin-64: 1.13.3
- turbo-darwin-arm64: 1.13.3
- turbo-linux-64: 1.13.3
- turbo-linux-arm64: 1.13.3
- turbo-windows-64: 1.13.3
- turbo-windows-arm64: 1.13.3
+ turbo-darwin-64: 2.1.3
+ turbo-darwin-arm64: 2.1.3
+ turbo-linux-64: 2.1.3
+ turbo-linux-arm64: 2.1.3
+ turbo-windows-64: 2.1.3
+ turbo-windows-arm64: 2.1.3
dev: false
diff --git a/turbo.json b/turbo.json
index edd36408be..5e98ab7287 100644
--- a/turbo.json
+++ b/turbo.json
@@ -1,10 +1,10 @@
{
"$schema": "https://turbo.build/schema.json",
- "pipeline": {
+ "tasks": {
"make": {
"dependsOn": ["^make", "//#ts-build"],
"outputs": ["dist/esm/**"],
- "outputMode": "new-only"
+ "outputLogs": "new-only"
},
"//#ts-build": {
"outputs": [
@@ -12,12 +12,12 @@
"packages/**/dist/**.d.ts",
"packages/**/tsconfig.tsbuildinfo"
],
- "outputMode": "new-only"
+ "outputLogs": "new-only"
},
"@remotion/example#make": {
"dependsOn": ["^make"],
- "outputs": ["build/**", "dist/esm/**", "./node_modules/.cache/**"],
- "outputMode": "new-only"
+ "outputs": ["build", "./node_modules/.cache/**"],
+ "outputLogs": "new-only"
},
"build-docs": {
"dependsOn": ["^make", "make"],
@@ -52,7 +52,7 @@
"@remotion/google-fonts#make": {
"outputs": ["src/**", ".cache-css/**", "dist/esm/**"],
"dependsOn": ["^make"],
- "outputMode": "new-only"
+ "outputLogs": "new-only"
},
"@remotion/cloudrun#make": {
"dependsOn": ["^make", "//#ts-build"],
@@ -61,12 +61,12 @@
"container/dist/**",
"gcpInstaller/gcpInstaller.tar"
],
- "outputMode": "new-only"
+ "outputLogs": "new-only"
},
"@remotion/renderer#make": {
"outputs": ["target/debug/build/**", "target/release/build/**"],
"dependsOn": ["^make"],
- "outputMode": "new-only"
+ "outputLogs": "new-only"
},
"@remotion/it-tests#test": {
@@ -85,7 +85,7 @@
"@remotion/webcodecs#make": {
"dependsOn": ["^@remotion/media-parser#make"],
"outputs": ["dist/esm/**"],
- "outputMode": "new-only"
+ "outputLogs": "new-only"
},
"@remotion/convert#build-page": {
"dependsOn": ["^@remotion/webcodecs#make"]