@revideo/create 0.1.4-alpha.874 → 0.1.4-alpha.875
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 +2 -3
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -111,7 +111,7 @@ const PLUGINS = {
|
|
|
111
111
|
`template-2d-${language}`,
|
|
112
112
|
);
|
|
113
113
|
copyDirectory(templateDir, response.path);
|
|
114
|
-
createConfig(response, language);
|
|
114
|
+
createConfig(response, plugins, language);
|
|
115
115
|
|
|
116
116
|
const manifest = JSON.parse(
|
|
117
117
|
fs.readFileSync(path.join(templateDir, `package.json`), 'utf-8'),
|
|
@@ -181,9 +181,8 @@ function copy(src, dest) {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
function createConfig(response, language) {
|
|
184
|
+
function createConfig(response, plugins, language) {
|
|
185
185
|
const imports = [];
|
|
186
|
-
const plugins = [];
|
|
187
186
|
for (const plugin of plugins) {
|
|
188
187
|
const data = PLUGINS[plugin];
|
|
189
188
|
imports.push(`import ${data.variable} from '${data.package}';\n`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revideo/create",
|
|
3
|
-
"version": "0.1.4-alpha.
|
|
3
|
+
"version": "0.1.4-alpha.875+4ebe905",
|
|
4
4
|
"description": "Quickly scaffold revideo projects",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "revideo",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"minimist": "^1.2.8",
|
|
30
30
|
"prompts": "^2.4.2"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "4ebe9050d130e79de7e08d1c57616f2ca741ff65"
|
|
33
33
|
}
|