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(compiler-cli): add support to extend angularCompilerOptions
#22717
feat(compiler-cli): add support to extend angularCompilerOptions
#22717
Conversation
basePath = support.basePath; | ||
}); | ||
|
||
function writeSomeRoutes() { |
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.
writeSomeConfigs
?
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.
Yes better, updated.
Travis error looks to be a flake. |
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.
Can we please add a documentation for this change? we shouldn't merge new features like this without docs. thanks!
the current compiler options are documented here: aio/content/guide/aot-compiler.md
@IgorMinar, I have added the requested docs. Can you please review them? Please feel free to suggest or do any changes. Ps: I have also rebased and thanks for your review. |
The Travis failure is a flake. |
@alan-agius4 or @IgorMinar ... flag this as |
For googlers: presubmit (attn: @IgorMinar) |
@IgorMinar, do you mind re-checking this please? Thanks. |
@@ -128,7 +128,37 @@ export function readConfiguration( | |||
try { | |||
const {projectFile, basePath} = calcProjectFileAndBasePath(project); | |||
|
|||
let {config, error} = ts.readConfigFile(projectFile, ts.sys.readFile); | |||
const readExtendedConfigFile = | |||
(configFile: string, existingConfig?: any): {config?: any; error?: ts.Diagnostic;} => { |
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.
I think we prefer to comma-separate
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.
updated
@alan-agius4 Thanks. We've been working on a related doc PR that is also about ready to merge. It contains some improvements to the order of sections within the AOT doc: #22353 I think things will merge more seamlessly if we land 22353 first. I've ask the author to accelerate and she should be done with final changes by EOD today. Meanwhile, I'll take a look at your new section with an eye toward where it will fit best in the new structure and do a quick copy edit. Will that work for you? |
Yes, that will work.
…On Fri, 07 Sep 2018 at 21:02, Jennifer Fell ***@***.***> wrote:
@alan-agius4 <https://github.com/alan-agius4> Thanks. We've been working
on a related doc PR that is also about ready to merge. It contains some
improvements to the order of sections within the AOT doc: #22353
<#22353>
I think things will merge more seamlessly if we land 22353 first. I've ask
the author to accelerate and she should be done with final changes by EOD
today.
Meanwhile, I'll take a look at your new section with an eye toward where
it will fit best in the new structure and do a quick copy edit.
Will that work for you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it orn GitHub
<#22717 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQv-Wkt5OEdPQ8bIg_eYHWlZKUsrvowvks5uYsKxgaJpZM4SnJm5>
.
|
You can preview ab8f729 at https://pr22717-ab8f729.ngbuilds.io/. |
You can preview 70a5519 at https://pr22717-70a5519.ngbuilds.io/. |
You can preview 3f594fa at https://pr22717-3f594fa.ngbuilds.io/. |
You can preview 4f79913 at https://pr22717-4f79913.ngbuilds.io/. |
`TypeScript` only supports merging and extending of `compilerOptions`. This is an implementation to support extending and inheriting of `angularCompilerOptions` from multiple files. Closes: #22684
You can preview 6c5ce1f at https://pr22717-6c5ce1f.ngbuilds.io/. |
@jenniferfell CI is all green here as well |
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.
thanks for updating the pr
…ngular#22717) `TypeScript` only supports merging and extending of `compilerOptions`. This is an implementation to support extending and inheriting of `angularCompilerOptions` from multiple files. Closes: angular#22684 PR Close angular#22717
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. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
TypeScript
only supports merging and extending ofcompilerOptions
.Issue Number: #22684
What is the new behavior?
This is an implementation to support extending and inheriting of
angularCompilerOptions
from multiple files.Does this PR introduce a breaking change?
Other information