-
Notifications
You must be signed in to change notification settings - Fork 404
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
Fail on schematics when directories starting with "_" gets changed to "-" #489
Comments
Would you like to create a PR for that :)? |
I feel motivated, will try to study this code as soon as it is possible. 👍 I have an opportunity to leave my name in this incredible project. |
Hello, It's in the controller.factory but I think this line is present in most schematics. |
Hi,
So that the However while looking at this, my initial thoughts, is that the dasherize command is there for converting camelCase, spaces, and underscores of a the file name to use dashes instead. I have quick couple of questions:
I believe this might kind of go hand-in-hand with #462 when determining the naming behavior, but a standard should also be set. |
I have stumbled upon this issue. I wanted to create a project with Any progress on this? Anyway, I wanted to manually change the name, so I grepped all the files within the generated project. I’d be quite easy to rename the root folder and the project name in |
@kamilmysliwiec I was looking for a good first contribution and this caught my eye. |
Thank you @stanimirovv, let's track this here #1551 |
I'm submitting a...
Current behavior
When you generate something with schematics, directory's name starting with "_" on result it ignore it and creates with "-".
Expected behavior
It should respect the "_" or any special character on directory's name.
Minimal reproduction of the problem with instructions
Just generate something e.g.:
nest g co auth/_users/user.module
Environment
The text was updated successfully, but these errors were encountered: