@revideo/create 0.3.7-red.988 → 0.4.1-cat.995
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 +0 -25
- package/package.json +9 -9
package/index.js
CHANGED
|
@@ -19,16 +19,6 @@ const templates = [
|
|
|
19
19
|
title: 'Minial, standalone Revideo project',
|
|
20
20
|
description: 'A minimal example to get started with Revideo.',
|
|
21
21
|
},
|
|
22
|
-
{
|
|
23
|
-
value: 'google-cloud-run',
|
|
24
|
-
title: 'Google Cloud Run',
|
|
25
|
-
description: 'Render a Revideo Project on Google Cloud Run.',
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
value: 'google-cloud-run-parallelized',
|
|
29
|
-
title: 'Google Cloud Run (advanced)',
|
|
30
|
-
description: 'Google Cloud Run with parallelized processing.',
|
|
31
|
-
},
|
|
32
22
|
];
|
|
33
23
|
|
|
34
24
|
async function run() {
|
|
@@ -96,7 +86,6 @@ async function run() {
|
|
|
96
86
|
`examples/${response.starter}`,
|
|
97
87
|
);
|
|
98
88
|
copyDirectory(templateDir, response.path);
|
|
99
|
-
createConfig(response);
|
|
100
89
|
|
|
101
90
|
sendEvent(EventName.CreateCommand, {
|
|
102
91
|
name: response.name,
|
|
@@ -160,20 +149,6 @@ function copy(src, dest) {
|
|
|
160
149
|
}
|
|
161
150
|
}
|
|
162
151
|
|
|
163
|
-
function createConfig(response) {
|
|
164
|
-
const configFile = path.resolve(response.path, `vite.config.ts`);
|
|
165
|
-
|
|
166
|
-
fs.writeFileSync(
|
|
167
|
-
configFile,
|
|
168
|
-
`import motionCanvas from '@revideo/vite-plugin';
|
|
169
|
-
import {defineConfig} from 'vite';
|
|
170
|
-
|
|
171
|
-
export default defineConfig({
|
|
172
|
-
plugins: [motionCanvas()],
|
|
173
|
-
});`,
|
|
174
|
-
);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
152
|
function getPackageManager() {
|
|
178
153
|
const ua = process.env.npm_config_user_agent;
|
|
179
154
|
return ua?.split(' ')[0].split('/')[0] ?? 'npm';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revideo/create",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1-cat.995+cf88b1a",
|
|
4
4
|
"description": "Quickly scaffold revideo projects",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "revideo",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"url": "https://github.com/havenhq/revideo.git"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@revideo/2d": "^0.
|
|
24
|
-
"@revideo/core": "^0.
|
|
25
|
-
"@revideo/ffmpeg": "^0.
|
|
26
|
-
"@revideo/renderer": "^0.
|
|
27
|
-
"@revideo/ui": "^0.
|
|
28
|
-
"@revideo/vite-plugin": "^0.
|
|
23
|
+
"@revideo/2d": "^0.4.1-cat.995+cf88b1a",
|
|
24
|
+
"@revideo/core": "^0.4.1-cat.995+cf88b1a",
|
|
25
|
+
"@revideo/ffmpeg": "^0.4.1-cat.995+cf88b1a",
|
|
26
|
+
"@revideo/renderer": "^0.4.1-cat.995+cf88b1a",
|
|
27
|
+
"@revideo/ui": "^0.4.1-cat.995+cf88b1a",
|
|
28
|
+
"@revideo/vite-plugin": "^0.4.1-cat.995+cf88b1a"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@revideo/telemetry": "^0.
|
|
31
|
+
"@revideo/telemetry": "^0.4.1-cat.995+cf88b1a",
|
|
32
32
|
"minimist": "^1.2.8",
|
|
33
33
|
"prompts": "^2.4.2"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "cf88b1a08e579957ff3c4d44975a47afa96d688c"
|
|
36
36
|
}
|