@remotion/cli 4.0.31 → 4.0.32
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/config/image-format.d.ts +1 -1
- package/dist/config/index.d.ts +9 -2
- package/dist/config/index.js +6 -0
- package/dist/config/log.d.ts +1 -1
- package/dist/config/render-folder-expiry.d.ts +4 -2
- package/dist/config/render-folder-expiry.js +8 -8
- package/dist/editor/components/NewComposition/RemInput.d.ts +2 -2
- package/dist/editor/components/NewComposition/RemInputTypeColor.d.ts +1 -1
- package/dist/editor/components/NewComposition/RemTextarea.d.ts +1 -1
- package/dist/editor/components/RenderModal/human-readable-codec.d.ts +1 -1
- package/dist/editor/helpers/colors.d.ts +1 -1
- package/dist/get-cli-options.d.ts +3 -2
- package/dist/get-cli-options.js +1 -0
- package/dist/index.d.ts +16 -13
- package/dist/log.d.ts +4 -4
- package/dist/parse-command-line.d.ts +2 -0
- package/dist/parse-command-line.js +6 -0
- package/dist/preview-server/dev-middleware/range-parser.d.ts +1 -1
- package/package.json +8 -8
|
@@ -2,4 +2,4 @@ import type { StillImageFormat, VideoImageFormat } from '@remotion/renderer';
|
|
|
2
2
|
export declare const setStillImageFormat: (format: StillImageFormat) => void;
|
|
3
3
|
export declare const setVideoImageFormat: (format: VideoImageFormat) => void;
|
|
4
4
|
export declare const getUserPreferredStillImageFormat: () => "png" | "jpeg" | "pdf" | "webp" | undefined;
|
|
5
|
-
export declare const getUserPreferredVideoImageFormat: () => "
|
|
5
|
+
export declare const getUserPreferredVideoImageFormat: () => "png" | "jpeg" | "none" | undefined;
|
package/dist/config/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import type { BrowserExecutable, CodecOrUndefined, ColorSpace, Crf, FrameRange,
|
|
|
4
4
|
import type { Concurrency } from './concurrency';
|
|
5
5
|
import type { Loop } from './number-of-gif-loops';
|
|
6
6
|
import type { WebpackOverrideFn } from './override-webpack';
|
|
7
|
+
export type { Concurrency, WebpackConfiguration, WebpackOverrideFn };
|
|
7
8
|
declare global {
|
|
8
9
|
interface RemotionBundlingOptions {
|
|
9
10
|
/**
|
|
@@ -251,6 +252,11 @@ type FlatConfig = RemotionConfigObject & RemotionBundlingOptions & {
|
|
|
251
252
|
*/
|
|
252
253
|
setAudioCodec: (codec: 'pcm-16' | 'aac' | 'mp3' | 'opus') => void;
|
|
253
254
|
setOffthreadVideoCacheSizeInBytes: (size: number | null) => void;
|
|
255
|
+
setDeleteAfter: (day: '1-day' | '3-days' | '7-days' | '30-days' | null) => void;
|
|
256
|
+
/**
|
|
257
|
+
*
|
|
258
|
+
*/
|
|
259
|
+
setEnableFolderExpiry: (value: boolean | null) => void;
|
|
254
260
|
/**
|
|
255
261
|
* @deprecated 'The config format has changed. Change `Config.Bundling.*()` calls to `Config.*()` in your config file.'
|
|
256
262
|
*/
|
|
@@ -277,7 +283,6 @@ type FlatConfig = RemotionConfigObject & RemotionBundlingOptions & {
|
|
|
277
283
|
Output: void;
|
|
278
284
|
};
|
|
279
285
|
export declare const Config: FlatConfig;
|
|
280
|
-
export type { Concurrency, WebpackConfiguration, WebpackOverrideFn };
|
|
281
286
|
export declare const ConfigInternals: {
|
|
282
287
|
getRange: () => FrameRange | null;
|
|
283
288
|
getOutputCodecOrUndefined: () => CodecOrUndefined;
|
|
@@ -304,7 +309,7 @@ export declare const ConfigInternals: {
|
|
|
304
309
|
getShouldOutputImageSequence: (frameRange: FrameRange | null) => boolean;
|
|
305
310
|
getDotEnvLocation: () => string | null;
|
|
306
311
|
getUserPreferredStillImageFormat: () => "png" | "jpeg" | "pdf" | "webp" | undefined;
|
|
307
|
-
getUserPreferredVideoImageFormat: () => "
|
|
312
|
+
getUserPreferredVideoImageFormat: () => "png" | "jpeg" | "none" | undefined;
|
|
308
313
|
getWebpackOverrideFn: () => WebpackOverrideFn;
|
|
309
314
|
getWebpackCaching: () => boolean;
|
|
310
315
|
getOutputLocation: () => string | null;
|
|
@@ -331,5 +336,7 @@ export declare const ConfigInternals: {
|
|
|
331
336
|
getShouldOpenBrowser: () => boolean;
|
|
332
337
|
getChromiumUserAgent: () => string | null;
|
|
333
338
|
getOffthreadVideoCacheSizeInBytes: () => number | null;
|
|
339
|
+
getDeleteAfter: () => ("1-day" | "3-days" | "7-days" | "30-days") | null;
|
|
334
340
|
getColorSpace: () => "default" | "bt709";
|
|
341
|
+
getEnableFolderExpiry: () => boolean | null;
|
|
335
342
|
};
|
package/dist/config/index.js
CHANGED
|
@@ -29,6 +29,7 @@ const browser_executable_1 = require("./browser-executable");
|
|
|
29
29
|
const chromium_flags_1 = require("./chromium-flags");
|
|
30
30
|
const codec_1 = require("./codec");
|
|
31
31
|
const concurrency_1 = require("./concurrency");
|
|
32
|
+
const enable_folder_expiry_1 = require("./enable-folder-expiry");
|
|
32
33
|
const env_file_1 = require("./env-file");
|
|
33
34
|
const frame_range_1 = require("./frame-range");
|
|
34
35
|
const image_format_1 = require("./image-format");
|
|
@@ -42,6 +43,7 @@ const overwrite_1 = require("./overwrite");
|
|
|
42
43
|
const pixel_format_1 = require("./pixel-format");
|
|
43
44
|
const preview_server_1 = require("./preview-server");
|
|
44
45
|
const prores_profile_1 = require("./prores-profile");
|
|
46
|
+
const render_folder_expiry_1 = require("./render-folder-expiry");
|
|
45
47
|
const scale_1 = require("./scale");
|
|
46
48
|
const still_frame_1 = require("./still-frame");
|
|
47
49
|
const timeout_1 = require("./timeout");
|
|
@@ -156,7 +158,9 @@ exports.Config = {
|
|
|
156
158
|
overrideFfmpegCommand: ffmpeg_override_1.setFfmpegOverrideFunction,
|
|
157
159
|
setAudioCodec: audio_codec_1.setAudioCodec,
|
|
158
160
|
setOffthreadVideoCacheSizeInBytes: offthread_video_cache_size_1.setOffthreadVideoCacheSizeInBytes,
|
|
161
|
+
setDeleteAfter: render_folder_expiry_1.setDeleteAfter,
|
|
159
162
|
setColorSpace: color_space_1.setColorSpace,
|
|
163
|
+
setEnableFolderExpiry: enable_folder_expiry_1.setEnableFolderExpiry,
|
|
160
164
|
};
|
|
161
165
|
exports.ConfigInternals = {
|
|
162
166
|
getRange: frame_range_1.getRange,
|
|
@@ -209,5 +213,7 @@ exports.ConfigInternals = {
|
|
|
209
213
|
getShouldOpenBrowser: open_browser_1.getShouldOpenBrowser,
|
|
210
214
|
getChromiumUserAgent: user_agent_1.getChromiumUserAgent,
|
|
211
215
|
getOffthreadVideoCacheSizeInBytes: offthread_video_cache_size_1.getOffthreadVideoCacheSizeInBytes,
|
|
216
|
+
getDeleteAfter: render_folder_expiry_1.getDeleteAfter,
|
|
212
217
|
getColorSpace: color_space_1.getColorSpace,
|
|
218
|
+
getEnableFolderExpiry: enable_folder_expiry_1.getEnableFolderExpiry,
|
|
213
219
|
};
|
package/dist/config/log.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLogLevel: () => "
|
|
1
|
+
export declare const getLogLevel: () => "verbose" | "info" | "warn" | "error", setLogLevel: (newLogLevel: "verbose" | "info" | "warn" | "error") => void;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
type Value = '1-day' | '3-days' | '7-days' | '30-days';
|
|
2
|
+
export declare const getDeleteAfter: () => Value | null;
|
|
3
|
+
export declare const setDeleteAfter: (day: Value | null) => void;
|
|
4
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
let
|
|
5
|
-
const
|
|
6
|
-
return
|
|
3
|
+
exports.setDeleteAfter = exports.getDeleteAfter = void 0;
|
|
4
|
+
let deleteAfter = null;
|
|
5
|
+
const getDeleteAfter = () => {
|
|
6
|
+
return deleteAfter;
|
|
7
7
|
};
|
|
8
|
-
exports.
|
|
9
|
-
const
|
|
10
|
-
|
|
8
|
+
exports.getDeleteAfter = getDeleteAfter;
|
|
9
|
+
const setDeleteAfter = (day) => {
|
|
10
|
+
deleteAfter = day;
|
|
11
11
|
};
|
|
12
|
-
exports.
|
|
12
|
+
exports.setDeleteAfter = setDeleteAfter;
|
|
@@ -12,6 +12,6 @@ export declare const getInputBorderColor: ({ status, isFocused, isHovered, }: {
|
|
|
12
12
|
status: 'error' | 'warning' | 'ok';
|
|
13
13
|
isFocused: boolean;
|
|
14
14
|
isHovered: boolean;
|
|
15
|
-
}) => "
|
|
16
|
-
export declare const RemotionInput: React.ForwardRefExoticComponent<Pick<Props, "
|
|
15
|
+
}) => "hsla(0, 0%, 100%, 0.15)" | "rgba(0, 0, 0, 0.6)" | "rgba(255, 255, 255, 0.05)" | "#ff3232" | "#f1c40f";
|
|
16
|
+
export declare const RemotionInput: React.ForwardRefExoticComponent<Pick<Props, "status" | "key" | "rightAlign" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
17
17
|
export {};
|
|
@@ -4,5 +4,5 @@ type Props = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>
|
|
|
4
4
|
status: RemInputStatus;
|
|
5
5
|
name: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const RemInputTypeColor: React.ForwardRefExoticComponent<Pick<Props, "
|
|
7
|
+
export declare const RemInputTypeColor: React.ForwardRefExoticComponent<Pick<Props, "status" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
8
8
|
export {};
|
|
@@ -3,5 +3,5 @@ type Props = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLTextAreaEleme
|
|
|
3
3
|
status: 'error' | 'warning' | 'ok';
|
|
4
4
|
};
|
|
5
5
|
export declare const inputBaseStyle: React.CSSProperties;
|
|
6
|
-
export declare const RemTextarea: React.ForwardRefExoticComponent<Pick<Props, "
|
|
6
|
+
export declare const RemTextarea: React.ForwardRefExoticComponent<Pick<Props, "status" | "key" | keyof React.InputHTMLAttributes<HTMLTextAreaElement>> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
7
7
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Codec } from '@remotion/renderer';
|
|
2
|
-
export declare const humanReadableCodec: (codec: Codec) => "
|
|
2
|
+
export declare const humanReadableCodec: (codec: Codec) => "GIF" | "AAC" | "MP3" | "H.264" | "H.264 Matroska" | "H.265" | "ProRes" | "WebM VP8" | "WebM VP9" | "Waveform" | undefined;
|
|
@@ -16,4 +16,4 @@ export declare const BLUE_DISABLED = "#284f73";
|
|
|
16
16
|
export declare const getBackgroundFromHoverState: ({ selected, hovered, }: {
|
|
17
17
|
selected: boolean;
|
|
18
18
|
hovered: boolean;
|
|
19
|
-
}) => "transparent" | "
|
|
19
|
+
}) => "transparent" | "hsla(0, 0%, 100%, 0.15)" | "hsla(0, 0%, 100%, 0.25)" | "rgba(255, 255, 255, 0.06)";
|
|
@@ -21,7 +21,7 @@ export declare const getCliOptions: (options: {
|
|
|
21
21
|
numberOfGifLoops: import("./config/number-of-gif-loops").Loop;
|
|
22
22
|
stillFrame: number;
|
|
23
23
|
browserExecutable: BrowserExecutable;
|
|
24
|
-
logLevel: "
|
|
24
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
25
25
|
scale: number;
|
|
26
26
|
chromiumOptions: ChromiumOptions;
|
|
27
27
|
overwrite: boolean;
|
|
@@ -34,7 +34,8 @@ export declare const getCliOptions: (options: {
|
|
|
34
34
|
videoBitrate: string | null;
|
|
35
35
|
height: number | null;
|
|
36
36
|
width: number | null;
|
|
37
|
-
configFileImageFormat: "
|
|
37
|
+
configFileImageFormat: "png" | "jpeg" | "none" | undefined;
|
|
38
38
|
offthreadVideoCacheSizeInBytes: number | null;
|
|
39
|
+
deleteAfter: ("1-day" | "3-days" | "7-days" | "30-days") | null;
|
|
39
40
|
colorSpace: "default" | "bt709";
|
|
40
41
|
}>;
|
package/dist/get-cli-options.js
CHANGED
|
@@ -128,6 +128,7 @@ const getCliOptions = async (options) => {
|
|
|
128
128
|
width,
|
|
129
129
|
configFileImageFormat: config_1.ConfigInternals.getUserPreferredVideoImageFormat(),
|
|
130
130
|
offthreadVideoCacheSizeInBytes: config_1.ConfigInternals.getOffthreadVideoCacheSizeInBytes(),
|
|
131
|
+
deleteAfter: config_1.ConfigInternals.getDeleteAfter(),
|
|
131
132
|
colorSpace: config_1.ConfigInternals.getColorSpace(),
|
|
132
133
|
};
|
|
133
134
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -63,24 +63,24 @@ export declare const CliInternals: {
|
|
|
63
63
|
verbose: (message?: any, ...optionalParams: any[]) => void;
|
|
64
64
|
verboseAdvanced: (options: {
|
|
65
65
|
indent: boolean;
|
|
66
|
-
logLevel: "
|
|
66
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
67
67
|
} & {
|
|
68
68
|
tag?: string | undefined;
|
|
69
69
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
70
70
|
info: (message?: any, ...optionalParams: any[]) => void;
|
|
71
71
|
infoAdvanced: (options: {
|
|
72
72
|
indent: boolean;
|
|
73
|
-
logLevel: "
|
|
73
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
74
74
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
75
75
|
warn: (message?: any, ...optionalParams: any[]) => void;
|
|
76
76
|
warnAdvanced: (options: {
|
|
77
77
|
indent: boolean;
|
|
78
|
-
logLevel: "
|
|
78
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
79
79
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
80
80
|
error: (message?: any, ...optionalParams: any[]) => void;
|
|
81
81
|
errorAdvanced: (options: {
|
|
82
82
|
indent: boolean;
|
|
83
|
-
logLevel: "
|
|
83
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
84
84
|
} & {
|
|
85
85
|
tag?: string | undefined;
|
|
86
86
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
@@ -106,7 +106,7 @@ export declare const CliInternals: {
|
|
|
106
106
|
numberOfGifLoops: import("./config/number-of-gif-loops").Loop;
|
|
107
107
|
stillFrame: number;
|
|
108
108
|
browserExecutable: import("@remotion/renderer").BrowserExecutable;
|
|
109
|
-
logLevel: "
|
|
109
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
110
110
|
scale: number;
|
|
111
111
|
chromiumOptions: import("@remotion/renderer").ChromiumOptions;
|
|
112
112
|
overwrite: boolean;
|
|
@@ -119,8 +119,9 @@ export declare const CliInternals: {
|
|
|
119
119
|
videoBitrate: string | null;
|
|
120
120
|
height: number | null;
|
|
121
121
|
width: number | null;
|
|
122
|
-
configFileImageFormat: "
|
|
122
|
+
configFileImageFormat: "png" | "jpeg" | "none" | undefined;
|
|
123
123
|
offthreadVideoCacheSizeInBytes: number | null;
|
|
124
|
+
deleteAfter: ("1-day" | "3-days" | "7-days" | "30-days") | null;
|
|
124
125
|
colorSpace: "default" | "bt709";
|
|
125
126
|
}>;
|
|
126
127
|
loadConfig: (remotionRoot: string) => Promise<string | null>;
|
|
@@ -130,7 +131,7 @@ export declare const CliInternals: {
|
|
|
130
131
|
parsedCli: {
|
|
131
132
|
"browser-executable": import("@remotion/renderer").BrowserExecutable;
|
|
132
133
|
"pixel-format": "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
133
|
-
"image-format": "
|
|
134
|
+
"image-format": "png" | "jpeg" | "pdf" | "webp" | "none";
|
|
134
135
|
"prores-profile": "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy";
|
|
135
136
|
"x264-preset": "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo";
|
|
136
137
|
"bundle-cache": string;
|
|
@@ -183,10 +184,12 @@ export declare const CliInternals: {
|
|
|
183
184
|
"user-agent": string;
|
|
184
185
|
"offthreadvideo-cache-size-in-bytes": number | null;
|
|
185
186
|
"color-space": "default" | "bt709";
|
|
187
|
+
"delete-after": string | undefined;
|
|
188
|
+
"enable-folder-expiry": boolean | undefined;
|
|
186
189
|
} & {
|
|
187
190
|
_: string[];
|
|
188
191
|
};
|
|
189
|
-
printError: (err: Error, logLevel: "
|
|
192
|
+
printError: (err: Error, logLevel: "verbose" | "info" | "warn" | "error") => Promise<void>;
|
|
190
193
|
formatBytes: (number: number, options?: Intl.NumberFormatOptions & {
|
|
191
194
|
locale: string;
|
|
192
195
|
bits?: boolean | undefined;
|
|
@@ -198,7 +201,7 @@ export declare const CliInternals: {
|
|
|
198
201
|
downloadName: string | null;
|
|
199
202
|
outName: string | null;
|
|
200
203
|
configImageFormat: "png" | "jpeg" | "pdf" | "webp" | null;
|
|
201
|
-
cliFlag: "
|
|
204
|
+
cliFlag: "png" | "jpeg" | "pdf" | "webp" | "none" | null;
|
|
202
205
|
isLambda: boolean;
|
|
203
206
|
fromUi: "png" | "jpeg" | "pdf" | "webp" | null;
|
|
204
207
|
}) => {
|
|
@@ -213,8 +216,8 @@ export declare const CliInternals: {
|
|
|
213
216
|
};
|
|
214
217
|
getVideoImageFormat: ({ codec, uiImageFormat, }: {
|
|
215
218
|
codec: import("@remotion/renderer").CodecOrUndefined;
|
|
216
|
-
uiImageFormat: "
|
|
217
|
-
}) => "
|
|
219
|
+
uiImageFormat: "png" | "jpeg" | "none" | null;
|
|
220
|
+
}) => "png" | "jpeg" | "none";
|
|
218
221
|
printCompositions: (compositions: import("remotion").VideoConfig[]) => void;
|
|
219
222
|
getFinalOutputCodec: ({ cliFlag, configFile, downloadName, outName, uiCodec, }: {
|
|
220
223
|
cliFlag: import("@remotion/renderer").CodecOrUndefined;
|
|
@@ -228,7 +231,7 @@ export declare const CliInternals: {
|
|
|
228
231
|
};
|
|
229
232
|
listOfRemotionPackages: string[];
|
|
230
233
|
shouldUseNonOverlayingLogger: ({ logLevel, }: {
|
|
231
|
-
logLevel: "
|
|
234
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
232
235
|
}) => boolean;
|
|
233
236
|
getCompositionWithDimensionOverride: ({ height, width, args, compositionIdFromUi, chromiumOptions, envVariables, port, puppeteerInstance, timeoutInMilliseconds, browserExecutable, serveUrlOrWebpackUrl, indent, serializedInputPropsWithCustomSchema, logLevel, server, offthreadVideoCacheSizeInBytes, }: {
|
|
234
237
|
height: number | null;
|
|
@@ -243,7 +246,7 @@ export declare const CliInternals: {
|
|
|
243
246
|
browserExecutable: import("@remotion/renderer").BrowserExecutable;
|
|
244
247
|
serveUrlOrWebpackUrl: string;
|
|
245
248
|
indent: boolean;
|
|
246
|
-
logLevel: "
|
|
249
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
247
250
|
serializedInputPropsWithCustomSchema: string;
|
|
248
251
|
server: import("@remotion/renderer").RemotionServer;
|
|
249
252
|
offthreadVideoCacheSizeInBytes: number | null;
|
package/dist/log.d.ts
CHANGED
|
@@ -2,24 +2,24 @@ export declare const Log: {
|
|
|
2
2
|
verbose: (message?: any, ...optionalParams: any[]) => void;
|
|
3
3
|
verboseAdvanced: (options: {
|
|
4
4
|
indent: boolean;
|
|
5
|
-
logLevel: "
|
|
5
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
6
6
|
} & {
|
|
7
7
|
tag?: string | undefined;
|
|
8
8
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
9
9
|
info: (message?: any, ...optionalParams: any[]) => void;
|
|
10
10
|
infoAdvanced: (options: {
|
|
11
11
|
indent: boolean;
|
|
12
|
-
logLevel: "
|
|
12
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
13
13
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
14
14
|
warn: (message?: any, ...optionalParams: any[]) => void;
|
|
15
15
|
warnAdvanced: (options: {
|
|
16
16
|
indent: boolean;
|
|
17
|
-
logLevel: "
|
|
17
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
18
18
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
19
19
|
error: (message?: any, ...optionalParams: any[]) => void;
|
|
20
20
|
errorAdvanced: (options: {
|
|
21
21
|
indent: boolean;
|
|
22
|
-
logLevel: "
|
|
22
|
+
logLevel: "verbose" | "info" | "warn" | "error";
|
|
23
23
|
} & {
|
|
24
24
|
tag?: string | undefined;
|
|
25
25
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
@@ -58,6 +58,8 @@ type CommandLineOptions = {
|
|
|
58
58
|
['browser']: string;
|
|
59
59
|
['browser-args']: string;
|
|
60
60
|
['user-agent']: string;
|
|
61
|
+
[BrowserSafeApis.options.deleteAfterOption.cliFlag]: string | undefined;
|
|
62
|
+
[BrowserSafeApis.options.folderExpiryOption.cliFlag]: boolean | undefined;
|
|
61
63
|
};
|
|
62
64
|
export declare const BooleanFlags: string[];
|
|
63
65
|
export declare const parsedCli: CommandLineOptions & {
|
|
@@ -148,9 +148,15 @@ const parseCommandLine = () => {
|
|
|
148
148
|
if (typeof exports.parsedCli['offthreadvideo-cache-size-in-bytes'] !== 'undefined') {
|
|
149
149
|
config_1.Config.setOffthreadVideoCacheSizeInBytes(exports.parsedCli['offthreadvideo-cache-size-in-bytes']);
|
|
150
150
|
}
|
|
151
|
+
if (typeof exports.parsedCli['delete-after'] !== 'undefined') {
|
|
152
|
+
config_1.Config.setDeleteAfter(exports.parsedCli['delete-after']);
|
|
153
|
+
}
|
|
151
154
|
if (typeof exports.parsedCli['color-space'] !== 'undefined') {
|
|
152
155
|
config_1.Config.setColorSpace(exports.parsedCli['color-space']);
|
|
153
156
|
}
|
|
157
|
+
if (typeof exports.parsedCli['enable-folder-expiry'] !== 'undefined') {
|
|
158
|
+
config_1.Config.setEnableFolderExpiry(exports.parsedCli['enable-folder-expiry']);
|
|
159
|
+
}
|
|
154
160
|
};
|
|
155
161
|
exports.parseCommandLine = parseCommandLine;
|
|
156
162
|
const quietFlagProvided = () => exports.parsedCli.quiet || exports.parsedCli.q;
|
|
@@ -11,5 +11,5 @@ type Range = {
|
|
|
11
11
|
type Ranges = Range[] & {
|
|
12
12
|
type?: string;
|
|
13
13
|
};
|
|
14
|
-
export declare function parseRange(size: number, str: string | string[]): -1 |
|
|
14
|
+
export declare function parseRange(size: number, str: string | string[]): -1 | Ranges | -2;
|
|
15
15
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cli",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.32",
|
|
4
4
|
"description": "CLI for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"prompts": "2.4.1",
|
|
36
36
|
"semver": "7.5.3",
|
|
37
37
|
"source-map": "0.6.1",
|
|
38
|
-
"@remotion/
|
|
39
|
-
"
|
|
40
|
-
"@remotion/
|
|
41
|
-
"remotion": "4.0.
|
|
42
|
-
"@remotion/
|
|
38
|
+
"@remotion/media-utils": "4.0.32",
|
|
39
|
+
"remotion": "4.0.32",
|
|
40
|
+
"@remotion/player": "4.0.32",
|
|
41
|
+
"@remotion/renderer": "4.0.32",
|
|
42
|
+
"@remotion/bundler": "4.0.32"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": ">=16.8.0",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"react-dom": "^18.0.0",
|
|
66
66
|
"vitest": "0.31.1",
|
|
67
67
|
"zod": "^3.21.4",
|
|
68
|
-
"@remotion/zod-types": "4.0.
|
|
69
|
-
"@remotion/tailwind": "4.0.
|
|
68
|
+
"@remotion/zod-types": "4.0.32",
|
|
69
|
+
"@remotion/tailwind": "4.0.32"
|
|
70
70
|
},
|
|
71
71
|
"keywords": [
|
|
72
72
|
"remotion",
|