-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(angular): use helper to determine project name and root directory in project generators #18607
feat(angular): use helper to determine project name and root directory in project generators #18607
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
f0424db
to
f52861e
Compare
@@ -571,7 +571,7 @@ describe('lib', () => { | |||
it('should accept numbers in the path', async () => { | |||
await runLibraryGeneratorWithOpts({ directory: 'src/1-api' }); | |||
|
|||
expect(readProjectConfiguration(tree, 'src-api-my-lib').root).toEqual( | |||
expect(readProjectConfiguration(tree, 'src-1-api-my-lib').root).toEqual( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How come this changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We used to have a restriction on numbers which no longer applies. This applied only to Angular projects, but it doesn't anymore.
…directory for libraries
…y in application generator
f52861e
to
cd023cb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs changes look ok
f06619f
to
e6c7da8
Compare
e6c7da8
to
464633e
Compare
…r function" This reverts commit 464633e.
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Updates the Angular plugin project generators (application, host, remote and library) to use the helper to determine the project name and root.
For more context on the changes, see: #18420
Current Behavior
Expected Behavior
Related Issue(s)
Fixes #