@remotion/cli 4.0.325 → 4.0.327

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.
@@ -66,26 +66,34 @@ const getCompositionId = async ({ args, compositionIdFromUi, serializedInputProp
66
66
  argsAfterComposition: compNameResult.remainingArgs,
67
67
  };
68
68
  }
69
+ const comps = await renderer_1.RenderInternals.internalGetCompositions({
70
+ puppeteerInstance,
71
+ envVariables,
72
+ timeoutInMilliseconds,
73
+ chromiumOptions,
74
+ port,
75
+ browserExecutable,
76
+ logLevel,
77
+ indent,
78
+ server,
79
+ serveUrlOrWebpackUrl,
80
+ onBrowserLog: null,
81
+ serializedInputPropsWithCustomSchema,
82
+ offthreadVideoCacheSizeInBytes,
83
+ offthreadVideoThreads,
84
+ binariesDirectory,
85
+ onBrowserDownload,
86
+ chromeMode,
87
+ });
88
+ if (comps.length === 1) {
89
+ return {
90
+ compositionId: comps[0].id,
91
+ reason: 'Only composition',
92
+ config: comps[0],
93
+ argsAfterComposition: args,
94
+ };
95
+ }
69
96
  if (!process.env.CI) {
70
- const comps = await renderer_1.RenderInternals.internalGetCompositions({
71
- puppeteerInstance,
72
- envVariables,
73
- timeoutInMilliseconds,
74
- chromiumOptions,
75
- port,
76
- browserExecutable,
77
- logLevel,
78
- indent,
79
- server,
80
- serveUrlOrWebpackUrl,
81
- onBrowserLog: null,
82
- serializedInputPropsWithCustomSchema,
83
- offthreadVideoCacheSizeInBytes,
84
- offthreadVideoThreads,
85
- binariesDirectory,
86
- onBrowserDownload,
87
- chromeMode,
88
- });
89
97
  const { compositionId, reason } = await (0, show_compositions_picker_1.showSingleCompositionsPicker)(comps, logLevel);
90
98
  if (compositionId && typeof compositionId === 'string') {
91
99
  return {
@@ -4,15 +4,6 @@ exports.showMultiCompositionsPicker = exports.showSingleCompositionsPicker = voi
4
4
  const composition_prompts_1 = require("./composition-prompts");
5
5
  const chalk_1 = require("./chalk");
6
6
  const showSingleCompositionsPicker = async (validCompositions, logLevel) => {
7
- if (validCompositions.length === 1) {
8
- const onlyComposition = validCompositions[0];
9
- if (onlyComposition) {
10
- return {
11
- compositionId: onlyComposition.id,
12
- reason: 'Only composition',
13
- };
14
- }
15
- }
16
7
  const selectedComposition = (await (0, composition_prompts_1.selectAsync)({
17
8
  message: 'Select composition:',
18
9
  optionsPerPage: 5,
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.325",
6
+ "version": "4.0.327",
7
7
  "description": "Control Remotion features using the `npx remotion` command",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -33,14 +33,14 @@
33
33
  "dotenv": "9.0.2",
34
34
  "minimist": "1.2.6",
35
35
  "prompts": "2.4.2",
36
- "@remotion/bundler": "4.0.325",
37
- "@remotion/player": "4.0.325",
38
- "@remotion/studio-shared": "4.0.325",
39
- "@remotion/media-utils": "4.0.325",
40
- "@remotion/studio-server": "4.0.325",
41
- "@remotion/studio": "4.0.325",
42
- "@remotion/renderer": "4.0.325",
43
- "remotion": "4.0.325"
36
+ "@remotion/bundler": "4.0.327",
37
+ "@remotion/studio-server": "4.0.327",
38
+ "remotion": "4.0.327",
39
+ "@remotion/player": "4.0.327",
40
+ "@remotion/renderer": "4.0.327",
41
+ "@remotion/media-utils": "4.0.327",
42
+ "@remotion/studio-shared": "4.0.327",
43
+ "@remotion/studio": "4.0.327"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": ">=16.8.0",
@@ -54,11 +54,11 @@
54
54
  "react-dom": "19.0.0",
55
55
  "zod": "3.22.3",
56
56
  "eslint": "9.19.0",
57
- "@remotion/tailwind-v4": "4.0.325",
58
- "@remotion/zod-types": "4.0.325",
59
- "@remotion/enable-scss": "4.0.325",
60
- "@remotion/eslint-config-internal": "4.0.325",
61
- "@remotion/skia": "4.0.325"
57
+ "@remotion/zod-types": "4.0.327",
58
+ "@remotion/tailwind-v4": "4.0.327",
59
+ "@remotion/skia": "4.0.327",
60
+ "@remotion/enable-scss": "4.0.327",
61
+ "@remotion/eslint-config-internal": "4.0.327"
62
62
  },
63
63
  "keywords": [
64
64
  "remotion",