-
Notifications
You must be signed in to change notification settings - Fork 12k
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): add ng4 option to ng new #4507
Conversation
2851b8f
to
b0afe31
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.
LGTM but have a look at the node7 CI. It failed with a weird missing chunk expectation and I restarted it.
@@ -24,7 +24,7 @@ export default function() { | |||
} else { | |||
// Otherwise create a project from scratch. | |||
createProject = Promise.resolve() | |||
.then(() => ng('new', 'test-project', '--skip-npm')) | |||
.then(() => ng('new', 'test-project', '--skip-npm', argv['ng4'] ? '--ng4' : '--')) |
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.
Nit: '--'
-> ''
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.
Done.
The xi18n command was loading everything which was slowing down starting times.
3e92bd1
to
d162659
Compare
This allows to create a project with Angular 4 in the template. Also fixes a few issues with ng4.
Should this be |
Are there any plans to remove the ng4 option again once Angular 4 is released – or will it stay here forever? |
This allows to create a project with Angular 4 in the template. Also fixes a few issues with ng4.
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. |
This allows to create a project with Angular 4 in the template.
Also fixes a few issues with ng4.