2305 Commits

Author SHA1 Message Date
Charles Lyding
1188e35b27 refactor(@angular-devkit/build-angular): minor CSS processing cleanup 2018-07-23 11:43:49 +01:00
Filipe Silva
290929c0bd fix(@angular-devkit/build-angular): only add ngsw after universal has rendered 2018-07-20 21:21:19 +01:00
Filipe Silva
d2984e0a15 test(@angular-devkit/build-angular): add failing app-shell + sw test 2018-07-20 21:21:19 +01:00
Filipe Silva
a532bf82c1 test(@angular-devkit/build-angular): add app-shell route test 2018-07-20 21:21:19 +01:00
Paul Gschwendtner
7ba94c8084 fix(@angular-devkit/build_angular): add loader-utils as dependency
* The `loader-utils` package is actively used in the `@angular-devkit/build_angular` package, and should therefore also list `loader-utils` as dependency. It might work for most package managers that do flatten the node modules, but if not (e.g. pnpm) this will fail *correctly*.
2018-07-20 09:29:19 +01:00
Teamop
8475b3dadb fix(@angular-devkit/build_angular): use webpack 4 hooks for karma plugin 2018-07-16 09:34:55 -07:00
banjankri
09d019e733 changing order of event and coverage reporters
Fixing an issue when event reporter is executed before coverage reporter, which was causing the test command to pass even though unit testing coverage thresholds were not met.
2018-07-13 08:23:08 -07:00
Charles Lyding
839c1f8a8d test(@angular-devkit/build-angular): add file replacement watch test
courtesy of @filipesilva
2018-07-12 15:53:29 -07:00
Charles Lyding
c899c56364 refactor(@angular-devkit/build-angular): allow webpack plugin to use default host 2018-07-12 15:53:29 -07:00
Charles Lyding
b10c42c721 fix(@angular-devkit/build-angular): fix webpack hostadapter return types 2018-07-12 15:53:29 -07:00
Charles Lyding
29d2c8aeeb fix(@angular-devkit/core): allow use of ResolverHost 2018-07-12 15:53:29 -07:00
Charles Lyding
56fb5ebce0 refactor(@angular-devkit/build-angular): use plugin for file replacement 2018-07-12 15:53:29 -07:00
Hans
91e7c3eb96 test: remove unused test directory and remove @ from paths 2018-07-12 09:26:36 -07:00
Hans Larsen
483cbe2665 refactor: add tslint-sonarts and a lot of tslint rules
This should clean up the code a bit.

Note: at first I added the no-useless-cast rule, but after getting frustrated
with it (as it has many false positive), I decided to remove the rule but some
useless casts were removed so I let those in the PR.
2018-07-10 15:07:36 -07:00
Hans Larsen
c1702d3579 refactor: add no-floating-promises lint rule to project
With fixes; new now handles the parent initialize, visitor_spec now errors on
rejection, and nothing in the writeI18nOutFile() function was async so removed
the promise there entirely.
2018-07-10 15:07:36 -07:00
Hans
cb588b68b3 fix(@angular-devkit/build-angular): use the internal buildWebpackConfig method
Instead of directly calling the browser builder. This means it can be overridden by
subclasses.
2018-07-10 12:55:27 -04:00
Filipe Silva
3529096a53 fix(@angular-devkit/build-angular): don't add hash to lazy styles
Fix #11235
2018-07-10 10:38:10 -04:00
Alex Eagle
63389e5028 build: fixes needed in google3 2018-07-09 16:14:18 -07:00
Filipe Silva
54047d7b71 test(@angular-devkit/build-angular): test build-optimizer reduction 2018-07-09 11:09:23 -07:00
Alex Eagle
773984dac3 build: fixes needed in google3
We have an older version of Jasmine that doesn't support generics in this spot
2018-07-06 16:33:50 -04:00
Filipe Silva
3e3dffba8e fix(@angular-devkit/architect): unsubscribe on timeout in runTargetSpec
This way cleanup logic runs on timeout.

It also simplifies timeout definition for runTargetSpec and Jasmine.
2018-07-05 11:43:11 -04:00
Filipe Silva
b9a8fd1392 fix(@angular-devkit/core): propagate node host delete errors 2018-07-05 11:43:11 -04:00
Filipe Silva
aa3901964d fix(@angular-devkit/architect): always clear TestProjectHost on restore 2018-07-05 11:43:11 -04:00
Filipe Silva
67ffe5ea19 fix(@angular-devkit/build-angular): update node-sass
Removes some of the security warnings for node-sass, but not all.

See https://github.com/sass/node-sass/issues/2355#issuecomment-402482975 for a summary.
2018-07-05 11:02:13 -04:00
Filipe Silva
5e7f7dea26 fix(@angular-devkit/build-angular): add missing deploy-url to server
Fix https://github.com/angular/angular-cli/issues/11426
2018-07-05 10:01:40 -04:00
Charles Lyding
df409e67ef fix(@angular-devkit/build-angular): downgrade sass-loader to 6.0.7
Fixes: #10535
2018-07-03 19:22:07 -04:00
Charles Lyding
9582b84603 fix(@angular-devkit/schematics): implement HostTree specific filtering 2018-07-03 12:52:22 -04:00
Charles Lyding
61d2181f85 fix(@angular-devkit/schematics): support VirtualTree/HostTree interop 2018-07-03 12:52:22 -04:00
Charles Lyding
f6f0c80d8d fix(@angular-devkit/core): ensure full path is renamed for memory host 2018-07-03 12:52:22 -04:00
Charles Lyding
48780c5e45 refactor(@angular-devkit/schematics): simplify move rule 2018-07-03 12:52:22 -04:00
Charles Lyding
8508b58a6c fix(@angular-devkit/schematics): ensure renamed files do not exist 2018-07-03 12:52:22 -04:00
Charles Lyding
5a58d00a4c fix(@angular-devkit/schematics): support filtering a HostTree 2018-07-03 12:52:22 -04:00
Charles Lyding
af8e7ea333 test(@angular-devkit/schematics): use HostTree instead of VirtualTree 2018-07-03 12:52:22 -04:00
Filipe Silva
8b1bb664d9 fix(@angular-devkit/build-angular): update minimum copy-webpack-plugin version
Fix #9230
2018-07-03 08:31:12 -04:00
Charles Lyding
c0bc9bbef4 fix(@angular-devkit/build-optimizer): support object literal methods
Fixes: #11399
2018-07-02 21:30:26 -04:00
Charles Lyding
fd14e4e162 fix(@angular-devkit/build-angular): add all current TSLint default formatters to schema 2018-07-02 09:48:05 -04:00
Hans Larsen
5c1cafe750 fix(@angular-devkit/schematics): fix declaring multiple aliases
Fix #11389
2018-07-02 08:21:41 -04:00
Charles Lyding
28bbd1b2bc test(@angular-devkit/schematics): test for nested chained function rules 2018-07-02 08:21:16 -04:00
Charles Lyding
a7edd57399 fix(@angular-devkit/schematics): avoid piping input multiple times when calling rules
Fixes: #11267
2018-07-02 08:21:16 -04:00
Charles Lyding
c875424222 refactor(@angular-devkit/schematics): cleanup call implementations 2018-07-02 08:21:16 -04:00
Alan Agius
3108ce30ab refactor: remove redundant error in catch 2018-07-02 08:20:59 -04:00
Charles Lyding
c638af29c6 fix(@angular-devkit/core): detect ambiguous projects with path discover 2018-06-21 09:23:41 -04:00
Teamop
0126721610 fix(@angular-devkit/build_angular): use webpack 4 hooks for karma plugin 2018-06-18 09:37:45 -04:00
Filipe Silva
1ac22707db feat(@angular-devkit/build-angular): revert to webpack 4.9.2
Workaround for https://github.com/webpack/webpack/issues/7499
2018-06-13 19:36:19 +01:00
Hans
4ba67ee663 refactor: remove usage of Buffer constructor
Its being deprecated in Node 10.4. The replacements are available in Node 8 so
its all good.
2018-06-10 12:47:20 +01:00
Nico Jansen
a11dddf454 feat(angular_devkit): stop blocking karma after compilation error 2018-06-10 12:33:14 +01:00
Alex Eagle
938a236f40 build: fixes for google3 build 2018-06-08 14:33:31 -07:00
Filipe Silva
55fd39940a fix(@angular-devkit/build-angular): pass in ContextElementDependency to ngtools/webpack
Should go in only together with "feat(@ngtools/webpack): allow passing in the right ContextElementDependency class".
2018-06-08 12:54:22 +01:00
Filipe Silva
182c890979 fix(@angular-devkit/build-angular): update webpack types 2018-06-08 12:54:22 +01:00
Filipe Silva
0b385fdab4 fix(@angular-devkit/build-webpack): support minor versions of webpack 4.x 2018-06-08 12:54:22 +01:00