🎥 Make videos programmatically with React
don't run build step of templates
Jonny Burger20d50eec250e
diff --git a/package.json b/package.jsonindex 6248ef6999..6c3a9a3305 100644--- a/package.json+++ b/package.json@@ -7,7 +7,7 @@"test": "turbo run lint test --no-update-notifier","ts-build": "tsc -b --verbose","stylecheck": "turbo run lint formatting --no-update-notifier",- "build": "turbo run build --no-update-notifier",+ "build": "turbo run make --no-update-notifier","build-docs": "turbo run build-docs --no-update-notifier","ci": "turbo run build test --concurrency=50% --no-update-notifier","watch": "tsc -b --verbose -w",diff --git a/packages/animated-emoji/package.json b/packages/animated-emoji/package.jsonindex 1543fc5f21..8445102e25 100644--- a/packages/animated-emoji/package.json+++ b/packages/animated-emoji/package.json@@ -8,7 +8,7 @@"scripts": {"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx",- "build": "bun --env-file=../.env.bundle bundle.ts",+ "make": "bun --env-file=../.env.bundle bundle.ts","test": "bun test src"},"exports": {diff --git a/packages/animation-utils/package.json b/packages/animation-utils/package.jsonindex 7ae2697a86..a364a0b0af 100644--- a/packages/animation-utils/package.json+++ b/packages/animation-utils/package.json@@ -15,7 +15,7 @@"scripts": {"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx",- "build": "bun --env-file=../.env.bundle bundle.ts",+ "make": "bun --env-file=../.env.bundle bundle.ts","test": "bun test src"},"dependencies": {diff --git a/packages/cli-autocomplete/package.json b/packages/cli-autocomplete/package.jsonindex 2c3cacf902..3f0c659a66 100644--- a/packages/cli-autocomplete/package.json+++ b/packages/cli-autocomplete/package.json@@ -12,6 +12,6 @@},"scripts": {"formatting": "prettier src --check",- "build": "bun src/generate.ts"+ "make": "bun src/generate.ts"}}diff --git a/packages/cloudrun/package.json b/packages/cloudrun/package.jsonindex 8093b6244b..92fc8ddc9e 100644--- a/packages/cloudrun/package.json+++ b/packages/cloudrun/package.json@@ -8,7 +8,7 @@"main": "dist/index.js","sideEffects": false,"scripts": {- "build": "bun build.ts",+ "make": "bun build.ts","buildContainer": "bun src/admin/bundle-renderLogic.ts","tarInstaller": "bun src/admin/bundle-installer.ts","lint": "eslint src --ext ts,tsx",diff --git a/packages/core/package.json b/packages/core/package.jsonindex bfa6a2a018..b2ed397d72 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -13,7 +13,7 @@"prepublishOnly": "bun ensure-correct-version.ts && cp ../../README.md .","lint": "eslint src --ext ts,tsx","test": "vitest --run",- "build": "bun --env-file=../.env.bundle bundle.ts"+ "make": "bun --env-file=../.env.bundle bundle.ts"},"bugs": {"url": "https://github.com/remotion-dev/remotion/issues"diff --git a/packages/enable-scss/package.json b/packages/enable-scss/package.jsonindex eb08cbaf2b..d52408e360 100644--- a/packages/enable-scss/package.json+++ b/packages/enable-scss/package.json@@ -11,7 +11,7 @@"sideEffects": false,"scripts": {"lint": "eslint src --ext ts,tsx",- "build": "bun --env-file=../.env.bundle bundle.ts",+ "make": "bun --env-file=../.env.bundle bundle.ts","formatting": "prettier src --check"},"author": "Jonny Burger <[email protected]>",diff --git a/packages/example/package.json b/packages/example/package.jsonindex c475272c00..31c7747246 100644--- a/packages/example/package.json+++ b/packages/example/package.json@@ -19,7 +19,7 @@"comps": "remotion compositions","lint": "eslint src --ext ts,tsx,js,jsx","test": "vitest --run",- "build": "remotion bundle",+ "make": "remotion bundle","render": "remotion render react-svg","render-js": "remotion render src/entry.jsx framer","render-gif": "remotion render framer out/video.gif --codec=gif --every-nth-frame=2",diff --git a/packages/fonts/package.json b/packages/fonts/package.jsonindex faf54a7052..ea50785316 100644--- a/packages/fonts/package.json+++ b/packages/fonts/package.json@@ -12,7 +12,7 @@"scripts": {"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx",- "build": "bun --env-file=../.env.bundle bundle.ts"+ "make": "bun --env-file=../.env.bundle bundle.ts"},"keywords": ["remotion",diff --git a/packages/gif/package.json b/packages/gif/package.jsonindex 59ebe7dcff..f76a9baf70 100644--- a/packages/gif/package.json+++ b/packages/gif/package.json@@ -17,7 +17,7 @@"scripts": {"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx",- "build": "node build.mjs && bun --env-file=../.env.bundle bundle.ts"+ "make": "node build.mjs && bun --env-file=../.env.bundle bundle.ts"},"exports": {"./package.json": "./package.json",diff --git a/packages/google-fonts/package.json b/packages/google-fonts/package.jsonindex 005458a4c9..acf90154e0 100644--- a/packages/google-fonts/package.json+++ b/packages/google-fonts/package.json@@ -8,7 +8,7 @@"main": "dist/cjs/index.js","module": "dist/esm/index.mjs","scripts": {- "build": "bun --env-file=../.env.bundle bundle.ts",+ "make": "bun --env-file=../.env.bundle bundle.ts","generate": "bun scripts/generate.ts && bun scripts/generate-index.ts","prepublishOnly": "bun ensure-generation.ts","formatting": "prettier src --check"diff --git a/packages/lambda/package.json b/packages/lambda/package.jsonindex bc9e0f02e6..18d562c662 100644--- a/packages/lambda/package.json+++ b/packages/lambda/package.json@@ -12,7 +12,7 @@"testintegration": "vitest src/test/integration --run","lint": "eslint src --ext ts,tsx","test": "vitest src/test/unit --run",- "build": "bun src/admin/bundle-lambda.ts",+ "make": "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/layout-utils/package.json b/packages/layout-utils/package.jsonindex 8b356ecef8..0a7ff8faae 100644--- a/packages/layout-utils/package.json+++ b/packages/layout-utils/package.json@@ -12,7 +12,7 @@"scripts": {"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx",- "build": "bun --env-file=../.env.bundle bundle.ts"+ "make": "bun --env-file=../.env.bundle bundle.ts"},"exports": {"./package.json": "./package.json",diff --git a/packages/lottie/package.json b/packages/lottie/package.jsonindex c7cd0ead72..7ddef0a8ba 100644--- a/packages/lottie/package.json+++ b/packages/lottie/package.json@@ -13,7 +13,7 @@"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx","test": "bun test src",- "build": "bun --env-file=../.env.bundle bundle.ts"+ "make": "bun --env-file=../.env.bundle bundle.ts"},"bugs": {"url": "https://github.com/remotion-dev/remotion/issues"diff --git a/packages/media-parser/package.json b/packages/media-parser/package.jsonindex cec996d134..fc71560293 100644--- a/packages/media-parser/package.json+++ b/packages/media-parser/package.json@@ -11,7 +11,7 @@"lint": "eslint src --ext ts,tsx","test": "bun test src/test","watch": "tsc -w",- "build": "bun --env-file=../.env.bundle bundle.ts"+ "make": "bun --env-file=../.env.bundle bundle.ts"},"devDependencies": {"@remotion/renderer": "workspace:*",diff --git a/packages/motion-blur/package.json b/packages/motion-blur/package.jsonindex 37bb6a10e9..6a9005aaaa 100644--- a/packages/motion-blur/package.json+++ b/packages/motion-blur/package.json@@ -12,7 +12,7 @@"scripts": {"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx",- "build": "bun --env-file=../.env.bundle bundle.ts"+ "make": "bun --env-file=../.env.bundle bundle.ts"},"author": "Matt McGillivray, Ilija Boshkov <[email protected]>, Jonny Burger <[email protected]>","contributors": [],diff --git a/packages/noise/package.json b/packages/noise/package.jsonindex a5228b659d..88c49819bf 100644--- a/packages/noise/package.json+++ b/packages/noise/package.json@@ -12,7 +12,7 @@"scripts": {"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx",- "build": "bun --env-file=../.env.bundle bundle.ts",+ "make": "bun --env-file=../.env.bundle bundle.ts","test": "bun test src"},"exports": {diff --git a/packages/player/package.json b/packages/player/package.jsonindex 409419f6f8..5001237915 100644--- a/packages/player/package.json+++ b/packages/player/package.json@@ -12,7 +12,7 @@"scripts": {"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx",- "build": "bun ensure-correct-version.ts && bun --env-file=../.env.bundle bundle.ts",+ "make": "bun ensure-correct-version.ts && bun --env-file=../.env.bundle bundle.ts","test": "bun test src","prerelease": "cp ../../README.md ."},diff --git a/packages/renderer/package.json b/packages/renderer/package.jsonindex ff85328fb0..2fd8d6e739 100644--- a/packages/renderer/package.json+++ b/packages/renderer/package.json@@ -12,7 +12,7 @@"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx","test": "bun test src",- "build": "node build.mjs --debug",+ "make": "node build.mjs --debug","build-all": "node build.mjs --all","prepublishOnly": "node build.mjs --all"},diff --git a/packages/rive/package.json b/packages/rive/package.jsonindex 6a43607ea7..5e60843a48 100644--- a/packages/rive/package.json+++ b/packages/rive/package.json@@ -11,7 +11,7 @@"scripts": {"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx",- "build": "bun --env-file=../.env.bundle bundle.ts"+ "make": "bun --env-file=../.env.bundle bundle.ts"},"bugs": {"url": "https://github.com/remotion-dev/remotion/issues"diff --git a/packages/skia/package.json b/packages/skia/package.jsonindex bb2c9574b5..28a5444178 100644--- a/packages/skia/package.json+++ b/packages/skia/package.json@@ -12,7 +12,7 @@"scripts": {"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx",- "build": "bun --env-file=../.env.bundle bundle.ts"+ "make": "bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>, William Candillon <[email protected]>","contributors": [],diff --git a/packages/studio/package.json b/packages/studio/package.jsonindex 9ef3181e94..3bfd520c54 100644--- a/packages/studio/package.json+++ b/packages/studio/package.json@@ -9,7 +9,7 @@"sideEffects": false,"scripts": {"lint": "eslint src --ext ts,tsx",- "build": "bun --env-file=../.env.bundle bundle.ts",+ "make": "bun --env-file=../.env.bundle bundle.ts","test": "bun test src","formatting": "prettier src --check"},diff --git a/packages/tailwind/package.json b/packages/tailwind/package.jsonindex 5b5f404cba..538cd526f0 100644--- a/packages/tailwind/package.json+++ b/packages/tailwind/package.json@@ -11,7 +11,7 @@"sideEffects": false,"scripts": {"lint": "eslint src --ext ts,tsx",- "build": "bun --env-file=../.env.bundle bundle.ts"+ "make": "bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger <[email protected]>","contributors": [],diff --git a/packages/template-three/package.json b/packages/template-three/package.jsonindex f7f4fd517f..8e04bbac1b 100644--- a/packages/template-three/package.json+++ b/packages/template-three/package.json@@ -4,7 +4,7 @@"description": "A React Three Fiber Project","scripts": {"start": "remotion studio",- "build": "remotion render Scene out/video.mp4",+ "build": "remotion render Scene","upgrade": "remotion upgrade","test": "eslint src --ext ts,tsx,js,jsx && tsc"},diff --git a/packages/three/package.json b/packages/three/package.jsonindex d7a446cd98..149dfab361 100644--- a/packages/three/package.json+++ b/packages/three/package.json@@ -12,7 +12,7 @@"scripts": {"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx",- "build": "bun --env-file=../.env.bundle bundle.ts"+ "make": "bun --env-file=../.env.bundle bundle.ts"},"author": "Björn Zeutzheim","contributors": [],diff --git a/packages/transitions/package.json b/packages/transitions/package.jsonindex df09e43d96..fea349eaa0 100644--- a/packages/transitions/package.json+++ b/packages/transitions/package.json@@ -13,7 +13,7 @@"test": "bun test src","lint": "eslint src --ext ts,tsx","formatting": "prettier src --check",- "build": "bun --env-file=../.env.bundle bundle.ts"+ "make": "bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger","contributors": [],diff --git a/packages/webcodecs/package.json b/packages/webcodecs/package.jsonindex 02a171ca1d..8bb286edea 100644--- a/packages/webcodecs/package.json+++ b/packages/webcodecs/package.json@@ -14,7 +14,7 @@"scripts": {"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx",- "build": "tsc -d && bun --env-file=../.env.bundle bundle.ts",+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts","watch": "tsc -w"},"files": [diff --git a/packages/zod-types/package.json b/packages/zod-types/package.jsonindex bf6c63d838..3e541509e3 100644--- a/packages/zod-types/package.json+++ b/packages/zod-types/package.json@@ -12,7 +12,7 @@"scripts": {"formatting": "prettier src --check","lint": "eslint src --ext ts,tsx",- "build": "bun --env-file=../.env.bundle bundle.ts"+ "make": "bun --env-file=../.env.bundle bundle.ts"},"author": "Jonny Burger","contributors": [],diff --git a/turbo.json b/turbo.jsonindex d5f50a8fad..6454d5ea46 100644--- a/turbo.json+++ b/turbo.json@@ -1,8 +1,8 @@{"$schema": "https://turbo.build/schema.json","pipeline": {- "build": {- "dependsOn": ["^build", "//#ts-build"],+ "make": {+ "dependsOn": ["^make", "//#ts-build"],"outputs": ["dist/esm/**"],"outputMode": "new-only"},@@ -10,13 +10,13 @@"outputs": ["packages/**/dist/**.js", "packages/**/dist/**.d.ts"],"outputMode": "new-only"},- "@remotion/example#build": {- "dependsOn": ["^build"],+ "@remotion/example#make": {+ "dependsOn": ["^make"],"outputs": ["build/**", "dist/esm/**", "./node_modules/.cache/**"],"outputMode": "new-only"},"build-docs": {- "dependsOn": ["^build", "build"],+ "dependsOn": ["^make", "make"],"outputs": [".docusaurus/**","../../node_modules/.cache/twoslash/**",@@ -25,17 +25,17 @@]},"test": {- "dependsOn": ["^build", "build"],+ "dependsOn": ["^make", "make"],"outputs": []},"@remotion/renderer#test": {"dependsOn": [- "^build",- "build",- "@remotion/lambda#build",+ "^make",+ "make",+ "@remotion/lambda#make","@remotion/it-tests#test",- "@remotion/cloudrun#build"+ "@remotion/cloudrun#make"],"outputs": []},@@ -48,15 +48,15 @@"outputs": []},"@remotion/example#lint": {- "dependsOn": ["@remotion/eslint-config#build"]+ "dependsOn": ["@remotion/eslint-config#make"]},- "@remotion/google-fonts#build": {+ "@remotion/google-fonts#make": {"outputs": ["src/**", ".cache-css/**", "dist/esm/**"],- "dependsOn": ["^build"],+ "dependsOn": ["^make"],"outputMode": "new-only"},- "@remotion/cloudrun#build": {- "dependsOn": ["^build", "//#ts-build"],+ "@remotion/cloudrun#make": {+ "dependsOn": ["^make", "//#ts-build"],"outputs": ["dist/shared/sa-permissions.json","container/dist/**",@@ -64,9 +64,9 @@],"outputMode": "new-only"},- "@remotion/renderer#build": {+ "@remotion/renderer#make": {"outputs": ["target/debug/build/**", "target/release/build/**"],- "dependsOn": ["^build"],+ "dependsOn": ["^make"],"outputMode": "new-only"},@@ -74,19 +74,19 @@"dependsOn": ["^build","@remotion/example#test",- "@remotion/example#build"+ "@remotion/example#make"]},"@remotion/media-parser#build": {"dependsOn": ["//#ts-build"],"outputs": ["dist/esm/**"]},- "@remotion/webcodecs#build": {- "dependsOn": ["^@remotion/media-parser#build"],+ "@remotion/webcodecs#make": {+ "dependsOn": ["^@remotion/media-parser#make"],"outputs": ["dist/esm/**"]},"@remotion/convert#build-page": {- "dependsOn": ["^@remotion/webcodecs#build"]+ "dependsOn": ["^@remotion/webcodecs#make"]},"convert": {"dependsOn": ["^@remotion/convert#build-page"],