62a646220a
This adds handling of upper case letters in `dart create`. This command is run from IDEs (IntelliJ, atleast) and if you use upper case letters in the directory, the `dart create` would (silently) fail instead of normalizing the directing to a valid package name, leaving the created project folder with no content. All upper case names are normalized to all lower case, and mixed case are normalized to snake case, as if it was from camel case. Change-Id: If854e17a0273eb0d02f4f0c5dcd4b50752e57bd4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/474641 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>