@remotion/cli 4.0.457 → 4.0.458
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.
- package/dist/benchmark.js +1 -0
- package/dist/browser-download-bar.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/print-error.js +1 -0
- package/dist/progress-bar.d.ts +1 -0
- package/dist/progress-bar.js +5 -1
- package/dist/render-flows/render.js +1 -0
- package/dist/render-flows/still.js +1 -0
- package/dist/setup-cache.js +1 -0
- package/package.json +14 -14
package/dist/benchmark.js
CHANGED
|
@@ -340,6 +340,7 @@ const benchmarkCommand = async (remotionRoot, args, logLevel) => {
|
|
|
340
340
|
cancelSignal: null,
|
|
341
341
|
updatesDontOverwrite: (0, should_use_non_overlaying_logger_1.shouldUseNonOverlayingLogger)({ logLevel }),
|
|
342
342
|
indent: false,
|
|
343
|
+
logLevel,
|
|
343
344
|
});
|
|
344
345
|
log_1.Log.info({ indent: false, logLevel });
|
|
345
346
|
log_1.Log.info({ indent: false, logLevel }, `${chalk_1.chalk.bold(`Benchmark #${count++}:`)} ${chalk_1.chalk.gray(`composition=${composition.id} concurrency=${con} codec=${videoCodec} (${codecReason})`)}`);
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const CliInternals: {
|
|
|
7
7
|
cancelSignal: import("@remotion/renderer").CancelSignal | null;
|
|
8
8
|
updatesDontOverwrite: boolean;
|
|
9
9
|
indent: boolean;
|
|
10
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
10
11
|
}) => import("./progress-bar").OverwriteableCliOutput;
|
|
11
12
|
chalk: {
|
|
12
13
|
enabled: () => boolean;
|
package/dist/print-error.js
CHANGED
|
@@ -15,6 +15,7 @@ const printError = async (err, logLevel) => {
|
|
|
15
15
|
cancelSignal: null,
|
|
16
16
|
updatesDontOverwrite: !updatesDoOverwrite,
|
|
17
17
|
indent: false,
|
|
18
|
+
logLevel,
|
|
18
19
|
});
|
|
19
20
|
if (updatesDoOverwrite) {
|
|
20
21
|
output.update(chalk_1.chalk.red('Symbolicating minified error message...\n' + err.message), false);
|
package/dist/progress-bar.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare const createOverwriteableCliOutput: (options: {
|
|
|
9
9
|
cancelSignal: CancelSignal | null;
|
|
10
10
|
updatesDontOverwrite: boolean;
|
|
11
11
|
indent: boolean;
|
|
12
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
12
13
|
}) => OverwriteableCliOutput;
|
|
13
14
|
export type SymbolicLinksState = {
|
|
14
15
|
symlinks: string[];
|
package/dist/progress-bar.js
CHANGED
|
@@ -13,9 +13,13 @@ const log_1 = require("./log");
|
|
|
13
13
|
const make_progress_bar_1 = require("./make-progress-bar");
|
|
14
14
|
const truthy_1 = require("./truthy");
|
|
15
15
|
exports.LABEL_WIDTH = 20;
|
|
16
|
+
const shouldSuppressCliProgressOutput = (options) => {
|
|
17
|
+
// When --log=error, only error lines may be printed; progress is not an error.
|
|
18
|
+
return options.quiet || options.logLevel === 'error';
|
|
19
|
+
};
|
|
16
20
|
const createOverwriteableCliOutput = (options) => {
|
|
17
21
|
var _a;
|
|
18
|
-
if (options
|
|
22
|
+
if (shouldSuppressCliProgressOutput(options)) {
|
|
19
23
|
return {
|
|
20
24
|
update: () => false,
|
|
21
25
|
};
|
|
@@ -38,6 +38,7 @@ const renderStillFlow = async ({ remotionRoot, fullEntryPoint, entryPointReason,
|
|
|
38
38
|
cancelSignal,
|
|
39
39
|
updatesDontOverwrite: (0, should_use_non_overlaying_logger_1.shouldUseNonOverlayingLogger)({ logLevel }),
|
|
40
40
|
indent,
|
|
41
|
+
logLevel,
|
|
41
42
|
});
|
|
42
43
|
const updateRenderProgress = ({ newline, printToConsole, }) => {
|
|
43
44
|
const { output, progress, message } = (0, progress_bar_1.makeRenderingAndStitchingProgress)({
|
package/dist/setup-cache.js
CHANGED
|
@@ -142,6 +142,7 @@ const bundleOnCli = async ({ fullPath, remotionRoot, publicDir, onProgressCallba
|
|
|
142
142
|
cancelSignal: null,
|
|
143
143
|
updatesDontOverwrite: (0, should_use_non_overlaying_logger_1.shouldUseNonOverlayingLogger)({ logLevel }),
|
|
144
144
|
indent,
|
|
145
|
+
logLevel,
|
|
145
146
|
});
|
|
146
147
|
let bundlingState = {
|
|
147
148
|
progress: 0,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/cli"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/cli",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.458",
|
|
7
7
|
"description": "Control Remotion features using the `npx remotion` command",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
38
38
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@remotion/bundler": "4.0.
|
|
41
|
-
"@remotion/media-utils": "4.0.
|
|
42
|
-
"@remotion/player": "4.0.
|
|
43
|
-
"@remotion/renderer": "4.0.
|
|
44
|
-
"@remotion/studio-shared": "4.0.
|
|
45
|
-
"@remotion/studio-server": "4.0.
|
|
46
|
-
"@remotion/studio": "4.0.
|
|
40
|
+
"@remotion/bundler": "4.0.458",
|
|
41
|
+
"@remotion/media-utils": "4.0.458",
|
|
42
|
+
"@remotion/player": "4.0.458",
|
|
43
|
+
"@remotion/renderer": "4.0.458",
|
|
44
|
+
"@remotion/studio-shared": "4.0.458",
|
|
45
|
+
"@remotion/studio-server": "4.0.458",
|
|
46
|
+
"@remotion/studio": "4.0.458",
|
|
47
47
|
"dotenv": "17.3.1",
|
|
48
48
|
"minimist": "1.2.6",
|
|
49
49
|
"prompts": "2.4.2",
|
|
50
|
-
"remotion": "4.0.
|
|
50
|
+
"remotion": "4.0.458"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": ">=16.8.0",
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"@types/prompts": "^2.4.1",
|
|
59
59
|
"@types/prettier": "^2.7.2",
|
|
60
60
|
"@types/node": "20.12.14",
|
|
61
|
-
"@remotion/zod-types": "4.0.
|
|
62
|
-
"@remotion/tailwind-v4": "4.0.
|
|
63
|
-
"@remotion/enable-scss": "4.0.
|
|
64
|
-
"@remotion/skia": "4.0.
|
|
61
|
+
"@remotion/zod-types": "4.0.458",
|
|
62
|
+
"@remotion/tailwind-v4": "4.0.458",
|
|
63
|
+
"@remotion/enable-scss": "4.0.458",
|
|
64
|
+
"@remotion/skia": "4.0.458",
|
|
65
65
|
"react": "19.2.3",
|
|
66
66
|
"react-dom": "19.2.3",
|
|
67
67
|
"zod": "4.3.6",
|
|
68
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
68
|
+
"@remotion/eslint-config-internal": "4.0.458",
|
|
69
69
|
"eslint": "9.19.0",
|
|
70
70
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
71
71
|
},
|