Skip to content

🎥 Make videos programmatically with React

remix template now on remotion-dev org

Jonny Burgerdb8eb58f5bcb
diff --git a/packages/create-video/src/templates.ts b/packages/create-video/src/templates.ts
index e00ea56037..03b7534b05 100644
--- a/packages/create-video/src/templates.ts
+++ b/packages/create-video/src/templates.ts
@@ -92,8 +92,8 @@ export const FEATURED_TEMPLATES: Template[] = [
{
homePageLabel: 'Remix',
shortName: 'Remix',
- org: 'florentpergoud',
- repoName: 'remotion-remix-template',
+ org: 'remotion-dev',
+ repoName: 'template-remix',
description: 'Remotion + Remix Starter Kit',
longerDescription:
'A software-as-a-service starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Built with remix.run.',
diff --git a/packages/create-video/src/test/validate-templates.test.ts b/packages/create-video/src/test/validate-templates.test.ts
index 8700ec1be8..20d4d513b0 100644
--- a/packages/create-video/src/test/validate-templates.test.ts
+++ b/packages/create-video/src/test/validate-templates.test.ts
@@ -4,16 +4,19 @@ import type {Template} from '../templates';
import {FEATURED_TEMPLATES} from '../templates';
const getFileForTemplate = (template: Template, file: string) => {
- return `https://raw.githubusercontent.com/${template.org}/${template.repoName}/${template.defaultBranch}/${file}`;
+ return `https://github.com/${template.org}/${template.repoName}/raw/${template.defaultBranch}/${file}`;
};
for (const template of FEATURED_TEMPLATES) {
test(template.shortName + ' should have a valid package.json', async () => {
- const packageLockJson = getFileForTemplate(template, 'package.json');
+ const packageJson = getFileForTemplate(template, 'package.json');
- const res = await got(packageLockJson, {
+ const res = await got(packageJson, {
throwHttpErrors: false,
+ cache: false,
+ followRedirect: true,
});
+
expect(res.statusCode).toBe(200);
const body = JSON.parse(res.body);