🎥 Make videos programmatically with React
cannot do the circular dependency
Jonny Burger3494f5697db2
diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 9e86c70b5e..41125ad5de 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -64,7 +64,6 @@"@types/semver": "^7.3.4","@remotion/zod-types": "workspace:*","@remotion/tailwind": "workspace:*",- "@remotion/lambda": "workspace:*","eslint": "8.42.0","eslint-plugin-10x": "1.5.2","eslint-plugin-react": "7.32.2",diff --git a/packages/cli/src/lambda-command.ts b/packages/cli/src/lambda-command.tsindex ebb405969f..0abc84552e 100644--- a/packages/cli/src/lambda-command.ts+++ b/packages/cli/src/lambda-command.ts@@ -12,9 +12,7 @@ export const lambdaCommand = async (const path = require.resolve('@remotion/lambda', {paths: [remotionRoot],});- const {LambdaInternals} =- // eslint-disable-next-line @typescript-eslint/consistent-type-imports- require(path) as typeof import('@remotion/lambda');+ const {LambdaInternals} = require(path);await LambdaInternals.executeCommand(args, remotionRoot, logLevel);process.exit(0);diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 4df0c41c33..6ec78ba4c7 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -218,9 +218,6 @@ importers:'@jonny/eslint-config':specifier: 3.0.276version: 3.0.276([email protected])([email protected])- '@remotion/lambda':- specifier: workspace:*- version: link:../lambda'@remotion/tailwind':specifier: workspace:*version: link:../tailwind