Skip to content

🎥 Make videos programmatically with React

initiate turbo watch

Jonny Burgerc601e6196494
diff --git a/packages/animated-emoji/package.json b/packages/animated-emoji/package.json
index df200f5dd9..d0864928b3 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",
- "make": "bun --env-file=../.env.bundle bundle.ts",
+ "make": "tsc -d && 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.json
index 74ed0548b2..e12e7af71a 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",
- "make": "bun --env-file=../.env.bundle bundle.ts",
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts",
"test": "bun test src"
},
"dependencies": {
diff --git a/packages/babel-loader/package.json b/packages/babel-loader/package.json
index fe6d90bb3e..a5e747a9dd 100644
--- a/packages/babel-loader/package.json
+++ b/packages/babel-loader/package.json
@@ -8,7 +8,8 @@
"main": "dist/index.js",
"scripts": {
"formatting": "prettier src --check",
- "lint": "eslint src --ext ts,tsx"
+ "lint": "eslint src --ext ts,tsx",
+ "make": "tsc -d"
},
"files": [
"dist"
diff --git a/packages/bundler/package.json b/packages/bundler/package.json
index 929d988bdc..3e61ccd45e 100644
--- a/packages/bundler/package.json
+++ b/packages/bundler/package.json
@@ -13,7 +13,9 @@
"scripts": {
"formatting": "prettier src --check",
"lint": "eslint src --ext ts,tsx",
- "test": "bun test src"
+ "test": "bun test src",
+ "make": "tsc -d"
+
},
"files": [
"dist",
diff --git a/packages/captions/package.json b/packages/captions/package.json
index eb0586ff30..6137e681d7 100644
--- a/packages/captions/package.json
+++ b/packages/captions/package.json
@@ -13,7 +13,8 @@
"scripts": {
"formatting": "prettier src --check",
"lint": "eslint src --ext ts,tsx",
- "test": "bun test src"
+ "test": "bun test src",
+ "make": "tsc -d"
},
"files": [
"dist"
diff --git a/packages/cli/package.json b/packages/cli/package.json
index f0403c3140..83095776aa 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -15,7 +15,9 @@
"scripts": {
"formatting": "prettier src --check",
"lint": "eslint src --ext ts,tsx",
- "test": "bun test src"
+ "test": "bun test src",
+ "make": "tsc -d"
+
},
"bugs": {
"url": "https://github.com/remotion-dev/remotion/issues"
diff --git a/packages/cloudrun/package.json b/packages/cloudrun/package.json
index 18ed2a6d41..14fc7b3ca3 100644
--- a/packages/cloudrun/package.json
+++ b/packages/cloudrun/package.json
@@ -8,7 +8,7 @@
"main": "dist/index.js",
"sideEffects": false,
"scripts": {
- "make": "bun build.ts",
+ "make": "tsc -d && 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/convert/package.json b/packages/convert/package.json
index fd957d6e6c..cf44c0fd8c 100644
--- a/packages/convert/package.json
+++ b/packages/convert/package.json
@@ -7,8 +7,7 @@
"scripts": {
"build-page": "remix vite:build",
"dev": "remix vite:dev",
- "lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
- "typecheck": "tsc"
+ "lint": "tsc && eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint ."
},
"dependencies": {
"@radix-ui/react-label": "^2.1.0",
diff --git a/packages/core/package.json b/packages/core/package.json
index ba5b4b3c33..1ebdfeb7e2 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",
- "make": "bun --env-file=../.env.bundle bundle.ts"
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
},
"bugs": {
"url": "https://github.com/remotion-dev/remotion/issues"
diff --git a/packages/create-video/package.json b/packages/create-video/package.json
index 6b8ac6a261..2181e805ba 100644
--- a/packages/create-video/package.json
+++ b/packages/create-video/package.json
@@ -15,7 +15,8 @@
"scripts": {
"formatting": "prettier src --check",
"lint": "eslint src --ext ts,tsx",
- "test": "bun test src"
+ "test": "bun test src",
+ "make": "tsc -d"
},
"author": "Jonny Burger <[email protected]>",
"license": "SEE LICENSE IN LICENSE.md",
diff --git a/packages/docusaurus-plugin/package.json b/packages/docusaurus-plugin/package.json
index 99011f99c4..ba9405dfc9 100644
--- a/packages/docusaurus-plugin/package.json
+++ b/packages/docusaurus-plugin/package.json
@@ -5,7 +5,9 @@
"types": "dist/index.d.ts",
"sideEffects": false,
"scripts": {
- "lint": "eslint src --ext ts,tsx"
+ "lint": "eslint src --ext ts,tsx",
+ "make": "tsc -d"
+
},
"author": "Jonny Burger <[email protected]>",
"license": "UNLICENSED",
diff --git a/packages/enable-scss/package.json b/packages/enable-scss/package.json
index 494d45a3d0..ed3e41fabb 100644
--- a/packages/enable-scss/package.json
+++ b/packages/enable-scss/package.json
@@ -11,8 +11,9 @@
"sideEffects": false,
"scripts": {
"lint": "eslint src --ext ts,tsx",
- "make": "bun --env-file=../.env.bundle bundle.ts",
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts",
"formatting": "prettier src --check"
+
},
"author": "Jonny Burger <[email protected]>",
"contributors": [],
diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json
index 116b253c31..52dd3f9b7a 100644
--- a/packages/eslint-plugin/package.json
+++ b/packages/eslint-plugin/package.json
@@ -6,7 +6,9 @@
"version": "4.0.226",
"description": "Rules for writing Remotion code",
"scripts": {
- "test": "vitest --run"
+ "test": "vitest --run",
+ "make": "tsc -d"
+
},
"main": "dist/index.js",
"bugs": {
diff --git a/packages/example/package.json b/packages/example/package.json
index 72cdb2e1bd..a4f99a353f 100644
--- a/packages/example/package.json
+++ b/packages/example/package.json
@@ -20,7 +20,6 @@
"clean": "rm -rf build && rm -rf out",
"lint": "eslint src --ext ts,tsx,js,jsx",
"test": "vitest --run",
- "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.json
index c9d0d8f65a..a99e925773 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",
- "make": "bun --env-file=../.env.bundle bundle.ts"
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
},
"keywords": [
"remotion",
diff --git a/packages/gif/package.json b/packages/gif/package.json
index 5fc350c59e..193c9773df 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",
- "make": "node build.mjs && bun --env-file=../.env.bundle bundle.ts"
+ "make": "tsc -d && 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.json
index e7e790ab96..e8688a1a5e 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": {
- "make": "bun --env-file=../.env.bundle bundle.ts",
+ "make": "tsc -d && 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/install-whisper-cpp/package.json b/packages/install-whisper-cpp/package.json
index b31c6a042b..b68d7d9f09 100644
--- a/packages/install-whisper-cpp/package.json
+++ b/packages/install-whisper-cpp/package.json
@@ -13,7 +13,8 @@
"scripts": {
"formatting": "prettier src --check",
"lint": "eslint src --ext ts,tsx",
- "test": "bun test src"
+ "test": "bun test src",
+ "make": "tsc -d"
},
"files": [
"dist"
diff --git a/packages/lambda/package.json b/packages/lambda/package.json
index dd20e9a638..390505eb3a 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",
- "make": "bun build.ts",
+ "make": "tsc -d && bun build.ts",
"prepublishOnly": "bun build.ts && bun ensure-version-match.js"
},
"author": "Jonny Burger <[email protected]>",
diff --git a/packages/layout-utils/package.json b/packages/layout-utils/package.json
index 49e9ba10d8..67e9b6f862 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",
- "make": "bun --env-file=../.env.bundle bundle.ts"
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
},
"exports": {
"./package.json": "./package.json",
diff --git a/packages/lottie/package.json b/packages/lottie/package.json
index 1b6b5ef148..6daf1e8165 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",
- "make": "bun --env-file=../.env.bundle bundle.ts"
+ "make": "tsc -d && 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.json
index d91e116b81..a2185bf128 100644
--- a/packages/media-parser/package.json
+++ b/packages/media-parser/package.json
@@ -10,8 +10,7 @@
"formatting": "prettier src --check",
"lint": "eslint src --ext ts,tsx",
"test": "bun test src/test",
- "watch": "tsc -w",
- "make": "bun --env-file=../.env.bundle bundle.ts"
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
},
"devDependencies": {
"@remotion/renderer": "workspace:*",
diff --git a/packages/media-utils/package.json b/packages/media-utils/package.json
index fb23fbcfde..e13aa5591e 100644
--- a/packages/media-utils/package.json
+++ b/packages/media-utils/package.json
@@ -9,7 +9,9 @@
"sideEffects": false,
"scripts": {
"formatting": "prettier src --check",
- "lint": "eslint src --ext ts,tsx"
+ "lint": "eslint src --ext ts,tsx",
+ "make": "tsc -d"
+
},
"author": "Jonny Burger <[email protected]>",
"license": "MIT",
diff --git a/packages/motion-blur/package.json b/packages/motion-blur/package.json
index 251c7266d5..406ce465d2 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",
- "make": "bun --env-file=../.env.bundle bundle.ts"
+ "make": "tsc -d && 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.json
index ae15515d56..d83d1eea1a 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",
- "make": "bun --env-file=../.env.bundle bundle.ts",
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts",
"test": "bun test src"
},
"exports": {
diff --git a/packages/openai-whisper/package.json b/packages/openai-whisper/package.json
index a9f192dcba..09fc8fcb5c 100644
--- a/packages/openai-whisper/package.json
+++ b/packages/openai-whisper/package.json
@@ -13,7 +13,8 @@
"scripts": {
"formatting": "prettier src --check",
"lint": "eslint src --ext ts,tsx",
- "test": "bun test src"
+ "test": "bun test src",
+ "make": "tsc -d"
},
"files": [
"dist"
diff --git a/packages/paths/package.json b/packages/paths/package.json
index 0f9772d92f..caa284f96f 100644
--- a/packages/paths/package.json
+++ b/packages/paths/package.json
@@ -10,7 +10,9 @@
"scripts": {
"formatting": "prettier src --check",
"lint": "eslint src --ext ts,tsx",
- "test": "bun test src"
+ "test": "bun test src",
+ "make": "tsc -d"
+
},
"author": "Jonny Burger <[email protected]>",
"license": "MIT",
diff --git a/packages/player/package.json b/packages/player/package.json
index 3c95672493..f67199d481 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",
- "make": "bun ensure-correct-version.ts && bun --env-file=../.env.bundle bundle.ts",
+ "make": "tsc -d && bun ensure-correct-version.ts && bun --env-file=../.env.bundle bundle.ts",
"test": "bun test src",
"prerelease": "cp ../../README.md ."
},
diff --git a/packages/preload/package.json b/packages/preload/package.json
index a28075bbb4..3257be7146 100644
--- a/packages/preload/package.json
+++ b/packages/preload/package.json
@@ -10,7 +10,8 @@
"sideEffects": false,
"scripts": {
"formatting": "prettier src --check",
- "lint": "eslint src --ext ts,tsx"
+ "lint": "eslint src --ext ts,tsx",
+ "make": "tsc -d"
},
"author": "Jonny Burger",
"contributors": [],
diff --git a/packages/renderer/package.json b/packages/renderer/package.json
index b1d85c1cf5..72acaac18d 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",
- "make": "bun build.ts --debug",
+ "make": "tsc -d && bun build.ts --debug",
"build-all": "bun build.ts --all",
"prepublishOnly": "bun build.ts --all"
},
diff --git a/packages/rive/package.json b/packages/rive/package.json
index 828132bf60..93de2ef771 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",
- "make": "bun --env-file=../.env.bundle bundle.ts"
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
},
"bugs": {
"url": "https://github.com/remotion-dev/remotion/issues"
diff --git a/packages/serverless/package.json b/packages/serverless/package.json
index 3af4d13357..327f47c91a 100644
--- a/packages/serverless/package.json
+++ b/packages/serverless/package.json
@@ -10,7 +10,8 @@
"scripts": {
"lint": "eslint src --ext ts,tsx",
"formatting": "prettier src --check",
- "test": "bun test src"
+ "test": "bun test src",
+ "make": "tsc -d"
},
"author": "Jonny Burger <[email protected]>",
"contributors": [],
diff --git a/packages/shapes/package.json b/packages/shapes/package.json
index 1436ba4041..85ea6fb13c 100644
--- a/packages/shapes/package.json
+++ b/packages/shapes/package.json
@@ -10,7 +10,8 @@
"scripts": {
"formatting": "prettier src --check",
"lint": "eslint src --ext ts,tsx",
- "test": "bun test src"
+ "test": "bun test src",
+ "make": "tsc -d"
},
"author": "Alex Fernandez, Jonny Burger <[email protected]>",
"license": "MIT",
diff --git a/packages/skia/package.json b/packages/skia/package.json
index ed364ddb9c..5223756ffe 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",
- "make": "bun --env-file=../.env.bundle bundle.ts"
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
},
"author": "Jonny Burger <[email protected]>, William Candillon <[email protected]>",
"contributors": [],
diff --git a/packages/streaming/package.json b/packages/streaming/package.json
index 7fda9d6284..bd39716a97 100644
--- a/packages/streaming/package.json
+++ b/packages/streaming/package.json
@@ -9,7 +9,8 @@
"sideEffects": false,
"scripts": {
"lint": "eslint src --ext ts,tsx",
- "formatting": "prettier src --check"
+ "formatting": "prettier src --check",
+ "make": "tsc -d"
},
"author": "Jonny Burger <[email protected]>",
"contributors": [],
diff --git a/packages/studio-server/package.json b/packages/studio-server/package.json
index 42aa721066..001a0a1d2c 100644
--- a/packages/studio-server/package.json
+++ b/packages/studio-server/package.json
@@ -10,7 +10,8 @@
"scripts": {
"lint": "eslint src --ext ts,tsx",
"test": "bun test src",
- "formatting": "prettier src --check"
+ "formatting": "prettier src --check",
+ "make": "tsc -d"
},
"author": "Jonny Burger <[email protected]>",
"contributors": [],
diff --git a/packages/studio-shared/package.json b/packages/studio-shared/package.json
index 22b1b6f41d..dda6c742c2 100644
--- a/packages/studio-shared/package.json
+++ b/packages/studio-shared/package.json
@@ -9,7 +9,8 @@
"sideEffects": false,
"scripts": {
"lint": "eslint src --ext ts,tsx",
- "formatting": "prettier src --check"
+ "formatting": "prettier src --check",
+ "make": "tsc -d"
},
"author": "Jonny Burger <[email protected]>",
"contributors": [],
diff --git a/packages/studio/package.json b/packages/studio/package.json
index 0d2e0c1484..c06a9c72f9 100644
--- a/packages/studio/package.json
+++ b/packages/studio/package.json
@@ -9,9 +9,10 @@
"sideEffects": false,
"scripts": {
"lint": "eslint src --ext ts,tsx",
- "make": "bun --env-file=../.env.bundle bundle.ts",
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts",
"test": "bun test src",
"formatting": "prettier src --check"
+
},
"author": "Jonny Burger <[email protected]>",
"contributors": [],
diff --git a/packages/tailwind/package.json b/packages/tailwind/package.json
index c9c5edefa4..5100c8ad03 100644
--- a/packages/tailwind/package.json
+++ b/packages/tailwind/package.json
@@ -11,7 +11,7 @@
"sideEffects": false,
"scripts": {
"lint": "eslint src --ext ts,tsx",
- "make": "bun --env-file=../.env.bundle bundle.ts"
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
},
"author": "Jonny Burger <[email protected]>",
"contributors": [],
diff --git a/packages/template-audiogram/package.json b/packages/template-audiogram/package.json
index d9c838c4db..b0cc5f5e92 100644
--- a/packages/template-audiogram/package.json
+++ b/packages/template-audiogram/package.json
@@ -6,7 +6,8 @@
"dev": "remotion studio",
"build": "remotion render Audiogram out/video.mp4",
"upgrade": "remotion upgrade",
- "test": "eslint src --ext ts,tsx,js,jsx && tsc"
+ "test": "eslint src --ext ts,tsx,js,jsx && tsc",
+ "lint": "tsc"
},
"repository": {},
"license": "UNLICENSED",
diff --git a/packages/template-blank/package.json b/packages/template-blank/package.json
index c5b3afd732..eb61ff635d 100644
--- a/packages/template-blank/package.json
+++ b/packages/template-blank/package.json
@@ -6,7 +6,7 @@
"dev": "remotion studio",
"build": "remotion render MyComp out/video.mp4",
"upgrade": "remotion upgrade",
- "test": "eslint src --ext ts,tsx,js,jsx && tsc"
+ "lint": "eslint src --ext ts,tsx,js,jsx && tsc"
},
"repository": {},
"license": "UNLICENSED",
diff --git a/packages/template-code-hike/package.json b/packages/template-code-hike/package.json
index 6f77102c88..8cf5d78100 100644
--- a/packages/template-code-hike/package.json
+++ b/packages/template-code-hike/package.json
@@ -31,7 +31,7 @@
"dev": "remotion studio",
"build": "remotion render Main out/video.mp4",
"upgrade": "remotion upgrade",
- "test": "eslint src --ext ts,tsx,js,jsx && tsc"
+ "lint": "tsc && eslint src --ext ts,tsx,js,jsx"
},
"private": true
}
diff --git a/packages/template-helloworld/package.json b/packages/template-helloworld/package.json
index 1f7b335802..4035c00d73 100644
--- a/packages/template-helloworld/package.json
+++ b/packages/template-helloworld/package.json
@@ -6,7 +6,7 @@
"dev": "remotion studio",
"build": "remotion render HelloWorld out/video.mp4",
"upgrade": "remotion upgrade",
- "test": "eslint src --ext ts,tsx,js,jsx && tsc"
+ "lint": "eslint src --ext ts,tsx,js,jsx && tsc"
},
"repository": {},
"license": "UNLICENSED",
diff --git a/packages/template-javascript/package.json b/packages/template-javascript/package.json
index ac6bf934de..6f12d66d3d 100644
--- a/packages/template-javascript/package.json
+++ b/packages/template-javascript/package.json
@@ -6,7 +6,7 @@
"dev": "remotion studio",
"build": "remotion render HelloWorld out/video.mp4",
"upgrade": "remotion upgrade",
- "test": "eslint src --ext ts,tsx,js,jsx"
+ "lint": "eslint src --ext ts,tsx,js,jsx"
},
"repository": {},
"license": "UNLICENSED",
diff --git a/packages/template-overlay/package.json b/packages/template-overlay/package.json
index 7a4419a0c7..3d7ea905d3 100644
--- a/packages/template-overlay/package.json
+++ b/packages/template-overlay/package.json
@@ -6,7 +6,7 @@
"dev": "remotion studio",
"build": "remotion render",
"upgrade": "remotion upgrade",
- "test": "eslint src --ext ts,tsx,js,jsx && tsc"
+ "lint": "eslint src --ext ts,tsx,js,jsx && tsc"
},
"repository": {},
"license": "UNLICENSED",
diff --git a/packages/template-skia/package.json b/packages/template-skia/package.json
index 1dca0fbeb6..f0b36bad8f 100644
--- a/packages/template-skia/package.json
+++ b/packages/template-skia/package.json
@@ -6,7 +6,7 @@
"dev": "remotion studio",
"build": "remotion render HelloSkia out/video.mp4",
"upgrade": "remotion upgrade",
- "test": "eslint src --ext ts,tsx,js,jsx && tsc"
+ "lint": "eslint src --ext ts,tsx,js,jsx && tsc"
},
"repository": {},
"license": "UNLICENSED",
diff --git a/packages/template-stargazer/package.json b/packages/template-stargazer/package.json
index d479043597..453d53ee32 100644
--- a/packages/template-stargazer/package.json
+++ b/packages/template-stargazer/package.json
@@ -4,7 +4,7 @@
"scripts": {
"dev": "remotion studio",
"build": "remotion render main out/Main.mp4 --log verbose",
- "test": "eslint src --ext ts,tsx,js,jsx && tsc"
+ "lint": "eslint src --ext ts,tsx,js,jsx && tsc"
},
"license": "UNLICENSED",
"dependencies": {
diff --git a/packages/template-still/package.json b/packages/template-still/package.json
index 5057cf174a..5045138df8 100644
--- a/packages/template-still/package.json
+++ b/packages/template-still/package.json
@@ -4,12 +4,12 @@
"description": "A template for designing still images with dynamic data with built-in server for deploying to the cloud.",
"scripts": {
"start": "node dist/server/index.js",
- "build": "tsc",
+ "make": "tsc -d",
"dev": "remotion studio",
"render": "remotion still PreviewCard out/still.png",
"upgrade": "remotion upgrade",
"server": "bun src/server/index.ts",
- "test": "eslint src --ext ts,tsx,js,jsx && tsc"
+ "lint": "eslint src --ext ts,tsx,js,jsx && tsc"
},
"repository": {},
"license": "UNLICENSED",
diff --git a/packages/template-three/package.json b/packages/template-three/package.json
index f74c479b9d..57abb65e45 100644
--- a/packages/template-three/package.json
+++ b/packages/template-three/package.json
@@ -6,7 +6,7 @@
"dev": "remotion studio",
"build": "remotion render Scene",
"upgrade": "remotion upgrade",
- "test": "eslint src --ext ts,tsx,js,jsx && tsc"
+ "lint": "eslint src --ext ts,tsx,js,jsx && tsc"
},
"repository": {},
"license": "UNLICENSED",
diff --git a/packages/template-tiktok/package.json b/packages/template-tiktok/package.json
index f614d6c75b..59ece89eb5 100644
--- a/packages/template-tiktok/package.json
+++ b/packages/template-tiktok/package.json
@@ -6,7 +6,7 @@
"dev": "remotion studio",
"build": "remotion render CaptionedVideo",
"upgrade": "remotion upgrade",
- "test": "eslint src --ext ts,tsx,js,jsx && tsc",
+ "lint": "eslint src --ext ts,tsx,js,jsx && tsc",
"create-subtitles": "node sub.mjs"
},
"repository": {},
diff --git a/packages/template-tts-azure/package.json b/packages/template-tts-azure/package.json
index 05b56fe46f..a6db756dd4 100644
--- a/packages/template-tts-azure/package.json
+++ b/packages/template-tts-azure/package.json
@@ -6,7 +6,7 @@
"dev": "remotion studio",
"build": "remotion render HelloWorld out/video.mp4",
"upgrade": "remotion upgrade",
- "test": "eslint src --ext ts,tsx,js,jsx && tsc"
+ "lint": "eslint src --ext ts,tsx,js,jsx && tsc"
},
"private": true,
"repository": {},
diff --git a/packages/template-tts-google/package.json b/packages/template-tts-google/package.json
index d4c5bcffb3..f98b48a20a 100644
--- a/packages/template-tts-google/package.json
+++ b/packages/template-tts-google/package.json
@@ -6,7 +6,7 @@
"dev": "ts-node src/studio.ts",
"build": "ts-node src/render.ts",
"upgrade": "remotion upgrade",
- "test": "eslint src --ext ts,tsx,js,jsx && tsc"
+ "lint": "eslint src --ext ts,tsx,js,jsx && tsc"
},
"repository": {},
"license": "UNLICENSED",
diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json
index 95962ff410..98a499f25a 100644
--- a/packages/test-utils/package.json
+++ b/packages/test-utils/package.json
@@ -7,7 +7,8 @@
"main": "dist",
"sideEffects": false,
"scripts": {
- "lint": "eslint src --ext ts,tsx"
+ "lint": "eslint src --ext ts,tsx",
+ "make": "tsc -d"
},
"author": "Jonny Burger <[email protected]>",
"contributors": [],
diff --git a/packages/three/package.json b/packages/three/package.json
index c5456c7fd1..40c1b217a5 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",
- "make": "bun --env-file=../.env.bundle bundle.ts"
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
},
"author": "Björn Zeutzheim",
"contributors": [],
diff --git a/packages/transitions/package.json b/packages/transitions/package.json
index 91c9a6d511..b211a14f29 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",
- "make": "bun --env-file=../.env.bundle bundle.ts"
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
},
"author": "Jonny Burger",
"contributors": [],
diff --git a/packages/webcodecs/package.json b/packages/webcodecs/package.json
index 6a63564d10..62ff62f698 100644
--- a/packages/webcodecs/package.json
+++ b/packages/webcodecs/package.json
@@ -14,8 +14,7 @@
"scripts": {
"formatting": "prettier src --check",
"lint": "eslint src --ext ts,tsx",
- "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts",
- "watch": "tsc -w"
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
},
"files": [
"dist"
diff --git a/packages/zod-types/package.json b/packages/zod-types/package.json
index 760fbdc58b..4766a344a1 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",
- "make": "bun --env-file=../.env.bundle bundle.ts"
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
},
"author": "Jonny Burger",
"contributors": [],
diff --git a/turbo.json b/turbo.json
index bfc9c8830e..e9ed073c74 100644
--- a/turbo.json
+++ b/turbo.json
@@ -3,17 +3,8 @@
"tasks": {
"clean": {},
"make": {
- "dependsOn": ["^make", "//#ts-build"],
- "outputs": ["dist/esm/**"],
- "outputLogs": "new-only"
- },
- "//#ts-build": {
- "outputs": [
- "packages/**/dist/**.js",
- "packages/**/dist/**.d.ts",
- "packages/**/tsconfig.tsbuildinfo",
- "packages/**/dist/tsconfig.tsbuildinfo"
- ],
+ "dependsOn": ["^make"],
+ "outputs": ["dist"],
"outputLogs": "new-only"
},
"@remotion/example#make": {
@@ -29,7 +20,6 @@
"dependsOn": ["^make", "make"],
"outputs": []
},
-
"@remotion/renderer#test": {
"dependsOn": [
"^make",
@@ -41,11 +31,7 @@
"outputs": []
},
"lint": {
- "dependsOn": ["//#ts-build", "@remotion/eslint-config-internal#make"],
- "outputs": []
- },
- "formatting": {
- "dependsOn": ["//#ts-build"],
+ "dependsOn": ["@remotion/eslint-config-internal#make"],
"outputs": []
},
"@remotion/example#lint": {
@@ -57,33 +43,24 @@
"outputLogs": "new-only"
},
"@remotion/cloudrun#make": {
- "dependsOn": ["^make", "//#ts-build"],
- "outputs": [
- "dist/shared/sa-permissions.json",
- "container/dist",
- "gcpInstaller/gcpInstaller.tar"
- ],
+ "dependsOn": ["^make"],
+ "outputs": ["dist", "container/dist", "gcpInstaller/gcpInstaller.tar"],
"outputLogs": "new-only"
},
"@remotion/renderer#make": {
- "outputs": ["target/debug/build", "target/release/build"],
+ "outputs": ["dist", "target/debug/build", "target/release/build"],
"dependsOn": ["^make"],
"outputLogs": "new-only"
},
"@remotion/it-tests#test": {
"dependsOn": [
- "//#ts-build",
"^make",
"@remotion/example#test",
"@remotion/example#make",
"@remotion/studio#make"
]
},
- "@remotion/media-parser#build": {
- "dependsOn": ["//#ts-build"],
- "outputs": ["dist/esm"]
- },
"@remotion/webcodecs#make": {
"dependsOn": ["^@remotion/media-parser#make"],
"outputs": ["dist/esm"],