@remotion/renderer 4.0.436 → 4.0.437
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const browserDownloadDirOption: {
|
|
2
|
+
name: string;
|
|
3
|
+
cliFlag: "browser-download-dir";
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
ssrName: "browserDownloadDir";
|
|
6
|
+
docLink: string;
|
|
7
|
+
type: string | null;
|
|
8
|
+
getValue: ({ commandLine }: {
|
|
9
|
+
commandLine: Record<string, unknown>;
|
|
10
|
+
}) => {
|
|
11
|
+
source: string;
|
|
12
|
+
value: string | null;
|
|
13
|
+
};
|
|
14
|
+
setConfig: (value: string | null) => void;
|
|
15
|
+
id: "browser-download-dir";
|
|
16
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.browserDownloadDirOption = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const cliFlag = 'browser-download-dir';
|
|
6
|
+
let currentDirectory = null;
|
|
7
|
+
exports.browserDownloadDirOption = {
|
|
8
|
+
name: 'Browser Download Directory',
|
|
9
|
+
cliFlag,
|
|
10
|
+
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Specify the directory where the browser should be downloaded to when calling ",
|
|
11
|
+
jsx_runtime_1.jsx("code", { children: "npx remotion browser ensure" }),
|
|
12
|
+
". By default, Remotion downloads the browser into ",
|
|
13
|
+
jsx_runtime_1.jsx("code", { children: "node_modules/.remotion" }),
|
|
14
|
+
" inside the nearest project root. Use this option to override the default download location. Pass ",
|
|
15
|
+
jsx_runtime_1.jsx("code", { children: "null" }),
|
|
16
|
+
" to use the default location."] })),
|
|
17
|
+
ssrName: 'browserDownloadDir',
|
|
18
|
+
docLink: 'https://www.remotion.dev/docs/config#setbrowserdownloaddir',
|
|
19
|
+
type: '',
|
|
20
|
+
getValue: ({ commandLine }) => {
|
|
21
|
+
if (commandLine[cliFlag] !== undefined) {
|
|
22
|
+
return {
|
|
23
|
+
source: 'cli',
|
|
24
|
+
value: commandLine[cliFlag],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
if (currentDirectory !== null) {
|
|
28
|
+
return {
|
|
29
|
+
source: 'config',
|
|
30
|
+
value: currentDirectory,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
source: 'default',
|
|
35
|
+
value: null,
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
setConfig: (value) => {
|
|
39
|
+
currentDirectory = value;
|
|
40
|
+
},
|
|
41
|
+
id: cliFlag,
|
|
42
|
+
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/renderer",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.437",
|
|
7
7
|
"description": "Render Remotion videos using Node.js or Bun",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"execa": "5.1.1",
|
|
26
26
|
"extract-zip": "2.0.1",
|
|
27
|
-
"remotion": "4.0.
|
|
28
|
-
"@remotion/streaming": "4.0.
|
|
27
|
+
"remotion": "4.0.437",
|
|
28
|
+
"@remotion/streaming": "4.0.437",
|
|
29
29
|
"source-map": "^0.8.0-beta.0",
|
|
30
30
|
"ws": "8.17.1",
|
|
31
|
-
"@remotion/licensing": "4.0.
|
|
31
|
+
"@remotion/licensing": "4.0.437"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": ">=16.8.0",
|
|
@@ -42,19 +42,19 @@
|
|
|
42
42
|
"react-dom": "19.2.3",
|
|
43
43
|
"@typescript/native-preview": "7.0.0-dev.20260217.1",
|
|
44
44
|
"@types/ws": "8.5.10",
|
|
45
|
-
"@remotion/example-videos": "4.0.
|
|
46
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
45
|
+
"@remotion/example-videos": "4.0.437",
|
|
46
|
+
"@remotion/eslint-config-internal": "4.0.437",
|
|
47
47
|
"eslint": "9.19.0",
|
|
48
48
|
"@types/node": "20.12.14"
|
|
49
49
|
},
|
|
50
50
|
"optionalDependencies": {
|
|
51
|
-
"@remotion/compositor-darwin-arm64": "4.0.
|
|
52
|
-
"@remotion/compositor-darwin-x64": "4.0.
|
|
53
|
-
"@remotion/compositor-linux-arm64-gnu": "4.0.
|
|
54
|
-
"@remotion/compositor-linux-arm64-musl": "4.0.
|
|
55
|
-
"@remotion/compositor-linux-x64-gnu": "4.0.
|
|
56
|
-
"@remotion/compositor-linux-x64-musl": "4.0.
|
|
57
|
-
"@remotion/compositor-win32-x64-msvc": "4.0.
|
|
51
|
+
"@remotion/compositor-darwin-arm64": "4.0.437",
|
|
52
|
+
"@remotion/compositor-darwin-x64": "4.0.437",
|
|
53
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.437",
|
|
54
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.437",
|
|
55
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.437",
|
|
56
|
+
"@remotion/compositor-linux-x64-musl": "4.0.437",
|
|
57
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.437"
|
|
58
58
|
},
|
|
59
59
|
"keywords": [
|
|
60
60
|
"remotion",
|