Skip to content

🎥 Make videos programmatically with React

migrate

Jonny Burger0b21a5a38545
diff --git a/packages/compositor-darwin-x64/remotion b/packages/compositor-darwin-x64/remotion
index 72582bc380..1e4dde75cb 100755
Binary files a/packages/compositor-darwin-x64/remotion and b/packages/compositor-darwin-x64/remotion differ
diff --git a/packages/compositor-win32-x64-msvc/remotion.exe b/packages/compositor-win32-x64-msvc/remotion.exe
index 953cff9441..0416afc45d 100755
Binary files a/packages/compositor-win32-x64-msvc/remotion.exe and b/packages/compositor-win32-x64-msvc/remotion.exe differ
diff --git a/packages/compositor/.gitignore b/packages/compositor/.gitignore
new file mode 100644
index 0000000000..0347abdc2a
--- /dev/null
+++ b/packages/compositor/.gitignore
@@ -0,0 +1,2 @@
+target
+toolchains
diff --git a/packages/compositor/build.ts b/packages/compositor/build.ts
index 1e3ce7fc36..0323560a35 100644
--- a/packages/compositor/build.ts
+++ b/packages/compositor/build.ts
@@ -149,7 +149,7 @@ const cloudrun = process.argv.includes('--cloudrun');
const lambda = process.argv.includes('--lambda');
if (!existsSync('toolchains') && all) {
throw new Error(
- 'Run "node install-toolchain.mjs" if you want to build all platforms',
+ 'Run "bun install-toolchain.ts" if you want to build all platforms',
);
}
diff --git a/packages/renderer/install-toolchain.mjs b/packages/compositor/install-toolchain.ts
similarity index 89%
rename from packages/renderer/install-toolchain.mjs
rename to packages/compositor/install-toolchain.ts
index 8022884769..02ba406edd 100644
--- a/packages/renderer/install-toolchain.mjs
+++ b/packages/compositor/install-toolchain.ts
@@ -1,6 +1,6 @@
import {execSync} from 'node:child_process';
import {existsSync, mkdirSync, unlinkSync} from 'node:fs';
-import {toolchains} from './toolchains.mjs';
+import {toolchains} from './toolchains';
const unpatched = [
'x86_64-apple-darwin',
@@ -12,7 +12,7 @@ for (const toolchain of toolchains) {
process.stdout.write(toolchain + '...');
execSync(
- `curl https://remotion-ffmpeg-binaries.s3.eu-central-1.amazonaws.com/${toolchain}.zip -o ${toolchain}.zip`
+ `curl https://remotion-ffmpeg-binaries.s3.eu-central-1.amazonaws.com/${toolchain}.zip -o ${toolchain}.zip`,
);
if (!existsSync('toolchains')) {
diff --git a/packages/compositor/package.json b/packages/compositor/package.json
index 9df571180b..3109193c0d 100644
--- a/packages/compositor/package.json
+++ b/packages/compositor/package.json
@@ -7,7 +7,8 @@
"description": "Rust binary for Remotion",
"sideEffects": false,
"scripts": {
- "make": "bun build.ts --debug"
+ "make": "bun build.ts --debug",
+ "build-all": "bun build.ts --all"
},
"author": "Jonny Burger <[email protected]>",
"license": "SEE LICENSE IN LICENSE.md",
diff --git a/packages/renderer/package.json b/packages/renderer/package.json
index 8aefa2ed69..3a20803075 100644
--- a/packages/renderer/package.json
+++ b/packages/renderer/package.json
@@ -12,9 +12,7 @@
"formatting": "prettier src --check",
"lint": "eslint src",
"test": "bun test src",
- "make": "tsc -d",
- "build-all": "bun build.ts --all",
- "prepublishOnly": "bun build.ts --all"
+ "make": "tsc -d"
},
"author": "Jonny Burger <[email protected]>",
"license": "SEE LICENSE IN LICENSE.md",
diff --git a/packages/renderer/toolchains.mjs b/packages/renderer/toolchains.mjs
deleted file mode 100644
index e69de29bb2..0000000000