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.
Files changed (2) hide show
  1. package/dist/cli.mjs +3 -0
  2. 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({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wlmaker",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "description": "Create Flutter BLoCs with Freezed sealed classes from the terminal",
5
5
  "keywords": [
6
6
  "flutter",