483 Commits

Author SHA1 Message Date
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
Renovate Bot
8475f666e8 build: update semver to version 7.1.1 2019-12-18 09:29:26 -08:00
Wataru.Kasahara
b6863b6a30 fix(@angular/cli): remove alias for deploy command 2019-12-05 18:57:02 -08:00
Renovate Bot
6ac4206322 build: update pacote to version 10.2.1 2019-12-05 18:55:51 -08:00
Alan Agius
0659cf09e3 fix(@angular-devkit/build-angular): add externalDependencies to server builders
Certain node packages depend on native bindings which cannot be bundled, with this fix we add a way to exclude these from being processed by the bundler.

Closes: #16348
2019-12-05 18:53:08 -08:00
Alan Agius
0a7ace3595 fix(@angular-devkit/build-angular): allow bundleDependencies to be a boolean 2019-12-05 18:53:08 -08:00
Charles Lyding
c37eaeec43 fix(@angular-devkit/build-angular): augment base HREF when localizing
All locale i18n options now support an object form which allows a base HREF to be defined for the locale.  Each locale can now optionally define a custom base HREF that will be combined with the base HREF defined for the build configuration.  By default if the shorthand form for the locale is used or the field is not present in the longhand form, the locale code will be used as the base HREF.  To disable automatic augmentation a base HREF value of an empty string (`""`) can be used.  This will prevent anything from being added to the existing base HREF.

For common scenarios, the shorthand form will result in the preferred and recommended outcome of each built locale variant of the application containing a defined base HREF  containing the locale code.
2019-12-04 08:14:16 -08:00
Renovate Bot
86e977ebbf build: update pacote to version 10.2.0 2019-12-02 10:14:05 -08:00
Alan Agius
35ca3901ac refactor: strip leading slash to prevent confusion 2019-12-02 10:10:34 -08:00
Alan Agius
12868b3b4f refactor(@angular/cli): use isJsonObject helper in to read config 2019-11-27 13:41:57 -08:00
Alan Agius
4bc0ec39b1 fix(@angular/cli): ng version should report if ivy is enabled
Closes: #14491
2019-11-27 13:41:57 -08:00
Renovate Bot
5f8d903db8 build: update pacote to version 10.1.5 2019-11-26 13:11:28 -08:00
Charles Lyding
415b966dd4 fix(@angular/cli): improve robustness of Node.js version check
This change ensures that both the global version and the project version Node.js version requirements are met before the CLI executes a command.  Previously an older global version of the CLI would allow a newer project version to execute even if the project version had more strict Node.js version requirements.  The Node.js version is now checked twice.  Once in an ES5 safe script to ensure that ancient Node.js versions are not in use.  And secondly in the CLI entry code that is executed after global/project bootstrapping.
2019-11-21 14:06:21 -08:00
Alan Agius
08f0067145 fix(@angular/cli): fix package manager warnings when running temporary install
Related to: #16205
2019-11-18 10:27:47 -08:00
Alan Agius
0ee5f2fdb9 fix(@angular/cli): support running a single migration from a package 2019-11-15 10:43:07 -08:00
Renovate Bot
913ffca58d build: update pacote to version 10.1.3 2019-11-13 11:41:24 -08:00
Doug Parker
823c6589ae fix(@angular/cli): Renames final message to "Migration completed". (#16016)
We don't actually know for certain that the migration was successful, only that it finished. This updates the messaging to be more clear about this distinction. I also removed the check mark and green coloring which implied success.
2019-11-13 11:11:14 -08:00
Murad
8e81c6aa95 feat(@angular/cli): Support XDG Base Directory Specfication
Explained here: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Current change affects reading of global config from `.angular-config.json`. By default it will be created in user's home directory. If user moves it manually to `$HOME/.config/angular/.angular-config.json`, it will be subsequently read from new location.
2019-11-12 11:50:22 -08:00
Alan Agius
a6f3d14c08 fix(@angular/cli): clarify ng update outdated message 2019-11-12 11:46:07 -08:00
Alan Agius
1903dd5119 fix(@angular/cli): add pnpm options to install package task
Fixes #16149
2019-11-12 11:46:07 -08:00
Renovate Bot
ee7def035e build: update pacote to version 10.1.2 2019-11-12 11:45:08 -08:00