@remotion/cli 4.0.149 → 4.0.151

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.
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.makeMultiDownloadProgress = exports.getFileSizeDownloadBar = void 0;
4
4
  const studio_server_1 = require("@remotion/studio-server");
5
5
  const make_progress_bar_1 = require("./make-progress-bar");
6
+ const progress_bar_1 = require("./progress-bar");
6
7
  const truthy_1 = require("./truthy");
7
8
  const getFileSizeDownloadBar = (downloaded) => {
8
9
  const desiredLength = (0, make_progress_bar_1.makeProgressBar)(0).length;
@@ -19,23 +20,23 @@ const makeMultiDownloadProgress = (progresses) => {
19
20
  ? progress.name.substring(0, 57) + '...'
20
21
  : progress.name;
21
22
  return [
22
- ` +`,
23
+ `Downloading assets`.padEnd(progress_bar_1.LABEL_WIDTH, ' '),
23
24
  progress.progress
24
25
  ? (0, make_progress_bar_1.makeProgressBar)(progress.progress)
25
26
  : (0, exports.getFileSizeDownloadBar)(progress.downloaded),
26
- `Downloading ${truncatedFileName}`,
27
+ truncatedFileName,
27
28
  ]
28
29
  .filter(truthy_1.truthy)
29
30
  .join(' ');
30
31
  }
31
32
  const everyFileHasContentLength = progresses.every((p) => p.totalBytes !== null);
32
33
  return [
33
- ` +`,
34
+ `Downloading assets`.padEnd(progress_bar_1.LABEL_WIDTH, ' '),
34
35
  everyFileHasContentLength
35
36
  ? (0, make_progress_bar_1.makeProgressBar)(progresses.reduce((a, b) => a + b.progress, 0) /
36
37
  progresses.length)
37
38
  : (0, exports.getFileSizeDownloadBar)(progresses.reduce((a, b) => a + b.downloaded, 0)),
38
- `Downloading ${progresses.length} files`,
39
+ `${progresses.length} files`,
39
40
  ]
40
41
  .filter(truthy_1.truthy)
41
42
  .join(' ');
package/dist/index.js CHANGED
@@ -12,6 +12,7 @@ const browser_1 = require("./browser");
12
12
  const browser_download_bar_1 = require("./browser-download-bar");
13
13
  const bundle_1 = require("./bundle");
14
14
  const chalk_1 = require("./chalk");
15
+ const check_for_npm_run_flag_pass_1 = require("./check-for-npm-run-flag-pass");
15
16
  const cleanup_before_quit_1 = require("./cleanup-before-quit");
16
17
  const cloudrun_command_1 = require("./cloudrun-command");
17
18
  const compositions_1 = require("./compositions");
@@ -69,6 +70,7 @@ const cli = async () => {
69
70
  ? 0
70
71
  : renderer_1.RenderInternals.registerErrorSymbolicationLock();
71
72
  (0, cleanup_before_quit_1.handleCtrlC)({ indent: false, logLevel });
73
+ (0, check_for_npm_run_flag_pass_1.checkForNpmRunFlagPass)({ indent: false, logLevel });
72
74
  try {
73
75
  if (command === 'bundle') {
74
76
  await (0, bundle_1.bundleCommand)(remotionRoot, args, logLevel);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cli",
3
- "version": "4.0.149",
3
+ "version": "4.0.151",
4
4
  "description": "CLI for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -32,14 +32,14 @@
32
32
  "dotenv": "9.0.2",
33
33
  "minimist": "1.2.6",
34
34
  "prompts": "2.4.2",
35
- "@remotion/bundler": "4.0.149",
36
- "@remotion/media-utils": "4.0.149",
37
- "@remotion/player": "4.0.149",
38
- "@remotion/renderer": "4.0.149",
39
- "@remotion/studio-shared": "4.0.149",
40
- "@remotion/studio": "4.0.149",
41
- "@remotion/studio-server": "4.0.149",
42
- "remotion": "4.0.149"
35
+ "@remotion/player": "4.0.151",
36
+ "@remotion/bundler": "4.0.151",
37
+ "@remotion/media-utils": "4.0.151",
38
+ "@remotion/studio": "4.0.151",
39
+ "remotion": "4.0.151",
40
+ "@remotion/studio-server": "4.0.151",
41
+ "@remotion/studio-shared": "4.0.151",
42
+ "@remotion/renderer": "4.0.151"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": ">=16.8.0",
@@ -48,7 +48,6 @@
48
48
  "devDependencies": {
49
49
  "@jonny/eslint-config": "3.0.281",
50
50
  "@types/minimist": "^1.2.2",
51
- "bun-types": "0.8.0",
52
51
  "@types/node": "18.14.6",
53
52
  "@types/prompts": "^2.4.1",
54
53
  "@types/react": "18.3.1",
@@ -64,9 +63,9 @@
64
63
  "react-dom": "18.3.1",
65
64
  "vitest": "0.31.1",
66
65
  "zod": "3.22.3",
67
- "@remotion/zod-types": "4.0.149",
68
- "@remotion/tailwind": "4.0.149",
69
- "@remotion/skia": "4.0.149"
66
+ "@remotion/tailwind": "4.0.151",
67
+ "@remotion/zod-types": "4.0.151",
68
+ "@remotion/skia": "4.0.151"
70
69
  },
71
70
  "keywords": [
72
71
  "remotion",