-
Notifications
You must be signed in to change notification settings - Fork 12k
feat(@angular/cli): inline style and templates in defaults #6571
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/cli): inline style and templates in defaults #6571
Conversation
c93151b
to
478184e
Compare
@hansl look at this travis log, can the build be broken on master? |
d822afa
to
5741bd7
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.
Please update the docs as well new.md
@sumitarora will do. Currently in France and my laptop charger won't fit the plugs, is it possible to update the branch from the mobile website? |
5741bd7
to
7d8b7f7
Compare
@sumitarora I've updated the docs. Notice that I have another PR, #6480, where I update the Also notice #6570, @Brocco made a suggestion regarding this PR, I believe It should be taken into consideration. |
* `inlineStyle` and `inlineTemplate` are now generated in `.angular-cli.json`. * default stays `false` for both, but if `ng new [name]` is specified with `-is` or `-it`, those will be stored as `true` in `.angular-cli.json` respectively * added unit tests and e2e test
…g --inline-template * note: this error already came up in angular#6538, so I'm just fixing the title so that the PR would not cause any merge-conflicts
7d8b7f7
to
4688054
Compare
@sumitarora @Brocco i've updated the PR according to @Brocco 's suggestion in #6570 regarding |
* instead of `-is` and `-it` setting the defaults, alternative `-all` flag were added to instead set the defaults, whereas it is decided that the existing will stay unchanged and will only affect `AppComponent` * added respective unit tests and e2e test * added respective docs * general styling fixes (vscode format document)
4688054
to
a8cba1c
Compare
@Brocco can I get a review on this? |
@Brocco @sumitarora @filipesilva this is idle for quite some time, could you guys review this so this gets merged? |
@Brocco can you have a look? |
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. |
inlineStyle
andinlineTemplate
are now generated in.angular-cli.json
.false
for both, but ifng new [name]
is specified with-is
or-it
, those will be stored astrue
in.angular-cli.json
respectivelyfixes #6570