Skip to content

🎥 Make videos programmatically with React

make it make sense

Jonny Burgerb6cea8cecfbf
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index c418093175..a2e5138798 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -21,7 +21,7 @@ jobs:
- name: Cache turbo build setup
uses: actions/cache/restore@v4
with:
- path: .turbo
+ path: .turbo
key: |
${{ runner.os }}-turbo-
- uses: actions/setup-node@v4
@@ -56,7 +56,7 @@ jobs:
- name: Cache turbo build setup
uses: actions/cache/restore@v4
with:
- path: .turbo
+ path: .turbo
key: |
${{ runner.os }}-turbo-
- uses: actions/setup-node@v4
@@ -90,7 +90,7 @@ jobs:
- name: Test SSR
timeout-minutes: 8
run: |
- cd packages/it-tests && bun run testssr
+ pnpm run testssr
lint:
runs-on: ubuntu-latest
name: Linting + Formatting
@@ -102,7 +102,7 @@ jobs:
- name: Cache turbo build setup
uses: actions/cache/restore@v4
with:
- path: .turbo
+ path: .turbo
key: |
${{ runner.os }}-turbo-
- uses: actions/setup-node@v4
@@ -152,7 +152,7 @@ jobs:
cache: "pnpm"
- name: Cache turbo build setup
uses: actions/cache@v4
- with:
+ with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
diff --git a/package.json b/package.json
index b26a312938..2f5a653e66 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,7 @@
"stylecheck": "turbo run lint formatting --no-update-notifier",
"build": "turbo run make --no-update-notifier",
"build-docs": "turbo run build-docs --no-update-notifier",
+ "testssr": "turbo run testssr --no-update-notifier",
"ci": "turbo run make test --concurrency=50% --no-update-notifier",
"watch": "turbo watch make",
"release-alpha": "pnpm recursive publish --tag=alpha --no-git-checks && pnpm recursive run --sequential publishprivate",
diff --git a/packages/bundler/package.json b/packages/bundler/package.json
index 3e61ccd45e..8f7799f1c6 100644
--- a/packages/bundler/package.json
+++ b/packages/bundler/package.json
@@ -15,7 +15,6 @@
"lint": "eslint src --ext ts,tsx",
"test": "bun test src",
"make": "tsc -d"
-
},
"files": [
"dist",
diff --git a/packages/cli-autocomplete/.eslintrc b/packages/cli-autocomplete/.eslintrc
index fefa649a33..f9e8a1b5da 100644
--- a/packages/cli-autocomplete/.eslintrc
+++ b/packages/cli-autocomplete/.eslintrc
@@ -1,7 +1,12 @@
{
- "extends": [
- "plugin:@typescript-eslint/recommended",
- "plugin:@withfig/fig-linter/recommended",
- "plugin:compat/recommended"
- ]
+ "extends": [
+ "plugin:@typescript-eslint/recommended",
+ "plugin:@withfig/fig-linter/recommended",
+ "plugin:compat/recommended",
+ ],
+ "rules": {
+ // ReferenceError: Error while loading rule '@typescript-eslint/ban-ts-comment': structuredClone is not defined
+ // In Remotion 5.0 we can enable
+ "@typescript-eslint/ban-ts-comment": "off",
+ },
}
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 83095776aa..ab34b4c9e7 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -17,7 +17,6 @@
"lint": "eslint src --ext ts,tsx",
"test": "bun test src",
"make": "tsc -d"
-
},
"bugs": {
"url": "https://github.com/remotion-dev/remotion/issues"
diff --git a/packages/docusaurus-plugin/package.json b/packages/docusaurus-plugin/package.json
index ba9405dfc9..c79f817511 100644
--- a/packages/docusaurus-plugin/package.json
+++ b/packages/docusaurus-plugin/package.json
@@ -7,7 +7,6 @@
"scripts": {
"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 ed3e41fabb..23cebcabcd 100644
--- a/packages/enable-scss/package.json
+++ b/packages/enable-scss/package.json
@@ -13,7 +13,6 @@
"lint": "eslint src --ext ts,tsx",
"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 52dd3f9b7a..fc881a56bd 100644
--- a/packages/eslint-plugin/package.json
+++ b/packages/eslint-plugin/package.json
@@ -8,7 +8,6 @@
"scripts": {
"test": "vitest --run",
"make": "tsc -d"
-
},
"main": "dist/index.js",
"bugs": {
diff --git a/packages/lambda-php/.phpunit.result.cache b/packages/lambda-php/.phpunit.result.cache
deleted file mode 100644
index d12122412a..0000000000
--- a/packages/lambda-php/.phpunit.result.cache
+++ /dev/null
@@ -1 +0,0 @@
-{"version":1,"defects":{"Remotion\\LambdaPhp\\Tests\\PHPClientTest::testClient":5},"times":{"Remotion\\LambdaPhp\\Tests\\PHPClientTest::testClient":0.032,"Remotion\\LambdaPhp\\Tests\\PHPRenderProgressTest::testClient":0.017}}
\ No newline at end of file
diff --git a/packages/media-utils/package.json b/packages/media-utils/package.json
index e13aa5591e..aa1597347b 100644
--- a/packages/media-utils/package.json
+++ b/packages/media-utils/package.json
@@ -11,7 +11,6 @@
"formatting": "prettier src --check",
"lint": "eslint src --ext ts,tsx",
"make": "tsc -d"
-
},
"author": "Jonny Burger <[email protected]>",
"license": "MIT",
diff --git a/packages/paths/package.json b/packages/paths/package.json
index caa284f96f..9e4b37f2a3 100644
--- a/packages/paths/package.json
+++ b/packages/paths/package.json
@@ -12,7 +12,6 @@
"lint": "eslint src --ext ts,tsx",
"test": "bun test src",
"make": "tsc -d"
-
},
"author": "Jonny Burger <[email protected]>",
"license": "MIT",
diff --git a/packages/studio/package.json b/packages/studio/package.json
index c06a9c72f9..e13398c50c 100644
--- a/packages/studio/package.json
+++ b/packages/studio/package.json
@@ -12,7 +12,6 @@
"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/turbo.json b/turbo.json
index 250954f28f..2a06782c04 100644
--- a/turbo.json
+++ b/turbo.json
@@ -7,6 +7,9 @@
"outputLogs": "new-only"
},
"clean": {},
+ "testssr": {
+ "dependsOn": ["@remotion/example#bundle"]
+ },
"make": {
"dependsOn": ["^make"],
"outputs": ["dist"],