175 Commits

Author SHA1 Message Date
Filipe Silva
702dd5bc28 fix(@angular/cli): allow update to work without workspace 2018-04-03 03:46:22 -07:00
Charles Lyding
1a01b1e876 refactor(@angular/cli): validate global cli options with config set 2018-03-29 12:25:09 -07:00
Charles Lyding
c34db58cee fix(@angular/cli): honor global config command option 2018-03-28 20:38:21 -07:00
Mike Brocchi
295546203c fix(@angular/cli): Read schematic option values from angular.json 2018-03-28 16:53:06 -07:00
Hans
33a6823df1 feat(@angular/cli): move ng update to using the proper schematic 2018-03-28 10:17:19 +01:00
Charles Lyding
64ebf9cf63 feat(@angular/cli): update cli config with workspace support 2018-03-27 21:03:18 -07:00
Filipe Silva
5380b72f75 fix(@angular/cli): check Node, Angular and RxJs minimum versions for CLI v6 2018-03-26 21:35:08 +01:00
Filipe Silva
2bf6838374 test: re-enable build tests 2018-03-26 17:50:06 +01:00
Mike Brocchi
7d04c9ca12 fix(@angular/cli): Fix add command collection arg parsing 2018-03-22 19:15:53 -07:00
Mike Brocchi
b0569241bc feat(@angular/cli): Implement schematic workflow and workspace 2018-03-22 19:15:53 -07:00
Mike Brocchi
494b9f4288 feat(@angular/cli): Read config values from config file 2018-03-22 19:15:53 -07:00
Mike Brocchi
d57ba45291 feat(@angular/cli): Remove pre-processing of schematics
This logic has been moved to the schematics so the CLI doesn't special-case anything.
2018-03-22 19:15:53 -07:00
Filipe Silva
41320bf8fd feat(@angular/cli): use workspace for architect commands 2018-03-19 11:26:38 -07:00
Mike Brocchi
b94b607090 refactor: Remove unused commands 2018-03-16 21:57:29 -04:00
Filipe Silva
38c8463280 feat(@angular/cli): use architect 2018-03-16 10:59:05 -07:00
Mike Brocchi
82be0c69a5 feat(@angular/cli): Add config command to replace (get/set).
BREAKING CHANGE: Removing the get and set commands in favor of the new config
2018-03-13 11:51:56 -04:00
Mike Brocchi
b1ed4f733d refactor: Move task logic into commands 2018-03-12 17:32:30 -04:00
Hans Larsen
093e4ea55c feat(@angular/cli): add the add command 2018-03-09 00:00:58 -05:00
Mike Brocchi
12e10e32ea feat(@angular/cli): Clean up generate options
BREAKING CHANGE: Removed collection and lint-fix options
2018-03-08 22:56:42 -05: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
Charles Lyding
56b5a971e5 refactor(@angular/cli): remove unneeded production webpack config partial 2018-02-26 19:47:06 +00:00
Filipe Silva
605e4feab6 fix(@angular/cli): remove forced commonjs
Followup to https://github.com/angular/angular-cli/pull/8128
Fix https://github.com/angular/angular-cli/issues/9058
2018-02-25 12:21:22 +00:00
Evan Carroll
04d4fcfc02 feat(@angular/cli): Support xliff2 for xi18n (#7734)
* Added support for the xliff2 serializer
2018-02-22 12:29:59 -08:00
Mike Brocchi
27106b623e fix(@angular/cli): fix ng help.
fixes #9412
2018-02-21 11:35:34 -08:00
Mike Brocchi
fab269a739 fix(@angular/cli): Fix help for generate command.
fixes #9412
2018-02-15 13:41:47 -08:00
Charles Lyding
5fc9b28b3e fix(@angular/cli): allow set prefix with no tslint config 2018-02-15 15:39:26 -05:00
Charles Lyding
57d7c16570 feat(@angular/cli): use schematic tasks for application init 2018-02-07 21:07:38 -05:00
Hans Larsen
d699392fc4 feat(@angular/cli): add support for ng update --next 2018-02-06 19:39:24 -05:00
Mike Brocchi
ac9c5995d2 feat(@angular/cli): Add update cmd to update angular versions. 2018-01-24 07:46:58 -08:00
Mike Brocchi
5a736bd90b refactor: Update rxjs operators to be lettable
Fixes #8912
2018-01-23 09:55:02 -08:00
Hans Larsen
ca8e8344f7 fix(@angular/cli): allow colon separated schematic name in generate 2018-01-22 19:22:02 -08:00
Hans Larsen
554908e245 fix(@angular/cli): allow for schema-less schematics to be generated 2018-01-22 19:22:02 -08:00
Filipe Silva
93e5d460b4 feat(@angular/cli): use devkit core formats for schematics
Followup to https://github.com/angular/devkit/pull/334
2018-01-18 13:03:19 -05:00
tomastrajan
d53f45896b feat(@angular/cli): add trailing slash to deployUrl when missing
Closes #7295
2018-01-03 22:14:26 +00: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
Mike Brocchi
330079cd7c fix(@angular/cli): Allow schematics without a name option.
Fixes #8793
2017-12-13 16:33:39 -05:00
Mike Brocchi
c573d91dad fix(@angular/cli): Add app-shell error msg
If configured app shell app is not configured as platform server throw an error
2017-11-29 21:14:19 +00:00
Mike Brocchi
8c0779f6a3 feat(@angular/cli): Add ability to build AppShell 2017-11-22 22:35:31 -08:00
Yaroslav Admin
4774049e84 feat(@angular/cli): disable progress when running outside TTY
The default value is changed from `true` to `progress.stdout.isTTY`. It
still has lower priority than value specified by command line flag or in
the .angular-cli.json config.

Fixes #8148
2017-11-21 11:51:53 -08:00
Filipe Silva
a2c416614d fix(@angular/cli): fix generate app root in windows
Fix #7960
2017-11-20 09:12:15 -08:00
Alex Rickabaugh
7b4b2c78d4 feat(@angular/cli): support 5.0.0+ builds of @angular/service-worker 2017-11-06 17:30:38 +00:00
Mike Brocchi
f4326addf6 fix(@angular/cli): Show non-schematic options with help 2017-11-01 10:02:30 -07:00
Mike Brocchi
6c5e60efba fix(@angular/cli): Show detailed help for ng new --help 2017-11-01 10:02:30 -07:00
Mike Brocchi
db39ccf789 refactor: Refactor help output 2017-11-01 10:02:30 -07:00
Mike Brocchi
f3e84184ea fix(@angular/cli): Show detailed help for generate
Fixes #7723
2017-10-27 15:36:35 -07:00
Filipe Silva
0eb25be6ff fix(@angular/cli): fix broken vendor chunk default
Followup to #8077
Fix #8169
2017-10-24 13:54:33 -07:00
Filipe Silva
fd82e1870e build: update chalk to 2.2
`chalk@2.2` is incompatible with `@types/chalk`.
2017-10-24 12:03:55 -07:00
Filipe Silva
28e66f352d fix(@angular/cli): improve rebundling speed
Forcing TypeScript to output commonjs modules instead of es2015 modules drastically improves rebuild speeds, especially for AOT.

This PR forces this option on the following modes:
- `ng build --watch --target=development`
- `ng serve --target=development`
- `ng test --code-coverage=false`

Please note that `--target=development` and `--code-coverage=false` are the defaults.

See https://github.com/webpack/webpack/issues/5863 for the webpack issue.
2017-10-20 11:00:51 -07:00
Filipe Silva
451f17cc04 fix(@angular/cli): strip decorators with Angular 5+ (#8077)
We feel build `--build-optimizer` is stable enough to not be experimental anymore.

This PR defaults `build-optimizer`  when using Angular 5+ on a production build with `--aot`.

It can still be turned off with `--no-build-optimizer` (or `--build-optimizer=false`).

Fix #8050
2017-10-18 19:49:49 +01:00
Hans Larsen
d3998aed75 feat(@angular/cli): show more version information
Group all Angular packages that have the same version as @angular/core, and
also show information for schematics, devkit and others that might not be
in the package.json but still installed. Those versions are important.
2017-10-11 09:36:42 -07:00