@haxtheweb/create 9.0.20 → 9.0.21
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/create.js
CHANGED
|
@@ -353,7 +353,7 @@ async function main() {
|
|
|
353
353
|
let themes = await (0, _site.siteThemeList)();
|
|
354
354
|
if (results.type === "site" && !commandRun.options.theme) {
|
|
355
355
|
// support having no theme but autoselecting
|
|
356
|
-
if (
|
|
356
|
+
if (commandRun.options.auto && commandRun.options.skip) {
|
|
357
357
|
commandRun.options.theme = themes[0];
|
|
358
358
|
} else {
|
|
359
359
|
return p.select({
|
|
@@ -177,6 +177,7 @@ async function webcomponentProcess(commandRun, project, port = "8000") {
|
|
|
177
177
|
await HAXCMS.recurseCopy(`${process.mainModule.path}/templates/${project.type}/hax/`, `${project.path}/${project.name}`);
|
|
178
178
|
// rename gitignore to improve copy cross platform compat
|
|
179
179
|
await fs.renameSync(`${project.path}/${project.name}/_github`, `${project.path}/${project.name}/.github`);
|
|
180
|
+
await fs.renameSync(`${project.path}/${project.name}/_vscode`, `${project.path}/${project.name}/.vscode`);
|
|
180
181
|
await fs.renameSync(`${project.path}/${project.name}/_editorconfig`, `${project.path}/${project.name}/.editorconfig`);
|
|
181
182
|
await fs.renameSync(`${project.path}/${project.name}/_gitignore`, `${project.path}/${project.name}/.gitignore`);
|
|
182
183
|
await fs.renameSync(`${project.path}/${project.name}/_nojekyll`, `${project.path}/${project.name}/.nojekyll`);
|