1148 Commits

Author SHA1 Message Date
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
Alan Agius
82fbda6255 build: update @angular to version 9.0.0-next.15 2019-11-05 16:28:40 -08:00
Renovate Bot
85b671147e build: update autoprefixer to version 9.7.1 2019-11-04 13:29:12 -08:00
Renovate Bot
d780ae6c60 build: update core-js to version 3.3.6 2019-11-04 13:28:52 -08:00
Renovate Bot
c6c099e23e build: update sass to version 1.23.3 2019-11-04 13:28:17 -08:00
Charles Lyding
673030de1c fix(@angular-devkit/build-angular): temporarily remove localize peer dependency
This should be reintroduced in 9.1 or 9.2.  The other remaining "hidden" peer dependencies should be included as well (currently `karma` and `node-sass`).
2019-11-04 13:26:53 -08:00
Charles Lyding
c3651e458b fix(@angular-devkit/build-angular): allow missing i18nFile option when using i18nLocale
Improves support for the deprecated i18n options when used with Ivy.
2019-11-04 13:23:37 -08:00
minijus
803f636d68 feat(@angular-devkit/build-angular): export protractor builder 2019-11-04 13:22:05 -08:00
Alan Agius
e70a2b04bd refactor(@angular-devkit/build-angular): use compiler parsed value of enableIvy
At the moment we are relying on source content to determine if the compilation is under Ivy or VE. However, we do know what compilation we are in from the parsed tsconfig.

With this change we use the `enableIvy` to set the analytics metric
2019-11-01 10:24:20 -07:00
Filipe Silva
1812c82fa7 fix(@angular-devkit/build-angular): temporarily disable localize for multiple locales
Related to https://github.com/angular/angular-cli/issues/15974
2019-10-30 13:49:47 -07:00
Alan Agius
e40f23007b fix(@angular-devkit/schematics): use error logger method when there is a workflow error 2019-10-30 13:38:53 -07:00
Charles Lyding
ea37808cab fix(@angular-devkit/build-angular): adjust translation parser import paths 2019-10-30 11:22:20 -07:00
Renovate Bot
1f4a81600f build: update caniuse-lite to version 1.0.30001006 2019-10-30 09:37:05 -07:00
Charles Lyding
a420549548 fix(@angular-devkit/build-angular): augment with serviceworker during localization 2019-10-30 09:36:46 -07:00
Alan Agius
588baa5737 fix(@angular-devkit/build-angular): i18n app shell with Ivy 2019-10-30 09:36:14 -07:00
Alan Agius
669abae197 refactor: remove redundant host parameter in configureI18nBuild 2019-10-30 09:36:14 -07:00
Charles Lyding
8fa93e1b15 fix(@angular-devkit/build-angular): enable locale data transform for single localization 2019-10-30 08:30:11 -07:00
Renovate Bot
7148a16ba2 build: update source-map-support to version 0.5.16 2019-10-29 20:25:04 -07:00
Renovate Bot
193f3e68b1 build: update core-js to version 3.3.5 2019-10-29 20:24:49 -07:00
Alan Agius
77a4fba45f fix(@angular-devkit/build-angular): don't emit CSS resources during a server build
The server should serve the assets emitted by the browser builder. In fact the nguniversal schematics are configured to serve the assets from the browser folder
a0cc9ab97a/modules/express-engine/schematics/install/files/__serverFileName%40stripTsExtension__.ts (L26)

Closes #12878
2019-10-29 20:21:24 -07:00
Filipe Silva
325dcd005f fix(@angular-devkit/schematics): show spinner for package install 2019-10-28 17:48:30 -07:00
Filipe Silva
4d23a0f0d8 fix(@angular-devkit/schematics): hide install output by default
Current output:
```
kamik@RED-X1C6 MINGW64 /d/sandbox/latest-app (master)
$ ng update @angular/cli --next --force
Using package manager: 'yarn'
Collecting installed dependencies...
Found 30 dependencies.
Fetching dependency metadata from registry...
                  Package "@angular-devkit/build-angular" has a missing peer dependency of "@angular/localize" @ "^9.0.0-next.11".
    Updating package.json with dependency @angular/cli @ "9.0.0-next.15" (was "9.0.0-next.14")...
    Updating package.json with dependency @angular-devkit/build-angular @ "0.900.0-next.15" (was "0.900.0-next.14")...
    Updating package.json with dependency typescript @ "3.6.4" (was "3.5.3")...
UPDATE package.json (1353 bytes)
warning @angular-devkit/build-angular@0.900.0-next.15: The engine "pnpm" appears to be invalid.
warning @angular-devkit/build-optimizer@0.900.0-next.15: The engine "pnpm" appears to be invalid.
warning @ngtools/webpack@9.0.0-next.15: The engine "pnpm" appears to be invalid.
warning @angular-devkit/architect@0.900.0-next.15: The engine "pnpm" appears to be invalid.
warning @angular-devkit/build-webpack@0.900.0-next.15: The engine "pnpm" appears to be invalid.
warning @angular-devkit/core@9.0.0-next.15: The engine "pnpm" appears to be invalid.
warning @angular/cli@9.0.0-next.15: The engine "pnpm" appears to be invalid.
warning @schematics/update@0.900.0-next.15: The engine "pnpm" appears to be invalid.
warning @angular-devkit/schematics@9.0.0-next.15: The engine "pnpm" appears to be invalid.
warning @schematics/angular@9.0.0-next.15: The engine "pnpm" appears to be invalid.
Compiling @angular/animations : es2015 as esm2015
Compiling @angular/compiler/testing : es2015 as esm2015
Compiling @angular/core : es2015 as esm2015
Compiling @angular/common : es2015 as esm2015
Compiling @angular/animations/browser : es2015 as esm2015
Compiling @angular/animations/browser/testing : es2015 as esm2015
Compiling @angular/core/testing : es2015 as esm2015
Compiling @angular/platform-browser : es2015 as esm2015
Compiling @angular/common/testing : es2015 as esm2015
Compiling @angular/platform-browser/testing : es2015 as esm2015
Compiling @angular/platform-browser/animations : es2015 as esm2015
Compiling @angular/common/http : es2015 as esm2015
Compiling @angular/router : es2015 as esm2015
Compiling @angular/forms : es2015 as esm2015
Compiling @angular/platform-browser-dynamic : es2015 as esm2015
Compiling @angular/common/http/testing : es2015 as esm2015
Compiling @angular/router/testing : es2015 as esm2015
Compiling @angular/platform-browser-dynamic/testing : es2015 as esm2015
```

New success output:
```
kamik@RED-X1C6 MINGW64 /d/sandbox/latest-app (master)
$ ng update @angular/cli --next --force
Using package manager: 'yarn'
Collecting installed dependencies...
Found 30 dependencies.
Fetching dependency metadata from registry...
                  Package "@angular-devkit/build-angular" has a missing peer dependency of "@angular/localize" @ "^9.0.0-next.11".
    Updating package.json with dependency @angular/cli @ "9.0.0-next.15" (was "9.0.0-next.14")...
    Updating package.json with dependency @angular-devkit/build-angular @ "0.900.0-next.15" (was "0.900.0-next.14")...
    Updating package.json with dependency typescript @ "3.6.4" (was "3.5.3")...
UPDATE package.json (1353 bytes)
Installing packages...
Packages installed successfully.
```

New error output:
```
kamik@RED-X1C6 MINGW64 /d/sandbox/latest-app (master)
$ ng update @angular/cli --next --force
Using package manager: 'yarn'
Collecting installed dependencies...
Found 30 dependencies.
Fetching dependency metadata from registry...
                  Package "@angular-devkit/build-angular" has a missing peer dependency of "@angular/localize" @ "^9.0.0-next.11".
    Updating package.json with dependency @angular/cli @ "9.0.0-next.15" (was "9.0.0-next.14")...
    Updating package.json with dependency @angular-devkit/build-angular @ "0.900.0-next.15" (was "0.900.0-next.14")...
    Updating package.json with dependency typescript @ "3.6.4" (was "3.5.3")...
UPDATE package.json (1353 bytes)
Installing packages...
warning @angular-devkit/build-angular@0.900.0-next.15: The engine "pnpm" appears to be invalid.
warning @angular-devkit/architect@0.900.0-next.15: The engine "pnpm" appears to be invalid.
warning @angular-devkit/build-optimizer@0.900.0-next.15: The engine "pnpm" appears to be invalid.
warning @ngtools/webpack@9.0.0-next.15: The engine "pnpm" appears to be invalid.
warning @angular-devkit/core@9.0.0-next.15: The engine "pnpm" appears to be invalid.
warning @angular-devkit/build-webpack@0.900.0-next.15: The engine "pnpm" appears to be invalid.
warning @angular/cli@9.0.0-next.15: The engine "pnpm" appears to be invalid.
warning @schematics/angular@9.0.0-next.15: The engine "pnpm" appears to be invalid.
warning @angular-devkit/schematics@9.0.0-next.15: The engine "pnpm" appears to be invalid.
warning @schematics/update@0.900.0-next.15: The engine "pnpm" appears to be invalid.
Compiling @angular/animations : es2015 as esm2015
Compiling @angular/compiler/testing : es2015 as esm2015
Compiling @angular/core : es2015 as esm2015
Compiling @angular/common : es2015 as esm2015
Compiling @angular/animations/browser : es2015 as esm2015
Compiling @angular/animations/browser/testing : es2015 as esm2015
Compiling @angular/core/testing : es2015 as esm2015
Compiling @angular/platform-browser : es2015 as esm2015
Compiling @angular/common/testing : es2015 as esm2015
Compiling @angular/platform-browser/testing : es2015 as esm2015
Compiling @angular/platform-browser/animations : es2015 as esm2015
Compiling @angular/common/http : es2015 as esm2015
Compiling @angular/forms : es2015 as esm2015
Compiling @angular/router : es2015 as esm2015
Compiling @angular/platform-browser-dynamic : es2015 as esm2015
Compiling @angular/common/http/testing : es2015 as esm2015
Compiling @angular/platform-browser-dynamic/testing : es2015 as esm2015
Compiling @angular/router/testing : es2015 as esm2015
Package install failed, see above.
```
2019-10-28 17:48:30 -07:00
Charles Lyding
5df776780d fix(@angular-devkit/schematics): use NodeWorkflow root to resolve collections 2019-10-28 17:48:08 -07:00
Renovate Bot
769eea1923 build: update caniuse-lite to version 1.0.30001005 2019-10-28 10:06:52 -07:00
Renovate Bot
f9bcd2e114 build: update core-js to version 3.3.4 2019-10-28 10:06:38 -07:00
Renovate Bot
44c74df7e6 build: update @angular/animations to version 9.0.0-next.14 2019-10-28 10:06:21 -07:00
Charles Lyding
dd4bc23a48 fix(@angular-devkit/build-angular): keep licenses if extraction is disabled 2019-10-25 15:22:26 -07:00