Skip to content

🎥 Make videos programmatically with React

more resolutions

JonnyBurger5df33822cb35
diff --git a/bun.lock b/bun.lock
index 3d681203ae..29f4710804 100644
--- a/bun.lock
+++ b/bun.lock
@@ -1314,6 +1314,7 @@
},
"devDependencies": {
"@remotion/eslint-config-flat": "workspace:*",
+ "@types/node": "20.12.14",
"@types/react": "19.0.0",
"@types/web": "0.0.166",
"eslint": "9.19.0",
diff --git a/packages/docs/docs/contributing/index.mdx b/packages/docs/docs/contributing/index.mdx
index 2aca1c7a7e..5170dd303f 100644
--- a/packages/docs/docs/contributing/index.mdx
+++ b/packages/docs/docs/contributing/index.mdx
@@ -18,25 +18,14 @@ This project is released with a [Contributor Code of Conduct](https://remotion.d
## Setup
-<Step>1</Step> Remotion uses <a href="https://pnpm.io/">
- <code>pnpm</code> v8.10.2
-</a> as the package manager for development in this repository. We recommend using Corepack so you get the same version of pnpm as we have. <br />
-
-```sh
-corepack enable
-```
-
-If you don't have `corepack`, install `[email protected]` manually:
-
-```sh
-```
+<Step>1</Step> Remotion uses
+<a href="https://bun.com/">
+ <code>bun</code> v1.3.0
+</a>
+as the package manager for development in this repository. <br />
Prefix with `sudo` if necessary.
-The version must be `8.10.2`.
-
-We use [Bun](https://bun.sh) to speed up some parts of the build.
-Install at least Bun 1.2.12 on your system - see https://bun.sh/ for instructions.
+The version must be `1.3.0`.
<Step>2</Step> Clone the Remotion repository:
@@ -51,19 +40,19 @@ The full Git history of Remotion is large. To save time and disk space, we recom
<Step>3</Step> Install all dependencies:
```sh
-pnpm i
+bun i
```
<Step>4</Step> Build the project initially:
```sh
-pnpm build
+bun run build
```
<Step>5</Step> Rebuild whenever a file changes:
```sh
-pnpm watch
+bun run watch
```
<Step>6</Step> You can start making changes!
@@ -74,20 +63,20 @@ You can start the Testbed using
```sh
cd packages/example
-pnpm run dev
+bun run dev
```
You can render a test video using
```sh
cd packages/example
-pnpm exec remotion render
+bunx remotion render
```
You can run tests using
```sh
-pnpm test
+bun run test
```
in either a subpackage to run tests for that package or in the root to run all tests.
@@ -98,7 +87,7 @@ You can test changes to [@remotion/player](https://remotion.dev/docs/player) by
```sh
cd packages/player-example
-pnpm run dev
+bun run dev
```
For information about testing Remotion components, please consult the [Testing Remotion components](/docs/testing) page. Issues and pull requests of all sorts are welcome!
@@ -109,19 +98,19 @@ You can run the Docusaurus server that powers our docs using:
```sh
cd packages/docs
-pnpm start
+bun run start
```
## Running the CLI
-You can test changes to the CLI by moving to `packages/examples` directory and using `pnpm exec` to execute the CLI:
+You can test changes to the CLI by moving to `packages/examples` directory and using `bunx` to execute the CLI:
```sh
cd packages/examples
# Example - Get available compositions
-pnpm exec remotion compositions
+bunx remotion compositions
# Example - Render command
-pnpm exec remotion render ten-frame-tester --output ../../out/video.mp4
+bunx remotion render ten-frame-tester --output ../../out/video.mp4
```
## Testing Remotion Lambda
@@ -154,13 +143,13 @@ This will delete any Cloud Run services in your account!
## Troubleshooting
-If your `pnpm build` throws errors, oftentimes it is because of caching issues. You can resolve many of these errors by running
+If your `bun run build` throws errors, oftentimes it is because of caching issues. You can resolve many of these errors by running
```ts
-pnpm run clean
+bun run clean
```
-in the root directory. Make sure to beforehand kill any `pnpm watch` commands, as those might regenerate files as you clean them!
+in the root directory. Make sure to beforehand kill any `bun run watch` commands, as those might regenerate files as you clean them!
## Developing Rust parts
diff --git a/packages/template-audiogram/package.json b/packages/template-audiogram/package.json
index 0fce2a879a..3e920c069b 100644
--- a/packages/template-audiogram/package.json
+++ b/packages/template-audiogram/package.json
@@ -31,7 +31,8 @@
"@types/web": "0.0.166",
"eslint": "9.19.0",
"prettier": "3.6.0",
- "typescript": "5.8.2"
+ "typescript": "5.8.2",
+ "@types/node": "20.12.14"
},
"private": true
}