Skip to content

🎥 Make videos programmatically with React

Fixes for the Next.js template

Jonny Burger38b8534aafd1
diff --git a/packages/promo-pages/package.json b/packages/promo-pages/package.json
index 6ef4e9794b..01e58c4a63 100644
--- a/packages/promo-pages/package.json
+++ b/packages/promo-pages/package.json
@@ -30,7 +30,7 @@
"@types/react": "19.0.0",
"@types/react-dom": "19.0.0",
"eslint": "9.19.0",
- "eslint-config-next": "15.0.4",
+ "eslint-config-next": "15.1.6",
"plyr": "^3.7.3",
"postcss": "8.4.47",
"tailwindcss": "4.0.0",
diff --git a/packages/template-next-app-tailwind/deploy.mjs b/packages/template-next-app-tailwind/deploy.mjs
index 6c4358522f..c97ac8cb78 100644
--- a/packages/template-next-app-tailwind/deploy.mjs
+++ b/packages/template-next-app-tailwind/deploy.mjs
@@ -63,7 +63,7 @@ console.log(
process.stdout.write("Deploying site... ");
const { siteName } = await deploySite({
bucketName,
- entryPoint: path.join(process.cwd(), "remotion", "index.ts"),
+ entryPoint: path.join(process.cwd(), "remotion", "src", "index.ts"),
siteName: SITE_NAME,
region: REGION,
options: { webpackOverride },
diff --git a/packages/template-next-app-tailwind/package.json b/packages/template-next-app-tailwind/package.json
index a645eaa73c..f70e95e362 100644
--- a/packages/template-next-app-tailwind/package.json
+++ b/packages/template-next-app-tailwind/package.json
@@ -44,6 +44,7 @@
"dotenv": "16.0.3",
"eslint": "9.19.0",
"@next/eslint-plugin-next": "15.1.6",
+ "eslint-config-next": "15.1.6",
"postcss": "8.4.47",
"prettier": "3.3.3",
"tailwindcss": "4.0.3",
diff --git a/packages/template-next-app/deploy.mjs b/packages/template-next-app/deploy.mjs
index a8cbca25ba..9b9ebf2735 100644
--- a/packages/template-next-app/deploy.mjs
+++ b/packages/template-next-app/deploy.mjs
@@ -62,7 +62,7 @@ console.log(
process.stdout.write("Deploying site... ");
const { siteName } = await deploySite({
bucketName,
- entryPoint: path.join(process.cwd(), "remotion", "index.ts"),
+ entryPoint: path.join(process.cwd(), "src", "remotion", "index.ts"),
siteName: SITE_NAME,
region: REGION,
});
diff --git a/packages/template-next-app/package.json b/packages/template-next-app/package.json
index 41ed9ca89a..6d4f9c7eea 100644
--- a/packages/template-next-app/package.json
+++ b/packages/template-next-app/package.json
@@ -35,6 +35,7 @@
"dotenv": "16.0.3",
"eslint": "9.19.0",
"@next/eslint-plugin-next": "15.1.6",
+ "eslint-config-next": "15.1.6",
"typescript": "5.5.4",
"prettier": "3.3.3",
"@eslint/eslintrc": "3.1.0"
diff --git a/packages/template-next-pages/deploy.mjs b/packages/template-next-pages/deploy.mjs
index a8cbca25ba..9b9ebf2735 100644
--- a/packages/template-next-pages/deploy.mjs
+++ b/packages/template-next-pages/deploy.mjs
@@ -62,7 +62,7 @@ console.log(
process.stdout.write("Deploying site... ");
const { siteName } = await deploySite({
bucketName,
- entryPoint: path.join(process.cwd(), "remotion", "index.ts"),
+ entryPoint: path.join(process.cwd(), "src", "remotion", "index.ts"),
siteName: SITE_NAME,
region: REGION,
});
diff --git a/packages/template-next-pages/package.json b/packages/template-next-pages/package.json
index f5be68764b..04895d359b 100644
--- a/packages/template-next-pages/package.json
+++ b/packages/template-next-pages/package.json
@@ -35,6 +35,7 @@
"@types/web": "0.0.166",
"eslint": "9.19.0",
"@next/eslint-plugin-next": "15.1.6",
+ "eslint-config-next": "15.1.6",
"typescript": "5.5.4",
"prettier": "3.3.3"
}
diff --git a/packages/template-next-pages/src/pages/_app.tsx b/packages/template-next-pages/src/pages/_app.tsx
index ecd2e56d70..9c00895b0f 100644
--- a/packages/template-next-pages/src/pages/_app.tsx
+++ b/packages/template-next-pages/src/pages/_app.tsx
@@ -1,4 +1,4 @@
-import "../styles/global.css";
+import "../../styles/global.css";
import type { AppProps } from "next/app";
function MyApp({ Component, pageProps }: AppProps) {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 8cff008f11..9223a888ae 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1747,8 +1747,8 @@ importers:
specifier: 9.19.0
version: 9.19.0
eslint-config-next:
- specifier: 15.0.4
+ specifier: 15.1.6
plyr:
specifier: ^3.7.3
version: 3.7.3
@@ -2436,6 +2436,9 @@ importers:
eslint:
specifier: 9.19.0
version: 9.19.0
+ eslint-config-next:
+ specifier: 15.1.6
prettier:
specifier: 3.3.3
version: 3.3.3
@@ -2521,6 +2524,9 @@ importers:
eslint:
specifier: 9.19.0
version: 9.19.0
+ eslint-config-next:
+ specifier: 15.1.6
postcss:
specifier: 8.4.47
version: 8.4.47
@@ -2600,6 +2606,9 @@ importers:
eslint:
specifier: 9.19.0
version: 9.19.0
+ eslint-config-next:
+ specifier: 15.1.6
prettier:
specifier: 3.3.3
version: 3.3.3
@@ -11218,12 +11227,6 @@ packages:
resolution: {integrity: sha512-d9AFQVPEYNr+aqokIiPLNK/MTyt3DWa/dpKveiAaVccUadFbhFEvY6FXYX2LJO2Hv7PHnLBu2oWwB4uBuHjr/w==}
- resolution: {integrity: sha512-rbsF17XGzHtR7SDWzWpavSfum3/UdnF8bAaisnKwP//si3KWPTedVUsflAdjyK1zW3rweBjbALfKcavFneLGvg==}
- dependencies:
- fast-glob: 3.3.1
- dev: true
-
resolution: {integrity: sha512-+slMxhTgILUntZDGNgsKEYHUvpn72WP1YTlkmEhS51vnVd7S9jEEy0n9YAMcI21vUG4akTw9voWH02lrClt/yw==}
dependencies:
@@ -15645,7 +15648,6 @@ packages:
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
- dev: false
resolution: {integrity: sha512-eTH+UOR4I7WbdQnG4Z48ebIA6Bgi7WO8HvFEneeYBxG8qCOYgTOFPSg6ek9ITIDvGjDQzWHcoWHCDO2biByNzA==}
@@ -15731,7 +15733,6 @@ packages:
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
- dev: false
resolution: {integrity: sha512-Wy+/sdEH9kI3w9civgACwabHbKl+qIOu0uFZ9IMKzX3Jpv9og0ZBJrZExGrPpFAY7rWsXuxs5e7CPPP17A4eYA==}
@@ -15780,7 +15781,6 @@ packages:
dependencies:
'@typescript-eslint/types': 8.12.2
'@typescript-eslint/visitor-keys': 8.12.2
- dev: false
/@typescript-eslint/[email protected]:
resolution: {integrity: sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==}
@@ -15847,7 +15847,6 @@ packages:
transitivePeerDependencies:
- eslint
- supports-color
- dev: false
resolution: {integrity: sha512-95OsL6J2BtzoBxHicoXHxgk3z+9P3BEcQTpBKriqiYzLKnM2DeSqs+sndMKdamU8FosiadQFT3D+BSL9EKnAJQ==}
@@ -15883,7 +15882,6 @@ packages:
/@typescript-eslint/[email protected]:
resolution: {integrity: sha512-VwDwMF1SZ7wPBUZwmMdnDJ6sIFk4K4s+ALKLP6aIQsISkPv8jhiw65sAK6SuWODN/ix+m+HgbYDkH+zLjrzvOA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- dev: false
/@typescript-eslint/[email protected]:
resolution: {integrity: sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==}
@@ -15973,7 +15971,6 @@ packages:
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
- dev: false
/@typescript-eslint/[email protected]([email protected]):
resolution: {integrity: sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==}
@@ -16083,7 +16080,6 @@ packages:
transitivePeerDependencies:
- supports-color
- typescript
- dev: false
resolution: {integrity: sha512-xcXBfcq0Kaxgj7dwejMbFyq7IOHgpNMtVuDveK7w3ZGwG9owKzhALVwKpTF2yrZmEwl9SWdetf3fxNzJQaVuxw==}
@@ -16131,7 +16127,6 @@ packages:
dependencies:
'@typescript-eslint/types': 8.12.2
eslint-visitor-keys: 3.4.3
- dev: false
/@typescript-eslint/[email protected]:
resolution: {integrity: sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==}
@@ -19754,8 +19749,8 @@ packages:
source-map: 0.6.1
dev: false
- resolution: {integrity: sha512-97mLaAhbJKVQYXUBBrenRtEUAA6bNDPxWfaFEd6mEhKfpajP4wJrW4l7BUlHuYWxR8oQa9W014qBJpumpJQwWA==}
+ resolution: {integrity: sha512-Wd1uy6y7nBbXUSg9QAuQ+xYEKli5CgUhLjz1QHW11jLDis5vK5XB3PemL6jEmy7HrdhaRFDz+GTZ/3FoH+EUjg==}
peerDependencies:
eslint: ^7.23.0 || ^8.0.0 || ^9.0.0
typescript: '>=3.3.1'
@@ -19763,14 +19758,14 @@ packages:
typescript:
optional: true
dependencies:
- '@next/eslint-plugin-next': 15.0.4
+ '@next/eslint-plugin-next': 15.1.6
'@rushstack/eslint-patch': 1.10.4
- '@typescript-eslint/eslint-plugin': 8.21.0(@typescript-eslint/[email protected])([email protected])([email protected])
- '@typescript-eslint/parser': 8.21.0([email protected])([email protected])
+ '@typescript-eslint/eslint-plugin': 8.12.2(@typescript-eslint/[email protected])([email protected])([email protected])
+ '@typescript-eslint/parser': 8.12.2([email protected])([email protected])
eslint: 9.19.0
eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
- eslint-plugin-import: 2.31.0(@typescript-eslint/[email protected])([email protected])([email protected])
+ eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
+ eslint-plugin-import: 2.31.0(@typescript-eslint/[email protected])([email protected])([email protected])
eslint-plugin-jsx-a11y: 6.10.0([email protected])
eslint-plugin-react: 7.37.4([email protected])
eslint-plugin-react-hooks: 5.0.0([email protected])
@@ -19831,7 +19826,7 @@ packages:
- supports-color
dev: true
resolution: {integrity: sha512-ud9aw4szY9cCT1EWWdGv1L1XR6hh2PaRWif0j2QjQ0pgTY/69iw+W0Z4qZv5wHahOl8isEr+k/JnyAqNQkLkIA==}
engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies:
@@ -19848,8 +19843,8 @@ packages:
debug: 4.3.7
enhanced-resolve: 5.18.0
eslint: 9.19.0
- eslint-module-utils: 2.12.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
- eslint-plugin-import: 2.31.0(@typescript-eslint/[email protected])([email protected])([email protected])
+ eslint-module-utils: 2.12.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
+ eslint-plugin-import: 2.31.0(@typescript-eslint/[email protected])([email protected])([email protected])
fast-glob: 3.3.2
get-tsconfig: 4.8.1
is-bun-module: 1.2.1
@@ -19921,7 +19916,7 @@ packages:
- supports-color
dev: true
resolution: {integrity: sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==}
engines: {node: '>=4'}
peerDependencies:
@@ -19942,11 +19937,11 @@ packages:
eslint-import-resolver-webpack:
optional: true
dependencies:
- '@typescript-eslint/parser': 8.21.0([email protected])([email protected])
+ '@typescript-eslint/parser': 8.12.2([email protected])([email protected])
debug: 3.2.7
eslint: 9.19.0
eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
+ eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
transitivePeerDependencies:
- supports-color
dev: true
@@ -20024,7 +20019,7 @@ packages:
- supports-color
dev: true
resolution: {integrity: sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==}
engines: {node: '>=4'}
peerDependencies:
@@ -20035,7 +20030,7 @@ packages:
optional: true
dependencies:
'@rtsao/scc': 1.1.0
- '@typescript-eslint/parser': 8.21.0([email protected])([email protected])
+ '@typescript-eslint/parser': 8.12.2([email protected])([email protected])
array-includes: 3.1.8
array.prototype.findlastindex: 1.2.5
array.prototype.flat: 1.3.2
@@ -20044,7 +20039,7 @@ packages:
doctrine: 2.1.0
eslint: 9.19.0
eslint-import-resolver-node: 0.3.9
- eslint-module-utils: 2.12.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
+ eslint-module-utils: 2.12.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
hasown: 2.0.2
is-core-module: 2.15.1
is-glob: 4.0.3