4054 Commits

Author SHA1 Message Date
ManfredSteyer
201856a5ec fix(@angular-devkit/build-angular): run build steps for differential loading in sequence to avoid confusing progress information
Before, the build tasks ran in parallel and so the different webpack
instances competed over the same lines on the console.

To fail fast and to prevent to show the same errors twice, the second
build step is not executed if the first one fails.

As running these tasks in sequence causes issues with watch mode, this
PR also disables differential loading when watch mode is requested.
2019-04-19 10:54:51 -07:00
Renovate Bot
4807ff00d1 build: update sass to version 1.19.0 2019-04-19 10:53:52 -07:00
Renovate Bot
217afe5def build: update typescript to version 3.4.4 2019-04-19 10:53:37 -07:00
Minko Gechev
4d7581d60b feat(@schematics/angular): enable support for Chrome 41
We want apps to be SEO friendly by default.
2019-04-19 10:49:03 -07:00
Minko Gechev
7a935518dc refactor(@angular-devkit/build-angular): compare the target with
ScriptTarget

Compare with ScriptTarget and consider ES2017 and newer.
2019-04-19 10:48:43 -07:00
Alan
b95933a57d fix(@schematics/angular): handle polyfill migration in non root applications 2019-04-18 11:48:47 -07:00
Alan
407d1d5b49 fix(@schematics/angular): generate tsconfig.worker.json outside of the src folder
This is to align with the folder structure of version 8, were tsconfigs are outside of the `src` folder

Also, this change remove the dud `tsconfig.json` in the `src` folder and instead we add the triple slash lib reference `/// <reference lib="webworker" />` for IDE support.
2019-04-18 11:47:22 -07:00
Charles Lyding
2ee76e7371 refactor(@angular-devkit/build-angular): cleanup service-worker augmentation 2019-04-18 11:46:55 -07:00
Renovate Bot
9ce260837c build: update @angular/animations to version 2019-04-18 11:46:45 -07:00
Renovate Bot
356a638708 build: update browserslist to version 4.5.5 2019-04-18 11:46:35 -07:00
Alan Agius
62e3e75e3d test: add e2e for ie support without es5BrowserSupport 2019-04-18 11:46:25 -07:00
Alan Agius
b976a3e72b refactor(@schematics/angular): don't add es5BrowserSupport by default 2019-04-18 11:46:25 -07:00
Alan Agius
1af164b39e refactor: rename es5 polyfills entrypoint name to polyfills-es5 2019-04-18 11:46:25 -07:00
George Kalpakas
31d882e3ec docs(@schematics/angular): fix typo in web worker schematics ("service worker" --> "web worker") 2019-04-18 11:46:12 -07:00
cexbrayat
0ce98ceeb3 docs(@schematics/angular): mention npx browserslist in browserslist
Running `npx browserslist` allows to see what browsers are actually selected with the configuration,
which is very handy and not very known.
2019-04-17 15:47:39 -07:00
Alex Eagle
f5c41e5754 build: Resolve ng generate aliases before logging analytics 2019-04-17 13:40:58 -07:00
Judy Bogart
d2a343a405 docs: add cli usage analytics doc 2019-04-16 14:32:06 -07:00
Alan Agius
e2a0ac1ec6 fix(@schematics/angular): add tsconfig.worker.json to list of tsconfigs to lint 2019-04-16 13:29:07 -07:00
Minko Gechev
d4a1c4fca8 fix(@angular-devkit/architect): consume the default export in TestingArchitectHost
Using the TestingArchitectHost architect is unable to execute the
handler of the builder since it needs to access its `default` property.
2019-04-16 12:58:38 -07:00
Nikita Poltoratsky
950ebafa2f docs: remove surplus space
Remove surplus space from web worker description in Angular schematic collection.
2019-04-16 11:47:40 -07:00
Charles Lyding
52a014dd23 fix(@angular-devkit/core): ignore undefined targets when adding a workspace project 2019-04-16 11:23:48 -07:00
Charles Lyding
a3811a7ad2 fix(@angular-devkit/core): ensure long workspace value changes are multiline 2019-04-16 11:23:48 -07:00
Charles Lyding
58f6282edf refactor(@schematics/angular): update application to use new workspace rules 2019-04-16 11:23:48 -07:00
Charles Lyding
10be2672bb test(@angular/pwa): ensure application schematic is run async 2019-04-16 11:23:48 -07:00
Charles Lyding
ca1ecb027d test(@schematics/angular): ensure application schematic is run async 2019-04-16 11:23:48 -07:00
Charles Lyding
8e70f18e0c refactor(@schematics/angular): update service-worker to use new workspace rules 2019-04-16 11:23:48 -07:00
Charles Lyding
e52f62f840 refactor(@schematics/angular): update component to use new workspace rules 2019-04-16 11:23:48 -07:00
Charles Lyding
cfb18285e6 refactor(@schematics/angular): update directive to use new workspace rules 2019-04-16 11:23:48 -07:00
Charles Lyding
bd79e0908a refactor(@schematics/angular): update e2e to use new workspace rules 2019-04-16 11:23:48 -07:00
Charles Lyding
ef12a1511b refactor(@schematics/angular): update module to use new workspace rules 2019-04-16 11:23:48 -07:00
Charles Lyding
9007a86783 refactor(@schematics/angular): update interface to use new workspace rules 2019-04-16 11:23:48 -07:00
Charles Lyding
1d15dbcfc1 refactor(@schematics/angular): update pipe to use new workspace rules 2019-04-16 11:23:48 -07:00
Minko Gechev
db3af22140 fix(@angular-devkit/architect): set proper name in TestingArchitectHost
The TestingArchitectHost registers the builders only using their name,
ignoring the package name. Later, when Architect looks up the builder
using the host, it's unable to find it.

You can find a reproduction
[here](https://github.com/mgechev/cli-builders-demo).
2019-04-16 09:42:18 -07:00
Alan Agius
0d235e1ef4 feat(@schematics/angular): update karma to 4.1.x 2019-04-16 09:41:11 -07:00
Renovate Bot
403579b020 build: update karma to version ~4.1.0 2019-04-16 09:40:58 -07:00
Renovate Bot
dac0323886 build: update @angular/animations to version 2019-04-16 09:40:42 -07:00
Charles Lyding
71ac097aff refactor(@angular-devkit/build-angular): standardize builder exports 2019-04-16 09:40:22 -07:00
Renovate Bot
5b4d1302bd build: update inquirer to version 6.3.1 2019-04-16 09:39:46 -07:00
Renovate Bot
609041815e build: update webpack to version 4.30.0 2019-04-16 09:39:27 -07:00
Craig Spence
77f99b535d feat(@schematics/angular): add lazy module path fixer 2019-04-16 09:38:55 -07:00
Alan Agius
5fc1f2499c feat(@angular-devkit/build-angular): deprecate es5BrowserSupport option in browser builder
In future, this will be determined from the list of supported browsers specified in the 'browserslist' file.
2019-04-16 08:44:19 -07:00
Alan Agius
86b23d7d9c test: add size checks to prod build e2e tests v8.0.0-beta.15 2019-04-16 06:58:19 -07:00
Alan Agius
a8b033716f test: fix e2e to rely on the bootstrapping call instead of the method to be present in the bundle 2019-04-16 06:58:19 -07:00
Alan Agius
82193807d5 fix(@ngtools/webpack): replace bootstrap code under Ivy unless running in JIT mode
The bootstrap code always needs to be replaced if not running in JIT mode as other wise the entire compiler will be pulled in because we will not replace the bootstrapping code to use `platform-browser` instead of `platform-browser-dynamic`.
2019-04-16 06:58:19 -07:00
Charles Lyding
2b234546dd refactor(@angular-devkit/build-angular): add transform support to server builder v8.0.0-beta.14 2019-04-15 11:32:02 -07:00
Charles Lyding
f1f49325f7 refactor(@angular-devkit/build-angular): standardize builder transforms 2019-04-15 11:32:02 -07:00
Filipe Silva
5ec27db6bc feat(@angular/cli): verify Angular version is supported 2019-04-15 11:31:34 -07:00
Filipe Silva
bab9eb6b06 test: use next Angular on prerelease ng update 2019-04-15 11:31:34 -07:00
Filipe Silva
54e6924f74 fix(@schematics/update): guard against null value for semver check 2019-04-15 11:31:34 -07:00
Alan Agius
413a35bd56 feat(@schematics/angular): add more information and browsers in browserlist 2019-04-15 11:30:34 -07:00