Skip to content

🎥 Make videos programmatically with React

set correct pattern in validate-templates after tsx migration

Igor Samokhovetsc60e23489e7a
diff --git a/packages/it-tests/src/templates/validate-templates.test.ts b/packages/it-tests/src/templates/validate-templates.test.ts
index fb733eafea..59ac53f2e3 100644
--- a/packages/it-tests/src/templates/validate-templates.test.ts
+++ b/packages/it-tests/src/templates/validate-templates.test.ts
@@ -71,10 +71,10 @@ describe('Templates should be valid', () => {
const scripts = body.scripts;
expect(scripts.dev).toMatch(
- /(remotion\sstudio)|(next dev)|(react-router dev)|(tsx watch)/,
+ /(remotion\sstudio)|(next dev)|(react-router dev)|(tsx watch)|(tsx src\/studio)/,
);
expect(scripts.build).toMatch(
- /(remotion\sbundle)|(react-router build)|(next\sbuild)/,
+ /(remotion\sbundle)|(react-router build)|(next\sbuild)|(tsx src\/render)/,
);
});
diff --git a/packages/template-tts-azure/package.json b/packages/template-tts-azure/package.json
index 27d2e93216..366187a8ea 100644
--- a/packages/template-tts-azure/package.json
+++ b/packages/template-tts-azure/package.json
@@ -25,6 +25,7 @@
"devDependencies": {
"@types/node": "20.12.14",
"@remotion/eslint-config-flat": "workspace:*",
+ "@remotion/eslint-plugin": "workspace:*",
"@types/md5": "2.3.0",
"@types/react": "19.0.0",
"eslint": "9.19.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 064068aae9..fb2a2e9cc3 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -3315,6 +3315,9 @@ importers:
'@remotion/eslint-config-flat':
specifier: workspace:*
version: link:../eslint-config-flat
+ '@remotion/eslint-plugin':
+ specifier: workspace:*
+ version: link:../eslint-plugin
'@types/md5':
specifier: 2.3.0
version: 2.3.0