@remotion/cli 4.0.288 → 4.0.290
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/hyperlinks/is-supported.js +4 -0
- package/dist/progress-bar.js +11 -2
- package/package.json +14 -14
|
@@ -55,6 +55,10 @@ function supportsHyperlink() {
|
|
|
55
55
|
case 'WezTerm':
|
|
56
56
|
return version.major >= 20200620 ? 'Click' : false;
|
|
57
57
|
case 'vscode':
|
|
58
|
+
// Cursor is at v0
|
|
59
|
+
if (version.major === 0) {
|
|
60
|
+
return process.platform === 'darwin' ? 'Option+Click' : 'Ctrl+Click';
|
|
61
|
+
}
|
|
58
62
|
return version.major > 1 ||
|
|
59
63
|
(version.major === 1 && version.minor >= 72)
|
|
60
64
|
? process.platform === 'darwin'
|
package/dist/progress-bar.js
CHANGED
|
@@ -134,18 +134,20 @@ const makeRenderingProgress = ({ frames, totalFrames, doneIn, timeRemainingInMil
|
|
|
134
134
|
.filter(truthy_1.truthy)
|
|
135
135
|
.join(' ');
|
|
136
136
|
};
|
|
137
|
+
const ARTIFACTS_SHOWN = 5;
|
|
137
138
|
const makeArtifactProgress = (artifactState) => {
|
|
138
139
|
const { received } = artifactState;
|
|
139
140
|
if (received.length === 0) {
|
|
140
141
|
return null;
|
|
141
142
|
}
|
|
142
|
-
|
|
143
|
+
const artifacts = received
|
|
144
|
+
.slice(0, ARTIFACTS_SHOWN)
|
|
143
145
|
.map((artifact) => {
|
|
144
146
|
return [
|
|
145
147
|
chalk_1.chalk.blue((artifact.alreadyExisted ? '○' : '+').padEnd(exports.LABEL_WIDTH)),
|
|
146
148
|
chalk_1.chalk.blue((0, make_link_1.makeHyperlink)({
|
|
147
149
|
url: 'file://' + artifact.absoluteOutputDestination,
|
|
148
|
-
fallback: artifact.
|
|
150
|
+
fallback: artifact.relativeOutputDestination,
|
|
149
151
|
text: artifact.relativeOutputDestination,
|
|
150
152
|
})),
|
|
151
153
|
chalk_1.chalk.gray(`${(0, studio_shared_1.formatBytes)(artifact.sizeInBytes)}`),
|
|
@@ -153,6 +155,13 @@ const makeArtifactProgress = (artifactState) => {
|
|
|
153
155
|
})
|
|
154
156
|
.filter(truthy_1.truthy)
|
|
155
157
|
.join('\n');
|
|
158
|
+
const moreSizeCombined = received
|
|
159
|
+
.slice(ARTIFACTS_SHOWN)
|
|
160
|
+
.reduce((acc, artifact) => acc + artifact.sizeInBytes, 0);
|
|
161
|
+
const more = received.length > ARTIFACTS_SHOWN
|
|
162
|
+
? chalk_1.chalk.gray(`${' '.repeat(exports.LABEL_WIDTH)} ${received.length - ARTIFACTS_SHOWN} more artifact${received.length - ARTIFACTS_SHOWN === 1 ? '' : 's'} ${(0, studio_shared_1.formatBytes)(moreSizeCombined)}`)
|
|
163
|
+
: null;
|
|
164
|
+
return [artifacts, more].filter(truthy_1.truthy).join('\n');
|
|
156
165
|
};
|
|
157
166
|
const getRightLabelWidth = (totalFrames) => {
|
|
158
167
|
return `${totalFrames}/${totalFrames}`.length;
|
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.290",
|
|
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.
|
|
37
|
-
"@remotion/player": "4.0.
|
|
38
|
-
"@remotion/renderer": "4.0.
|
|
39
|
-
"@remotion/media-utils": "4.0.
|
|
40
|
-
"@remotion/studio-
|
|
41
|
-
"@remotion/studio-
|
|
42
|
-
"@remotion/studio": "4.0.
|
|
43
|
-
"remotion": "4.0.
|
|
36
|
+
"@remotion/bundler": "4.0.290",
|
|
37
|
+
"@remotion/player": "4.0.290",
|
|
38
|
+
"@remotion/renderer": "4.0.290",
|
|
39
|
+
"@remotion/media-utils": "4.0.290",
|
|
40
|
+
"@remotion/studio-server": "4.0.290",
|
|
41
|
+
"@remotion/studio-shared": "4.0.290",
|
|
42
|
+
"@remotion/studio": "4.0.290",
|
|
43
|
+
"remotion": "4.0.290"
|
|
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/
|
|
58
|
-
"@remotion/
|
|
59
|
-
"@remotion/
|
|
60
|
-
"@remotion/skia": "4.0.
|
|
61
|
-
"@remotion/
|
|
57
|
+
"@remotion/tailwind-v4": "4.0.290",
|
|
58
|
+
"@remotion/zod-types": "4.0.290",
|
|
59
|
+
"@remotion/enable-scss": "4.0.290",
|
|
60
|
+
"@remotion/skia": "4.0.290",
|
|
61
|
+
"@remotion/eslint-config-internal": "4.0.290"
|
|
62
62
|
},
|
|
63
63
|
"keywords": [
|
|
64
64
|
"remotion",
|