@remotion/cli 4.1.0-alpha4 → 4.1.0-alpha7
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/chalk/index.d.ts +2 -1
- package/dist/config/image-format.d.ts +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/config/log.d.ts +1 -1
- package/dist/editor/components/CanvasOrLoading.js +20 -1
- package/dist/editor/components/CopyButton.js +5 -2
- package/dist/editor/components/Editor.js +1 -3
- package/dist/editor/components/FramePersistor.d.ts +0 -2
- package/dist/editor/components/FramePersistor.js +4 -24
- package/dist/editor/components/InitialCompositionLoader.js +1 -22
- package/dist/editor/components/NewComposition/RemInput.d.ts +1 -1
- package/dist/editor/components/NewComposition/RemInputTypeColor.d.ts +1 -1
- package/dist/editor/components/NewComposition/RemTextarea.d.ts +1 -1
- package/dist/editor/components/OpenEditorButton.js +5 -2
- package/dist/editor/components/QuickSwitcher/QuickSwitcherResult.js +3 -3
- package/dist/editor/components/RenderModal/RenderModal.js +5 -2
- package/dist/editor/components/RenderModal/RenderModalBasic.d.ts +2 -3
- package/dist/editor/components/RenderModal/SchemaEditor/SchemaErrorMessages.js +1 -3
- package/dist/editor/components/RenderModal/SchemaEditor/ZodSwitch.js +0 -1
- package/dist/editor/components/RenderModal/SchemaEditor/local-state.js +9 -3
- package/dist/editor/components/RenderModal/human-readable-codec.d.ts +1 -1
- package/dist/editor/components/SetTimelineInOutProvider.js +5 -4
- package/dist/editor/components/SidebarRenderButton.js +3 -1
- package/dist/editor/components/Timeline/TimelineDragHandler.js +45 -19
- package/dist/editor/components/TimelineInOutToggle.d.ts +2 -1
- package/dist/editor/components/TimelineInOutToggle.js +82 -67
- package/dist/editor/helpers/colors.d.ts +1 -1
- package/dist/editor/helpers/is-composition-still.d.ts +1 -1
- package/dist/editor/helpers/is-current-selected-still.js +5 -6
- package/dist/editor/icons/keys.js +1 -0
- package/dist/editor/state/in-out.d.ts +3 -2
- package/dist/editor/state/in-out.js +22 -5
- package/dist/editor/state/marks.d.ts +3 -2
- package/dist/editor/state/marks.js +6 -6
- package/dist/get-cli-options.d.ts +2 -2
- package/dist/get-composition-id.d.ts +2 -2
- package/dist/get-composition-id.js +5 -1
- package/dist/get-composition-with-dimension-override.d.ts +2 -2
- package/dist/handle-common-errors.js +8 -0
- package/dist/index.d.ts +16 -15
- package/dist/log.d.ts +3 -3
- package/dist/parse-command-line.js +1 -1
- package/dist/preview-server/dev-middleware/setup-hooks.js +1 -1
- package/dist/preview-server/error-overlay/remotion-overlay/Button.js +1 -0
- package/dist/preview-server/render-queue/open-directory-in-finder.js +11 -5
- package/dist/print-compositions.d.ts +2 -2
- package/package.json +10 -10
|
@@ -23,7 +23,7 @@ function setupHooks(context) {
|
|
|
23
23
|
logger.log('Compilation finished');
|
|
24
24
|
const statsOptions = {
|
|
25
25
|
preset: 'errors-warnings',
|
|
26
|
-
colors: renderer_1.RenderInternals.isColorSupported,
|
|
26
|
+
colors: renderer_1.RenderInternals.isColorSupported(),
|
|
27
27
|
};
|
|
28
28
|
const printedStats = stats.toString(statsOptions);
|
|
29
29
|
const lines = printedStats
|
|
@@ -13,6 +13,7 @@ const button = {
|
|
|
13
13
|
fontSize: 14,
|
|
14
14
|
color: 'white',
|
|
15
15
|
flexDirection: 'row',
|
|
16
|
+
display: 'flex',
|
|
16
17
|
};
|
|
17
18
|
const ButtonRefForwardFunction = ({ children, onClick, title, disabled, style, id, autoFocus, buttonContainerStyle, }, ref) => {
|
|
18
19
|
const combined = (0, react_1.useMemo)(() => {
|
|
@@ -14,11 +14,17 @@ const openDirectoryInFinder = (dirToOpen, allowedDirectory) => {
|
|
|
14
14
|
if (relativeToProcessCwd.startsWith('..')) {
|
|
15
15
|
throw new Error(`Not allowed to open ${relativeToProcessCwd}`);
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
if ((0, node_os_1.platform)() === 'win32') {
|
|
18
|
+
return new Promise((resolve, reject) => {
|
|
19
|
+
(0, node_child_process_1.exec)(`start ${dirToOpen}`, (error) => {
|
|
20
|
+
if (error) {
|
|
21
|
+
reject(error);
|
|
22
|
+
}
|
|
23
|
+
resolve();
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
const command = (0, node_os_1.platform)() === 'darwin' ? 'open' : 'xdg-open';
|
|
22
28
|
const p = (0, node_child_process_1.spawn)(command, [(0, node_os_1.platform)() === 'darwin' ? '-R' : null, dirToOpen].filter(truthy_1.truthy));
|
|
23
29
|
const stderrChunks = [];
|
|
24
30
|
p.stderr.on('data', (d) => stderrChunks.push(d));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const printCompositions: (compositions:
|
|
1
|
+
import type { VideoConfig } from 'remotion';
|
|
2
|
+
export declare const printCompositions: (compositions: VideoConfig[]) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cli",
|
|
3
|
-
"version": "4.1.0-
|
|
3
|
+
"version": "4.1.0-alpha7",
|
|
4
4
|
"description": "CLI for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"minimist": "1.2.6",
|
|
34
34
|
"open": "^8.4.2",
|
|
35
35
|
"prompts": "2.4.1",
|
|
36
|
-
"semver": "7.3
|
|
36
|
+
"semver": "7.5.3",
|
|
37
37
|
"source-map": "0.6.1",
|
|
38
|
-
"@remotion/bundler": "4.1.0-
|
|
39
|
-
"@remotion/media-utils": "4.1.0-
|
|
40
|
-
"@remotion/player": "4.1.0-
|
|
41
|
-
"@remotion/renderer": "4.1.0-
|
|
42
|
-
"remotion": "4.1.0-
|
|
38
|
+
"@remotion/bundler": "4.1.0-alpha7",
|
|
39
|
+
"@remotion/media-utils": "4.1.0-alpha7",
|
|
40
|
+
"@remotion/player": "4.1.0-alpha7",
|
|
41
|
+
"@remotion/renderer": "4.1.0-alpha7",
|
|
42
|
+
"remotion": "4.1.0-alpha7"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": ">=16.8.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@types/semver": "^7.3.4",
|
|
57
57
|
"eslint": "8.42.0",
|
|
58
58
|
"eslint-plugin-10x": "1.5.2",
|
|
59
|
-
"eslint-plugin-react": "7.
|
|
59
|
+
"eslint-plugin-react": "7.32.2",
|
|
60
60
|
"eslint-plugin-react-hooks": "4.4.0",
|
|
61
61
|
"prettier": "^2.7.1",
|
|
62
62
|
"prettier-plugin-organize-imports": "^2.3.4",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"typescript": "4.9.5",
|
|
66
66
|
"vitest": "0.31.1",
|
|
67
67
|
"zod": "^3.21.4",
|
|
68
|
-
"@remotion/zod-types": "4.1.0-
|
|
69
|
-
"@remotion/tailwind": "4.1.0-
|
|
68
|
+
"@remotion/zod-types": "4.1.0-alpha7",
|
|
69
|
+
"@remotion/tailwind": "4.1.0-alpha7"
|
|
70
70
|
},
|
|
71
71
|
"keywords": [
|
|
72
72
|
"remotion",
|