wlmaker 1.0.2 → 1.1.0
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/cli.mjs +3 -0
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -348,6 +348,9 @@ async function interactiveMode() {
|
|
|
348
348
|
} else {
|
|
349
349
|
targetDir = path5.join(project.projectRoot, "lib", "features", feature);
|
|
350
350
|
}
|
|
351
|
+
} else if (fs5.existsSync(path5.join(project.projectRoot, "lib", "bloc"))) {
|
|
352
|
+
targetDir = path5.join(project.projectRoot, "lib", "bloc");
|
|
353
|
+
clack.log.info(`Target: ${chalk2.cyan("lib/bloc/")}`);
|
|
351
354
|
} else {
|
|
352
355
|
clack.note("No lib/features/ directory found. Provide a target path manually.", "Info");
|
|
353
356
|
const customPath = await clack.text({
|