552 Commits

Author SHA1 Message Date
Renovate Bot
04b867f3d3 build: update uuid to version 8.3.1 2020-10-04 16:50:26 -04:00
Drummond Dawson
7254d18ccb fix(@angular/cli): add blank line in migration commit message
Adds a blank line in the commit message between the subject and body in order to properly separate the two.
2020-10-04 16:50:00 -04:00
Charles Lyding
d903d39fc8 refactor(@angular/cli): use new NodeWorkflow schematic features
This change reduces the amount of schematic runtime setup code by leveraging the new options for the root path and schema validation in the NodeWorkflow class.
2020-10-02 18:56:11 -04:00
Charles Lyding
b2b536789b refactor(@angular/cli): discover/load workspace on startup
Previously, the workspace configuration file was found and loaded by individual commands potentially multiple times.  This change moves the initial workspace location discovery and loading of the workspace to the CLI startup.  It also provides the workspace to each command so that the commands can reuse the already loaded and parsed workspace configuration.
2020-10-02 07:53:07 -04:00
Renovate Bot
b9c5670dae build: update symbol-observable to version 2.0.3 2020-10-01 08:44:21 -04:00
Alan Agius
e96fbd3c8a refactor(@angular-devkit/build-angular): change errors and warnings messages
Sometimes the WARNING IN/ERROR IN can lead of ambiguous messages

 - Use `Warning` instead of `WARNING IN`
-  Use `Error` instead of `Error In`
2020-09-30 16:17:05 +02:00
Alan Agius
8e38cec283 refactor(@angular/cli): remove deprecated karma builder environment schema option 2020-09-30 13:49:13 +02:00
Renovate Bot
efb97c87f0 build: update symbol-observable to version 2.0.2 2020-09-30 09:08:54 +02:00
Alan Agius
824add1778 fix(@angular/cli): no-op ng update --all
'--all' functionality has been removed from `ng update` as updating multiple packages at once is not recommended. To update the depencencies in your workspace 'package.json' use the update command of your package manager.

Closes #15278
Closes #13095
Closes #12261
Closes #12243
Closes #18813
2020-09-29 16:48:51 +02:00
Renovate Bot
c5ddca96f8 build: update open to version 7.3.0 2020-09-29 13:52:22 +02:00
Alan Agius
b555c6aa45 fix(@angular/cli): add missing defaults to optimization property 2020-09-24 14:27:25 +02:00
Joey Perrott
25aa2d5929 refactor: remove usages of the term whitelist 2020-09-24 00:07:10 +03:00
Alan Agius
88c3acb945 fix(@angular/cli): favor dirname when resolving @schematics/angular
This ensures that the correct build-in version of `@schematics/angular` is resolved.

Closes #18840
2020-09-24 00:05:58 +03:00
Jefiozie
432fcb0d9b fix(@angular/cli): replace regex with correct project name validation
Closes #17579
2020-09-24 00:04:58 +03:00
Charles Lyding
92f2559dbb refactor(@angular/cli): remove outdated 1.x karma plugin error placeholder
For Angular 6, an error inducing file was introduced in the 1.x location of the karma plugin for the Angular CLI.  This was useful during the 1.x -> 6 transition to assist users to migrate with a helpful error message.  Now that 1.x and 6 are no longer supported, this can be removed.
2020-09-22 10:30:21 -05:00
Renovate Bot
ee37b4bb2d build: update debug to version 4.2.0 2020-09-21 11:56:04 -05:00
Alan Agius
64cc005f0b refactor: change UPDATE action color to cyan 2020-09-14 16:36:30 -04:00
Alan Agius
a21eb1588e fix(@angular/cli): improve logs in ng update
These addresses;
- When a large number of migration are executed, it's hard to differentiate between the title and description.
- Fix alignments of logs
2020-09-14 16:36:30 -04:00
Charles Lyding
b6ea1ab15e fix(@angular/cli): remove version command node module assumptions
This change removes all direct usage of the `node_modules` directory from the version command.  This provides improved support for yarn PnP as well as prevents a crash when a workspace does not have a `node_modules` directory.

Fixes #10474
2020-09-14 07:23:55 -04:00
Keen Yee Liau
297fc923ab build: remove experimental build event protocol 2020-09-11 13:24:38 -04:00
Alan Agius
622d08447d refactor: use ansi-colors instead of removed terminal utils 2020-09-10 20:19:33 +02:00
Renovate Bot
2aa01ac2ca build: update symbol-observable to version 2.0.1 2020-09-05 11:59:41 +02:00
Andrei Alecu
d01d647431 refactor(@angular/cli): improve update package discovery 2020-09-03 18:21:06 +02:00
Charles Lyding
18fdb0139f refactor(@angular/cli): remove node module directory assumption during initialization
This also does some minor code cleanup to the version mismatch check logic which contained the node modules directory reference.
2020-09-03 08:35:40 +02:00
Renovate Bot
b5560ebebe build: update symbol-observable to version 2.0.0 2020-09-03 00:20:40 +03:00
Alan Agius
d49888b350 docs: update fileReplacements description 2020-08-31 11:58:04 +01:00
Renovate Bot
0b6f68964e build: update open to version 7.2.1 2020-08-31 11:55:22 +01:00
Alan Agius
197e96b8c5 refactor(@angular-devkit/build-angular): remove deprecated scripts[].lazy and styles[].lazy
BREAKING CHANGE:

- Deprecated `scripts[].lazy` has been renamed with `scripts[].inject`
- Deprecated `styles[].lazy` has been renamed with `styles[].inject`

Note: this change only effects direct `@angular-devkit/build-angular` users and not application developers. Users will be migrated automatically off these options.
2020-08-31 11:54:23 +01:00
Alan Agius
dd260185a1 refactor(@angular-devkit/build-angular): deprecate extractCss browser builder option
BREAKING CHANGE:

Browser builder `extractCss` option default value has been changed from `false` to `true`. This is to reflect the default behaviour when this deprecated option is removed.
2020-08-31 11:54:23 +01:00
Renovate Bot
87949dafb4 build: update open to version 7.2.0 2020-08-24 15:40:50 -04:00
Charles Lyding
5275892f63 refactor(@angular/cli): remove any type usage 2020-08-24 07:50:01 -04:00
Alan Agius
d1adba1347 build: update build_bazel_rules_nodejs to 2.0.2 2020-08-19 16:00:07 +02:00
Charles Lyding
d096e57884 feat(@angular/cli): update configuration schema with ivy i18n extraction support 2020-08-18 16:49:45 +02:00
Alan Agius
951d99e979 feat(@angular/cli): show warning when using deprecated options
With this change we show a warning when a deprecated option is also defined in the workspace configuration file (angular.json).

Closes: #14966
2020-08-17 18:18:24 +02:00
Alan Agius
e40c72a8dc feat(@angular-devkit/architect-cli): show warning when using deprecated options 2020-08-17 18:18:24 +02:00
Charles Lyding
97637abab4 refactor(@angular/cli): replace experimental workspace API with stable API
This change removes one of the last usages of the experimental workspace API.
2020-08-17 18:05:27 +02:00
Alan Agius
1137e6b65c style(@angular-devkit/build-angular): add missing periods for x-deprecated messages 2020-08-13 20:53:54 +02:00
Charles Lyding
9cd796b124 feat(@angular-devkit/build-angular): support multiple translation files per locale
This change implements the capability to specify multiple translation files per locale. The specified translation files for each locale will be merged prior to localization. The Angular configuration file has been updated to allow for both a single path string or an array of path strings when specifying the translations for each locale. If the same message identifier is present in multiple translation files, a warning will currently be issued and the last file with the duplicate message identifier will take precedence.

Closes #18276
2020-08-13 12:23:59 +02:00
Alan Agius
c824bbb4f7 refactor(@angular/cli): update CLI package to be strict compliant 2020-08-12 19:29:13 +01:00
Alan Agius
fc5d2b3ff2 test: remove tsconfig.base.json from test cases 2020-08-12 19:26:12 +01:00
Renovate Bot
78e8d3c59c build: update uuid to version 8.3.0 2020-07-28 09:40:48 +02:00
Renovate Bot
d939629974 build: update inquirer to version 7.3.3 2020-07-25 12:46:11 +02:00
Keen Yee Liau
fa9136a971 build: minor fixes for google3 sync
This commit makes a few minor changes to enable syncing the CLI repository
into google3.

1. mark pkg_tar and pkg_npm as external
2. remove dependencies (marked as comment) which are stale in google3
3. remove TS files generated from JSON schema in BUILD files since these
   files are compiled and added to the g3 codebase at sync time
4. Some minor typing changes
5. Remove duplicate licenses
6. mark dependencies which are not available in g3 as external
7. Immediately type the result of JSON.parse() as required by g3 linter.
   Otherwise, the type defaults to `any`.
2020-07-24 22:52:22 +02:00
Alan Agius
05588fcee1 refactor: clean up unused code and imports 2020-07-24 08:01:52 +02:00
Alan Agius
5bb853f1d5 build: update @types/inquirer to 7.3.0 2020-07-23 23:30:22 +02:00
Alan Agius
a85ba990eb refactor: clean up several files
Most of these changes are requires for TS 4 update
2020-07-22 12:56:34 +01:00
Vlad Tansky
9fb21644c7 docs: fix typo in ng update --next description
according to https://github.com/angular/angular-cli/pull/18306#issuecomment-660988904
2020-07-21 10:25:53 +01:00
Vlad Tansky
c8e5f7d167 docs: fix typo in ng update --next description 2020-07-21 10:25:53 +01:00
Renovate Bot
ca0e6efc19 build: update open to version 7.1.0 2020-07-21 10:25:04 +01:00
Renovate Bot
10b4d450c2 build: update inquirer to version 7.3.2 2020-07-14 09:44:33 -04:00