Skip to content

🎥 Make videos programmatically with React

sort

Jonny Burger5124fd87737c
diff --git a/packages/STATS.md b/packages/STATS.md
index 3ea9829046..6bff597a7a 100644
--- a/packages/STATS.md
+++ b/packages/STATS.md
@@ -1,43 +1,43 @@
# Download statistics
Monthly downloads of Remotion packages
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/compositor-darwin-x64.svg?style=flat&color=black&label=@remotion/compositor-darwin-x64)](https://npmcharts.com/compare/@remotion/compositor-darwin-x64?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/skia.svg?style=flat&color=black&label=@remotion/skia)](https://npmcharts.com/compare/@remotion/skia?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/animation-utils.svg?style=flat&color=black&label=@remotion/animation-utils)](https://npmcharts.com/compare/@remotion/animation-utils?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/studio.svg?style=flat&color=black&label=@remotion/studio)](https://npmcharts.com/compare/@remotion/studio?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/renderer.svg?style=flat&color=black&label=@remotion/renderer)](https://npmcharts.com/compare/@remotion/renderer?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/babel-loader.svg?style=flat&color=black&label=@remotion/babel-loader)](https://npmcharts.com/compare/@remotion/babel-loader?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/bundler.svg?style=flat&color=black&label=@remotion/bundler)](https://npmcharts.com/compare/@remotion/bundler?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/cli.svg?style=flat&color=black&label=@remotion/cli)](https://npmcharts.com/compare/@remotion/cli?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/cloudrun.svg?style=flat&color=black&label=@remotion/cloudrun)](https://npmcharts.com/compare/@remotion/cloudrun?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/compositor-darwin-arm64.svg?style=flat&color=black&label=@remotion/compositor-darwin-arm64)](https://npmcharts.com/compare/@remotion/compositor-darwin-arm64?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/compositor-darwin-x64.svg?style=flat&color=black&label=@remotion/compositor-darwin-x64)](https://npmcharts.com/compare/@remotion/compositor-darwin-x64?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/compositor-linux-arm64-gnu.svg?style=flat&color=black&label=@remotion/compositor-linux-arm64-gnu)](https://npmcharts.com/compare/@remotion/compositor-linux-arm64-gnu?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/compositor-linux-arm64-musl.svg?style=flat&color=black&label=@remotion/compositor-linux-arm64-musl)](https://npmcharts.com/compare/@remotion/compositor-linux-arm64-musl?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/compositor-linux-x64-gnu.svg?style=flat&color=black&label=@remotion/compositor-linux-x64-gnu)](https://npmcharts.com/compare/@remotion/compositor-linux-x64-gnu?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/compositor-linux-x64-musl.svg?style=flat&color=black&label=@remotion/compositor-linux-x64-musl)](https://npmcharts.com/compare/@remotion/compositor-linux-x64-musl?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/remotion.svg?style=flat&color=black&label=remotion)](https://npmcharts.com/compare/remotion?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/motion-blur.svg?style=flat&color=black&label=@remotion/motion-blur)](https://npmcharts.com/compare/@remotion/motion-blur?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/compositor-darwin-arm64.svg?style=flat&color=black&label=@remotion/compositor-darwin-arm64)](https://npmcharts.com/compare/@remotion/compositor-darwin-arm64?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/zod-types.svg?style=flat&color=black&label=@remotion/zod-types)](https://npmcharts.com/compare/@remotion/zod-types?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/create-video.svg?style=flat&color=black&label=create-video)](https://npmcharts.com/compare/create-video?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/enable-scss.svg?style=flat&color=black&label=@remotion/enable-scss)](https://npmcharts.com/compare/@remotion/enable-scss?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/eslint-config.svg?style=flat&color=black&label=@remotion/eslint-config)](https://npmcharts.com/compare/@remotion/eslint-config?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/eslint-plugin.svg?style=flat&color=black&label=@remotion/eslint-plugin)](https://npmcharts.com/compare/@remotion/eslint-plugin?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/fonts.svg?style=flat&color=black&label=@remotion/fonts)](https://npmcharts.com/compare/@remotion/fonts?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/gif.svg?style=flat&color=black&label=@remotion/gif)](https://npmcharts.com/compare/@remotion/gif?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/google-fonts.svg?style=flat&color=black&label=@remotion/google-fonts)](https://npmcharts.com/compare/@remotion/google-fonts?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/install-whisper-cpp.svg?style=flat&color=black&label=@remotion/install-whisper-cpp)](https://npmcharts.com/compare/@remotion/install-whisper-cpp?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/lambda.svg?style=flat&color=black&label=@remotion/lambda)](https://npmcharts.com/compare/@remotion/lambda?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/layout-utils.svg?style=flat&color=black&label=@remotion/layout-utils)](https://npmcharts.com/compare/@remotion/layout-utils?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/lottie.svg?style=flat&color=black&label=@remotion/lottie)](https://npmcharts.com/compare/@remotion/lottie?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/media-utils.svg?style=flat&color=black&label=@remotion/media-utils)](https://npmcharts.com/compare/@remotion/media-utils?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/motion-blur.svg?style=flat&color=black&label=@remotion/motion-blur)](https://npmcharts.com/compare/@remotion/motion-blur?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/noise.svg?style=flat&color=black&label=@remotion/noise)](https://npmcharts.com/compare/@remotion/noise?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/paths.svg?style=flat&color=black&label=@remotion/paths)](https://npmcharts.com/compare/@remotion/paths?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/player.svg?style=flat&color=black&label=@remotion/player)](https://npmcharts.com/compare/@remotion/player?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/preload.svg?style=flat&color=black&label=@remotion/preload)](https://npmcharts.com/compare/@remotion/preload?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/renderer.svg?style=flat&color=black&label=@remotion/renderer)](https://npmcharts.com/compare/@remotion/renderer?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/rive.svg?style=flat&color=black&label=@remotion/rive)](https://npmcharts.com/compare/@remotion/rive?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/shapes.svg?style=flat&color=black&label=@remotion/shapes)](https://npmcharts.com/compare/@remotion/shapes?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/compositor-linux-x64-musl.svg?style=flat&color=black&label=@remotion/compositor-linux-x64-musl)](https://npmcharts.com/compare/@remotion/compositor-linux-x64-musl?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/cli.svg?style=flat&color=black&label=@remotion/cli)](https://npmcharts.com/compare/@remotion/cli?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/three.svg?style=flat&color=black&label=@remotion/three)](https://npmcharts.com/compare/@remotion/three?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/skia.svg?style=flat&color=black&label=@remotion/skia)](https://npmcharts.com/compare/@remotion/skia?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/streaming.svg?style=flat&color=black&label=@remotion/streaming)](https://npmcharts.com/compare/@remotion/streaming?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/tailwind.svg?style=flat&color=black&label=@remotion/tailwind)](https://npmcharts.com/compare/@remotion/tailwind?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/cloudrun.svg?style=flat&color=black&label=@remotion/cloudrun)](https://npmcharts.com/compare/@remotion/cloudrun?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/eslint-config.svg?style=flat&color=black&label=@remotion/eslint-config)](https://npmcharts.com/compare/@remotion/eslint-config?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/google-fonts.svg?style=flat&color=black&label=@remotion/google-fonts)](https://npmcharts.com/compare/@remotion/google-fonts?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/media-utils.svg?style=flat&color=black&label=@remotion/media-utils)](https://npmcharts.com/compare/@remotion/media-utils?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/studio-shared.svg?style=flat&color=black&label=@remotion/studio-shared)](https://npmcharts.com/compare/@remotion/studio-shared?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/noise.svg?style=flat&color=black&label=@remotion/noise)](https://npmcharts.com/compare/@remotion/noise?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/create-video.svg?style=flat&color=black&label=create-video)](https://npmcharts.com/compare/create-video?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/lambda.svg?style=flat&color=black&label=@remotion/lambda)](https://npmcharts.com/compare/@remotion/lambda?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/lottie.svg?style=flat&color=black&label=@remotion/lottie)](https://npmcharts.com/compare/@remotion/lottie?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/studio.svg?style=flat&color=black&label=@remotion/studio)](https://npmcharts.com/compare/@remotion/studio?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/studio-server.svg?style=flat&color=black&label=@remotion/studio-server)](https://npmcharts.com/compare/@remotion/studio-server?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/enable-scss.svg?style=flat&color=black&label=@remotion/enable-scss)](https://npmcharts.com/compare/@remotion/enable-scss?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/compositor-linux-arm64-musl.svg?style=flat&color=black&label=@remotion/compositor-linux-arm64-musl)](https://npmcharts.com/compare/@remotion/compositor-linux-arm64-musl?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/studio-shared.svg?style=flat&color=black&label=@remotion/studio-shared)](https://npmcharts.com/compare/@remotion/studio-shared?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/tailwind.svg?style=flat&color=black&label=@remotion/tailwind)](https://npmcharts.com/compare/@remotion/tailwind?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/three.svg?style=flat&color=black&label=@remotion/three)](https://npmcharts.com/compare/@remotion/three?minimal=true)
[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/transitions.svg?style=flat&color=black&label=@remotion/transitions)](https://npmcharts.com/compare/@remotion/transitions?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/fonts.svg?style=flat&color=black&label=@remotion/fonts)](https://npmcharts.com/compare/@remotion/fonts?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/babel-loader.svg?style=flat&color=black&label=@remotion/babel-loader)](https://npmcharts.com/compare/@remotion/babel-loader?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/preload.svg?style=flat&color=black&label=@remotion/preload)](https://npmcharts.com/compare/@remotion/preload?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/compositor-linux-x64-gnu.svg?style=flat&color=black&label=@remotion/compositor-linux-x64-gnu)](https://npmcharts.com/compare/@remotion/compositor-linux-x64-gnu?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/bundler.svg?style=flat&color=black&label=@remotion/bundler)](https://npmcharts.com/compare/@remotion/bundler?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/layout-utils.svg?style=flat&color=black&label=@remotion/layout-utils)](https://npmcharts.com/compare/@remotion/layout-utils?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/eslint-plugin.svg?style=flat&color=black&label=@remotion/eslint-plugin)](https://npmcharts.com/compare/@remotion/eslint-plugin?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/player.svg?style=flat&color=black&label=@remotion/player)](https://npmcharts.com/compare/@remotion/player?minimal=true)
-[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/gif.svg?style=flat&color=black&label=@remotion/gif)](https://npmcharts.com/compare/@remotion/gif?minimal=true)
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/zod-types.svg?style=flat&color=black&label=@remotion/zod-types)](https://npmcharts.com/compare/@remotion/zod-types?minimal=true)
diff --git a/packages/it-tests/src/monorepo/get-all-packages.ts b/packages/it-tests/src/monorepo/get-all-packages.ts
index 31f4aba700..f58d8d70e2 100644
--- a/packages/it-tests/src/monorepo/get-all-packages.ts
+++ b/packages/it-tests/src/monorepo/get-all-packages.ts
@@ -3,64 +3,64 @@ import {readFileSync} from 'node:fs';
import path from 'path';
export const packages = [
- 'core',
- 'player',
- 'renderer',
+ 'ai-improvements',
+ 'animation-utils',
+ 'astro-example',
+ 'babel-loader',
+ 'bugs',
+ 'bundler',
+ 'cli-autocomplete',
'cli',
'cloudrun',
- 'lambda',
- 'bundler',
- 'studio-server',
- 'install-whisper-cpp',
- 'google-fonts',
- 'media-utils',
- 'lottie',
- 'layout-utils',
- 'noise',
- 'motion-blur',
- 'preload',
- 'shapes',
- 'zod-types',
- 'gif',
- 'eslint-plugin',
- 'eslint-config',
- 'compositor-linux-x64-gnu',
- 'compositor-linux-x64-musl',
- 'compositor-darwin-x64',
'compositor-darwin-arm64',
+ 'compositor-darwin-x64',
'compositor-linux-arm64-gnu',
'compositor-linux-arm64-musl',
+ 'compositor-linux-x64-gnu',
+ 'compositor-linux-x64-musl',
'compositor-win32-x64-msvc',
- 'babel-loader',
- 'fonts',
- 'transitions',
- 'enable-scss',
+ 'core',
'create-video',
- 'studio-shared',
- 'tailwind',
- 'streaming',
- 'video-parser',
- 'rive',
- 'paths',
- 'studio',
- 'skia',
- 'three',
- 'astro-example',
- 'lambda-go-example',
- 'test-utils',
+ 'discord-poster',
+ 'docs',
+ 'enable-scss',
+ 'eslint-config',
+ 'eslint-plugin',
'example-without-zod',
- 'lambda-go',
- 'animation-utils',
'example',
- 'lambda-php',
- 'bugs',
- 'docs',
+ 'fonts',
+ 'gif',
+ 'google-fonts',
+ 'install-whisper-cpp',
'it-tests',
+ 'lambda-go-example',
+ 'lambda-go',
+ 'lambda-php',
'lambda-python',
+ 'lambda',
+ 'layout-utils',
+ 'lottie',
+ 'media-utils',
+ 'motion-blur',
+ 'noise',
+ 'paths',
'player-example',
- 'ai-improvements',
- 'discord-poster',
- 'cli-autocomplete',
+ 'player',
+ 'preload',
+ 'renderer',
+ 'rive',
+ 'shapes',
+ 'skia',
+ 'streaming',
+ 'studio-server',
+ 'studio-shared',
+ 'studio',
+ 'tailwind',
+ 'test-utils',
+ 'three',
+ 'transitions',
+ 'video-parser',
+ 'zod-types',
] as const;
export type Pkgs = (typeof packages)[number];
@@ -69,6 +69,7 @@ export const getAllPackages = () => {
const pkgDir = path.join(__dirname, '..', '..', '..');
const filePackages = readdirSync(pkgDir)
.filter((pkg) => lstatSync(path.join(pkgDir, pkg)).isDirectory())
+ .sort()
.map((pkg) => ({
pkg: pkg as Pkgs,
path: path.join(pkgDir, pkg, 'package.json'),
diff --git a/packages/it-tests/src/monorepo/statistics-file.test.ts b/packages/it-tests/src/monorepo/statistics-file.test.ts
index f136f115cf..1b1c166be7 100644
--- a/packages/it-tests/src/monorepo/statistics-file.test.ts
+++ b/packages/it-tests/src/monorepo/statistics-file.test.ts
@@ -3,7 +3,7 @@ import {writeFileSync} from 'fs';
import {join} from 'path';
import {Pkgs, descriptions, getAllPackages} from './get-all-packages';
-test('All packages should have a README.md file', () => {
+test('Should make a STATS.md file', () => {
const dirs = getAllPackages();
expect(dirs.length).toBeGreaterThan(0);