22 Commits

Author SHA1 Message Date
Filipe Silva
fd82e1870e build: update chalk to 2.2
`chalk@2.2` is incompatible with `@types/chalk`.
2017-10-24 12:03:55 -07:00
Hans Larsen
5b0af09fc3 revert: "refactor: move all CLI-specific exceptions to different options (#7981)"
This reverts commit ae47b46563e2bcaf31aab9f992691e42d3e04eae.
2017-10-09 22:33:11 -07:00
Hans
ae47b46563 refactor: move all CLI-specific exceptions to different options (#7981)
We made too many shortcuts for passing data in and custom schematics could not
work properly.

This is temporary as we will likely move some more logic into schematics tooling
to be able to pass only the raw args and the CLI config, but for now this is
enough to unblock AngularMix.
2017-10-09 22:28:29 -07:00
Hans Larsen
bf3c519d9f fix(@angular/cli): use an empty host for ng new
Creating the host means listing all files and directory. On large directories
it can be quite expensive. On ng new however we do not need to list everything,
only detect conflicts, so using an empty tree as the host of the schematics
makes sense.
2017-09-06 09:55:57 +01:00
Mike Brocchi
d6c07c7a81 fix(@angular/cli): New project now respect default styleExt (#7430)
Fixes #5599
2017-08-22 15:14:21 -07:00
Charles Lyding
9edb30cf2c fix(@angular/cli): only install packages once for a new project 2017-08-18 10:15:44 -07:00
Charles Lyding
36ceacc375 fix(@angular/cli): ensure new projects have a CLI package version 2017-08-18 10:13:56 -07:00
Mike Brocchi
128187e4c1 feat(@angular/cli): Update generate & new to use schematics
This feature is related to #6593
2017-08-16 18:24:43 -04:00
Filipe Silva
aebf4c89b1 fix(@angular/cli): wait for install to finish before exiting 2017-07-18 10:21:41 -04:00
Daniel Rönnkvist
0c6a9c5beb fix(@angular/cli): Changed init order to make sure all files gets committed
With the update of npm 5 and the introduction of package-lock.json all files weren't
committed into the first commit.
2017-06-28 14:49:05 +01:00
Mike Brocchi
a7668e0b0c feat(@angular/cli): add barebones option to ng new
This feature allows users to specify `--barebones` (`-b`) to create a no-frills app.
2017-06-07 12:33:48 -07:00
Charles Lyding
6e8944e621 fix(@angular/cli): check package manager only when using one 2017-06-06 15:08:39 +01:00
Charles Lyding
b72dbd9dea refactor(@angular/cli): remove additional unneeded ember-cli files 2017-06-01 11:45:01 +01:00
Hans Larsen
7a6cb21524
Revert "feat(@angular/cli): adding skip e2e test option"
This reverts commit fdea2df02719be9fabdc25fdc3a88835afe5b286.
2017-04-24 19:41:41 -07:00
Sumit Arora
fdea2df027 feat(@angular/cli): adding skip e2e test option 2017-03-31 16:57:16 -07:00
Abdulhaq Emhemmed
f6ca2d76f3 fix(@angular/cli): Use appropriate packageManager for linking
When creating a new project using the --link-cli option, the
linking command was hard-coded to use npm link @angular/cli.
This commit replicates the behaviour of npm-install where the
package manager is obtained from the global config and is then
used for linking.

Close #5524
2017-03-29 10:58:37 +01:00
Filipe Silva
baf0c7d2bc feat(@angular/cli): always use ng4 in ng new
Fix #5566
2017-03-23 17:58:34 -07:00
Sumit Arora
b25aef2da5 fix(@angular/cli): fixing empty prefix issue when creating new app (#5597) 2017-03-24 00:23:57 +00:00
Stephen Cavaliere
b15d1f37b6 refactor(@angular/cli): move ng2 blueprint to ng (#4932) 2017-02-22 14:01:55 -08:00
Sumit Arora
d2849c713b feat(@angular/cli): Add options for third party package manager (#4321)
BREAKING CHANGE: `--skip-npm` flag is now named `--skip-install`
2017-02-09 10:35:19 -08:00
Hans
c096afb00b feat(@angular/cli): add ng4 option to ng new (#4507)
This allows to create a project with Angular 4 in the template.
Also fixes a few issues with ng4.
2017-02-08 16:41:41 -08:00
Filipe Silva
b8328dca55 refactor(commands): turn .run commands into tasks (#4251) 2017-02-08 11:49:05 +00:00