@remotion/cli 4.0.93 → 4.0.95
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/bundle.js +1 -1
- package/dist/versions.js +11 -0
- package/package.json +10 -10
package/dist/bundle.js
CHANGED
|
@@ -30,7 +30,7 @@ const bundleCommand = async (remotionRoot, args, logLevel) => {
|
|
|
30
30
|
if (!file) {
|
|
31
31
|
log_1.Log.error('No entry point found.');
|
|
32
32
|
log_1.Log.error('Pass another argument to the command specifying the entry point.');
|
|
33
|
-
log_1.Log.error('See: https://www.remotion.dev/docs/terminology
|
|
33
|
+
log_1.Log.error('See: https://www.remotion.dev/docs/terminology/entry-point');
|
|
34
34
|
process.exit(1);
|
|
35
35
|
}
|
|
36
36
|
const { publicDir } = (0, get_cli_options_1.getCliOptions)({
|
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.
|
|
3
|
+
"version": "4.0.95",
|
|
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/
|
|
35
|
-
"@remotion/
|
|
36
|
-
"@remotion/studio": "4.0.
|
|
37
|
-
"@remotion/
|
|
38
|
-
"@remotion/
|
|
39
|
-
"
|
|
40
|
-
"remotion": "4.0.
|
|
34
|
+
"@remotion/renderer": "4.0.95",
|
|
35
|
+
"@remotion/studio": "4.0.95",
|
|
36
|
+
"@remotion/studio-server": "4.0.95",
|
|
37
|
+
"@remotion/bundler": "4.0.95",
|
|
38
|
+
"@remotion/player": "4.0.95",
|
|
39
|
+
"remotion": "4.0.95",
|
|
40
|
+
"@remotion/media-utils": "4.0.95"
|
|
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/
|
|
66
|
-
"@remotion/
|
|
65
|
+
"@remotion/zod-types": "4.0.95",
|
|
66
|
+
"@remotion/tailwind": "4.0.95"
|
|
67
67
|
},
|
|
68
68
|
"keywords": [
|
|
69
69
|
"remotion",
|