@remotion/cli 4.0.369 → 4.0.371
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.js +17 -0
- package/dist/list-of-remotion-packages.js +1 -0
- package/dist/print-help.js +4 -0
- package/package.json +14 -14
package/dist/index.js
CHANGED
|
@@ -7,6 +7,7 @@ exports.CliInternals = exports.cli = void 0;
|
|
|
7
7
|
const renderer_1 = require("@remotion/renderer");
|
|
8
8
|
const studio_server_1 = require("@remotion/studio-server");
|
|
9
9
|
const minimist_1 = __importDefault(require("minimist"));
|
|
10
|
+
const add_1 = require("./add");
|
|
10
11
|
const benchmark_1 = require("./benchmark");
|
|
11
12
|
const browser_1 = require("./browser");
|
|
12
13
|
const browser_download_bar_1 = require("./browser-download-bar");
|
|
@@ -114,6 +115,22 @@ const cli = async () => {
|
|
|
114
115
|
args,
|
|
115
116
|
});
|
|
116
117
|
}
|
|
118
|
+
else if (command === 'add') {
|
|
119
|
+
if (args.length === 0) {
|
|
120
|
+
throw new Error('Please specify at least one package name. Example: npx remotion add @remotion/transitions');
|
|
121
|
+
}
|
|
122
|
+
// Find where additional flags start (arguments starting with -)
|
|
123
|
+
const flagIndex = args.findIndex((arg) => arg.startsWith('-'));
|
|
124
|
+
const packageNames = flagIndex === -1 ? args : args.slice(0, flagIndex);
|
|
125
|
+
const additionalArgs = flagIndex === -1 ? [] : args.slice(flagIndex);
|
|
126
|
+
await (0, add_1.addCommand)({
|
|
127
|
+
remotionRoot,
|
|
128
|
+
packageManager: parsed_cli_1.parsedCli['package-manager'],
|
|
129
|
+
packageNames,
|
|
130
|
+
logLevel,
|
|
131
|
+
args: additionalArgs,
|
|
132
|
+
});
|
|
133
|
+
}
|
|
117
134
|
else if (command === versions_1.VERSIONS_COMMAND) {
|
|
118
135
|
await (0, versions_1.versionsCommand)(remotionRoot, logLevel);
|
|
119
136
|
}
|
package/dist/print-help.js
CHANGED
|
@@ -52,6 +52,10 @@ const printHelp = (logLevel) => {
|
|
|
52
52
|
log_1.Log.info({ indent: false, logLevel }, 'Ensure Remotion is on the newest version.');
|
|
53
53
|
log_1.Log.info({ indent: false, logLevel }, chalk_1.chalk.gray('https://www.remotion.dev/docs/cli/upgrade'));
|
|
54
54
|
log_1.Log.info({ indent: false, logLevel });
|
|
55
|
+
log_1.Log.info({ indent: false, logLevel }, chalk_1.chalk.blue('remotion add') + chalk_1.chalk.gray(' <package-name...>'));
|
|
56
|
+
log_1.Log.info({ indent: false, logLevel }, 'Add Remotion packages with the correct version.');
|
|
57
|
+
log_1.Log.info({ indent: false, logLevel }, chalk_1.chalk.gray('https://www.remotion.dev/docs/cli/add'));
|
|
58
|
+
log_1.Log.info({ indent: false, logLevel });
|
|
55
59
|
log_1.Log.info({ indent: false, logLevel }, chalk_1.chalk.blue(`remotion ${browser_1.BROWSER_COMMAND}`));
|
|
56
60
|
log_1.Log.info({ indent: false, logLevel }, 'Ensure Remotion has a browser it can use for rendering.');
|
|
57
61
|
log_1.Log.info({ indent: false, logLevel }, chalk_1.chalk.gray('https://www.remotion.dev/docs/cli/browser'));
|
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.371",
|
|
7
7
|
"description": "Control Remotion features using the `npx remotion` command",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
37
37
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@remotion/bundler": "4.0.
|
|
40
|
-
"@remotion/media-utils": "4.0.
|
|
41
|
-
"@remotion/player": "4.0.
|
|
42
|
-
"@remotion/renderer": "4.0.
|
|
43
|
-
"@remotion/studio-shared": "4.0.
|
|
44
|
-
"@remotion/studio-server": "4.0.
|
|
45
|
-
"@remotion/studio": "4.0.
|
|
39
|
+
"@remotion/bundler": "4.0.371",
|
|
40
|
+
"@remotion/media-utils": "4.0.371",
|
|
41
|
+
"@remotion/player": "4.0.371",
|
|
42
|
+
"@remotion/renderer": "4.0.371",
|
|
43
|
+
"@remotion/studio-shared": "4.0.371",
|
|
44
|
+
"@remotion/studio-server": "4.0.371",
|
|
45
|
+
"@remotion/studio": "4.0.371",
|
|
46
46
|
"dotenv": "9.0.2",
|
|
47
47
|
"minimist": "1.2.6",
|
|
48
48
|
"prompts": "2.4.2",
|
|
49
|
-
"remotion": "4.0.
|
|
49
|
+
"remotion": "4.0.371"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=16.8.0",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"@types/prompts": "^2.4.1",
|
|
58
58
|
"@types/prettier": "^2.7.2",
|
|
59
59
|
"@types/node": "20.12.14",
|
|
60
|
-
"@remotion/zod-types": "4.0.
|
|
61
|
-
"@remotion/tailwind-v4": "4.0.
|
|
62
|
-
"@remotion/enable-scss": "4.0.
|
|
63
|
-
"@remotion/skia": "4.0.
|
|
60
|
+
"@remotion/zod-types": "4.0.371",
|
|
61
|
+
"@remotion/tailwind-v4": "4.0.371",
|
|
62
|
+
"@remotion/enable-scss": "4.0.371",
|
|
63
|
+
"@remotion/skia": "4.0.371",
|
|
64
64
|
"react": "19.0.0",
|
|
65
65
|
"react-dom": "19.0.0",
|
|
66
66
|
"zod": "3.22.3",
|
|
67
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
67
|
+
"@remotion/eslint-config-internal": "4.0.371",
|
|
68
68
|
"eslint": "9.19.0"
|
|
69
69
|
},
|
|
70
70
|
"keywords": [
|