create-video 3.3.16 → 3.3.18
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/templates.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare type DynamicTemplate = {
|
|
2
3
|
type: 'video';
|
|
3
4
|
promoVideo: {
|
|
@@ -19,8 +20,8 @@ export declare type Template = {
|
|
|
19
20
|
org: string;
|
|
20
21
|
repoName: string;
|
|
21
22
|
homePageLabel: string;
|
|
22
|
-
longerDescription:
|
|
23
|
-
cliId: 'hello-world' | 'javascript' | 'blank' | 'remix' | 'three' | 'still' | 'tts' | 'audiogram' | 'skia' | 'tailwind';
|
|
23
|
+
longerDescription: React.ReactNode;
|
|
24
|
+
cliId: 'hello-world' | 'javascript' | 'blank' | 'remix' | 'three' | 'still' | 'tts' | 'audiogram' | 'skia' | 'tailwind' | 'overlay';
|
|
24
25
|
defaultBranch: string;
|
|
25
26
|
} & DynamicTemplate;
|
|
26
27
|
export declare const FEATURED_TEMPLATES: Template[];
|
package/dist/templates.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FEATURED_TEMPLATES = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
5
|
exports.FEATURED_TEMPLATES = [
|
|
5
6
|
{
|
|
6
7
|
homePageLabel: 'TypeScript',
|
|
@@ -162,4 +163,20 @@ exports.FEATURED_TEMPLATES = [
|
|
|
162
163
|
type: 'video',
|
|
163
164
|
defaultBranch: 'main',
|
|
164
165
|
},
|
|
166
|
+
{
|
|
167
|
+
homePageLabel: 'Overlay',
|
|
168
|
+
shortName: 'Overlay',
|
|
169
|
+
org: 'remotion-dev',
|
|
170
|
+
repoName: 'template-overlay',
|
|
171
|
+
description: 'Overlays for video editing software',
|
|
172
|
+
longerDescription: ((0, jsx_runtime_1.jsxs)("span", { children: ["A starter template to create overlays to use in conventional video editing software.", ' ', (0, jsx_runtime_1.jsx)("a", { href: "/docs/overlay", children: "Read more about creating overlays." })] })),
|
|
173
|
+
promoVideo: {
|
|
174
|
+
muxId: 'zgy7XK01009y33Vfzhns02cZS00rOyeZ6WaanaxcrDysqmU',
|
|
175
|
+
height: 720,
|
|
176
|
+
width: 1280,
|
|
177
|
+
},
|
|
178
|
+
cliId: 'overlay',
|
|
179
|
+
type: 'video',
|
|
180
|
+
defaultBranch: 'main',
|
|
181
|
+
},
|
|
165
182
|
];
|
|
@@ -25,14 +25,14 @@ for (const template of templates_1.FEATURED_TEMPLATES) {
|
|
|
25
25
|
(0, vitest_1.expect)(body.scripts.build).toMatch(/render/);
|
|
26
26
|
(0, vitest_1.expect)(body.scripts.build).not.toContain('index');
|
|
27
27
|
}
|
|
28
|
-
(0, vitest_1.expect)(body.dependencies.remotion).toMatch(
|
|
29
|
-
(0, vitest_1.expect)(body.dependencies['@remotion/cli']).toMatch(
|
|
28
|
+
(0, vitest_1.expect)(body.dependencies.remotion).toMatch(/^\^?3/);
|
|
29
|
+
(0, vitest_1.expect)(body.dependencies['@remotion/cli']).toMatch(/^\^?3/);
|
|
30
30
|
(0, vitest_1.expect)(body.dependencies.react).toMatch(/^\^?18/);
|
|
31
31
|
(0, vitest_1.expect)(body.dependencies['react-dom']).toMatch(/^\^?18/);
|
|
32
32
|
(0, vitest_1.expect)(body.devDependencies.prettier).toMatch(/^\^?2/);
|
|
33
33
|
(0, vitest_1.expect)(body.devDependencies.eslint).toMatch(/^\^?8/);
|
|
34
|
-
const eitherPluginOrConfig = ((_a = body.devDependencies['@remotion/eslint-config']) === null || _a === void 0 ? void 0 : _a.match(
|
|
35
|
-
((_b = body.devDependencies['@remotion/eslint-plugin']) === null || _b === void 0 ? void 0 : _b.match(
|
|
34
|
+
const eitherPluginOrConfig = ((_a = body.devDependencies['@remotion/eslint-config']) === null || _a === void 0 ? void 0 : _a.match(/^\^?3/)) ||
|
|
35
|
+
((_b = body.devDependencies['@remotion/eslint-plugin']) === null || _b === void 0 ? void 0 : _b.match(/^\^?3/));
|
|
36
36
|
(0, vitest_1.expect)(eitherPluginOrConfig).toBeTruthy();
|
|
37
37
|
if (!template.shortName.includes('JavaScript')) {
|
|
38
38
|
(0, vitest_1.expect)(body.devDependencies.typescript).toMatch(/^\^?4/);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-video",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.18",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"execa": "5.1.1",
|
|
23
23
|
"minimist": "1.2.6",
|
|
24
24
|
"prompts": "2.4.1",
|
|
25
|
+
"react": "18.0.0",
|
|
25
26
|
"tar": "6.1.11"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
"@types/minimist": "1.2.2",
|
|
30
31
|
"@types/node": "^16.7.5",
|
|
31
32
|
"@types/prompts": "^2.0.12",
|
|
33
|
+
"@types/react": "18.0.23",
|
|
32
34
|
"@types/tar": "6.1.1",
|
|
33
35
|
"eslint": "8.25.0",
|
|
34
36
|
"got": "^11",
|
|
@@ -37,5 +39,5 @@
|
|
|
37
39
|
"typescript": "^4.7.0",
|
|
38
40
|
"vitest": "0.24.3"
|
|
39
41
|
},
|
|
40
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "0d1b7297c2ca88ee49e710e05afb7236fc887187"
|
|
41
43
|
}
|