655 Commits

Author SHA1 Message Date
Hans Larsen
cf9f86e743 feat(@angular/cli): add tree shaking of ngDevMode if compiling in prod
Whether Ivy is on or not does not matter.
2018-08-09 19:37:53 -04:00
Hans
3886aab55b feat(@schematics/angular): add a --experimental-ivy flag to ng-new
This will create a new Ivy-enabled application. Also available in "ng g application".
2018-08-09 19:37:53 -04:00
Charles Lyding
6c0cbe3c6d test(@angular/cli): run an npm audit test
currently purely for reporting and does not fail
2018-08-04 12:44:51 +01:00
Charles Lyding
84ec3022c2 fix(@angular-devkit/build-angular): ensure failure with disabled AOT and enabled build optimizer
Fixes #11157
2018-07-30 08:07:03 -07:00
Hans
aeb4ff5b29 feat(@schematics/angular): reallow --lint-fix for Angular schematics 2018-07-25 21:27:47 -07:00
Alan Agius
1caf708dca feat(@angular-devkit/build-ng-packagr): update ng-packagr to version 4 2018-07-25 22:54:22 +01:00
Filipe Silva
15c36eb891 test: use the targets property in legacy cli e2e 2018-07-25 20:17:33 +01:00
Filipe Silva
63b2b1148a test(@angular-devkit/build-angular): use targets instead of architect property 2018-07-25 20:17:33 +01:00
Alan Agius
9295217ce9 fix(@angular-devkit/build-angular): fix duplicate lint messages when having multiple tsconfigs
Closes #11633
2018-07-24 12:48:05 +01:00
Charles Lyding
1080357683 fix(@schematics/angular): update protractor to 4.5 for new projects
Partially addresses #10963
2018-07-23 11:39:44 +01:00
Filipe Silva
d2984e0a15 test(@angular-devkit/build-angular): add failing app-shell + sw test 2018-07-20 21:21:19 +01:00
Hans
0a329d644d revert: "fix(@ngtools/webpack): fix resolution fallback of paths-plugin"
This reverts commit 0bef5aa4be0a793ad096208efbb925ab98b39251.
2018-07-18 18:12:59 -05:00
Charles Lyding
0653f12d28 test(@angular/cli): add E2E test for file replacement watching 2018-07-12 15:53:29 -07:00
Hans
0bef5aa4be fix(@ngtools/webpack): fix resolution fallback of paths-plugin
If there is a package.json we should also verify that it has a main or fesm field
to see if webpack would actually resolve it properly. Otherwise use the JavaScript
resolution.

This is a temporary fix and still has obvious limitations and issues. Namely, this
code is never run if there is only one path mapping, but that falls outside the
scope of this fix. Also, some people might have valid packages but want to resolve
to the JS file itself (which is what TypeScript does by default). These should be
fixed with a refactoring of the path plugin.

Fixes https://github.com/nativescript/nativescript-dev-webpack/issues/607
2018-07-12 09:26:36 -07:00
Hans
91e7c3eb96 test: remove unused test directory and remove @ from paths 2018-07-12 09:26:36 -07:00
Filipe Silva
c97852e83f test: remove build optimizer integration test
Testing the size of a simple app is now done directly in the large specs inside devkit/build-angular.

The Angular.io test was very out of date, and Angular.io now keeps track of its bundle size much better than we ever did.
2018-07-09 11:09:23 -07:00
Charles Lyding
d17f856e8d test: add E2E for multi-option path mapping 2018-07-02 08:22:48 -04:00
Hans Larsen
5c1cafe750 fix(@angular-devkit/schematics): fix declaring multiple aliases
Fix #11389
2018-07-02 08:21:41 -04:00
Alan Agius
3108ce30ab refactor: remove redundant error in catch 2018-07-02 08:20:59 -04:00
Hans
6fb3ea12b7 test: fix e2e following rendering changes in universal
It should be more resilient to those changes in the future.
2018-06-07 09:30:12 -07:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00
Charles Lyding
4e53bfde75 fix(@angular/cli): handle raw strings in config command 2018-05-24 19:01:14 +01:00
Charles Lyding
3db1a1861d refactor(@angular/cli): dead code/settings removal 2018-05-23 19:34:52 +01:00
Mike Brocchi
8e69b3b9b9 fix(@angular/cli): Fix config command setting number values
fixes #10900
2018-05-21 10:31:27 +01:00
Charles Lyding
48296d21b3 test: partial lint rule upgrade and fixes 2018-05-15 09:37:54 -04:00
Charles Lyding
c8fc0c6c8d test: disable ng test watch mode in e2e 2018-05-11 11:56:34 +01:00
Filipe Silva
b9c40eef3c fix(@angular/cli): fix PWD in cygwin
Fix https://github.com/angular/angular-cli/issues/10232
2018-05-10 10:22:16 -07:00
Filipe Silva
d6ea3d6ca3 test: add 1.0 update test 2018-05-02 14:40:54 -07:00
Filipe Silva
a84daeb656 test: add more checks to 1.7 update test 2018-05-02 14:40:54 -07:00
Filipe Silva
70f440377d test: add 1.0 update project files 2018-05-02 14:40:54 -07:00
Mike Brocchi
6141e6ff92 fix(@angular/cli): Update in project logic
fixes #10594
2018-05-02 12:49:37 -07:00
Mike Brocchi
fbcefe535c fix(@angular/cli): Correct reading of camel-cased defaults
fixes #10371
based upon PR #10570
2018-05-02 10:29:41 -07:00
Hans Larsen
62232e8803 test: add new tests for ng add 2018-05-01 16:50:13 -07:00
Mike Brocchi
e9a3aa9ed0 fix(@angular/cli): Remove guard tests that use deprecated module option. 2018-05-01 15:48:38 -07:00
Mike Brocchi
d5afc72805 fix(@angular/cli): Update readme and remove unused code 2018-05-01 10:39:56 -07:00
Charles Lyding
ceeb292a29 refactor(@angular/cli): remove chalk dependency 2018-05-01 10:24:36 -07:00
Charles Lyding
894e008730 fix(@angular/cli): migrate legacy global config when present 2018-04-30 22:54:04 -07:00
Mike Brocchi
6ccf465468 fix(@angular/cli): Update project root determination
fixes #10513
2018-04-30 21:10:26 -07:00
Mike Brocchi
dd97a7f135 fix(@angular/cli): Show deprecation warning for get/set commands
fixes #10558
2018-04-30 18:22:18 -07:00
Filipe Silva
a302418a4f test: don't install after generating lib 2018-04-30 18:20:03 -07:00
Alan Agius
7211c1a00e fix(@angular/cli): update several config warning messages 2018-04-30 16:31:07 -07:00
Mike Brocchi
329e23088c fix(@angular/cli): Update project detection logic and rename global config file
fixes #10453
2018-04-27 10:53:53 -07:00
Filipe Silva
1854589cd9 build: use devkit snapshots for e2e 2018-04-26 15:21:54 -07:00
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
Hans Larsen
0bd1f61736 test: always create a new directory when copying assets 2018-04-25 15:14:15 -07:00
Hans Larsen
7c7c350d4e fix(@angular/cli): if using ng update @angular/cli only, add migrate and from
Fix #10439
2018-04-25 15:14:15 -07:00
Charles Lyding
b4f611cec6 test: remove postcss test as it is handled in devkit 2018-04-25 09:46:03 -07:00
Charles Lyding
2188a5011a fix(@angular/cli): normalize cli config command options 2018-04-23 17:59:43 -06:00
Alan Agius
ee32918479 test: fix unit tests for 'my-lib' is not a known element 2018-04-23 17:22:32 -06:00
Mike Brocchi
99744de5c4 test: Remove refs to service schematic module option 2018-04-12 15:41:26 -07:00