Skip to content

🎥 Make videos programmatically with React

alright

Jonny Burger2f1063bec642
diff --git a/packages/docs/src/pages/index.tsx b/packages/docs/src/pages/index.tsx
index 11c58845ea..972161826b 100644
--- a/packages/docs/src/pages/index.tsx
+++ b/packages/docs/src/pages/index.tsx
@@ -1,5 +1,6 @@
import {useColorMode} from '@docusaurus/theme-common';
import '@remotion/promo-pages/dist/Homepage.css';
+// @ts-expect-error
import {NewLanding} from '@remotion/promo-pages/dist/Homepage.js';
import '@remotion/promo-pages/dist/tailwind.css';
import Layout from '@theme/Layout';
diff --git a/packages/docs/tsconfig.json b/packages/docs/tsconfig.json
index d1897513d0..369b2d8f37 100644
--- a/packages/docs/tsconfig.json
+++ b/packages/docs/tsconfig.json
@@ -36,6 +36,7 @@
{"path": "../paths"},
{"path": "../google-fonts"},
{"path": "../preload"},
+ {"path": "../promo-pages"},
{"path": "../rive"},
{"path": "../skia"},
{"path": "../three"},
diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json
index 93623a9864..4a1aaea468 100644
--- a/packages/eslint-plugin/package.json
+++ b/packages/eslint-plugin/package.json
@@ -30,12 +30,11 @@
},
"exports": {
".": {
- "import": "./dist/esm/index.mjs",
- "module": "./dist/esm/index.mjs",
+ "types": "./dist/index.d.ts",
"require": "./dist/cjs/index.js",
- "types": "./dist/index.d.ts"
- },
- "./package.json": "./package.json"
+ "module": "./dist/esm/index.mjs",
+ "import": "./dist/esm/index.mjs"
+ }
},
"private": false,
"homepage": "https://www.remotion.dev/docs/brownfield#install-the-eslint-plugin"
diff --git a/packages/lambda-client/tsconfig.json b/packages/lambda-client/tsconfig.json
index d0ebe1ffa7..b54936718a 100644
--- a/packages/lambda-client/tsconfig.json
+++ b/packages/lambda-client/tsconfig.json
@@ -5,5 +5,5 @@
"outDir": "dist"
},
"include": ["src"],
- "references": [{"path": "../serverless"}]
+ "references": [{"path": "../serverless-client"}]
}
diff --git a/packages/promo-pages/tsconfig.json b/packages/promo-pages/tsconfig.json
index 9f08136d03..5627da8600 100644
--- a/packages/promo-pages/tsconfig.json
+++ b/packages/promo-pages/tsconfig.json
@@ -1,15 +1,11 @@
{
+ "extends": "../tsconfig.settings.json",
"compilerOptions": {
- "target": "ES2021",
+ "rootDir": "src",
+ "outDir": "dist",
"module": "Preserve",
- "moduleResolution": "Bundler",
- "jsx": "react-jsx",
- "strict": true,
- "noEmit": true,
"lib": ["ES2021", "DOM"],
- "esModuleInterop": true,
- "skipLibCheck": true,
- "forceConsistentCasingInFileNames": true,
- "noUnusedLocals": true
- }
+ "moduleResolution": "Bundler"
+ },
+ "include": ["src"]
}
diff --git a/packages/serverless-client/package.json b/packages/serverless-client/package.json
index 2aedf7258d..9d0bfdbe2d 100644
--- a/packages/serverless-client/package.json
+++ b/packages/serverless-client/package.json
@@ -25,6 +25,7 @@
"dependencies": {},
"devDependencies": {
"@remotion/streaming": "workspace:*",
+ "@remotion/renderer": "workspace:*",
"@remotion/licensing": "workspace:*",
"@remotion/eslint-config-internal": "workspace:*",
"eslint": "9.19.0"
@@ -32,9 +33,9 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
+ "require": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
- "import": "./dist/esm/index.mjs",
- "require": "./dist/cjs/index.js"
+ "import": "./dist/esm/index.mjs"
}
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 1fe7505aab..c1dc61f54b 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1922,6 +1922,9 @@ importers:
'@remotion/licensing':
specifier: workspace:*
version: link:../licensing
+ '@remotion/renderer':
+ specifier: workspace:*
+ version: link:../renderer
'@remotion/streaming':
specifier: workspace:*
version: link:../streaming