You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the Melos config documentation, the name field in melos.yaml is "the name of this project for display purposes within IO environments and IDEs." The docs then offer name: My Awesome Project as a valid configuration.
If I do set name to "My Awesome Project" and run melos bootstrap, I get the following error:
melos.yaml: The name My Awesome Project is not a valid dart package name
This is surprising to me. For one, I don't understand why a display string needs to be a valid identifier; also, the docs actively suggest that a string containing spaces is a valid value.
I fixed the docs to give a correct example. I'm not actually sure why exactly the decision was made to require a valid pub package name, so I'll leave it for now.
Is there an existing issue for this?
Version
3.0.1
Description
According to the Melos config documentation, the
name
field inmelos.yaml
is "the name of this project for display purposes within IO environments and IDEs." The docs then offername: My Awesome Project
as a valid configuration.If I do set
name
to "My Awesome Project" and runmelos bootstrap
, I get the following error:This is surprising to me. For one, I don't understand why a display string needs to be a valid identifier; also, the docs actively suggest that a string containing spaces is a valid value.
Steps to reproduce
name
inmelos.yaml
to "My Awesome Project" as suggested by the Melos config documentationmelos bootstrap
Expected behavior
I expected the bootstrapping to succeed.
Screenshots
No response
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: