33 Commits

Author SHA1 Message Date
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
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
Hans
6b26f91772 fix(@angular/cli): improve bootstrapping time (#4537)
The xi18n command was loading everything which was slowing down starting times.
2017-02-08 11:36:38 -08:00
Filipe Silva
b8328dca55 refactor(commands): turn .run commands into tasks (#4251) 2017-02-08 11:49:05 +00:00
Carlos Galan Cladera
86025369ad feature(i18n): implement xi18n command (#3340)
Implement i18n messages extractor. Contrary to @angular/complier-cli's command it will not throw an error if a resource is not found.
2017-02-07 19:19:04 -08:00
clydin
6bab5ecab5 fix(@angular/cli): don't override base-href if not directly specified (#4489) 2017-02-07 11:23:52 -08:00
clydin
54541a1975 refactor(new): standardize project name validation (#4206) 2017-02-06 15:22:14 +00:00
Michał Gołębiowski
20484598dd chore: change all Angular-CLI occurrences to Angular CLI (#4402)
* chore: change all Angular-CLI occurrences to Angular CLI

* docs: remove one remaining angular-cli reference
2017-02-03 15:50:24 +00:00
Michał Gołębiowski
0dc2200004 docs: get rid of remaining angular-cli references (#4398)
This commit changes 2 things:
1. Changes remaining angular-cli package references to @angular/cli.
2. Where angular-cli was mentioned as a project name, it's been changed
   to Angular CLI.

Where angular-cli was meant to mean the repository name, it's been left
unchanged.
2017-02-03 11:49:52 +00:00
Mike Brocchi
0f8689b42a refactor(@angular/cli): removed the github pages deploy command (#4385)
BREAKING CHANGE: This command is being removed from the core of the CLI
There are several options for deploying CLI-based applications outside the scope of this project.
One of which being https://github.com/angular-buch/angular-cli-ghpages
This functionality is likely to return in the form of an addon/plugin in the future
2017-02-02 21:08:00 -08:00
Carlo Dapor
d2f8ca7215
feat(@angular/cli): Generate completion.sh automatically.
It requires little tweaking in the case-block.

Now the completion shell script is generated out of TypeScript code entirely.  The options and aliases are generated dynamically.  There are options to only produce bash- or zsh-specific code.

Closes #3981.
2017-02-02 19:20:37 -08:00
clydin
6650b753ff style(@angular/cli): fix lint error (#4373) 2017-02-02 14:17:29 -08: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