@revideo/create 0.2.11-alpha.934 → 0.2.11
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/index.js +3 -6
- package/package.json +8 -7
- package/template-2d-ts/package.json +6 -5
package/index.js
CHANGED
|
@@ -26,11 +26,6 @@ const PLUGINS = {
|
|
|
26
26
|
options: response =>
|
|
27
27
|
response.language === 'js' ? `{project: './src/project.js'}` : '',
|
|
28
28
|
},
|
|
29
|
-
ffmpeg: {
|
|
30
|
-
package: '@revideo/ffmpeg',
|
|
31
|
-
variable: 'ffmpeg',
|
|
32
|
-
version: '^0.2.9', // TODO: put in package.json
|
|
33
|
-
},
|
|
34
29
|
};
|
|
35
30
|
|
|
36
31
|
(async () => {
|
|
@@ -102,7 +97,7 @@ const PLUGINS = {
|
|
|
102
97
|
return;
|
|
103
98
|
}
|
|
104
99
|
|
|
105
|
-
const plugins = [PLUGINS.core
|
|
100
|
+
const plugins = [PLUGINS.core];
|
|
106
101
|
const templateDir = path.resolve(
|
|
107
102
|
fileURLToPath(import.meta.url),
|
|
108
103
|
'..',
|
|
@@ -185,6 +180,8 @@ function createConfig(response, selectedPlugins) {
|
|
|
185
180
|
imports.push(`import ${data.variable} from '${data.package}';\n`);
|
|
186
181
|
plugins.push(`${data.variable}(${data.options?.(response) ?? ''}),`);
|
|
187
182
|
}
|
|
183
|
+
imports.push(`import ffmpeg from '@revideo/ffmpeg';\n`);
|
|
184
|
+
plugins.push(`ffmpeg()`);
|
|
188
185
|
|
|
189
186
|
const configFile = path.resolve(response.path, `vite.config.ts`);
|
|
190
187
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revideo/create",
|
|
3
|
-
"version": "0.2.11
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"description": "Quickly scaffold revideo projects",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "revideo",
|
|
@@ -20,15 +20,16 @@
|
|
|
20
20
|
"url": "https://github.com/havenhq/revideo.git"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@revideo/2d": "
|
|
24
|
-
"@revideo/core": "
|
|
25
|
-
"@revideo/
|
|
26
|
-
"@revideo/
|
|
27
|
-
"@revideo/
|
|
23
|
+
"@revideo/2d": "0.2.11",
|
|
24
|
+
"@revideo/core": "0.2.11",
|
|
25
|
+
"@revideo/ffmpeg": "0.2.11",
|
|
26
|
+
"@revideo/renderer": "0.2.11",
|
|
27
|
+
"@revideo/ui": "0.2.11",
|
|
28
|
+
"@revideo/vite-plugin": "0.2.11"
|
|
28
29
|
},
|
|
29
30
|
"dependencies": {
|
|
30
31
|
"minimist": "^1.2.8",
|
|
31
32
|
"prompts": "^2.4.2"
|
|
32
33
|
},
|
|
33
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "c123312b4ef4f6226157124cc74fcfe94057b52a"
|
|
34
35
|
}
|
|
@@ -9,13 +9,14 @@
|
|
|
9
9
|
"render": "tsc && node dist/render.js"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@revideo/core": "^0.2.
|
|
13
|
-
"@revideo/2d": "^0.2.
|
|
14
|
-
"@revideo/renderer": "^0.2.
|
|
15
|
-
"@revideo/vite-plugin": "^0.2.
|
|
12
|
+
"@revideo/core": "^0.2.11",
|
|
13
|
+
"@revideo/2d": "^0.2.11",
|
|
14
|
+
"@revideo/renderer": "^0.2.11",
|
|
15
|
+
"@revideo/vite-plugin": "^0.2.11",
|
|
16
|
+
"@revideo/ffmpeg": "^0.2.11"
|
|
16
17
|
},
|
|
17
18
|
"devDependencies": {
|
|
18
|
-
"@revideo/ui": "^0.2.
|
|
19
|
+
"@revideo/ui": "^0.2.11",
|
|
19
20
|
"typescript": "^5.2.2",
|
|
20
21
|
"vite": "^4.5"
|
|
21
22
|
}
|