@revideo/create 0.1.7 → 0.1.9
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 +4 -2
- package/package.json +7 -7
package/index.js
CHANGED
|
@@ -186,17 +186,19 @@ function createConfig(response, selectedPlugins) {
|
|
|
186
186
|
plugins.push(`${data.variable}(${data.options?.(response) ?? ''}),`);
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
+
imports.push("import { rendererPlugin } from 'revideo/renderer';");
|
|
190
|
+
plugins.push('rendererPlugin()');
|
|
191
|
+
|
|
189
192
|
const configFile = path.resolve(response.path, `vite.config.ts`);
|
|
190
193
|
|
|
191
194
|
fs.writeFileSync(
|
|
192
195
|
configFile,
|
|
193
196
|
`import {defineConfig} from 'vite';
|
|
194
197
|
${imports.join('')}
|
|
195
|
-
|
|
198
|
+
|
|
196
199
|
export default defineConfig({
|
|
197
200
|
plugins: [
|
|
198
201
|
${plugins.join('\n ')},
|
|
199
|
-
rendererPlugin()
|
|
200
202
|
],
|
|
201
203
|
});
|
|
202
204
|
`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revideo/create",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Quickly scaffold revideo projects",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "revideo",
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
"url": "https://github.com/havenhq/revideo.git"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@revideo/2d": "^0.1.
|
|
24
|
-
"@revideo/core": "^0.1.
|
|
25
|
-
"@revideo/renderer": "^0.1.
|
|
26
|
-
"@revideo/ui": "^0.1.
|
|
27
|
-
"@revideo/vite-plugin": "^0.1.
|
|
23
|
+
"@revideo/2d": "^0.1.9",
|
|
24
|
+
"@revideo/core": "^0.1.9",
|
|
25
|
+
"@revideo/renderer": "^0.1.9",
|
|
26
|
+
"@revideo/ui": "^0.1.9",
|
|
27
|
+
"@revideo/vite-plugin": "^0.1.9"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"minimist": "^1.2.8",
|
|
31
31
|
"prompts": "^2.4.2"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "619d4db170886aa972e580c9ccf8ec0645145066"
|
|
34
34
|
}
|