1174 Commits

Author SHA1 Message Date
Renovate Bot
a052f9ffdf build: update sass to version 1.23.7 2019-11-20 08:51:46 -08:00
Igor Minar
17792c46b3 fix(@angular-devkit/build-angular): update link to update.angular.io
This link is rarely seen by developers but when they do see it, they should get the real one.
2019-11-20 08:51:21 -08:00
Renovate Bot
924704c487 build: update postcss to version 7.0.23 2019-11-19 11:41:23 -08:00
Filipe Silva
bf39e74e7f fix(@ngtools/webpack): fix rebuilds for transitive and global type deps
Fix #15856
2019-11-19 11:40:58 -08:00
Renovate Bot
c5732f841e build: update autoprefixer to version 9.7.2 2019-11-19 11:37:43 -08:00
Renovate Bot
664f963e15 build: update browserslist to version 4.7.3 2019-11-19 11:37:33 -08:00
Renovate Bot
bf2e58cfda build: update rollup to version 1.27.2 2019-11-18 11:02:06 -08:00
Charles Lyding
d8438f7ad1 fix(@angular-devkit/build-angular): prevent webpack from adding suffixes to polyfills files
The ES5 polyfills file was erroneously being suffixed with `es2015`.  The webpack configuration does not support conditional customization per chunk for the output filenames (`chunkFilename` option schema only supports string values).  This change adds an additional small webpack plugin that allows the chunk filenames to be adjusted based on the chunk name.  The plugin is only added when differential loading is enabled as this is the only time that a chunk currently requires its filename to be adjusted.

Closes #15915
2019-11-18 10:55:53 -08:00
Renovate Bot
2f451673e5 build: update sass to version 1.23.6 2019-11-18 10:55:40 -08:00
Charles Lyding
798790622d fix(@angular-devkit/build-angular): allow new i18n options to work with VE 2019-11-18 10:54:35 -08:00
Renovate Bot
e095e683c6 build: update @angular/animations to version 9.0.0-rc.2 2019-11-18 10:09:44 -08:00
Alan Agius
ca4bdcac84 fix(@angular-devkit/core): retain order of types set in allOf, anyOf and oneOf when parsing schema
With this change we retain the order of types are declared in the schema.
Ex:
```json
"oneOf": [
  {
    "type": "boolean"
  },
  {
    "type": "string",
    "description": "The name of the migration to run."
  }
]
```

Currently this will result in:
```js
{ type: "string", types: ["string", "boolean"] }
```

This is because we use the order of types from the `allTypes` contant variable.a3a657f7e7/packages/angular_devkit/core/src/json/schema/utility.ts (L12)

Now this will result in:
```js
{ type: "boolean", types: ["boolean", "string"] };
```

The CLI parser will iterate over each type and will set a value of true if `--migrate-only` option is provided.

Related test in the CLL parser

1d105eb569/packages/angular/cli/models/parser_spec.ts (L34)

1d105eb569/packages/angular/cli/models/parser_spec.ts (L132-L138)
2019-11-15 10:43:07 -08:00
Charles Lyding
04cb2ac17b fix(@angular-devkit/build-angular): support global locale data with development server 2019-11-15 10:42:18 -08:00
Charles Lyding
9c682b7c04 refactor(@angular-devkit/build-angular): re-enable multi-localize support 2019-11-15 10:42:18 -08:00
Charles Lyding
bb403692d1 revert: fix(@angular-devkit/build-angular): temporarily disable global locale data injection
This reverts commit 00aa5bba5a6cc31a96fef0697da110057d63bca1.
2019-11-15 10:42:18 -08:00
Charles Lyding
e4031bcd90 fix(@angular-devkit/build-angular): ensure webpack loaders use this package's versions 2019-11-15 10:41:01 -08:00
Charles Lyding
f3a23fc6f1 fix(@angular-devkit/build-angular): ensure build-angular's webpack version is used 2019-11-15 10:41:01 -08:00
Charles Lyding
9f5c0f3c51 refactor(@angular-devkit/build-webpack): allow a webpack factory to be used directly 2019-11-15 10:41:01 -08:00
Renovate Bot
29a0ae3b1d build: update ora to version 4.0.3 2019-11-14 11:12:07 -08:00
Filipe Silva
b618c18853 fix(@angular-devkit/build-ng-packagr): add tsickle as optional peer dep
This way it'll be automatically updated if present.
2019-11-14 11:11:46 -08:00
Renovate Bot
6e03adb9e2 build: update caniuse-lite to version 1.0.30001010 2019-11-14 11:11:21 -08:00
Alan Agius
d9420cbe40 fix(@angular-devkit/build-angular): fix numberOfComponents in JIT mode
Current we are always sending `0` as the number of components in JIT mode because ` Component({` doesn't match the component source
2019-11-14 11:11:05 -08:00
Alan Agius
2aa73efa61 fix(@angular-devkit/schematics): only commit to disk when contents of file changes
Fixes: #16191
2019-11-14 11:10:19 -08:00
Renovate Bot
1d105eb569 build: update caniuse-lite to version 1.0.30001009 2019-11-13 11:41:38 -08:00
Renovate Bot
1dbd1f5234 build: update rollup to version 1.27.0 2019-11-13 11:41:08 -08:00
Charles Lyding
7e7248d9aa fix(@angular-devkit/core): allow multiselect list defaults
Fixes #16104
2019-11-12 11:53:14 -08:00
Charles Lyding
cd8029ae4d fix(@angular-devkit/build-angular): support XMB/XTB translation file parser
Closes #16100
2019-11-12 11:52:41 -08:00
Renovate Bot
cdfa89e7b6 build: update @babel/core to version 7.7.2 2019-11-12 11:52:12 -08:00
Renovate Bot
0152c13caf build: update glob to version 7.1.6 2019-11-12 11:50:08 -08:00
Renovate Bot
1bf6ea4743 build: update terser to version 4.4.0 2019-11-12 11:49:07 -08:00
Filipe Silva
8a0f92bd83 fix(@ngtools/webpack): recursive look up unused files
Fix #15626
2019-11-12 11:48:41 -08:00
Filipe Silva
9b91163c52 fix(@ngtools/webpack): don't warn on unused ngsummary
Fix https://github.com/angular/angular-cli/issues/15626#issuecomment-551632356
2019-11-12 11:48:41 -08:00
Renovate Bot
2e24108c2f build: update core-js to version 3.4.1 2019-11-12 11:48:22 -08:00
Charles Lyding
d41522302b fix(@angular-devkit/build-angular): ignore node modules when polling
The node modules directory contains a massive set of directories and files.  When watching via polling, that set needs to be queried repeatedly to determine if any files have changed.  Changes within node modules are quite rare while using `ng serve` or `ng build --watch`.  As a result, polling the node modules directory is rarely useful.  This change causes CPU usage to drop from a potential high of ~80% to a more manageable ~5-10%.
2019-11-12 11:45:40 -08:00
cexbrayat
4bf175ca3a feat(@angular-devkit/build-angular): support TSLint 6.0+
TSLint [6.0.0-beta0](https://github.com/palantir/tslint/releases/tag/6.0.0-beta0) was released, and `ng lint` throws with:

    TSLint must be version 5.5 or higher.

if we try to use it in a CLI project.

It looks like the current version check allows v5.5+ by checking that both the major and minor versions are > 5. So this fails with 6.0 (but would succeed with 6.5).
This fixes the check to allow using v6.0.
2019-11-11 16:50:56 -08:00
Renovate Bot
2d0930fed4 build: update rollup to version 1.26.5 2019-11-11 09:13:56 -08:00
Charles Lyding
6602d90b42 fix(@angular-devkit/build-angular): prevent double sourcemap processing 2019-11-11 09:12:36 -08:00
Renovate Bot
f6c3d47bd0 build: update copy-webpack-plugin to version 5.0.5 2019-11-11 09:12:25 -08:00
Renovate Bot
c8a2c9ac2c build: update core-js to version 3.4.0 2019-11-09 11:51:45 -08:00
Charles Lyding
ab3703c573 fix(@angular-devkit/build-angular): silence internal webpack dev server logging 2019-11-09 11:50:46 -08:00
renovate[bot]
f871228d69 build: update find-cache-dir to version 3.1.0 (#16128) 2019-11-09 11:50:10 -08:00
renovate[bot]
2785222344 build: update @angular/animations to version 9.0.0-rc.1 (#15992) 2019-11-09 11:47:06 -08:00
Charles
862b28f844 fix(@angular-devkit/build-angular): allow localization with development server (#16053)
* fix(@angular-devkit/build-angular): allow localization with development server

* test: ensure i18n application E2E tests are executed
2019-11-08 07:56:05 -08:00
Douglas Parker
217eb29b0f fix(@angular-devkit/benchmark): Allows the CLI repo to be hosted in a directory with spaces. (#16073)
child_process.spawn() with `shell: true` does not quote its arguments, so any data passed in must be surrounded by quotes to properly include spaces. This was making tests fail when the repository is checked out to a directory with a space in it.

Easiest solution is to simply not use shell escaping which avoids the whole problem.
2019-11-07 16:44:31 -08:00
Charles Lyding
00aa5bba5a fix(@angular-devkit/build-angular): temporarily disable global locale data injection 2019-11-07 12:12:46 -08:00
Charles Lyding
1941762552 fix(@angular-devkit/build-angular): insert locale data when localizing 2019-11-07 10:08:19 -08:00
Renovate Bot
7d1247b9e5 build: update caniuse-lite to version 1.0.30001008 2019-11-06 11:12:25 -08:00
Renovate Bot
c85fd165ad build: update rollup to version 1.26.3 2019-11-06 10:51:20 -08:00
Filipe Silva
d438cf0f45 test: increase debounce time for rebuild tests 2019-11-05 16:40:37 -08:00
Alan Agius
0f3587173a test: verify that link in outputpath is not deleted at source
Closes: #15183
2019-11-05 16:39:14 -08:00