24 Commits

Author SHA1 Message Date
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
Mike Brocchi
116e294317 fix(@angular/cli): Refactor skip git flag into schematics
related to angular/devkit#167
2017-09-28 15:26:29 -07:00
Charles Lyding
baf20296ab refactor(@angular/cli): remove intermediate init command 2017-09-25 12:04:46 +01:00
vsavkin
6c6584d133 fix(@angular/cli): fix new to work with custom collections 2017-09-13 10:40:41 -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
7b9fc285e3 feat(@angular/cli): support TypeScript 2.4
This PR doesn't change new projects to use 2.4 since I have seen some reports of possible problems in `@angular/*`.

Instead, it:
- removes the dependency restrictions on <2.3
- bumps related dependencies to the minimum that supports 2.4 (`rxjs@^5.4.2`, `ts-node@~3.2.0`)
- builds the CLI itself using 2.4

So if you want to install ts 2.4 in your new project, the CLI itself won't stop you.

Fix #6827
2017-07-21 15:55:43 -04:00
Giora Guttsait
e87598e5db docs(@angular/cli): update documentation for ng new
* for several options that are saved in .angular-cli.json, I've added an explanation of what setting in the json file controls that options.
* added an explanation about what --dry-run will output.
* added possible values for --style option
* added respective documentation in the command
* also added less, sass and styl(stylus) as possible style extensions

The motivation for this change is that sometimes people would want to change some of the settings set by the cli durig ng new, that they might have not known or cared about, for example, prefix.
2017-06-12 09:52:45 -04: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
Jesse Palmer
d1cac3255b feat(@angular/cli): add n as new alias (#6494) 2017-06-01 12:01:28 +01:00
Charles Lyding
380ec59bf8 refactor(@angular/cli): hide link cli option 2017-05-04 20:01:11 +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
Sumit Arora
39aef95fd9 fix(@angular/cli): fixing new help issue
Close #5694
2017-03-29 11:04:39 +01:00
Filipe Silva
baf0c7d2bc feat(@angular/cli): always use ng4 in ng new
Fix #5566
2017-03-23 17:58:34 -07:00
Hans
211270d85f fix(@angular/cli): fix access to sections of package.json that dont exist (#5074)
Fixes #5070.
2017-02-27 16:36:19 -08:00
Hans Larsen
b4594bac33
fix(@angular/cli): add more description 2017-02-22 17:20:17 -08:00
Sumit Arora
7ebe4f0d4e fix(@angular/cli): adding help descriptions 2017-02-22 18:43:34 -05:00
Hans Larsen
e4fc2947db feat(@angular/cli): allow to create new projects in existing directory
Unless the directory is already under an Angular CLI project.

Fixes #4762
Close #4901
2017-02-22 12:00:59 +00:00
Filipe Silva
d1e13ace0b build: use noUnusedParameters, noUnusedLocals (#4882) 2017-02-21 10:53:34 -08:00
Mike Brocchi
a127cad82d refactor(@angular/cli): remove ng init & ng update (#4628)
BREAKING CHANGE: Removing the `ng init` & `ng update` commands because their current implementation causes more problems than it solves. Once RC is released, we won't need to use those to update anymore as the step will be as simple as installing the latest version of the CLI.
2017-02-11 19:53:06 -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
clydin
54541a1975 refactor(new): standardize project name validation (#4206) 2017-02-06 15:22:14 +00:00
Hans
601f9b38f8 feat(@angular/cli): move angular-cli to @angular/cli (#4328)
This release is otherwise identical to beta.28.
2017-02-01 18:19:50 -08:00