Skip to content

🎥 Make videos programmatically with React

Fix TypeScript 7 CI launchers and workspace registration

Jonny Burgerd43f4ac2b181
diff --git a/bun.lock b/bun.lock
index ff12336bb3..6c7e6226da 100644
--- a/bun.lock
+++ b/bun.lock
@@ -2939,6 +2939,9 @@
},
},
},
+ "patchedDependencies": {
+ },
"overrides": {
"@aws-sdk/xml-builder": "3.972.5",
"@remix-run/dev": "2.17.4",
diff --git a/package.json b/package.json
index 9e11aa5c65..dc2635fbd1 100644
--- a/package.json
+++ b/package.json
@@ -156,5 +156,8 @@
"vitest": "5.0.3",
"typescript": "7.1.0-beta"
}
+ },
+ "patchedDependencies": {
}
}
diff --git a/packages/eslint-config-flat/package.json b/packages/eslint-config-flat/package.json
index ccaeda4f1c..a878567ca7 100644
--- a/packages/eslint-config-flat/package.json
+++ b/packages/eslint-config-flat/package.json
@@ -14,7 +14,7 @@
"lint": "eslint src",
"formatting": "oxfmt src --check",
"format": "oxfmt src",
- "make": "../../node_modules/.bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"
+ "make": "node ../../node_modules/typescript/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"
},
"bugs": {
"url": "https://github.com/remotion-dev/remotion/issues"
diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json
index e990ebf5c9..30f63bd665 100644
--- a/packages/eslint-config/package.json
+++ b/packages/eslint-config/package.json
@@ -13,7 +13,7 @@
"lint": "eslint src",
"formatting": "oxfmt src --check",
"format": "oxfmt src",
- "make": "../../node_modules/.bin/tsc -d"
+ "make": "node ../../node_modules/typescript/bin/tsc -d"
},
"bugs": {
"url": "https://github.com/remotion-dev/remotion/issues"
diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json
index 90a9fa1194..bfea9a56b2 100644
--- a/packages/eslint-plugin/package.json
+++ b/packages/eslint-plugin/package.json
@@ -7,7 +7,7 @@
"description": "Rules for writing Remotion code",
"scripts": {
"test": "node src/tests/execute.mjs",
- "make": "../../node_modules/.bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"
+ "make": "node ../../node_modules/typescript/bin/tsc -d && bun --env-file=../.env.bundle bundle.ts"
},
"main": "dist/index.js",
"bugs": {
diff --git a/packages/it-tests/src/monorepo/get-all-packages.ts b/packages/it-tests/src/monorepo/get-all-packages.ts
index 692034c548..4340f96130 100644
--- a/packages/it-tests/src/monorepo/get-all-packages.ts
+++ b/packages/it-tests/src/monorepo/get-all-packages.ts
@@ -8,6 +8,7 @@ import {packagesRemovedInV5} from '../../../studio-shared/src/release-package-po
const workspaceOnlyPackages = [
'canvas-capture-extension',
'jonnys-videos',
+ 'typescript-tools',
// Not published through create-video yet
'template-vibe-code',
];
diff --git a/patches/[email protected] b/patches/[email protected]
new file mode 100644
index 0000000000..c58a53c785
--- /dev/null
+++ b/patches/[email protected]
@@ -0,0 +1,15 @@
+diff --git a/node_modules/typescript/bin/package.json b/bin/package.json
+new file mode 100644
+index 0000000000000000000000000000000000000000..729ac4d93b7f2d9be36b44525f02ff6555f9383a
+--- /dev/null
++++ b/bin/package.json
+@@ -0,0 +1 @@
++{"type":"commonjs"}
+diff --git a/bin/tsc b/bin/tsc
+index 34638f82f78ad0641bd169a41a598ed3a73b63d5..9c40c9513819c516832bde152f38804a4a7f8a1c 100755
+--- a/bin/tsc
++++ b/bin/tsc
+@@ -1,2 +1,2 @@
+ #!/usr/bin/env node
+-import "../lib/tsc.js";
++import("../lib/tsc.js");