62 Commits

Author SHA1 Message Date
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
Filipe Silva
9d29cbca0f feat(@angular/cli): add watch flag to serve/e2e (#4749)
This is useful when you don't want the server to rebuild in the middle of something.

A good example is when running e2e tests. Especially on larger suites, one would prefer to continue working while the build is tested without compromising tests.

This will break tests on #4744. They should be adjusted to add the `--watch` flag since they depend on the live reload behaviour during `ng e2e`.
2017-02-16 17:17:15 -08:00
Sumit Arora
121c3907dc fix(@angular/cli): fixing the help command (#4726) 2017-02-16 17:03:56 -08:00
Hans Larsen
6b53cd05da
feat(@angular/cli): version shows ejected app or not
And show the CLI config version if its different.
2017-02-16 16:52:02 -08:00
Hans Larsen
7ac0d05626
feat(@angular/cli): eject command
The command will generate a webpack.config.js and will add scripts to the package.json.
2017-02-16 16:52:02 -08:00
Filipe Silva
a22474e0ce refactor(@angular/cli): move stats-json to build only (#4746)
Other commands (like serve) do not support this option, so it should only be in build.
2017-02-16 15:48:54 +00:00
Charles Lyding
57ef508895 feat(build): add --poll option to build/serve/test commands
Close #4268
Close #4715
2017-02-16 09:04:49 +00:00
Mike Brocchi
809340a8f0 refactor(@angular/cli): rename config file from angular-cli.json to .angular-cli.json (#4681)
BREAKING CHANGE: The configuration file angular-cli.json has been renamed to .angular-cli.json
2017-02-15 23:14:18 -05:00
Varun Vachhar
469ca912dc feat(@angular/cli): add --stats-json flag to build (#4189)
Allows you to run ng build --json which generates dist/stats.json. This can then be used with things like the webpack-bundle-analyzer or https://webpack.github.io/analyse/

Fix #3179
2017-02-15 15:39:29 +00:00
Carlo Dapor
26b1ee434a fix(@angular/cli): show blueprints in completion script
Close #4571
2017-02-14 19:59:56 +00:00
Filipe Silva
3a85ffcf12 fix(@angular/cli): don't rerun protractor on rebuild (#4661) 2017-02-13 15:14:15 +00: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
ruffiem
b9295e08e7 feat(@angular/cli): added argument for karma configuration file (#4564)
Fix #183
2017-02-10 12:32:02 +00:00
Filipe Silva
8d2d93a7a2 feat(e2e): use protractor api (#4527)
Uses existing Protractor API to run it directly instead of using `npm run
e2e`.

Also adds support for the following flags: `--serve`, `--config`,
`--specs`, `--element-explorer`, `--webdriver-update`.

Fix #4256
Fix #4478

BREAKING CHANGE: `ng e2e` no longer needs `ng serve` to be running.
2017-02-09 15:14:29 -08:00
Carlo Dapor
b20d87ed2b feat(@angular/cli): show detailed help for blueprints. (#4267) 2017-02-09 11:24:52 -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
clydin
e0fb87c413 feat(@angular/cli): provide '--sourcemaps' alias for build (#4462) 2017-02-08 16:47:11 -08:00