18 Commits

Author SHA1 Message Date
Filipe Silva
06bba06ea8 fix(@angular/cli): use default project for single target commands
Fix https://github.com/angular/angular-cli/issues/10352
2018-04-26 15:21:54 -07:00
Charles Lyding
8a7949c72c refactor(@angular/cli): improve invalid parameter error messages 2018-04-11 11:56:03 -04:00
Filipe Silva
41320bf8fd feat(@angular/cli): use workspace for architect commands 2018-03-19 11:26:38 -07:00
Filipe Silva
38c8463280 feat(@angular/cli): use architect 2018-03-16 10:59:05 -07:00
Mike Brocchi
9f77c868d2 feat(@angular/cli): Update command runner.
This change removes the dependency of the ember-cli command structure.
2018-03-06 17:57:38 -05:00
Aniruddha Das
265eb96c09 feat(@angular/cli): override suite in the protractor config
resolves: 807
Override suite in the protractor config.
Can send in multiple suite by comma seperated values (ng e2e --suite=suite1.ts, suite2.ts).

Issue link
 github.com/angular/angular-cli/issues/807
 github.com/angular/angular-cli/pull/3551
2018-01-03 11:09:26 +00:00
Aditya Parab
3bbf175bab fix(@angular/cli): do not run e2e task if build fails
when ng e2e --serve=true is run and the build is not successful e2e task
should not be run

previously the e2e task was run even if build was a failure which will
obviously result in failure of test cases
now if errors are detected in build the e2e task will not be run
update docs as well to reflect this behaviour

Closes #7567
2017-10-06 09:59:47 -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
Mike Brocchi
1609554c4d refactor(@angular/cli): consolidate config reading logic (#5023) 2017-02-27 21:22: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
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
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
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
Filipe Silva
3a85ffcf12 fix(@angular/cli): don't rerun protractor on rebuild (#4661) 2017-02-13 15:14:15 +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
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