stacked icon indicating copy to clipboard operation
stacked copied to clipboard

[bug]: app creation do not create android iOS and other code if name contains upper case letter

Open Abhijit-Revamp opened this issue 1 year ago • 6 comments

Describe the bug

This is not a bug, however, if you can put an error it will be great. I spent 2 hours trying to understand what was happening

using stacked version 1.12.6

if using "web" template then only lib, test and web folders are created if using default template (mobile) then only lib and test folders are created

To reproduce

  1. stacked update
  2. stacked create app myTest
  3. stacked create app myTestWeb -t web

Expected behavior

If the app name contains capital case, give error and exit use regex [a-z0-9_] unless something can be really done

Screenshots

image

Additional Context

No response

Abhijit-Revamp avatar Feb 13 '24 21:02 Abhijit-Revamp

We use the flutter command line tool to create the project. Flutter requires the projects to use snake_case for naming, when they implement it for different casing, then stacked will inherit that as well.

A message would definitely be good. I'll keep it on the issues for someone in the open source community to pick it up.

FilledStacks avatar Feb 14 '24 07:02 FilledStacks