🎥 Make videos programmatically with React
package
Jonny Burgerf049770e3c16
diff --git a/packages/cli/src/list-of-remotion-packages.ts b/packages/cli/src/list-of-remotion-packages.tsindex ef45010252..42a8a48236 100644--- a/packages/cli/src/list-of-remotion-packages.ts+++ b/packages/cli/src/list-of-remotion-packages.ts@@ -28,7 +28,7 @@ export const listOfRemotionPackages = ['@remotion/zod-types','@remotion/tailwind','@remotion/transitions',- '@remotion/install-whisper',+ '@remotion/install-whisper-cpp','@remotion/animation-utils','remotion',];diff --git a/packages/create-video/src/list-of-remotion-packages.ts b/packages/create-video/src/list-of-remotion-packages.tsindex 16fef64f2b..921f4008bc 100644--- a/packages/create-video/src/list-of-remotion-packages.ts+++ b/packages/create-video/src/list-of-remotion-packages.ts@@ -6,7 +6,7 @@ export const listOfRemotionPackages = ['@remotion/cloudrun','@remotion/eslint-config','@remotion/eslint-plugin',- '@remotion/install-whisper',+ '@remotion/install-whisper-cpp','@remotion/renderer','@remotion/skia','@remotion/lottie',diff --git a/packages/docs/components/TableOfContents/api.tsx b/packages/docs/components/TableOfContents/api.tsxindex af8ac18d8b..bbc21be130 100644--- a/packages/docs/components/TableOfContents/api.tsx+++ b/packages/docs/components/TableOfContents/api.tsx@@ -100,6 +100,10 @@ export const TableOfContents: React.FC = () => {<strong>@remotion/layout-utils</strong><div>Layout helpers</div></TOCItem>+ <TOCItem link="/docs/install-whisper-cpp">+ <strong>@remotion/install-whisper-cpp</strong>+ <div>Cross-platform Whisper.cpp installation</div>+ </TOCItem></Grid></div>);diff --git a/packages/docs/components/TableOfContents/install-whisper-cpp.tsx b/packages/docs/components/TableOfContents/install-whisper-cpp.tsxnew file mode 100644index 0000000000..1636ea5efe--- /dev/null+++ b/packages/docs/components/TableOfContents/install-whisper-cpp.tsx@@ -0,0 +1,20 @@+import React from "react";+import { Grid } from "./Grid";+import { TOCItem } from "./TOCItem";++export const TableOfContents: React.FC = () => {+ return (+ <div>+ <Grid>+ <TOCItem link="/docs/install-whisper-cpp/install-whisper-cpp">+ <strong>installWhisperCpp()</strong>+ <div>Install the whisper.cpp software</div>+ </TOCItem>+ <TOCItem link="/docs/install-whisper-cpp/download-whisper-model">+ <strong>downloadWhisperModel()</strong>+ <div>Download a Whisper model</div>+ </TOCItem>+ </Grid>+ </div>+ );+};diff --git a/packages/docs/docs/install-whisper-cpp/download-whisper-model.mdx b/packages/docs/docs/install-whisper-cpp/download-whisper-model.mdxnew file mode 100644index 0000000000..b0a854efdc--- /dev/null+++ b/packages/docs/docs/install-whisper-cpp/download-whisper-model.mdx@@ -0,0 +1,61 @@+---+title: downloadWhisperModel()+crumb: "@remotion/install-whisper-cpp"+---++# downloadWhisperModel()<AvailableFrom v="4.0.115"/>++Downloads a Whisper.cpp model to a folder.+You should first install Whisper.cpp, for example through [`installWhisperCpp()`](/docs/install-whisper-cpp/install-whisper-cpp).++```tsx twoslash title="install-whisper.mjs"+// @module: esnext+// @target: es2022+import path from "path";+import { downloadWhisperModel } from "@remotion/install-whisper-cpp";++const { alreadyExisted } = await downloadWhisperModel({+ model: "base.en",+ folder: path.join(process.cwd(), "whisper.cpp"),+});+```++## Options++### `folder`++The folder to download the model to. The model will be downloaded into this folder with the filename `ggml-${model}.bin`++### `model`++The model to download. Possible values: `tiny`, `tiny.en`, `base`, `base.en`, `small`, `small.en`, `medium`, `medium.en`, `large-v1`, `large-v2`, `large-v3`.++### `onProgress?`++Act upon download progress. This is the function signature:++```tsx twoslash+import type { OnProgress } from "@remotion/install-whisper-cpp";++const onProgress: OnProgress = (+ downloadedBytes: number,+ totalBytes: number,+) => {+ const progress = downloadedBytes / totalBytes;+};+```++### `printOutput?`++Print human-readable progress to the console. Default: `true`.++## Return Value++Whether a file at the output path already existed.+If it did, the function did not do anything and returned `true`.++## See also++- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/install-whisper-cpp/src/download-whisper-model.ts)+- [`@remotion/install-whisper-cpp`](/docs/install-whisper-cpp)+- [`installWhisperCpp()`](/docs/install-whisper-cpp/install-whisper-cpp)diff --git a/packages/docs/docs/install-whisper-cpp/index.mdx b/packages/docs/docs/install-whisper-cpp/index.mdxnew file mode 100644index 0000000000..9056858dcd--- /dev/null+++ b/packages/docs/docs/install-whisper-cpp/index.mdx@@ -0,0 +1,47 @@+---+title: "@remotion/install-whisper-cpp"+crumb: "Transcribe audio locally"+---++_Available from v4.0.115_++With [Whisper.cpp](https://github.com/ggerganov/whisper.cpp), you can transcribe audio locally on your machine.+This package provides easy to use cross-platform functions to install Whisper.cpp and a model.++import { TableOfContents } from "../../components/TableOfContents/install-whisper-cpp";++<Installation pkg="@remotion/install-whisper-cpp" />++## Example usage++Install Whisper v1.5.4 and the `base.en` model to the `whisper.cpp` folder.++```tsx twoslash title="install-whisper.cpp"+// @module: esnext+// @target: es2022+import path from "path";+import {+ downloadWhisperModel,+ installWhisperCpp,+} from "@remotion/install-whisper-cpp";++const to = path.join(process.cwd(), "whisper.cpp");++await installWhisperCpp({+ to,+ version: "1.5.4",+});++await downloadWhisperModel({+ model: "base.en",+ folder: to,+});+```++## Functions++<TableOfContents />++## License++MITdiff --git a/packages/docs/docs/install-whisper-cpp/install-whisper-cpp.mdx b/packages/docs/docs/install-whisper-cpp/install-whisper-cpp.mdxnew file mode 100644index 0000000000..0609e43e6e--- /dev/null+++ b/packages/docs/docs/install-whisper-cpp/install-whisper-cpp.mdx@@ -0,0 +1,56 @@+---+slug: install-whisper-cpp+title: installWhisperCpp()+crumb: "@remotion/install-whisper-cpp"+---++# installWhisperCpp()<AvailableFrom v="4.0.115"/>++Installs a Whisper.cpp version into a folder.++```tsx twoslash title="install-whisper.mjs"+// @module: esnext+// @target: es2022+import path from "path";+import { installWhisperCpp } from "@remotion/install-whisper-cpp";++const { alreadyExisted } = await installWhisperCpp({+ to: path.join(process.cwd(), "whisper.cpp"),+ version: "1.5.4",+});+```++On Windows, a binary is downloaded.+On other platforms, the source is cloned from GitHub and built.++If you install Whisper.cpp into a folder which is in a Git repository, you should add the folder to the `.gitignore` file.++If the output folder already exists, the function will not do anything and return `{ alreadyExisted: true }`.++You also need to download a model for Whisper.cpp to work. You can do this with the [`downloadWhisperModel()`](/docs/install-whisper-cpp/download-whisper-model) function.++## Options++### `to`++The folder to install Whisper.cpp into.++### `version`++The version of Whisper.cpp to install. Don't include the `v` prefix.++### `printOutput?`++Whether to print the output of the installation process to the console. Defaults to `true`.++## Return value++### `alreadyExisted`++Whether the folder already existed. If it did, the function did not do anything and returned `true`.++## See also++- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/install-whisper-cpp/src/install-whisper-cpp.ts)+- [`@remotion/install-whisper-cpp`](/docs/install-whisper-cpp)+- [`downloadWhisperModel()`](/docs/install-whisper-cpp/download-whisper-model)diff --git a/packages/docs/package.json b/packages/docs/package.jsonindex da6a97e5b3..962628159e 100644--- a/packages/docs/package.json+++ b/packages/docs/package.json@@ -35,6 +35,7 @@"@remotion/cloudrun": "workspace:*","@remotion/gif": "workspace:*","@remotion/google-fonts": "workspace:*",+ "@remotion/install-whisper-cpp": "workspace:*","@remotion/lambda": "workspace:*","@remotion/layout-utils": "workspace:*","@remotion/lottie": "workspace:*",diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.jsindex 4fb96f136a..b66011e4fc 100644--- a/packages/docs/sidebars.js+++ b/packages/docs/sidebars.js@@ -491,6 +491,18 @@ module.exports = {"animation-utils/interpolate-styles",],},+ {+ type: "category",+ label: "@remotion/install-whisper-cpp",+ link: {+ type: "doc",+ id: "install-whisper-cpp/index",+ },+ items: [+ "install-whisper-cpp/install-whisper-cpp",+ "install-whisper-cpp/download-whisper-model",+ ],+ },],mainSidebar: [{diff --git a/packages/install-whisper/.eslintrc b/packages/install-whisper-cpp/.eslintrcsimilarity index 100%rename from packages/install-whisper/.eslintrcrename to packages/install-whisper-cpp/.eslintrcdiff --git a/packages/install-whisper/.prettierrc.js b/packages/install-whisper-cpp/.prettierrc.jssimilarity index 100%rename from packages/install-whisper/.prettierrc.jsrename to packages/install-whisper-cpp/.prettierrc.jsdiff --git a/packages/install-whisper-cpp/package.json b/packages/install-whisper-cpp/package.jsonnew file mode 100644index 0000000000..0056437b95--- /dev/null+++ b/packages/install-whisper-cpp/package.json@@ -0,0 +1,48 @@+{+ "name": "@remotion/install-whisper-cpp",+ "version": "4.0.114",+ "description": "Install helper for Whisper.cpp",+ "main": "dist/index.js",+ "sideEffects": false,+ "repository": {+ "url": "https://github.com/remotion-dev/remotion"+ },+ "bugs": {+ "url": "https://github.com/remotion-dev/remotion/issues"+ },+ "scripts": {+ "formatting": "prettier src --check",+ "lint": "eslint src --ext ts,tsx",+ "build": "tsc -d",+ "watch": "tsc -w"+ },+ "files": [+ "dist"+ ],+ "author": "Jonny Burger <[email protected]>",+ "license": "SEE LICENSE IN LICENSE.md",+ "dependencies": {},+ "peerDependencies": {+ "react": ">=16.8.0",+ "react-dom": ">=16.8.0"+ },+ "devDependencies": {+ "@jonny/eslint-config": "3.0.276",+ "@types/node": "18.14.6",+ "eslint": "8.42.0",+ "eslint-plugin-10x": "1.5.2",+ "eslint-plugin-react": "7.32.2",+ "eslint-plugin-react-hooks": "4.4.0",+ "prettier": "3.1.1",+ "prettier-plugin-organize-imports": "3.2.4",+ "vitest": "0.31.1"+ },+ "keywords": [+ "remotion",+ "openai",+ "whisper"+ ],+ "publishConfig": {+ "access": "public"+ }+}diff --git a/packages/install-whisper-cpp/src/download-whisper-model.ts b/packages/install-whisper-cpp/src/download-whisper-model.tsnew file mode 100644index 0000000000..38727a4054--- /dev/null+++ b/packages/install-whisper-cpp/src/download-whisper-model.ts@@ -0,0 +1,96 @@+import fs, {existsSync} from 'fs';+import {Readable} from 'node:stream';+import {finished} from 'node:stream/promises';+import type {ReadableStream} from 'node:stream/web';+import path from 'path';++const models = [+ 'tiny',+ 'tiny.en',+ 'base',+ 'base.en',+ 'small',+ 'small.en',+ 'medium',+ 'medium.en',+ 'large-v1',+ 'large-v2',+ 'large-v3',+] as const;++export type WhisperModel = (typeof models)[number];+export type OnProgress = (downloadedBytes: number, totalBytes: number) => void;++export const downloadWhisperModel = async ({+ model,+ folder,+ printOutput = true,+ onProgress,+}: {+ model: WhisperModel;+ folder: string;+ printOutput?: boolean;+ onProgress?: OnProgress;+}): Promise<{+ alreadyExisted: boolean;+}> => {+ if (!models.includes(model)) {+ throw new Error(+ `Invalid whisper model ${model}. Available: ${models.join(', ')}`,+ );+ }++ const filePath = path.join(folder, `ggml-${model}.bin`);+ if (existsSync(filePath)) {+ if (printOutput) {+ console.log(`Model already exists at ${filePath}`);+ }++ return Promise.resolve({alreadyExisted: true});+ }++ const baseModelUrl = `https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-${model}.bin`;+ if (printOutput) {+ console.log(`Downloading whisper model ${model} from ${baseModelUrl}`);+ }++ const fileStream = fs.createWriteStream(filePath);++ const {body, headers} = await fetch(baseModelUrl);+ const contentLength = headers.get('content-length');++ if (body === null) {+ throw new Error('Failed to download whisper model');+ }++ if (contentLength === null) {+ throw new Error('Content-Length header not found');+ }++ let downloaded = 0;+ let lastPrinted = 0;++ const readable = Readable.fromWeb(body as ReadableStream);+ readable.on('data', (chunk) => {+ downloaded += chunk.length;+ if (printOutput) {+ if (downloaded - lastPrinted > 1024 * 1024 * 10) {+ console.log(+ `Downloaded ${downloaded} of ${contentLength} bytes (${(+ (downloaded / Number(contentLength)) *+ 100+ ).toFixed(2)}%)`,+ );+ lastPrinted = downloaded;+ }+ }++ fileStream.write(chunk);++ onProgress?.(downloaded, parseInt(contentLength, 10));+ });++ await finished(readable);++ return {alreadyExisted: false};+};diff --git a/packages/install-whisper-cpp/src/index.ts b/packages/install-whisper-cpp/src/index.tsnew file mode 100644index 0000000000..24d31d2ac6--- /dev/null+++ b/packages/install-whisper-cpp/src/index.ts@@ -0,0 +1,6 @@+export {+ downloadWhisperModel,+ OnProgress,+ WhisperModel,+} from './download-whisper-model';+export {installWhisperCpp} from './install-whisper-cpp';diff --git a/packages/install-whisper/src/install-whisper.ts b/packages/install-whisper-cpp/src/install-whisper-cpp.tssimilarity index 61%rename from packages/install-whisper/src/install-whisper.tsrename to packages/install-whisper-cpp/src/install-whisper-cpp.tsindex 9797eb05f2..d9c6717c31 100644--- a/packages/install-whisper/src/install-whisper.ts+++ b/packages/install-whisper-cpp/src/install-whisper-cpp.ts@@ -1,16 +1,19 @@-import fs from "fs";+import fs, { existsSync, rmSync } from "fs";import { execSync } from "node:child_process";import { Readable } from "node:stream";import type { ReadableStream } from "node:stream/web";import { finished } from "node:stream/promises";import path from "path";+import type { StdioOptions } from "child_process";const installForWindows = async ({version,to,+ printOutput,}: {version: string;to: string;+ printOutput: boolean;}) => {const url = `https://github.com/ggerganov/whisper.cpp/releases/download/v${version}/whisper-bin-x64.zip`;@@ -26,45 +29,64 @@ const installForWindows = async ({execSync(`Expand-Archive -Force ${filePath} ${to}`, {shell: "powershell",- stdio: "inherit",+ stdio: printOutput ? "inherit" : "ignore",});++ rmSync(filePath);};const installWhisperForUnix = ({version,to,+ printOutput,}: {version: string;to: string;+ printOutput: boolean;}) => {+ const stdio: StdioOptions = printOutput ? "inherit" : "ignore";execSync(`git clone https://github.com/ggerganov/whisper.cpp.git ${to}`, {- stdio: "inherit",+ stdio,});execSync(`git checkout v${version}`, {- stdio: "inherit",+ stdio,cwd: to,});execSync(`make`, {cwd: to,- stdio: "inherit",+ stdio,});};-export const installWhisper = async ({+export const installWhisperCpp = async ({version,to,+ printOutput = true,}: {version: string;to: string;-}) => {+ printOutput?: boolean;+}): Promise<{+ alreadyExisted: boolean;+}> => {+ if (existsSync(to)) {+ if (printOutput) {+ console.log(`Whisper already exists at ${to}`);+ }++ return Promise.resolve({ alreadyExisted: true });+ }+if (process.platform === "darwin" || process.platform === "linux") {- installWhisperForUnix({ version, to });+ installWhisperForUnix({ version, to, printOutput });+ return Promise.resolve({ alreadyExisted: false });}if (process.platform === "win32") {- await installForWindows({ version, to });+ await installForWindows({ version, to, printOutput });+ return Promise.resolve({ alreadyExisted: false });}throw new Error(`Unsupported platform: ${process.platform}`);diff --git a/packages/install-whisper/tsconfig.json b/packages/install-whisper-cpp/tsconfig.jsonsimilarity index 100%rename from packages/install-whisper/tsconfig.jsonrename to packages/install-whisper-cpp/tsconfig.jsondiff --git a/packages/install-whisper/package.json b/packages/install-whisper/package.jsondeleted file mode 100644index b7a9ef8e4f..0000000000--- a/packages/install-whisper/package.json+++ /dev/null@@ -1,49 +0,0 @@-{- "name": "@remotion/install-whisper",- "version": "4.0.114",- "description": "Install helper for Whisper.cpp",- "main": "dist/index.js",- "sideEffects": false,- "repository": {- "url": "https://github.com/remotion-dev/remotion"- },- "bugs": {- "url": "https://github.com/remotion-dev/remotion/issues"- },- "scripts": {- "formatting": "prettier src --check",- "lint": "eslint src --ext ts,tsx",- "build": "tsc -d",- "watch": "tsc -w"- },- "files": [- "dist"- ],- "author": "Jonny Burger <[email protected]>",- "license": "SEE LICENSE IN LICENSE.md",- "dependencies": {- },- "peerDependencies": {- "react": ">=16.8.0",- "react-dom": ">=16.8.0"- },- "devDependencies": {- "@jonny/eslint-config": "3.0.276",- "@types/node": "18.14.6",- "eslint": "8.42.0",- "eslint-plugin-10x": "1.5.2",- "eslint-plugin-react": "7.32.2",- "eslint-plugin-react-hooks": "4.4.0",- "prettier": "3.1.1",- "prettier-plugin-organize-imports": "3.2.4",- "vitest": "0.31.1"- },- "keywords": [- "remotion",- "openai",- "whisper"- ],- "publishConfig": {- "access": "public"- }-}diff --git a/packages/install-whisper/src/download-model.ts b/packages/install-whisper/src/download-model.tsdeleted file mode 100644index fb071c3942..0000000000--- a/packages/install-whisper/src/download-model.ts+++ /dev/null@@ -1,38 +0,0 @@-import path from "path";-import fs, { existsSync } from "fs";-import { finished } from "node:stream/promises";-import { Readable } from "node:stream";-import type { ReadableStream } from "node:stream/web";--export type WhisperModel =- | "tiny"- | "tiny.en"- | "base"- | "base.en"- | "small"- | "small.en"- | "medium"- | "medium.en"- | "large-v1"- | "large-v2"- | "large";--export const downloadWhisperModel = async ({- model,- to,-}: {- model: WhisperModel;- to: string;-}) => {- const filePath = path.join(to, `ggml-${model}.bin`);- if (existsSync(filePath)) {- return;- }-- const baseModelUrl = `https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-${model}.bin`;-- const fileStream = fs.createWriteStream(filePath);-- const { body } = await fetch(baseModelUrl);- await finished(Readable.fromWeb(body as ReadableStream).pipe(fileStream));-};diff --git a/packages/install-whisper/src/index.ts b/packages/install-whisper/src/index.tsdeleted file mode 100644index d767dd5fbc..0000000000--- a/packages/install-whisper/src/index.ts+++ /dev/null@@ -1,2 +0,0 @@-export { installWhisper } from "./install-whisper";-export { downloadWhisperModel } from "./download-model";diff --git a/packages/it-tests/.gitignore b/packages/it-tests/.gitignorenew file mode 100644index 0000000000..5508c8a24f--- /dev/null+++ b/packages/it-tests/.gitignore@@ -0,0 +1 @@+whisper.cppdiff --git a/packages/it-tests/download-whisper.mjs b/packages/it-tests/download-whisper.mjsnew file mode 100644index 0000000000..e657c0af27--- /dev/null+++ b/packages/it-tests/download-whisper.mjs@@ -0,0 +1,17 @@+import {+ downloadWhisperModel,+ installWhisperCpp,+} from "@remotion/install-whisper-cpp";+import path from "path";++const to = path.join(process.cwd(), "whisper.cpp");++await installWhisperCpp({+ to,+ version: "1.5.4",+});++await downloadWhisperModel({+ model: "large-v3",+ folder: to,+});diff --git a/packages/it-tests/package.json b/packages/it-tests/package.jsonindex 909e84174a..a38e1a2d01 100644--- a/packages/it-tests/package.json+++ b/packages/it-tests/package.json@@ -23,6 +23,7 @@"@remotion/media-utils": "workspace:*","@remotion/lottie": "workspace:*","@remotion/layout-utils": "workspace:*",+ "@remotion/install-whisper-cpp": "workspace:*","@remotion/google-fonts": "workspace:*","@remotion/transitions": "workspace:*","@types/sharp": "^0.28.5",diff --git a/packages/it-tests/tsconfig.json b/packages/it-tests/tsconfig.jsonindex 88317c18af..8917bd0ba1 100644--- a/packages/it-tests/tsconfig.json+++ b/packages/it-tests/tsconfig.json@@ -21,6 +21,9 @@{"path": "../renderer"},+ {+ "path": "../install-whisper-cpp"+ },{"path": "../cli"}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex c28b83bc08..75e8ad7b09 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -608,6 +608,9 @@ importers:'@remotion/google-fonts':specifier: workspace:*version: link:../google-fonts+ '@remotion/install-whisper-cpp':+ specifier: workspace:*+ version: link:../install-whisper-cpp'@remotion/lambda':specifier: workspace:*version: link:../lambda@@ -1102,7 +1105,7 @@ importers:specifier: ^10.8.0version: 10.8.0(@types/[email protected])([email protected])- packages/install-whisper:+ packages/install-whisper-cpp:dependencies:react:specifier: '>=16.8.0'@@ -1153,6 +1156,9 @@ importers:'@remotion/google-fonts':specifier: workspace:*version: link:../google-fonts+ '@remotion/install-whisper-cpp':+ specifier: workspace:*+ version: link:../install-whisper-cpp'@remotion/lambda':specifier: workspace:*version: link:../lambda@@ -3784,7 +3790,7 @@ packages:'@babel/core': 7.15.5'@babel/helper-validator-option': 7.18.6browserslist: 4.21.5- semver: 6.3.0+ semver: 6.3.1dev: false/@babel/[email protected](@babel/[email protected]):@@ -3797,7 +3803,7 @@ packages:'@babel/core': 7.18.6'@babel/helper-validator-option': 7.18.6browserslist: 4.21.5- semver: 6.3.0+ semver: 6.3.1dev: false/@babel/[email protected]:@@ -3881,7 +3887,7 @@ packages:debug: 4.3.4([email protected])lodash.debounce: 4.0.8resolve: 1.22.2- semver: 6.3.0+ semver: 6.3.1transitivePeerDependencies:- supports-colordev: false@@ -3940,7 +3946,7 @@ packages:engines: {node: '>=6.9.0'}dependencies:'@babel/template': 7.18.10- '@babel/types': 7.21.0+ '@babel/types': 7.23.6dev: false/@babel/[email protected]:@@ -3969,7 +3975,7 @@ packages:resolution: {integrity: sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==}engines: {node: '>=6.9.0'}dependencies:- '@babel/types': 7.21.0+ '@babel/types': 7.23.6dev: false/@babel/[email protected]:@@ -5899,7 +5905,7 @@ packages:babel-plugin-polyfill-corejs2: 0.3.3(@babel/[email protected])babel-plugin-polyfill-corejs3: 0.6.0(@babel/[email protected])babel-plugin-polyfill-regenerator: 0.4.1(@babel/[email protected])- semver: 6.3.0+ semver: 6.3.1transitivePeerDependencies:- supports-colordev: false@@ -6241,7 +6247,7 @@ packages:babel-plugin-polyfill-corejs3: 0.6.0(@babel/[email protected])babel-plugin-polyfill-regenerator: 0.4.1(@babel/[email protected])core-js-compat: 3.25.2- semver: 6.3.0+ semver: 6.3.1transitivePeerDependencies:- supports-colordev: falsediff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 2add5839a2..ffc299f564 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -1,4 +1,6 @@packages:- "packages/**"- "!packages/lambda-php-example/vendor/remotion/lambda"+ - "!packages/player-example/.next"+ - "!packages/it-tests/whisper.cpp"- "!packages/bugs"diff --git a/tsconfig.json b/tsconfig.jsonindex 490fcad936..e2468ad926 100644--- a/tsconfig.json+++ b/tsconfig.json@@ -75,6 +75,9 @@{"path": "./packages/animation-utils"},+ {+ "path": "./packages/install-whisper-cpp"+ },{"path": "./packages/motion-blur"},