78 Commits

Author SHA1 Message Date
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
Charles Lyding
d79fd000c1 refactor(@angular/cli): use check port utility function in serve command
Close #4898
2017-02-22 11:54:57 +00:00
Sumit Arora
ba30cc1de3 fix(@angular/cli): fixing the help command aliases (#4880) 2017-02-21 16:56:41 -08:00
Bram Borggreve
432c0a28e9 feat(@angular/cli): update ascii art to Angular CLI (#4785) 2017-02-21 14:31:02 -08:00
Filipe Silva
d1e13ace0b build: use noUnusedParameters, noUnusedLocals (#4882) 2017-02-21 10:53:34 -08:00
Filipe Silva
a4b43a59e4 fix(serve): allow relevant live-reload options to function (#4744)
This provides implementations for the following serve command options:

live-reload [boolean; default: true] -- flag to control the browser live reload capability
live-reload-client [URL; default: ssl/host/port command options] -- specify the URL that the live reload browser client will use

Closes #3361
2017-02-21 09:01:40 +00:00
Filipe Silva
d2bef98bb9 feat(@angular/cli): ng e2e defaults to random port (#4753)
BREAKING CHANGE: `ng e2e` will use a random port for serving by default
instead of using 4200.
2017-02-17 19:53:22 +00:00
Filipe Silva
3c3f74c060 feat(@angular/cli): don't use config file version (#4795)
We're not updating this number anymore since ng init/update is gone, so at
best it's useless and at worst it's confusing since it appears on ng
version.
2017-02-17 17:57:13 +00:00
Hans Larsen
50170b9c22
fix(@angular/cli): bug fixes on version and global config 2017-02-16 18:27:45 -08:00