Skip to content

🎥 Make videos programmatically with React

Use Bun Catalog feature

JonnyBurgerbf4cd109f053
diff --git a/bun.lock b/bun.lock
index 4461463d9e..e5d4311519 100644
--- a/bun.lock
+++ b/bun.lock
@@ -229,7 +229,7 @@
"name": "@remotion/convert",
"version": "4.0.365",
"dependencies": {
- "@mediabunny/mp3-encoder": "1.24.2",
+ "@mediabunny/mp3-encoder": "catalog:mediabunny",
"@mediafox/core": "^1.0.4",
"@mediafox/react": "^1.0.4",
"@radix-ui/react-checkbox": "^1.1.2",
@@ -253,7 +253,7 @@
"fast-average-color": "9.4.0",
"isbot": "4.1.0",
"lucide-react": "^0.439.0",
- "mediabunny": "1.24.2",
+ "mediabunny": "catalog:mediabunny",
"react": "19.0.0",
"react-dom": "19.0.0",
"tailwind-merge": "2.5.2",
@@ -394,9 +394,9 @@
"hls.js": "^0.14.17",
"https-proxy-agent": "^7.0.2",
"lottie-web": "5.13.0",
- "mediabunny": "1.24.2",
+ "mediabunny": "catalog:mediabunny",
"mux-embed": "^4.16.0",
- "next": "16.0.0",
+ "next": "catalog:next",
"plyr": "3.7.3",
"polished": "4.1.2",
"react": "19.0.0",
@@ -579,7 +579,7 @@
"dotenv": "9.0.2",
"hls.js": "^0.14.17",
"lottie-web": "5.13.0",
- "mediabunny": "1.24.2",
+ "mediabunny": "catalog:mediabunny",
"opentype.js": "^1.3.4",
"polished": "^4.0.5",
"prettier": "3.6.0",
@@ -754,7 +754,7 @@
"eslint": "9.19.0",
"express": "4.21.0",
"mime-types": "2.1.34",
- "next": "16.0.0",
+ "next": "catalog:next",
"pureimage": "0.4.13",
"zip-lib": "^0.7.2",
},
@@ -782,7 +782,7 @@
"eslint": "9.19.0",
"express": "4.21.0",
"mime-types": "2.1.34",
- "next": "16.0.0",
+ "next": "catalog:next",
},
},
"packages/lambda-go": {
@@ -875,7 +875,7 @@
"name": "@remotion/media",
"version": "4.0.365",
"dependencies": {
- "mediabunny": "1.24.2",
+ "mediabunny": "catalog:mediabunny",
"remotion": "workspace:*",
"webdriverio": "9.19.2",
},
@@ -901,7 +901,7 @@
"@types/bun": "1.3.0",
"@types/wicg-file-system-access": "2023.10.5",
"eslint": "9.19.0",
- "mediabunny": "1.24.2",
+ "mediabunny": "catalog:mediabunny",
},
},
"packages/media-utils": {
@@ -1002,7 +1002,7 @@
"@remotion/media": "workspace:*",
"@remotion/player": "workspace:*",
"@remotion/preload": "workspace:*",
- "next": "16.0.0",
+ "next": "catalog:next",
"react": "19.0.0",
"react-dom": "19.0.0",
"remotion": "workspace:*",
@@ -1460,7 +1460,7 @@
"@remotion/paths": "workspace:*",
"@remotion/player": "workspace:*",
"@remotion/shapes": "workspace:*",
- "next": "16.0.0",
+ "next": "catalog:next",
"react": "19.0.0",
"react-dom": "19.0.0",
"remotion": "workspace:*",
@@ -1499,7 +1499,7 @@
"@remotion/shapes": "workspace:*",
"@remotion/tailwind-v4": "workspace:*",
"clsx": "2.1.1",
- "next": "16.0.0",
+ "next": "catalog:next",
"react": "19.0.0",
"react-dom": "19.0.0",
"remotion": "workspace:*",
@@ -1540,7 +1540,7 @@
"@remotion/paths": "workspace:*",
"@remotion/player": "workspace:*",
"@remotion/shapes": "workspace:*",
- "next": "16.0.0",
+ "next": "catalog:next",
"react": "19.0.0",
"react-dom": "19.0.0",
"remotion": "workspace:*",
@@ -1654,7 +1654,7 @@
"connect": "3.7.0",
"eslint": "9.19.0",
"lucide-react": "0.516.0",
- "mediabunny": "1.24.2",
+ "mediabunny": "catalog:mediabunny",
"react": "19.0.0",
"react-dom": "19.0.0",
"remotion": "workspace:*",
@@ -2015,6 +2015,15 @@
"overrides": {
"caniuse-lite": "1.0.30001724",
},
+ "catalogs": {
+ "mediabunny": {
+ "@mediabunny/mp3-encoder": "1.24.2",
+ "mediabunny": "1.24.2",
+ },
+ "next": {
+ "next": "16.0.0",
+ },
+ },
"packages": {
"@aashutoshrathi/word-wrap": ["@aashutoshrathi/[email protected]", "", {}, "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA=="],
diff --git a/package.json b/package.json
index 1e4e8dc9c9..d2ecc1f47d 100644
--- a/package.json
+++ b/package.json
@@ -55,16 +55,27 @@
"overrides": {
"caniuse-lite": "1.0.30001724"
},
- "workspaces": [
- "packages/**",
- "!packages/lambda-php-example/vendor/remotion/lambda",
- "!packages/player-example/.next",
- "!packages/it-tests/whisper.cpp",
- "!packages/cloudrun/container",
- "!packages/template-recorder/whisper.cpp",
- "!packages/template-recorder/whisper.cpp/**",
- "!packages/template-tiktok/whisper.cpp",
- "!packages/template-tiktok/whisper.cpp/**",
- "!packages/bugs"
- ]
+ "workspaces": {
+ "packages": [
+ "packages/**",
+ "!packages/lambda-php-example/vendor/remotion/lambda",
+ "!packages/player-example/.next",
+ "!packages/it-tests/whisper.cpp",
+ "!packages/cloudrun/container",
+ "!packages/template-recorder/whisper.cpp",
+ "!packages/template-recorder/whisper.cpp/**",
+ "!packages/template-tiktok/whisper.cpp",
+ "!packages/template-tiktok/whisper.cpp/**",
+ "!packages/bugs"
+ ],
+ "catalogs": {
+ "mediabunny": {
+ "mediabunny": "1.24.2",
+ "@mediabunny/mp3-encoder": "1.24.2"
+ },
+ "next": {
+ "next": "16.0.0"
+ }
+ }
+ }
}
diff --git a/packages/convert/package.json b/packages/convert/package.json
index 520d6b3688..1f4d631c60 100644
--- a/packages/convert/package.json
+++ b/packages/convert/package.json
@@ -14,7 +14,7 @@
"lint": "tsc && eslint --cache --cache-location ./node_modules/.cache/eslint app"
},
"dependencies": {
- "@mediabunny/mp3-encoder": "1.24.2",
+ "@mediabunny/mp3-encoder": "catalog:mediabunny",
"@mediafox/core": "^1.0.4",
"@mediafox/react": "^1.0.4",
"@radix-ui/react-checkbox": "^1.1.2",
@@ -38,7 +38,7 @@
"fast-average-color": "9.4.0",
"isbot": "4.1.0",
"lucide-react": "^0.439.0",
- "mediabunny": "1.24.2",
+ "mediabunny": "catalog:mediabunny",
"react": "19.0.0",
"react-dom": "19.0.0",
"tailwind-merge": "2.5.2",
diff --git a/packages/docs/package.json b/packages/docs/package.json
index e0dd0081fd..18baa7fb2d 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -91,11 +91,11 @@
"hls.js": "^0.14.17",
"https-proxy-agent": "^7.0.2",
"lottie-web": "5.13.0",
- "mediabunny": "1.24.2",
+ "mediabunny": "catalog:mediabunny",
"mux-embed": "^4.16.0",
"plyr": "3.7.3",
"polished": "4.1.2",
- "next": "16.0.0",
+ "next": "catalog:next",
"react": "19.0.0",
"react-dom": "19.0.0",
"remark-shiki-twoslash": "^3.1.3",
diff --git a/packages/example/package.json b/packages/example/package.json
index 5e2b285fe7..88d81d9344 100644
--- a/packages/example/package.json
+++ b/packages/example/package.json
@@ -79,7 +79,7 @@
"babel-loader": "^8.2.2",
"dotenv": "9.0.2",
"hls.js": "^0.14.17",
- "mediabunny": "1.24.2",
+ "mediabunny": "catalog:mediabunny",
"lottie-web": "5.13.0",
"opentype.js": "^1.3.4",
"polished": "^4.0.5",
diff --git a/packages/lambda-client/package.json b/packages/lambda-client/package.json
index 0d096e3d16..dee106b77d 100644
--- a/packages/lambda-client/package.json
+++ b/packages/lambda-client/package.json
@@ -31,7 +31,7 @@
"express": "4.21.0",
"@remotion/eslint-config-internal": "workspace:*",
"eslint": "9.19.0",
- "next": "16.0.0",
+ "next": "catalog:next",
"@types/mime-types": "2.1.1"
},
"publishConfig": {
diff --git a/packages/lambda/package.json b/packages/lambda/package.json
index f9d1532d7c..53ed0a163b 100644
--- a/packages/lambda/package.json
+++ b/packages/lambda/package.json
@@ -49,7 +49,7 @@
"@types/minimist": "1.2.2",
"@types/prompt": "^1.1.0",
"eslint": "9.19.0",
- "next": "16.0.0",
+ "next": "catalog:next",
"pureimage": "0.4.13",
"zip-lib": "^0.7.2",
"@types/node": "20.12.14"
diff --git a/packages/media-parser/package.json b/packages/media-parser/package.json
index 7e6022c939..c9aaf3c790 100644
--- a/packages/media-parser/package.json
+++ b/packages/media-parser/package.json
@@ -18,7 +18,7 @@
"@types/wicg-file-system-access": "2023.10.5",
"@remotion/eslint-config-internal": "workspace:*",
"eslint": "9.19.0",
- "mediabunny": "1.24.2",
+ "mediabunny": "catalog:mediabunny",
"@types/bun": "1.3.0"
},
"publishConfig": {
diff --git a/packages/media/package.json b/packages/media/package.json
index f06cb575e5..92a2a4efad 100644
--- a/packages/media/package.json
+++ b/packages/media/package.json
@@ -21,7 +21,7 @@
"make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
},
"dependencies": {
- "mediabunny": "1.24.2",
+ "mediabunny": "catalog:mediabunny",
"remotion": "workspace:*",
"webdriverio": "9.19.2"
},
diff --git a/packages/player-example/package.json b/packages/player-example/package.json
index 9fa11c32f5..700be34125 100644
--- a/packages/player-example/package.json
+++ b/packages/player-example/package.json
@@ -17,7 +17,7 @@
"@remotion/google-fonts": "workspace:*",
"@remotion/player": "workspace:*",
"@remotion/preload": "workspace:*",
- "next": "16.0.0",
+ "next": "catalog:next",
"react": "19.0.0",
"react-dom": "19.0.0",
"remotion": "workspace:*",
diff --git a/packages/template-next-app-tailwind/package.json b/packages/template-next-app-tailwind/package.json
index 82451f2a98..108643024a 100644
--- a/packages/template-next-app-tailwind/package.json
+++ b/packages/template-next-app-tailwind/package.json
@@ -26,7 +26,7 @@
"@remotion/shapes": "workspace:*",
"@remotion/tailwind-v4": "workspace:*",
"clsx": "2.1.1",
- "next": "16.0.0",
+ "next": "catalog:next",
"react": "19.0.0",
"react-dom": "19.0.0",
"remotion": "workspace:*",
diff --git a/packages/template-next-app/package.json b/packages/template-next-app/package.json
index 41fbf0c91e..a0e9dfd6a5 100644
--- a/packages/template-next-app/package.json
+++ b/packages/template-next-app/package.json
@@ -19,7 +19,7 @@
"@remotion/paths": "workspace:*",
"@remotion/player": "workspace:*",
"@remotion/shapes": "workspace:*",
- "next": "16.0.0",
+ "next": "catalog:next",
"react": "19.0.0",
"react-dom": "19.0.0",
"remotion": "workspace:*",
diff --git a/packages/template-next-pages/package.json b/packages/template-next-pages/package.json
index 3c0e7e1410..9c1e549a8b 100644
--- a/packages/template-next-pages/package.json
+++ b/packages/template-next-pages/package.json
@@ -19,7 +19,7 @@
"@remotion/paths": "workspace:*",
"@remotion/player": "workspace:*",
"@remotion/shapes": "workspace:*",
- "next": "16.0.0",
+ "next": "catalog:next",
"react": "19.0.0",
"react-dom": "19.0.0",
"remotion": "workspace:*",
diff --git a/packages/template-recorder/package.json b/packages/template-recorder/package.json
index 4c3dddaf5b..55c041e51c 100644
--- a/packages/template-recorder/package.json
+++ b/packages/template-recorder/package.json
@@ -38,7 +38,7 @@
"connect": "3.7.0",
"eslint": "9.19.0",
"lucide-react": "0.516.0",
- "mediabunny": "1.24.2",
+ "mediabunny": "catalog:mediabunny",
"react": "19.0.0",
"react-dom": "19.0.0",
"tailwind-merge": "1.14.0",