475 Commits

Author SHA1 Message Date
Renovate Bot
276be8aeb3 build: update pacote to version 11.1.1 2020-03-10 11:55:47 -07:00
Renovate Bot
6ee3894e44 build: update inquirer to version 7.1.0 2020-03-10 11:54:36 -07:00
Renovate Bot
fe8f796893 build: update uuid to version 7.0.2 2020-03-09 10:25:36 -07:00
Renovate Bot
ecdf200017 build: update open to version 7.0.3 2020-03-09 10:25:06 -07:00
Renovate Bot
b240d8a57a build: update uuid to version 7.0.1 2020-02-26 11:48:51 -08:00
Cyrille Tuzi
d30f251333 fix(@angular/pwa): use relative paths in webmanifest 2020-02-25 10:27:30 -08:00
Renovate Bot
c1027a4df4 build: update pacote to version 11.1.0 2020-02-25 10:10:52 -08:00
Renovate Bot
146d578da4 build: update uuid to version 7.0.0 2020-02-25 10:07:18 -08:00
Schneider
2c10cf80f6 docs: fix typos in multiple files 2020-02-24 12:42:22 -08:00
Sachin Grover
764b977de4 fix(@angular/cli): expand locale pattern in all schemas for all cases
Fixes: #17032
2020-02-24 12:39:35 -08:00
Charles Lyding
e221c9a147 fix(@angular/cli): directly remove ansi color codes when no color support
Third party libraries can attempt to write color codes to the output even though the CLI has already determined that color should not be used.  The previously implemented color removal code is no longer functional since the update of ansi-colors to 4.1.0.  While this appears to be a defect in the aforementioned package, the new CLI removal method not only bypasses the defect but also unneeded execution logic that the CLI does not need in this case.

Fixes: #17053
2020-02-24 12:39:15 -08:00
Renovate Bot
ecce0671e5 build: update pacote to version 11.0.1 2020-02-24 12:37:53 -08:00
Renovate Bot
fb908f8c1a build: update npm-pick-manifest to version 6.0.0 2020-02-18 12:44:55 -08:00
Alan Agius
66b218c5f6 fix(@angular/cli): print ng update errors stack to log file
When an error occurs during ng update we currently discard the stack trace which in some cases made it hard to identify the cause of the error.

Now, we print the stack trace to a log file similarly to unhandled exceptions.

Example of CMD output;
```cmd
** Executing migrations of package '@angular/core' **

> Static flag migration.
  Removes the `static` flag from dynamic queries.
  As of Angular 9, the "static" flag defaults to false and is no longer required for your view and content queries.
  Read more about this here: https://v9.angular.io/guide/migration-dynamic-flag
× Migration failed: x
  See "C:\Users\alag\AppData\Local\Temp\ng-NgmC1G\angular-errors.log" for further details.
```

Example of log file contents:
```txt
[error] Error: x
    at UpdateCommand.executeSchematic (C:\git\angular-cli\test\node_modules\@angular\cli\commands\update-impl.js:98:19)
    at UpdateCommand.executePackageMigrations (C:\git\angular-cli\test\node_modules\@angular\cli\commands\update-impl.js:167:39)
    at UpdateCommand.executeMigrations (C:\git\angular-cli\test\node_modules\@angular\cli\commands\update-impl.js:161:21)
    at UpdateCommand.run (C:\git\angular-cli\test\node_modules\@angular\cli\commands\update-impl.js:394:38)
    at async UpdateCommand.validateAndRun (C:\git\angular-cli\test\node_modules\@angular\cli\models\command.js:134:28)
    at async Object.runCommand (C:\git\angular-cli\test\node_modules\@angular\cli\models\command-runner.js:201:24)
    at async default_1 (C:\git\angular-cli\test\node_modules\@angular\cli\lib\cli\index.js:62:31)
```
2020-02-18 12:43:35 -08:00
Jonathan Garvey
d6c9693952 feat(@angular-devkit/build-angular): pass "grep" and "invertGrep"
Pass the "grep" and "invertGrep" flags through to the Angular Protractor
builder as "jasmineNodeOpts" so that individual specs within an E2E test
file can be targeted.

Fixes #13020
2020-02-18 10:53:27 -08:00
Renovate Bot
7749347235 build: update pacote to version 11.0.0 2020-02-18 10:50:32 -08:00
Ivan
8deb4cbd1b fix(@angular/cli): add skipTests to @schematics/angular:component in config schema 2020-02-12 12:00:58 -08:00
Renovate Bot
ac371751ba build: update semver to version 7.1.3 2020-02-12 12:00:15 -08:00
RiccardoBracci
36ade0fd23 fix(@angular/cli): typo in error message 2020-02-11 08:46:19 -08:00
Charles Lyding
7b54164e48 fix(@angular/cli): expand locale pattern in workspace schema
Fixes: #16935
2020-02-11 08:45:36 -08:00
Renovate Bot
e64ab3d84f build: update rimraf to version 3.0.2 2020-02-11 08:44:07 -08:00
Charles Lyding
f4127b5b43 fix(@angular/cli): fully use add command registry option when installing packages
Fixes: #16766
2020-02-10 16:02:05 -08:00
Charles Lyding
0d6dae107d fix(@angular/cli): support path spaces with temporary package installs
Fixes: #16865
2020-02-10 16:02:05 -08:00
John Papa
5f3ff00dd8 fix(@angular/cli): added clarity on angular cli version issues
fixes #16888
2020-02-10 16:01:49 -08:00
Renovate Bot
efc6345156 build: update pacote to version 10.3.2 2020-02-10 16:00:40 -08:00
George Kalpakas
1beb582050 fix(@angular/cli): fix the URL for doc search
In #16846, the URL for docs search was updated to point to the
corresponding vX.angular.io website (with an appropriate query for the
search). However, on the archive versions of the website (i.e. versions
older than the current stable), non-docs pages (including the home page)
are redirected to `/docs` (losing the query params).

This commit fixes the URL to include `/docs`, so that it is not
redirected (and preserve the query params that will trigger the search).
2020-02-07 08:28:56 -08:00
Santosh Yadav
688db35589 fix(@angular/cli): change the url for doc search
Fixes #16840
2020-02-06 09:09:11 -08:00
Reto Ryter
d6fa2bde93 feat(@schematics/angular): add opt in option 'displayBlock' 2020-02-05 10:30:15 -08:00
Renovate Bot
5994ba2854 build: update @types/semver to version ^7.0.0 2020-02-03 17:28:07 -08:00
Renovate Bot
62f6f2bdc8 build: update open to version 7.0.2 2020-02-03 17:26:58 -08:00
Renovate Bot
fc4b778686 build: update open to version 7.0.1 2020-01-30 11:22:20 -08:00
renovate[bot]
dbf40181ae build: update rimraf to version 3.0.1 (#16775)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-28 10:06:59 -08:00
Renovate Bot
33b2f996c9 build: update pacote to version 10.3.1 2020-01-28 10:05:54 -08:00
Renovate Bot
87cf65d0d2 build: update inquirer to version 7.0.4 2020-01-27 11:04:08 -08:00
Charles Lyding
7cce3f0811 fix(@angular/cli): ensure built-in Angular schematics package can be found
The `@angular/cli` package contains a built-in version of the `@schematics/angular` package.  The module resolution paths for the schematics workflow should not assume package hoisting behavior when resolving.  This change corrects that oversight.
2020-01-22 09:00:04 -08:00
Charles Lyding
94dfb4c0f8 fix(@angular/cli): prevent postinstall script errors from blocking install 2020-01-21 08:36:14 -08:00
Renovate Bot
12761cea79 build: update uuid to version 3.4.0 2020-01-17 08:11:26 -08:00
Renovate Bot
7abd6b8a73 build: update uuid to version 3.3.3 2020-01-13 09:47:35 -08:00
Alan Agius
0db2785612 build: pin down direct cli dependencies 2020-01-10 17:24:58 -08:00
Alan Agius
344ec857ce style: add tslint:disable-next-line no-console 2020-01-08 10:24:40 -08:00
Alan Agius
7d9c0c7227 fix(@angular/cli): disable Browserslist old data warning
Set the `BROWSERSLIST_IGNORE_OLD_DATA` enviorment variable to disable Browserslist old data warning

`Browserslist: caniuse-lite is outdated. Please run next command `npm update`

See: 819c433745/node.js (L324)
2020-01-08 10:24:40 -08:00
Renovate Bot
a3ae533afb build: update inquirer to version 7.0.3 2020-01-07 10:27:49 -08:00
Charles
835100c908 refactor(@angular/cli): allow update version check to be disabled (#16543)
This allows the CLI version check during update bootstrapping to be disabled via the `NG_DISABLE_VERSION_CHECK` environment variable.  This is not considered an officially supported option and is intended mainly for testing/troubleshooting scenarios.
2020-01-04 11:13:53 -08:00
Renovate Bot
f29eeb9e43 build: update pacote to version 10.3.0 2020-01-02 11:42:30 -08:00
Alan Agius
23589ed00e fix(@angular/cli): inform user and error if schematics package is in unreachable location (#16466)
This is a workaround for the schematics runtime to support the requirement of packages containing migrations (or other schematics) to not have a direct/runtime dependency on the schematics package.

Closes: #16392
2020-01-02 11:27:04 -08:00
Charles Lyding
3dd706700e fix(@angular/cli): migrate and inform users about @angular-devkit/[schematics, core] packages 2020-01-02 11:26:45 -08:00
Charles
d9d233e39a fix(@angular/cli): inform user and error if schematics package is in unreachable location (#16466)
This is a workaround for the schematics runtime to support the requirement of packages containing migrations (or other schematics) to not have a direct/runtime dependency on the schematics package.

Closes: #16392
2019-12-20 16:34:05 -08:00
Renovate Bot
1a16efbc3f build: update npm-pick-manifest to version 5.0.0 2019-12-20 16:32:05 -08:00
Renovate Bot
48882a0f36 build: update npm-package-arg to version ^8.0.0 2019-12-18 11:19:53 -08:00
Renovate Bot
06b3aad66c build: update inquirer to version 7.0.1 2019-12-18 09:29:50 -08:00