225 Commits

Author SHA1 Message Date
Alan Agius
df172bdc8a fix(@ngtools/webpack): output consistent filename
At the moment when having namedChunks file names are different between JIT and AOT builds .

AOT will will output something like
```
customers-customers-module-ngfactory.9b8b989df2e32e5cadac.js
```
while JIT will output

```
customers-customers-module.js
```

This PR aligns the output file name
2018-10-15 14:32:47 -07:00
clydin
1747845dfa fix(@angular-devkit/core): make JSON schema required work with prompts (#12548) 2018-10-10 13:50:36 -07:00
Filipe Silva
431df79a1b fix(@angular-devkit/build-angular): dont serve files on cwd (#12547) 2018-10-10 12:12:08 -07:00
Filipe Silva
916a616762 fix(@angular-devkit/build-angular): fix extractLicenses default (#12546)
It should be false so that it doesn't affect dev builds. The default production config has it set to true already.

Partially address #12432.
2018-10-10 12:11:46 -07:00
Alan Agius
150dd4755b fix(@schematics/angular): codeCoverage exclude is not being migrated (#12511)
Fixes #10936
2018-10-10 12:09:32 -07:00
Filipe Silva
023a67254e fix(@angular-devkit/build-angular): don't override missing options in protractor (#12507)
Fix #10697
2018-10-10 12:09:02 -07:00
clydin
2bdf99bad3 test: cleanup poll CLI E2E test (#12497)
* test: cleanup poll CLI E2E test

* test(@angular-devkit/build-angular): adjust poll test
2018-10-10 12:07:13 -07:00
Charles Lyding
9ef66e2a3d test(@angular-devkit/build-angular): disable flaky poll test 2018-10-05 15:01:46 -07:00
Charles Lyding
9297eb5bf1 fix(@angular-devkit/core): record host should stat backing host 2018-10-05 15:01:46 -07:00
Hans
4493d885da docs: start rewriting docs 2018-10-05 12:02:45 -07:00
Filipe Silva
5adebf9d06 fix(@angular-devkit/build-angular): workaround karma issue
See https://github.com/karma-runner/karma/issues/3154
2018-10-04 13:33:24 -07:00
Filipe Silva
ea89f758ce test(@angular-devkit/build-angular): add test for type checker replacements 2018-10-04 13:33:24 -07:00
Filipe Silva
61871d37bb feat(@angular-devkit/build-angular): pass logger to ngtools/webpack 2018-10-04 13:33:24 -07:00
Charles Lyding
d9f73d76da fix(@angular-devkit/build-angular): only process index HTML if option is used 2018-10-04 13:32:30 -07:00
Charles Lyding
3bf2bb0774 refactor(@angular-devkit/build-angular): remove unused html webpack plugins 2018-10-04 13:32:30 -07:00
Alan Agius
0cfd5737ac fix(@angular-devkit/build-angular): resolve assets in styles relative to importee
Closes #12430
2018-10-03 17:34:19 -07:00
Alan Agius
3d9f858c31 style: remove unused locals and imports
Closes #12435
2018-10-03 16:33:54 -07:00
Alan Agius
5f8230cca1 fix(@angular-devkit/build-angular): ng test without reporters no longer print error
Closes #12455
2018-10-03 16:32:36 -07:00
Hans
c13cbd467a refactor(@angular-devkit/core): add cache to normalize
And a benchmark to show the curve, more or less.
2018-10-03 16:31:27 -07:00
Filipe Silva
61ce0ce6d5 fix(@angular-devkit/build-angular): don't rerun tests on unchanged compilation
Fix #11880
2018-10-01 08:50:16 -07:00
Alan Agius
14f787ad73 refactor: remove code that was needed for eject 2018-10-01 07:47:10 -07:00
Hans Larsen
3fd6afc7f8 feat(@angular-devkit/build-angular): add --reporters option to test
It was a regression, and used by enough people on CI. No reason it should be
omitted and karma.conf.js only.

Fixes #11376
2018-10-01 07:44:06 -07:00
Alan Agius
91e5fc0bfa build: update to TypeScript 3.1 2018-10-01 07:39:59 -07:00
Alan Agius
d582d80972 fix(@angular-devkit/build-angular): addresses issue were deployUrl has no effect with serve
Closes #11952
2018-09-27 12:46:55 -04:00
Alan Agius
d8eeced6b4 test: fix tests so it fails when servePath is not working
This is due that when targeting an html file, when it doesn't exists it redirects to the root page. So instead use a `js` files to test
2018-09-27 12:46:55 -04:00
Hans Larsen
7ff1e1a33e feat(@angular-devkit/build-angular): add progress option to xi18n
Add progress option to xi18n. It is passed to the webpack builder.

Fixes #11667.
2018-09-27 12:45:42 -04:00
Alan Agius
ae4dc05319 fix(@angular-devkit/build-angular): karma builder now serves global styles
Closes: #11072
2018-09-26 15:06:13 -07:00
Andrey Sitnik
5c6c704890 Disable Autoprefixer Grid 2018-09-26 15:17:46 -04:00
Alan Agius
a161e5f4d0 refactor(@angular-devkit/build-angular): clean up overriding of options 2018-09-26 14:16:43 -04:00
Charles Lyding
9a793494dc build: update rxjs to 6.3 2018-09-26 12:57:56 -04:00
Charles Lyding
013c663986 refactor(@angular-devkit/schematics): adjust rxjs type usage
Required for upcoming upgraded to rxjs 6.3
2018-09-26 12:57:56 -04:00
Charles Lyding
1a3a117b48 refactor(@angular-devkit/core): adjust rxjs type usage
Required for upcoming upgraded to rxjs 6.3
2018-09-26 12:57:56 -04:00
Charles Lyding
3034019ba9 build: update webpack types 2018-09-26 08:54:33 -04:00
Charles Lyding
228a2edd4a fix(@angular-devkit/build-angular): fully resolve project modules 2018-09-26 08:53:14 -04:00
Filipe Silva
048366b3ee feat(@angular-devkit/build-angular): add profile option to browser builder
This should help users send us profile logs for builds that take too long.
2018-09-26 08:24:07 -04:00
Alan Agius
1bf96348bc fix(@angular/cli): --verbose is an unknown option of serve
Closes #11086
2018-09-26 08:17:33 -04:00
Alan Agius
191edda747 test: add unit test to cover subdirs
Closes #12143
2018-09-25 17:01:03 -04:00
Terry
b561657946 fix(@angular-devkit/core): fix cannot delete directory (#11574) 2018-09-25 16:51:46 -04:00
majo44
c9dab34fbb feat(@angular-devkit/core): support of tsx files in aot mode (#11407) 2018-09-25 16:50:02 -04:00
Luca Vazzano
b9d8eed4a7 fixed typo in the Schematics README 2018-09-25 16:38:58 -04:00
Luca Vazzano
4a2fc6f04a extended Schematics README regarding templating
to include basic info and an example about it
2018-09-25 16:38:58 -04:00
S K
4efa26a004 feat(@angular-devkit/build-angular): update license-webpack-plugin
Closes #11536
2018-09-24 13:24:48 -07:00
Charles Lyding
30f8352ca2 feat(@angular-devkit/build-angular): automatically include reflect metadata polyfill for JIT
The reflect metadata polyfill is only required by Angular when using JIT.  Since it is unanticipated it would be needed when using AOT, including it when using AOT only serves to unnecessarily increase application file sizes.
JIT is not recommended for production use.  However, if an application uses JIT in production and an alternate reflect metadata polyfill is preferred (core-js/es7/reflect is currently used), then TypeScript path mapping can be used to override the polyfill.  As an example, the following will allow the usage of the `reflect-metadata` package in lieu of the default:
```
    "paths": {
      "core-js/es7/reflect": ["node_modules/reflect-metadata"]
    }
```
2018-09-24 13:23:57 -07:00
Hans
f74c1f479a feat(@angular-devkit/schematics): allow workflow impl to define their own sinks (#12330)
Behaviour for NodeWorkflow should be the same.
2018-09-20 15:19:42 -07:00
Hans
9648aa3ed9 feat(@angular-devkit/core): add enum support to getTypesOfSchema 2018-09-19 13:02:40 -07:00
Charles Lyding
72a65ddf5e feat(@angular-devkit/build-angular): update webpack dependencies
memory leak fix, security vulnerability package updates, hash integrity fix, and other minor defect fixes
2018-09-19 11:34:55 -07:00
Charles Lyding
5890759a9f fix(@angular-devkit/build-optimizer): deprecate transform test functions
These were not intended to be part of the public API and will eventually be removed completely.
2018-09-19 11:34:02 -07:00
Charles Lyding
a8a60a7faf refactor(@angular-devkit/build-optimizer): minor type cleanup 2018-09-19 11:34:02 -07:00
Charles Lyding
95f29fbb82 refactor(@angular-devkit/build-optimizer): remove unused import purifier 2018-09-19 11:34:02 -07:00
Charles Lyding
f5314531f5 refactor(@angular-devkit/build-optimizer): correct implicit returns 2018-09-19 11:32:39 -07:00