create-routify 1.5.5 → 1.5.7
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/package.json +1 -1
- package/src/index.js +1 -3
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -312,8 +312,6 @@ const setTemplates = async (configs, options) => {
|
|
|
312
312
|
};
|
|
313
313
|
|
|
314
314
|
const removeExcludedFiles = async (options) => {
|
|
315
|
-
console.log('options.template.manifest.exclude');
|
|
316
|
-
console.log(options);
|
|
317
315
|
const exclude = options.template.manifest.exclude.map((file) =>
|
|
318
316
|
join(options.projectDir, file),
|
|
319
317
|
);
|
|
@@ -344,9 +342,9 @@ export const run = async (options) => {
|
|
|
344
342
|
await handleFeatures(options);
|
|
345
343
|
const { preInstall, postInstall } = options.template.manifest;
|
|
346
344
|
await preInstall(options, tools);
|
|
345
|
+
await removeExcludedFiles(options);
|
|
347
346
|
await install(options);
|
|
348
347
|
await postInstall(options, tools);
|
|
349
|
-
await removeExcludedFiles(options);
|
|
350
348
|
|
|
351
349
|
p.note(
|
|
352
350
|
prompts.nextSteps(options.dir, options.packageManager) +
|