🎥 Make videos programmatically with React
Recognize bun.lock as lockfile
Jonny Burger27faab3e8320
diff --git a/packages/docs/docs/docker.mdx b/packages/docs/docs/docker.mdxindex 794a9ce507..75be2a01a9 100644--- a/packages/docs/docs/docker.mdx+++ b/packages/docs/docs/docker.mdx@@ -30,7 +30,7 @@ RUN apt install -y \libcups2# Copy everything from your project to the Docker image. Adjust if needed.-COPY package.json package*.json yarn.lock* pnpm-lock.yaml* bun.lockb* tsconfig.json* remotion.config.* ./+COPY package.json package*.json yarn.lock* pnpm-lock.yaml* bun.lockb* bun.lock* tsconfig.json* remotion.config.* ./COPY src ./src# If you have a public folder:@@ -88,7 +88,7 @@ RUN apt install -y \</p>```docker-COPY package.json package*.json yarn.lock* pnpm-lock.yaml* bun.lockb* tsconfig.json* remotion.config.* ./+COPY package.json package*.json yarn.lock* pnpm-lock.yaml* bun.lockb* bun.lock* tsconfig.json* remotion.config.* ./COPY src ./srcCOPY public ./public```diff --git a/packages/docs/docs/studio/deploy-server.mdx b/packages/docs/docs/studio/deploy-server.mdxindex 2c40efb7c2..ec5a33c300 100644--- a/packages/docs/docs/studio/deploy-server.mdx+++ b/packages/docs/docs/studio/deploy-server.mdx@@ -5,12 +5,7 @@ sidebar_label: Deploy to a VPScrumb: 'Remotion Studio'----<YouTube- minutes={3}- href="https://www.youtube.com/watch?v=430B9xSs06U"- thumb="https://i.ytimg.com/vi/430B9xSs06U/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCFJ4FoC-8enbWW4aU8uo9NLhEl6w"- title="Deploy the Remotion Studio"-/>+<YouTube minutes={3} href="https://www.youtube.com/watch?v=430B9xSs06U" thumb="https://i.ytimg.com/vi/430B9xSs06U/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCFJ4FoC-8enbWW4aU8uo9NLhEl6w" title="Deploy the Remotion Studio" />_available from v4.0.46_@@ -47,7 +42,7 @@ RUN apt install -y \libcups2# Copy everything from your project to the Docker image. Adjust if needed.-COPY package.json package*.json yarn.lock* pnpm-lock.yaml* bun.lockb* tsconfig.json* remotion.config.* ./+COPY package.json package*.json yarn.lock* pnpm-lock.yaml* bun.lockb* bun.lock* tsconfig.json* remotion.config.* ./COPY src ./src# If you have a public folder:diff --git a/packages/it-tests/src/templates/validate-templates.test.ts b/packages/it-tests/src/templates/validate-templates.test.tsindex 9e5650e68e..44f058215f 100644--- a/packages/it-tests/src/templates/validate-templates.test.ts+++ b/packages/it-tests/src/templates/validate-templates.test.ts@@ -87,6 +87,7 @@ describe('Templates should be valid', () => {false,);expect(existsSync(getFileForTemplate(template, 'bun.lockb'))).toBe(false);+ expect(existsSync(getFileForTemplate(template, 'bun.lock'))).toBe(false);});it(`${template.shortName} should have a standard entry point`, async () => {diff --git a/packages/studio-server/src/preview-server/get-package-manager.ts b/packages/studio-server/src/preview-server/get-package-manager.tsindex 782602706d..36bb2d699c 100644--- a/packages/studio-server/src/preview-server/get-package-manager.ts+++ b/packages/studio-server/src/preview-server/get-package-manager.ts@@ -28,6 +28,12 @@ export const lockFilePaths: LockfilePath[] = [installCommand: 'pnpm i',startCommand: 'pnpm exec remotion studio',},+ {+ path: 'bun.lock',+ manager: 'bun',+ installCommand: 'bun i',+ startCommand: 'bunx remotion studio',+ },{path: 'bun.lockb',manager: 'bun',