-
Notifications
You must be signed in to change notification settings - Fork 26.2k
build(aio): align stackblitz files with Angular CLI V6 #23521
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
You can preview abd88d9 at https://pr23521-abd88d9.ngbuilds.io/. |
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.
Unrelated to this PR, but I noticed the universal and testing examples still use the old cli + layout. Is there a reason or is it temporary? If the intention is to eventually upgrade them too, can you please create an issue, @brandonroberts?
@@ -252,7 +252,7 @@ class StackblitzBuilder { | |||
} | |||
|
|||
var defaultIncludes = ['**/*.ts', '**/*.js', '**/*.css', '**/*.html', '**/*.md', '**/*.json', '**/*.png']; | |||
var boilerplateIncludes = ['src/environments/*.*', '.angular-cli.json', 'src/polyfills.ts']; | |||
var boilerplateIncludes = ['src/environments/*.*', 'angular.json', 'src/polyfills.ts']; |
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.
But why does the file exist in the first place? Shouldn't it be removed?
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.
does stackblitz use this file for anything?
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.
AFAICT, it only uses it to include it in the exported zip.
(BTW, I just realized the zips exported by StackBlitz are broken (e.g. wrong layout) for both old and new projects.)
@gkalpak the intention is to upgrade those also. They require changes to the associated guides also and the initial PR was to upgrade the standard examples that didn't require any custom configuration. I'll add an issue for updating the remaining ones. Once those are updated, then we can safely remove the |
👍
If it is only |
@gkalpak I don't think so. I'll remove it as part of this PR and any leftover references. |
abd88d9
to
6651690
Compare
You can preview 6651690 at https://pr23521-6651690.ngbuilds.io/. |
34d68a7
to
76872bd
Compare
You can preview 76872bd at https://pr23521-76872bd.ngbuilds.io/. |
Also cleans up legacy references to `.angular-cli.json`
76872bd
to
010dd79
Compare
Why didn't Travis pick this up? 😒 |
@gkalpak this one is ready for another review |
Did you make any more changes other than removing (BTW, once a PR has been reviewed (and especially if you aren't making significant changes), it helps not amend the original commit, but add a |
You can preview 010dd79 at https://pr23521-010dd79.ngbuilds.io/. |
@gkalpak gotcha. I did not make anymore changes besides removing references to |
Also cleans up legacy references to `.angular-cli.json` PR Close #23521
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. |
The
.angular-cli.json
file was still being copied into the stackblitz examplesCloses #23437
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?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information