-
Notifications
You must be signed in to change notification settings - Fork 12k
feat(@angular/cli): making app root configurable #6079
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
Conversation
@@ -112,7 +112,8 @@ export default Blueprint.extend({ | |||
resolveModulePath(options.module, this.project, this.project.root, appConfig); | |||
} else { | |||
try { | |||
this.pathToModule = findParentModule(this.project.root, appConfig.root, this.generatePath); | |||
this.pathToModule = findParentModule |
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.
Parentheses on same line as function. Same everywhere.
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.
@hansl done
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.
A few things:
If you're updating angular-cli.json
you should also update the schema. The default will be needed for backwards compatability.
Tests?
0f79e8f
to
f34777f
Compare
@Brocco Added Test 😄 |
Looking at the blueprint, what is currently not configurable is the main ng module name (I.e, the bootstrapped module) and component name. A module's containing directory is also the name of the module so allowing configurability should allow the underlying issue's use case. |
Can you please rebase & repush this PR? There's a lot of noise in the diffs to review. |
abecf30
to
c50a689
Compare
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
c50a689
to
586b6be
Compare
CLAs look good, thanks! |
Please rebase. |
586b6be
to
af59849
Compare
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
af59849
to
9dfecb2
Compare
9dfecb2
to
08e7c97
Compare
08e7c97
to
a64c57d
Compare
a64c57d
to
cc5c7bb
Compare
Closing every Blueprints related issue and PR. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes: #5927