-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Namespace parser does not allow local paths #5
Comments
This was referenced Jan 3, 2024
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now that
yo
is updated to useyeoman-generator
v4, the@yeoman/namespace
dependency is causing issues with local generators being run. See yeoman/yo#797 and yeoman/environment#497.When I debugged locally, this appears to be due to the
NAMESPACE_REGEX
not supporting local paths which start with a./
- the regex looks like it expects there to be an alphanumeric character, or dash, or tilde followed by a series of those same characters. Even if the regex were updated, I'm not sure the code to parse the namespace would work still, since it's expecting specific groups from the regex and this style of getting a generator namespace doesn't seem to make sense there.The text was updated successfully, but these errors were encountered: