136 Commits

Author SHA1 Message Date
Yaroslav Admin
70713bf076 feat(@angular/cli): add flag to specify environment for ng test command 2017-06-29 14:28:11 +01: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
Sumit Arora
e72693a948 feat(@angular/cli): remove deduped licenses 2017-06-02 19:19:44 +01:00
Jesse Palmer
d1cac3255b feat(@angular/cli): add n as new alias (#6494) 2017-06-01 12:01:28 +01:00
Charles Lyding
af3e6b22f4 feat(@angular/cli): add option to preserve symlinks for module resolution 2017-06-01 11:47:19 +01:00
Filipe Silva
91cbe3375f refactor(@angular/cli): use this.project instead of cliProject 2017-05-24 13:39:30 -07:00
Sumit Arora
d954ed1eab fix(@angular/cli): only values in enum should be allowed to update 2017-05-24 15:54:35 -04:00
Ricardo Varanda
dbfa851709 fix(@angular/cli): fix leading digit in file names from generate command 2017-05-24 15:35:46 -04:00
Sumit Arora
61cf790057 fix(@angular/cli): fix package name fetching from package.json 2017-05-24 15:22:32 -04:00
Filipe Silva
a54a991b2f feat(@angular/cli): add host check flags to ng serve
Two new flags are added to `ng serve`:
- `--public-host` (aliased by `--live-reload-client): Specify the URL that the browser client will use.
- `--disable-host-check`: Don't verify connected clients are part of allowed hosts.

Setting `--disable-host-check` will output a warning:
```
WARNING Running a server with --disable-host-check is a security risk. See https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a for more information.
```

See #6070 for more context about this change.

Fix #6070
2017-05-09 21:04:58 +01:00
Charles Lyding
a3bf5291e7 feat(@angular/cli): add option to use lint to adjust generated files 2017-05-09 19:04:11 +01:00
Charles Lyding
5cf395c948 refactor(@angular/cli): simplify blueprint generation command 2017-05-09 19:04:11 +01:00
Preston Van Loon
a5d8bc1706 fix(@angular/cli): ng get: return whole config root when no path provided.
Close #5887
2017-05-09 07:17:22 -07:00
Preston Van Loon
382ba8d7c7 fix(@angular/cli): Throw error when no key provided for ng get
Close #5887
2017-05-09 07:17:22 -07:00
Filipe Silva
8bf040b7e3 feat(@angular/cli): add flag to not delete output path
Fix #5925
Fix #6193
2017-05-08 14:27:59 +01:00
Sumit Arora
2bf5c96148 feat(@angular/cli): update tslint on updating prefix (#5908)
Fixes #5794
2017-05-04 20:11:43 +01:00
Tatsuyuki Ishi
e7966a2465 fix(@angular/cli): remove default for test runners
These are specified in the config file and defaulting them in CLI makes karma.conf.js useless.
2017-05-04 20:09:12 +01:00
Charles Lyding
380ec59bf8 refactor(@angular/cli): hide link cli option 2017-05-04 20:01:11 +01:00
Charles Lyding
52f82fe629 refactor(@angular/cli): support hidden commands and options 2017-05-04 20:01:11 +01:00
Charles Lyding
70243a2064 refactor(@angular/cli): remove additional unneeded ember-cli files 2017-05-04 19:59:54 +01:00
Sumit Arora
5e39361f2c
feat(@angular/cli): adding option to search docs as well 2017-05-03 17:28:49 -07: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
Hans Larsen
b0db3055fe
Revert "fix(@angular/cli): fix skip e2e"
This reverts commit 4aa17b2d937b8db9600524de33c99e046ad7f109.
2017-04-24 19:41:03 -07:00
Sumit Arora
4aa17b2d93 fix(@angular/cli): fix skip e2e 2017-04-24 18:44:52 -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
Georg Müller
1ef8de514e fix(@angular/cli): update completion suggestion for .bashrc and .zshrc
This way, it always contains the completion matching the installed version
of angular-cli.
2017-03-29 10:26:25 +01:00
Georg Müller
dfe59908a6 fix(@angular/cli): correctly build completion with blueprints and options
before, if both blueprints and options are present, a space was missing between
them, resulting in "service--dryrun" instead of "service --dryrun"

Patch v2:
* use template string
* fix indentation of generated bash output
2017-03-29 10:26:25 +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
bab9a56551 fix(@angular/cli): fixing lint error issue added flag --type-check 2017-03-23 17:55:41 -07:00
Mike Brocchi
fd12092b21 docs: update the build command docs 2017-03-23 17:25:30 -07:00
Hans Larsen
d94040b2de fix(@angular/cli): sourcemaps should be the main option, sourcemap an alias 2017-03-14 15:32:00 -07:00
Sumit Arora
7f0333a19a fix(@angular/cli): Fixing generate help command fix 2017-03-13 16:21:41 -07:00
Mike Brocchi
9b70fda0b2 fix(@angular/cli): add missing alias for guard blueprint (#5339)
Fixes #5336
2017-03-09 17:00:04 -05:00
Sumit Arora
1f8363a95a fix(@angular/cli): Fixing set prefix issue (#5301) 2017-03-09 16:42:58 +00:00
Charles Lyding
fcb1f35424 fix(@angular/cli): remove outdated test command option --build
Close #5235
2017-03-09 10:46:03 +00:00
Takatsugu Shigeta
cf14a15299 fix(@angular/cli): Fix filtering files on completion
Fix #4664
Close #4972
2017-03-09 10:36:08 +00:00
Roy Ling
c2a85694e1 fix(@angular/cli): karma config is default for test command (#5263)
`ng help test` says _protractor_ config is used by default, but it should be karma config instead.
2017-03-06 21:32:03 -05:00
Olivier Combe
d52d290c80 feat(@angular/cli): add new xi18n parameters --locale and --outFile (#5154)
Fixes #5145
2017-03-02 11:54:01 -08:00
Mike Brocchi
1609554c4d refactor(@angular/cli): consolidate config reading logic (#5023) 2017-02-27 21:22:19 -08: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
c57ce2a3a0 fix(@angular/cli): apps fixes (#4942)
We dont have ngConfig on projects anymore.
2017-02-23 10:03:42 +00:00
Hans Larsen
dd4f177a88
ci: fix travis 2017-02-22 20:21:25 -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
Sumit Arora
ade2236a9b feat(@angular/cli): adding the --app command option (#4754) 2017-02-22 14:19:29 -08:00
Stephen Cavaliere
b15d1f37b6 refactor(@angular/cli): move ng2 blueprint to ng (#4932) 2017-02-22 14:01:55 -08:00
Lenny
b4985498c9 feat(@angular/cli): allow setting ssl certificate in angular-cli.json (#4730)
Currently users must use the --ssl, -ssl-cert, -ssl-key flags to run the
server using an ssl certificate. This update allows users to set
those options in default.serve so they can just run `ng serve` without any
flags.
2017-02-22 14:01:29 -08: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