🎥 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.jsonindex 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.mjsindex 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.jsonindex 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.mjsindex 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.jsonindex 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.mjsindex 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.jsonindex 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.tsxindex 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.yamlindex 8cff008f11..9223a888ae 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -1747,8 +1747,8 @@ importers:specifier: 9.19.0version: 9.19.0eslint-config-next:- specifier: 15.0.4- version: 15.0.4([email protected])([email protected])+ specifier: 15.1.6+ version: 15.1.6([email protected])([email protected])plyr:specifier: ^3.7.3version: 3.7.3@@ -2436,6 +2436,9 @@ importers:eslint:specifier: 9.19.0version: 9.19.0+ eslint-config-next:+ specifier: 15.1.6+ version: 15.1.6([email protected])([email protected])prettier:specifier: 3.3.3version: 3.3.3@@ -2521,6 +2524,9 @@ importers:eslint:specifier: 9.19.0version: 9.19.0+ eslint-config-next:+ specifier: 15.1.6+ version: 15.1.6([email protected])([email protected])postcss:specifier: 8.4.47version: 8.4.47@@ -2600,6 +2606,9 @@ importers:eslint:specifier: 9.19.0version: 9.19.0+ eslint-config-next:+ specifier: 15.1.6+ version: 15.1.6([email protected])([email protected])prettier:specifier: 3.3.3version: 3.3.3@@ -11218,12 +11227,6 @@ packages:/@next/[email protected]:resolution: {integrity: sha512-d9AFQVPEYNr+aqokIiPLNK/MTyt3DWa/dpKveiAaVccUadFbhFEvY6FXYX2LJO2Hv7PHnLBu2oWwB4uBuHjr/w==}- /@next/[email protected]:- resolution: {integrity: sha512-rbsF17XGzHtR7SDWzWpavSfum3/UdnF8bAaisnKwP//si3KWPTedVUsflAdjyK1zW3rweBjbALfKcavFneLGvg==}- dependencies:- fast-glob: 3.3.1- dev: true-/@next/[email protected]:resolution: {integrity: sha512-+slMxhTgILUntZDGNgsKEYHUvpn72WP1YTlkmEhS51vnVd7S9jEEy0n9YAMcI21vUG4akTw9voWH02lrClt/yw==}dependencies:@@ -15645,7 +15648,6 @@ packages:typescript: 5.5.4transitivePeerDependencies:- supports-color- dev: false/@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-eTH+UOR4I7WbdQnG4Z48ebIA6Bgi7WO8HvFEneeYBxG8qCOYgTOFPSg6ek9ITIDvGjDQzWHcoWHCDO2biByNzA==}@@ -15731,7 +15733,6 @@ packages:typescript: 5.5.4transitivePeerDependencies:- supports-color- dev: falseresolution: {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: falseresolution: {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.4transitivePeerDependencies:- 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: falseresolution: {integrity: sha512-xcXBfcq0Kaxgj7dwejMbFyq7IOHgpNMtVuDveK7w3ZGwG9owKzhALVwKpTF2yrZmEwl9SWdetf3fxNzJQaVuxw==}@@ -16131,7 +16127,6 @@ packages:dependencies:'@typescript-eslint/types': 8.12.2eslint-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.1dev: false- resolution: {integrity: sha512-97mLaAhbJKVQYXUBBrenRtEUAA6bNDPxWfaFEd6mEhKfpajP4wJrW4l7BUlHuYWxR8oQa9W014qBJpumpJQwWA==}+ resolution: {integrity: sha512-Wd1uy6y7nBbXUSg9QAuQ+xYEKli5CgUhLjz1QHW11jLDis5vK5XB3PemL6jEmy7HrdhaRFDz+GTZ/3FoH+EUjg==}peerDependencies:eslint: ^7.23.0 || ^8.0.0 || ^9.0.0typescript: '>=3.3.1'@@ -19763,14 +19758,14 @@ packages:typescript:optional: truedependencies:- '@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.0eslint-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-colordev: true- /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):+ /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):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.7enhanced-resolve: 5.18.0eslint: 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.2get-tsconfig: 4.8.1is-bun-module: 1.2.1@@ -19921,7 +19916,7 @@ packages:- supports-colordev: true- /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):+ /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):resolution: {integrity: sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==}engines: {node: '>=4'}peerDependencies:@@ -19942,11 +19937,11 @@ packages:eslint-import-resolver-webpack:optional: truedependencies:- '@typescript-eslint/parser': 8.21.0([email protected])([email protected])+ '@typescript-eslint/parser': 8.12.2([email protected])([email protected])debug: 3.2.7eslint: 9.19.0eslint-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-colordev: true@@ -20024,7 +20019,7 @@ packages:- supports-colordev: trueresolution: {integrity: sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==}engines: {node: '>=4'}peerDependencies:@@ -20035,7 +20030,7 @@ packages:optional: truedependencies:'@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.8array.prototype.findlastindex: 1.2.5array.prototype.flat: 1.3.2@@ -20044,7 +20039,7 @@ packages:doctrine: 2.1.0eslint: 9.19.0eslint-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.2is-core-module: 2.15.1is-glob: 4.0.3