@remotion/cli 4.0.430 → 4.0.431
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/config/experimental-client-side-rendering.d.ts +2 -0
- package/dist/config/experimental-client-side-rendering.js +12 -0
- package/dist/config/image-format.d.ts +5 -4
- package/dist/config/keyboard-shortcuts.d.ts +2 -0
- package/dist/config/keyboard-shortcuts.js +12 -0
- package/dist/config/pixel-format.d.ts +3 -2
- package/dist/config/prores-profile.d.ts +3 -2
- package/package.json +14 -14
- package/dist/detect-remotion-server.d.ts +0 -9
- package/dist/detect-remotion-server.js +0 -45
- package/dist/is-port-open.d.ts +0 -1
- package/dist/is-port-open.js +0 -24
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getExperimentalClientSideRenderingEnabled = exports.setExperimentalClientSideRenderingEnabled = void 0;
|
|
4
|
+
let experimentalClientSideRenderingEnabled = false;
|
|
5
|
+
const setExperimentalClientSideRenderingEnabled = (enabled) => {
|
|
6
|
+
experimentalClientSideRenderingEnabled = enabled;
|
|
7
|
+
};
|
|
8
|
+
exports.setExperimentalClientSideRenderingEnabled = setExperimentalClientSideRenderingEnabled;
|
|
9
|
+
const getExperimentalClientSideRenderingEnabled = () => {
|
|
10
|
+
return experimentalClientSideRenderingEnabled;
|
|
11
|
+
};
|
|
12
|
+
exports.getExperimentalClientSideRenderingEnabled = getExperimentalClientSideRenderingEnabled;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
1
|
+
import type { StillImageFormat, VideoImageFormat } from '@remotion/renderer';
|
|
2
|
+
export declare const setStillImageFormat: (format: StillImageFormat) => void;
|
|
3
|
+
export declare const setVideoImageFormat: (format: VideoImageFormat) => void;
|
|
4
|
+
export declare const getUserPreferredStillImageFormat: () => "png" | "jpeg" | "pdf" | "webp" | undefined;
|
|
5
|
+
export declare const getUserPreferredVideoImageFormat: () => "png" | "jpeg" | "none" | undefined;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getKeyboardShortcutsEnabled = exports.setKeyboardShortcutsEnabled = void 0;
|
|
4
|
+
let shortcutsEnabled = true;
|
|
5
|
+
const setKeyboardShortcutsEnabled = (enabled) => {
|
|
6
|
+
shortcutsEnabled = enabled;
|
|
7
|
+
};
|
|
8
|
+
exports.setKeyboardShortcutsEnabled = setKeyboardShortcutsEnabled;
|
|
9
|
+
const getKeyboardShortcutsEnabled = () => {
|
|
10
|
+
return shortcutsEnabled;
|
|
11
|
+
};
|
|
12
|
+
exports.getKeyboardShortcutsEnabled = getKeyboardShortcutsEnabled;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import type { PixelFormat } from '@remotion/renderer';
|
|
2
|
+
export declare const setPixelFormat: (format: PixelFormat) => void;
|
|
3
|
+
export declare const getPixelFormat: () => "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import type { _InternalTypes } from 'remotion';
|
|
2
|
+
export declare const getProResProfile: () => _InternalTypes["ProResProfile"] | undefined;
|
|
3
|
+
export declare const setProResProfile: (profile: _InternalTypes["ProResProfile"] | undefined) => void;
|
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.431",
|
|
7
7
|
"description": "Control Remotion features using the `npx remotion` command",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
38
38
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@remotion/bundler": "4.0.
|
|
41
|
-
"@remotion/media-utils": "4.0.
|
|
42
|
-
"@remotion/player": "4.0.
|
|
43
|
-
"@remotion/renderer": "4.0.
|
|
44
|
-
"@remotion/studio-shared": "4.0.
|
|
45
|
-
"@remotion/studio-server": "4.0.
|
|
46
|
-
"@remotion/studio": "4.0.
|
|
40
|
+
"@remotion/bundler": "4.0.431",
|
|
41
|
+
"@remotion/media-utils": "4.0.431",
|
|
42
|
+
"@remotion/player": "4.0.431",
|
|
43
|
+
"@remotion/renderer": "4.0.431",
|
|
44
|
+
"@remotion/studio-shared": "4.0.431",
|
|
45
|
+
"@remotion/studio-server": "4.0.431",
|
|
46
|
+
"@remotion/studio": "4.0.431",
|
|
47
47
|
"dotenv": "17.3.1",
|
|
48
48
|
"minimist": "1.2.6",
|
|
49
49
|
"prompts": "2.4.2",
|
|
50
|
-
"remotion": "4.0.
|
|
50
|
+
"remotion": "4.0.431"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": ">=16.8.0",
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"@types/prompts": "^2.4.1",
|
|
59
59
|
"@types/prettier": "^2.7.2",
|
|
60
60
|
"@types/node": "20.12.14",
|
|
61
|
-
"@remotion/zod-types": "4.0.
|
|
62
|
-
"@remotion/tailwind-v4": "4.0.
|
|
63
|
-
"@remotion/enable-scss": "4.0.
|
|
64
|
-
"@remotion/skia": "4.0.
|
|
61
|
+
"@remotion/zod-types": "4.0.431",
|
|
62
|
+
"@remotion/tailwind-v4": "4.0.431",
|
|
63
|
+
"@remotion/enable-scss": "4.0.431",
|
|
64
|
+
"@remotion/skia": "4.0.431",
|
|
65
65
|
"react": "19.2.3",
|
|
66
66
|
"react-dom": "19.2.3",
|
|
67
67
|
"zod": "4.3.6",
|
|
68
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
68
|
+
"@remotion/eslint-config-internal": "4.0.431",
|
|
69
69
|
"eslint": "9.19.0",
|
|
70
70
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
71
71
|
},
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.detectRemotionServer = void 0;
|
|
7
|
-
const http_1 = __importDefault(require("http"));
|
|
8
|
-
const detectRemotionServer = (port, cwd) => {
|
|
9
|
-
return new Promise((resolve) => {
|
|
10
|
-
const req = http_1.default.get({
|
|
11
|
-
hostname: 'localhost',
|
|
12
|
-
port,
|
|
13
|
-
path: '/__remotion_config',
|
|
14
|
-
timeout: 1000,
|
|
15
|
-
}, (res) => {
|
|
16
|
-
let data = '';
|
|
17
|
-
res.on('data', (chunk) => {
|
|
18
|
-
data += chunk;
|
|
19
|
-
});
|
|
20
|
-
res.on('end', () => {
|
|
21
|
-
try {
|
|
22
|
-
const json = JSON.parse(data);
|
|
23
|
-
if ((json === null || json === void 0 ? void 0 : json.isRemotion) !== true) {
|
|
24
|
-
return resolve({ type: 'not-remotion' });
|
|
25
|
-
}
|
|
26
|
-
// Normalize paths for comparison to avoid issues with different separators or casing on Windows
|
|
27
|
-
const normalize = (p) => p.replace(/\\/g, '/').toLowerCase();
|
|
28
|
-
if (normalize(json.cwd) === normalize(cwd)) {
|
|
29
|
-
return resolve({ type: 'match' });
|
|
30
|
-
}
|
|
31
|
-
return resolve({ type: 'mismatch' });
|
|
32
|
-
}
|
|
33
|
-
catch (_a) {
|
|
34
|
-
resolve({ type: 'not-remotion' });
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
req.on('error', () => resolve({ type: 'not-remotion' }));
|
|
39
|
-
req.on('timeout', () => {
|
|
40
|
-
req.destroy();
|
|
41
|
-
resolve({ type: 'not-remotion' });
|
|
42
|
-
});
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
exports.detectRemotionServer = detectRemotionServer;
|
package/dist/is-port-open.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const isPortOpen: (port: number) => Promise<boolean>;
|
package/dist/is-port-open.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isPortOpen = void 0;
|
|
4
|
-
const net_1 = require("net");
|
|
5
|
-
const isPortOpen = (port) => {
|
|
6
|
-
return new Promise((resolve, reject) => {
|
|
7
|
-
const server = (0, net_1.createServer)();
|
|
8
|
-
server.once('error', (err) => {
|
|
9
|
-
if (err.code === 'EADDRINUSE') {
|
|
10
|
-
resolve(false);
|
|
11
|
-
}
|
|
12
|
-
else {
|
|
13
|
-
reject(err);
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
server.once('listening', () => {
|
|
17
|
-
server.close(() => {
|
|
18
|
-
resolve(true);
|
|
19
|
-
});
|
|
20
|
-
});
|
|
21
|
-
server.listen(port);
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
exports.isPortOpen = isPortOpen;
|