Skip to content

🎥 Make videos programmatically with React

edit other refrences

Hunain Ahmedb2dbcada2939
diff --git a/packages/create-video/src/pkg-managers.ts b/packages/create-video/src/pkg-managers.ts
index b4150a28f9..b21fbabdd8 100644
--- a/packages/create-video/src/pkg-managers.ts
+++ b/packages/create-video/src/pkg-managers.ts
@@ -154,7 +154,7 @@ export const getUpgradeCommand = (manager: PackageManager) => {
export const getDevCommand = (manager: PackageManager, template: Template) => {
if (
- template.cliId === 'remix' ||
+ template.cliId === 'react-router' ||
template.cliId === 'next' ||
template.cliId === 'next-tailwind' ||
template.cliId === 'next-pages-dir'
diff --git a/packages/create-video/src/templates.ts b/packages/create-video/src/templates.ts
index ad9f3276cf..36e84ee47b 100644
--- a/packages/create-video/src/templates.ts
+++ b/packages/create-video/src/templates.ts
@@ -30,7 +30,7 @@ export type Template = {
| 'next'
| 'next-tailwind'
| 'next-pages-dir'
- | 'remix'
+ | 'react-router'
| 'three'
| 'still'
| 'tts'
@@ -184,24 +184,24 @@ export const FEATURED_TEMPLATES: Template[] = [
allowEnableTailwind: true,
},
{
- homePageLabel: 'Remix',
- shortName: 'Remix',
+ homePageLabel: 'React Router 7',
+ shortName: 'React Router',
org: 'remotion-dev',
- repoName: 'template-remix',
- description: 'Remotion + Remix Starter Kit',
+ repoName: 'template-react-router',
+ description: 'Remotion + React Router 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.',
+ 'A software-as-a-service starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Built with React Router 7.',
promoBanner: {
width: 1280,
height: 720,
src: '/img/remix-template.png',
},
- cliId: 'remix' as const,
+ cliId: 'react-router' as const,
type: 'image' as const,
defaultBranch: 'main',
featuredOnHomePage: null,
previewURL: null,
- templateInMonorepo: 'template-remix',
+ templateInMonorepo: 'template-react-router',
allowEnableTailwind: false,
},
{
diff --git a/packages/docs/src/components/IconForTemplate.tsx b/packages/docs/src/components/IconForTemplate.tsx
index 13268b76e7..0b5798d12e 100644
--- a/packages/docs/src/components/IconForTemplate.tsx
+++ b/packages/docs/src/components/IconForTemplate.tsx
@@ -110,7 +110,7 @@ export const IconForTemplate: React.FC<{
);
}
- if (template.cliId === 'remix') {
+ if (template.cliId === 'react-router') {
return (
<RemixIcon
style={{
diff --git a/packages/it-tests/src/templates/validate-templates.test.ts b/packages/it-tests/src/templates/validate-templates.test.ts
index 34d34902c4..40121dd621 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)|(ts-node src\/studio)|(next dev)|(remix dev)/,
+ /(remotion\sstudio)|(ts-node src\/studio)|(next dev)|(react-router dev)/,
);
expect(scripts.build).toMatch(
- /(remotion\sbundle)|(ts-node\ssrc\/render)|(remix\sbuild)|(next\sbuild)/,
+ /(remotion\sbundle)|(ts-node\ssrc\/render)|(react-router build)|(next\sbuild)/,
);
});