Skip to content

🎥 Make videos programmatically with React

fix

Jonny Burgerd9168455ec43
diff --git a/packages/example/runlambda.sh b/packages/example/runlambda.sh
index 43c2eb9430..54af0d0a03 100644
--- a/packages/example/runlambda.sh
+++ b/packages/example/runlambda.sh
@@ -1,7 +1,7 @@
set -e
cd ..
cd lambda
-npm run buildlambda
+bun run build
cd ..
cd example
bunx remotion lambda functions rmall -f
diff --git a/packages/example/testlambda.mjs b/packages/example/testlambda.mjs
index 07e019b7df..0816031f3c 100644
--- a/packages/example/testlambda.mjs
+++ b/packages/example/testlambda.mjs
@@ -1,11 +1,11 @@
import {execSync} from 'child_process';
-execSync('pnpm run buildlambda', {
+execSync('bun run build', {
cwd: '../lambda',
stdio: 'inherit',
});
-execSync('pnpm exec remotion lambda functions rmall -f', {
+execSync('bunx remotion lambda functions rmall -f', {
stdio: 'inherit',
});
diff --git a/packages/lambda/package.json b/packages/lambda/package.json
index 64e9a67d43..2967ea8070 100644
--- a/packages/lambda/package.json
+++ b/packages/lambda/package.json
@@ -9,8 +9,7 @@
"testintegration": "vitest src/test/integration --run",
"lint": "eslint src --ext ts,tsx",
"test": "vitest src/test/unit --run",
- "build": "pnpm run buildlambda",
- "buildlambda": "bun src/admin/bundle-lambda.ts",
+ "build": "bun src/admin/bundle-lambda.ts",
"prepublishOnly": "bun src/admin/bundle-lambda.ts && bun ensure-version-match.js"
},
"author": "Jonny Burger <[email protected]>",
diff --git a/packages/renderer/src/test/asset-calculation.test.tsx b/packages/renderer/src/test/asset-calculation.test.tsx
index b2fa13e289..84219bbb36 100644
--- a/packages/renderer/src/test/asset-calculation.test.tsx
+++ b/packages/renderer/src/test/asset-calculation.test.tsx
@@ -1,7 +1,6 @@
-/* eslint-disable no-restricted-imports */
import {expect, test} from 'bun:test';
import React from 'react';
-import {Audio, interpolate, Sequence, useCurrentFrame, Video} from 'remotion';
+import {Audio, Sequence, Video, interpolate, useCurrentFrame} from 'remotion';
import {calculateAssetPositions} from '../assets/calculate-asset-positions';
import type {MediaAsset} from '../assets/types';
import {onlyAudioAndVideoAssets} from '../filter-asset-types';
diff --git a/packages/video-parser/package.json b/packages/video-parser/package.json
index eadc0e51db..60ac0213fa 100644
--- a/packages/video-parser/package.json
+++ b/packages/video-parser/package.json
@@ -8,7 +8,6 @@
"formatting": "prettier src --check",
"lint": "eslint src --ext ts,tsx",
"test": "bun test",
- "build": "tsc -d",
"watch": "tsc -w"
},
"repository": {