@remotion/cli 3.3.37 → 3.3.39
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/index.js +69 -55
- package/dist/config/log.d.ts +1 -1
- package/dist/config/timeout.js +1 -1
- package/dist/get-cli-options.d.ts +1 -1
- package/dist/get-env.js +1 -1
- package/dist/handle-common-errors.js +5 -0
- package/dist/index.d.ts +1 -1
- package/dist/parse-command-line.js +32 -32
- package/dist/upgrade.js +9 -3
- package/package.json +7 -7
package/dist/config/index.js
CHANGED
|
@@ -85,63 +85,77 @@ const timeout_2 = require("./timeout");
|
|
|
85
85
|
const webpack_caching_2 = require("./webpack-caching");
|
|
86
86
|
const webpack_poll_1 = require("./webpack-poll");
|
|
87
87
|
const width_1 = require("./width");
|
|
88
|
+
const Preview = {
|
|
89
|
+
setMaxTimelineTracks: max_timeline_tracks_2.setMaxTimelineTracks,
|
|
90
|
+
setKeyboardShortcutsEnabled: keyboard_shortcuts_1.setKeyboardShortcutsEnabled,
|
|
91
|
+
setNumberOfSharedAudioTags: number_of_shared_audio_tags_1.setNumberOfSharedAudioTags,
|
|
92
|
+
setWebpackPollingInMilliseconds: webpack_poll_1.setWebpackPollingInMilliseconds,
|
|
93
|
+
setShouldOpenBrowser: open_browser_1.setShouldOpenBrowser,
|
|
94
|
+
};
|
|
95
|
+
const Bundling = {
|
|
96
|
+
overrideWebpackConfig: override_webpack_2.overrideWebpackConfig,
|
|
97
|
+
setCachingEnabled: webpack_caching_2.setWebpackCaching,
|
|
98
|
+
setPort: preview_server_2.setPort,
|
|
99
|
+
setPublicDir: public_dir_1.setPublicDir,
|
|
100
|
+
setEntryPoint: entry_point_1.setEntryPoint,
|
|
101
|
+
};
|
|
102
|
+
const Log = {
|
|
103
|
+
setLevel: log_1.setLogLevel,
|
|
104
|
+
};
|
|
105
|
+
const Puppeteer = {
|
|
106
|
+
setBrowserExecutable: browser_executable_2.setBrowserExecutable,
|
|
107
|
+
setTimeoutInMilliseconds: timeout_2.setPuppeteerTimeout,
|
|
108
|
+
setDelayRenderTimeoutInMilliseconds: timeout_2.setPuppeteerTimeout,
|
|
109
|
+
setChromiumDisableWebSecurity: chromium_flags_2.setChromiumDisableWebSecurity,
|
|
110
|
+
setChromiumIgnoreCertificateErrors: chromium_flags_2.setChromiumIgnoreCertificateErrors,
|
|
111
|
+
setChromiumHeadlessMode: chromium_flags_2.setChromiumHeadlessMode,
|
|
112
|
+
setChromiumOpenGlRenderer: chromium_flags_2.setChromiumOpenGlRenderer,
|
|
113
|
+
};
|
|
114
|
+
const Rendering = {
|
|
115
|
+
setDotEnvLocation: env_file_2.setDotEnvLocation,
|
|
116
|
+
setConcurrency: concurrency_2.setConcurrency,
|
|
117
|
+
setQuality: quality_2.setQuality,
|
|
118
|
+
setImageFormat: image_format_2.setImageFormat,
|
|
119
|
+
setFrameRange: frame_range_2.setFrameRange,
|
|
120
|
+
setFfmpegExecutable: ffmpeg_executable_2.setFfmpegExecutable,
|
|
121
|
+
setFfprobeExecutable: ffmpeg_executable_2.setFfprobeExecutable,
|
|
122
|
+
setScale: scale_2.setScale,
|
|
123
|
+
setEveryNthFrame: every_nth_frame_1.setEveryNthFrame,
|
|
124
|
+
setNumberOfGifLoops: number_of_gif_loops_1.setNumberOfGifLoops,
|
|
125
|
+
setMuted: muted_1.setMuted,
|
|
126
|
+
setEnforceAudioTrack: enforce_audio_track_1.setEnforceAudioTrack,
|
|
127
|
+
};
|
|
128
|
+
const Output = {
|
|
129
|
+
setOutputLocation: output_location_2.setOutputLocation,
|
|
130
|
+
setOverwriteOutput: overwrite_2.setOverwriteOutput,
|
|
131
|
+
setPixelFormat: pixel_format_2.setPixelFormat,
|
|
132
|
+
setOutputFormat: codec_2.setOutputFormat,
|
|
133
|
+
setCodec: codec_2.setCodec,
|
|
134
|
+
setCrf: crf_1.setCrf,
|
|
135
|
+
setImageSequence: image_sequence_2.setImageSequence,
|
|
136
|
+
setProResProfile: prores_profile_2.setProResProfile,
|
|
137
|
+
setAudioBitrate: bitrate_1.setAudioBitrate,
|
|
138
|
+
setVideoBitrate: bitrate_1.setVideoBitrate,
|
|
139
|
+
overrideHeight: height_1.overrideHeight,
|
|
140
|
+
overrideWidth: width_1.overrideWidth,
|
|
141
|
+
overrideFfmpegCommand: ffmpeg_override_1.setFfmpegOverrideFunction,
|
|
142
|
+
};
|
|
88
143
|
exports.Config = {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
Log: {
|
|
104
|
-
setLevel: log_1.setLogLevel,
|
|
105
|
-
},
|
|
106
|
-
Puppeteer: {
|
|
107
|
-
setBrowserExecutable: browser_executable_2.setBrowserExecutable,
|
|
108
|
-
setTimeoutInMilliseconds: timeout_2.setPuppeteerTimeout,
|
|
109
|
-
setChromiumDisableWebSecurity: chromium_flags_2.setChromiumDisableWebSecurity,
|
|
110
|
-
setChromiumIgnoreCertificateErrors: chromium_flags_2.setChromiumIgnoreCertificateErrors,
|
|
111
|
-
setChromiumHeadlessMode: chromium_flags_2.setChromiumHeadlessMode,
|
|
112
|
-
setChromiumOpenGlRenderer: chromium_flags_2.setChromiumOpenGlRenderer,
|
|
113
|
-
},
|
|
114
|
-
Rendering: {
|
|
115
|
-
setDotEnvLocation: env_file_2.setDotEnvLocation,
|
|
116
|
-
setConcurrency: concurrency_2.setConcurrency,
|
|
117
|
-
setQuality: quality_2.setQuality,
|
|
118
|
-
setImageFormat: image_format_2.setImageFormat,
|
|
119
|
-
setFrameRange: frame_range_2.setFrameRange,
|
|
120
|
-
setFfmpegExecutable: ffmpeg_executable_2.setFfmpegExecutable,
|
|
121
|
-
setFfprobeExecutable: ffmpeg_executable_2.setFfprobeExecutable,
|
|
122
|
-
setScale: scale_2.setScale,
|
|
123
|
-
setEveryNthFrame: every_nth_frame_1.setEveryNthFrame,
|
|
124
|
-
setNumberOfGifLoops: number_of_gif_loops_1.setNumberOfGifLoops,
|
|
125
|
-
setMuted: muted_1.setMuted,
|
|
126
|
-
setEnforceAudioTrack: enforce_audio_track_1.setEnforceAudioTrack,
|
|
127
|
-
},
|
|
128
|
-
Output: {
|
|
129
|
-
setOutputLocation: output_location_2.setOutputLocation,
|
|
130
|
-
setOverwriteOutput: overwrite_2.setOverwriteOutput,
|
|
131
|
-
setPixelFormat: pixel_format_2.setPixelFormat,
|
|
132
|
-
setOutputFormat: codec_2.setOutputFormat,
|
|
133
|
-
setCodec: codec_2.setCodec,
|
|
134
|
-
setCrf: crf_1.setCrf,
|
|
135
|
-
setImageSequence: image_sequence_2.setImageSequence,
|
|
136
|
-
setProResProfile: prores_profile_2.setProResProfile,
|
|
137
|
-
setAudioBitrate: bitrate_1.setAudioBitrate,
|
|
138
|
-
setVideoBitrate: bitrate_1.setVideoBitrate,
|
|
139
|
-
overrideHeight: height_1.overrideHeight,
|
|
140
|
-
overrideWidth: width_1.overrideWidth,
|
|
141
|
-
overrideFfmpegCommand: ffmpeg_override_1.setFfmpegOverrideFunction,
|
|
142
|
-
},
|
|
144
|
+
// New flat config format
|
|
145
|
+
...Preview,
|
|
146
|
+
...Bundling,
|
|
147
|
+
...Log,
|
|
148
|
+
...Puppeteer,
|
|
149
|
+
...Rendering,
|
|
150
|
+
...Output,
|
|
151
|
+
// Legacy config format
|
|
152
|
+
Preview,
|
|
153
|
+
Bundling,
|
|
154
|
+
Log,
|
|
155
|
+
Puppeteer,
|
|
156
|
+
Rendering,
|
|
157
|
+
Output,
|
|
143
158
|
};
|
|
144
|
-
// eslint-disable-next-line no-restricted-imports
|
|
145
159
|
exports.ConfigInternals = {
|
|
146
160
|
getRange: frame_range_1.getRange,
|
|
147
161
|
getOutputCodecOrUndefined: codec_1.getOutputCodecOrUndefined,
|
package/dist/config/log.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { LogLevel } from '@remotion/renderer';
|
|
2
|
-
export declare const getLogLevel: () => "
|
|
2
|
+
export declare const getLogLevel: () => "error" | "verbose" | "info" | "warn";
|
|
3
3
|
export declare const setLogLevel: (newLogLevel: LogLevel) => void;
|
package/dist/config/timeout.js
CHANGED
|
@@ -5,7 +5,7 @@ const renderer_1 = require("@remotion/renderer");
|
|
|
5
5
|
let currentTimeout = renderer_1.RenderInternals.DEFAULT_TIMEOUT;
|
|
6
6
|
const setPuppeteerTimeout = (newPuppeteerTimeout) => {
|
|
7
7
|
if (typeof newPuppeteerTimeout !== 'number') {
|
|
8
|
-
throw new Error('--timeout flag /
|
|
8
|
+
throw new Error('--timeout flag / setDelayRenderTimeoutInMilliseconds() must be a number, but got ' +
|
|
9
9
|
JSON.stringify(newPuppeteerTimeout));
|
|
10
10
|
}
|
|
11
11
|
currentTimeout = newPuppeteerTimeout;
|
|
@@ -30,7 +30,7 @@ export declare const getCliOptions: (options: {
|
|
|
30
30
|
browserExecutable: BrowserExecutable;
|
|
31
31
|
ffmpegExecutable: import("@remotion/renderer").FfmpegExecutable;
|
|
32
32
|
ffprobeExecutable: import("@remotion/renderer").FfmpegExecutable;
|
|
33
|
-
logLevel: "
|
|
33
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
34
34
|
scale: number;
|
|
35
35
|
chromiumOptions: ChromiumOptions;
|
|
36
36
|
overwrite: boolean;
|
package/dist/get-env.js
CHANGED
|
@@ -96,7 +96,7 @@ const getEnvironmentVariables = (onUpdate) => {
|
|
|
96
96
|
if (configFileSetting) {
|
|
97
97
|
const envFile = path_1.default.resolve(remotionRoot, configFileSetting);
|
|
98
98
|
if (!fs_1.default.existsSync(envFile)) {
|
|
99
|
-
log_1.Log.error('You specified a custom .env file using `Config.
|
|
99
|
+
log_1.Log.error('You specified a custom .env file using `Config.setDotEnvLocation()` in the config file but it could not be found');
|
|
100
100
|
log_1.Log.error('We looked for the file at:', envFile);
|
|
101
101
|
log_1.Log.error('Check that your path is correct and try again.');
|
|
102
102
|
process.exit(1);
|
|
@@ -22,6 +22,11 @@ const handleCommonError = async (err) => {
|
|
|
22
22
|
log_1.Log.info();
|
|
23
23
|
log_1.Log.info('💡 Get help for this issue at https://remotion.dev/docs/enametoolong');
|
|
24
24
|
}
|
|
25
|
+
if (err.message.includes('Error creating WebGL context')) {
|
|
26
|
+
log_1.Log.info();
|
|
27
|
+
log_1.Log.info('💡 You might need to set the OpenGL renderer to "angle"');
|
|
28
|
+
log_1.Log.info('💡 Get help for this issue at https://www.remotion.dev/docs/three');
|
|
29
|
+
}
|
|
25
30
|
if (err.message.includes('The bucket does not allow ACLs')) {
|
|
26
31
|
log_1.Log.info();
|
|
27
32
|
log_1.Log.info(chalk_1.chalk.green('💡 Fix this issue https://remotion.dev/docs/lambda/troubleshooting/bucket-disallows-acl'));
|
package/dist/index.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ export declare const CliInternals: {
|
|
|
88
88
|
browserExecutable: import("@remotion/renderer").BrowserExecutable;
|
|
89
89
|
ffmpegExecutable: import("@remotion/renderer").FfmpegExecutable;
|
|
90
90
|
ffprobeExecutable: import("@remotion/renderer").FfmpegExecutable;
|
|
91
|
-
logLevel: "
|
|
91
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
92
92
|
scale: number;
|
|
93
93
|
chromiumOptions: import("@remotion/renderer").ChromiumOptions;
|
|
94
94
|
overwrite: boolean;
|
|
@@ -37,34 +37,34 @@ exports.parsedCli = (0, minimist_1.default)(process.argv.slice(2), {
|
|
|
37
37
|
});
|
|
38
38
|
const parseCommandLine = () => {
|
|
39
39
|
if (exports.parsedCli['pixel-format']) {
|
|
40
|
-
config_1.Config.
|
|
40
|
+
config_1.Config.setPixelFormat(exports.parsedCli['pixel-format']);
|
|
41
41
|
}
|
|
42
42
|
if (exports.parsedCli['image-format']) {
|
|
43
|
-
config_1.Config.
|
|
43
|
+
config_1.Config.setImageFormat(exports.parsedCli['image-format']);
|
|
44
44
|
}
|
|
45
45
|
if (exports.parsedCli['browser-executable']) {
|
|
46
|
-
config_1.Config.
|
|
46
|
+
config_1.Config.setBrowserExecutable(exports.parsedCli['browser-executable']);
|
|
47
47
|
}
|
|
48
48
|
if (exports.parsedCli['ffmpeg-executable']) {
|
|
49
|
-
config_1.Config.
|
|
49
|
+
config_1.Config.setFfmpegExecutable((0, path_1.resolve)(exports.parsedCli['ffmpeg-executable']));
|
|
50
50
|
}
|
|
51
51
|
if (exports.parsedCli['number-of-gif-loops']) {
|
|
52
|
-
config_1.Config.
|
|
52
|
+
config_1.Config.setNumberOfGifLoops(exports.parsedCli['number-of-gif-loops']);
|
|
53
53
|
}
|
|
54
54
|
if (exports.parsedCli['ffprobe-executable']) {
|
|
55
|
-
config_1.Config.
|
|
55
|
+
config_1.Config.setFfprobeExecutable((0, path_1.resolve)(exports.parsedCli['ffprobe-executable']));
|
|
56
56
|
}
|
|
57
57
|
if (typeof exports.parsedCli['bundle-cache'] !== 'undefined') {
|
|
58
|
-
config_1.Config.
|
|
58
|
+
config_1.Config.setCachingEnabled(exports.parsedCli['bundle-cache'] !== 'false');
|
|
59
59
|
}
|
|
60
60
|
if (exports.parsedCli['disable-web-security']) {
|
|
61
|
-
config_1.Config.
|
|
61
|
+
config_1.Config.setChromiumDisableWebSecurity(true);
|
|
62
62
|
}
|
|
63
63
|
if (exports.parsedCli['ignore-certificate-errors']) {
|
|
64
|
-
config_1.Config.
|
|
64
|
+
config_1.Config.setChromiumIgnoreCertificateErrors(true);
|
|
65
65
|
}
|
|
66
66
|
if (exports.parsedCli['disable-headless']) {
|
|
67
|
-
config_1.Config.
|
|
67
|
+
config_1.Config.setChromiumHeadlessMode(false);
|
|
68
68
|
}
|
|
69
69
|
if (exports.parsedCli.log) {
|
|
70
70
|
if (!renderer_1.RenderInternals.isValidLogLevel(exports.parsedCli.log)) {
|
|
@@ -77,16 +77,16 @@ const parseCommandLine = () => {
|
|
|
77
77
|
config_1.ConfigInternals.Logging.setLogLevel(exports.parsedCli.log);
|
|
78
78
|
}
|
|
79
79
|
if (exports.parsedCli.concurrency) {
|
|
80
|
-
config_1.Config.
|
|
80
|
+
config_1.Config.setConcurrency(exports.parsedCli.concurrency);
|
|
81
81
|
}
|
|
82
82
|
if (exports.parsedCli.timeout) {
|
|
83
|
-
config_1.Config.
|
|
83
|
+
config_1.Config.setTimeoutInMilliseconds(exports.parsedCli.timeout);
|
|
84
84
|
}
|
|
85
85
|
if (exports.parsedCli.height) {
|
|
86
|
-
config_1.Config.
|
|
86
|
+
config_1.Config.overrideHeight(exports.parsedCli.height);
|
|
87
87
|
}
|
|
88
88
|
if (exports.parsedCli.width) {
|
|
89
|
-
config_1.Config.
|
|
89
|
+
config_1.Config.overrideWidth(exports.parsedCli.width);
|
|
90
90
|
}
|
|
91
91
|
if (exports.parsedCli.frames) {
|
|
92
92
|
config_1.ConfigInternals.setFrameRangeFromCli(exports.parsedCli.frames);
|
|
@@ -96,56 +96,56 @@ const parseCommandLine = () => {
|
|
|
96
96
|
}
|
|
97
97
|
if (exports.parsedCli.png) {
|
|
98
98
|
log_1.Log.warn('The --png flag has been deprecrated. Use --sequence --image-format=png from now on.');
|
|
99
|
-
config_1.Config.
|
|
100
|
-
config_1.Config.
|
|
99
|
+
config_1.Config.setImageSequence(true);
|
|
100
|
+
config_1.Config.setImageFormat('png');
|
|
101
101
|
}
|
|
102
102
|
if (exports.parsedCli.sequence) {
|
|
103
|
-
config_1.Config.
|
|
103
|
+
config_1.Config.setImageSequence(true);
|
|
104
104
|
}
|
|
105
105
|
if (typeof exports.parsedCli.crf !== 'undefined') {
|
|
106
|
-
config_1.Config.
|
|
106
|
+
config_1.Config.setCrf(exports.parsedCli.crf);
|
|
107
107
|
}
|
|
108
108
|
if (exports.parsedCli['every-nth-frame']) {
|
|
109
|
-
config_1.Config.
|
|
109
|
+
config_1.Config.setEveryNthFrame(exports.parsedCli['every-nth-frame']);
|
|
110
110
|
}
|
|
111
111
|
if (exports.parsedCli.gl) {
|
|
112
|
-
config_1.Config.
|
|
112
|
+
config_1.Config.setChromiumOpenGlRenderer(exports.parsedCli.gl);
|
|
113
113
|
}
|
|
114
114
|
if (exports.parsedCli['prores-profile']) {
|
|
115
|
-
config_1.Config.
|
|
115
|
+
config_1.Config.setProResProfile(String(exports.parsedCli['prores-profile']));
|
|
116
116
|
}
|
|
117
117
|
if (exports.parsedCli.overwrite) {
|
|
118
|
-
config_1.Config.
|
|
118
|
+
config_1.Config.setOverwriteOutput(exports.parsedCli.overwrite);
|
|
119
119
|
}
|
|
120
120
|
if (typeof exports.parsedCli.quality !== 'undefined') {
|
|
121
|
-
config_1.Config.
|
|
121
|
+
config_1.Config.setQuality(exports.parsedCli.quality);
|
|
122
122
|
}
|
|
123
123
|
if (typeof exports.parsedCli.scale !== 'undefined') {
|
|
124
|
-
config_1.Config.
|
|
124
|
+
config_1.Config.setScale(exports.parsedCli.scale);
|
|
125
125
|
}
|
|
126
126
|
if (typeof exports.parsedCli.port !== 'undefined') {
|
|
127
|
-
config_1.Config.
|
|
127
|
+
config_1.Config.setPort(exports.parsedCli.port);
|
|
128
128
|
}
|
|
129
129
|
if (typeof exports.parsedCli.muted !== 'undefined') {
|
|
130
|
-
config_1.Config.
|
|
130
|
+
config_1.Config.setMuted(exports.parsedCli.muted);
|
|
131
131
|
}
|
|
132
132
|
if (typeof exports.parsedCli['disable-keyboard-shortcuts'] !== 'undefined') {
|
|
133
|
-
config_1.Config.
|
|
133
|
+
config_1.Config.setKeyboardShortcutsEnabled(!exports.parsedCli['disable-keyboard-shortcuts']);
|
|
134
134
|
}
|
|
135
135
|
if (typeof exports.parsedCli['enforce-audio-track'] !== 'undefined') {
|
|
136
|
-
config_1.Config.
|
|
136
|
+
config_1.Config.setEnforceAudioTrack(exports.parsedCli['enforce-audio-track']);
|
|
137
137
|
}
|
|
138
138
|
if (typeof exports.parsedCli['public-dir'] !== 'undefined') {
|
|
139
|
-
config_1.Config.
|
|
139
|
+
config_1.Config.setPublicDir(exports.parsedCli['public-dir']);
|
|
140
140
|
}
|
|
141
141
|
if (typeof exports.parsedCli['webpack-poll'] !== 'undefined') {
|
|
142
|
-
config_1.Config.
|
|
142
|
+
config_1.Config.setWebpackPollingInMilliseconds(exports.parsedCli['webpack-poll']);
|
|
143
143
|
}
|
|
144
144
|
if (typeof exports.parsedCli['audio-bitrate'] !== 'undefined') {
|
|
145
|
-
config_1.Config.
|
|
145
|
+
config_1.Config.setAudioBitrate(exports.parsedCli['audio-bitrate']);
|
|
146
146
|
}
|
|
147
147
|
if (typeof exports.parsedCli['video-bitrate'] !== 'undefined') {
|
|
148
|
-
config_1.Config.
|
|
148
|
+
config_1.Config.setVideoBitrate(exports.parsedCli['video-bitrate']);
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
exports.parseCommandLine = parseCommandLine;
|
package/dist/upgrade.js
CHANGED
|
@@ -21,10 +21,13 @@ const getUpgradeCommand = ({ manager, packages, version, }) => {
|
|
|
21
21
|
return commands[manager];
|
|
22
22
|
};
|
|
23
23
|
const upgrade = async (remotionRoot, packageManager) => {
|
|
24
|
-
var _a;
|
|
24
|
+
var _a, _b, _c, _d;
|
|
25
25
|
const packageJsonFilePath = path_1.default.join(remotionRoot, 'package.json');
|
|
26
26
|
const packageJson = require(packageJsonFilePath);
|
|
27
27
|
const dependencies = Object.keys(packageJson.dependencies);
|
|
28
|
+
const devDependencies = Object.keys((_a = packageJson.devDependencies) !== null && _a !== void 0 ? _a : {});
|
|
29
|
+
const optionalDependencies = Object.keys((_b = packageJson.optionalDependencies) !== null && _b !== void 0 ? _b : {});
|
|
30
|
+
const peerDependencies = Object.keys((_c = packageJson.peerDependencies) !== null && _c !== void 0 ? _c : {});
|
|
28
31
|
const latestRemotionVersion = await (0, get_latest_remotion_version_1.getLatestRemotionVersion)();
|
|
29
32
|
log_1.Log.info('Newest Remotion version is', latestRemotionVersion);
|
|
30
33
|
const manager = (0, get_package_manager_1.getPackageManager)(remotionRoot, packageManager);
|
|
@@ -33,7 +36,10 @@ const upgrade = async (remotionRoot, packageManager) => {
|
|
|
33
36
|
.map((p) => p.path)
|
|
34
37
|
.join(', ')}). Install dependencies using your favorite manager!`);
|
|
35
38
|
}
|
|
36
|
-
const toUpgrade = list_of_remotion_packages_1.listOfRemotionPackages.filter((u) => dependencies.includes(u)
|
|
39
|
+
const toUpgrade = list_of_remotion_packages_1.listOfRemotionPackages.filter((u) => dependencies.includes(u) ||
|
|
40
|
+
devDependencies.includes(u) ||
|
|
41
|
+
optionalDependencies.includes(u) ||
|
|
42
|
+
peerDependencies.includes(u));
|
|
37
43
|
const prom = renderer_1.RenderInternals.execa(manager.manager, getUpgradeCommand({
|
|
38
44
|
manager: manager.manager,
|
|
39
45
|
packages: toUpgrade,
|
|
@@ -42,7 +48,7 @@ const upgrade = async (remotionRoot, packageManager) => {
|
|
|
42
48
|
stdio: 'inherit',
|
|
43
49
|
});
|
|
44
50
|
if (renderer_1.RenderInternals.isEqualOrBelowLogLevel(config_1.ConfigInternals.Logging.getLogLevel(), 'info')) {
|
|
45
|
-
(
|
|
51
|
+
(_d = prom.stdout) === null || _d === void 0 ? void 0 : _d.pipe(process.stdout);
|
|
46
52
|
}
|
|
47
53
|
await prom;
|
|
48
54
|
log_1.Log.info('⏫ Remotion has been upgraded!');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cli",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.39",
|
|
4
4
|
"description": "CLI for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@remotion/bundler": "3.3.
|
|
26
|
-
"@remotion/media-utils": "3.3.
|
|
27
|
-
"@remotion/player": "3.3.
|
|
28
|
-
"@remotion/renderer": "3.3.
|
|
25
|
+
"@remotion/bundler": "3.3.39",
|
|
26
|
+
"@remotion/media-utils": "3.3.39",
|
|
27
|
+
"@remotion/player": "3.3.39",
|
|
28
|
+
"@remotion/renderer": "3.3.39",
|
|
29
29
|
"better-opn": "2.1.1",
|
|
30
30
|
"dotenv": "9.0.2",
|
|
31
31
|
"memfs": "3.4.3",
|
|
32
32
|
"minimist": "1.2.6",
|
|
33
33
|
"prompts": "2.4.1",
|
|
34
|
-
"remotion": "3.3.
|
|
34
|
+
"remotion": "3.3.39",
|
|
35
35
|
"semver": "7.3.5",
|
|
36
36
|
"source-map": "0.6.1"
|
|
37
37
|
},
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "5a07260074fe3a6db2cdba0001503c665951414d"
|
|
75
75
|
}
|