@remotion/cli 4.0.93 → 4.0.94

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/index.d.ts CHANGED
@@ -124,7 +124,7 @@ export declare const CliInternals: {
124
124
  parsedCli: {
125
125
  "browser-executable": import("@remotion/renderer").BrowserExecutable;
126
126
  "pixel-format": "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
127
- "image-format": "png" | "jpeg" | "none" | "pdf" | "webp";
127
+ "image-format": "png" | "jpeg" | "pdf" | "webp" | "none";
128
128
  "prores-profile": "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy";
129
129
  "x264-preset": "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo";
130
130
  "bundle-cache": string;
@@ -194,7 +194,7 @@ export declare const CliInternals: {
194
194
  downloadName: string | null;
195
195
  outName: string | null;
196
196
  configImageFormat: "png" | "jpeg" | "pdf" | "webp" | null;
197
- cliFlag: "png" | "jpeg" | "none" | "pdf" | "webp" | null;
197
+ cliFlag: "png" | "jpeg" | "pdf" | "webp" | "none" | null;
198
198
  isLambda: boolean;
199
199
  fromUi: "png" | "jpeg" | "pdf" | "webp" | null;
200
200
  }) => {
package/dist/versions.js CHANGED
@@ -43,6 +43,11 @@ const validateVersionsBeforeCommand = async (remotionRoot, logLevel) => {
43
43
  if (installedVersions.length === 1) {
44
44
  return;
45
45
  }
46
+ // Could be a global install of @remotion/cli.
47
+ // If you render a bundle with a different version, it will give a warning accordingly.
48
+ if (installedVersions.length === 0) {
49
+ return;
50
+ }
46
51
  const logOptions = { indent: false, logLevel };
47
52
  log_1.Log.warn(logOptions, '-------------');
48
53
  log_1.Log.warn(logOptions, 'Version mismatch:');
@@ -83,6 +88,12 @@ const versionsCommand = async (remotionRoot, logLevel) => {
83
88
  }
84
89
  log_1.Log.info();
85
90
  }
91
+ if (installedVersions.length === 0) {
92
+ log_1.Log.info('No Remotion packages found.');
93
+ log_1.Log.info('Maybe @remotion/cli is installed globally.');
94
+ log_1.Log.info('If you try to render a video that was bundled with a different version, you will get a warning.');
95
+ process.exit(1);
96
+ }
86
97
  if (installedVersions.length === 1) {
87
98
  log_1.Log.info(`✅ Great! All packages have the same version.`);
88
99
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cli",
3
- "version": "4.0.93",
3
+ "version": "4.0.94",
4
4
  "description": "CLI for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -31,13 +31,13 @@
31
31
  "dotenv": "9.0.2",
32
32
  "minimist": "1.2.6",
33
33
  "prompts": "2.4.2",
34
- "@remotion/bundler": "4.0.93",
35
- "@remotion/media-utils": "4.0.93",
36
- "@remotion/studio": "4.0.93",
37
- "@remotion/player": "4.0.93",
38
- "@remotion/renderer": "4.0.93",
39
- "@remotion/studio-server": "4.0.93",
40
- "remotion": "4.0.93"
34
+ "@remotion/bundler": "4.0.94",
35
+ "@remotion/media-utils": "4.0.94",
36
+ "@remotion/player": "4.0.94",
37
+ "@remotion/renderer": "4.0.94",
38
+ "@remotion/studio": "4.0.94",
39
+ "remotion": "4.0.94",
40
+ "@remotion/studio-server": "4.0.94"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": ">=16.8.0",
@@ -62,8 +62,8 @@
62
62
  "react-dom": "18.2.0",
63
63
  "vitest": "0.31.1",
64
64
  "zod": "^3.22.3",
65
- "@remotion/tailwind": "4.0.93",
66
- "@remotion/zod-types": "4.0.93"
65
+ "@remotion/zod-types": "4.0.94",
66
+ "@remotion/tailwind": "4.0.94"
67
67
  },
68
68
  "keywords": [
69
69
  "remotion",